mirror of
				https://github.com/containers/podman.git
				synced 2025-11-04 17:07:20 +08:00 
			
		
		
		
	We now use the golang error wrapping format specifier `%w` instead of the deprecated github.com/pkg/errors package. [NO NEW TESTS NEEDED] Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
		
			
				
	
	
		
			27 lines
		
	
	
		
			609 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			609 B
		
	
	
	
		
			Go
		
	
	
	
	
	
//go:build windows
 | 
						|
// +build windows
 | 
						|
 | 
						|
package utils
 | 
						|
 | 
						|
import "errors"
 | 
						|
 | 
						|
func RunUnderSystemdScope(pid int, slice string, unitName string) error {
 | 
						|
	return errors.New("not implemented for windows")
 | 
						|
}
 | 
						|
 | 
						|
func MoveUnderCgroupSubtree(subtree string) error {
 | 
						|
	return errors.New("not implemented for windows")
 | 
						|
}
 | 
						|
 | 
						|
func GetOwnCgroup() (string, error) {
 | 
						|
	return "", errors.New("not implemented for windows")
 | 
						|
}
 | 
						|
 | 
						|
func GetOwnCgroupDisallowRoot() (string, error) {
 | 
						|
	return "", errors.New("not implemented for windows")
 | 
						|
}
 | 
						|
 | 
						|
func GetCgroupProcess(pid int) (string, error) {
 | 
						|
	return "", errors.New("not implemented for windows")
 | 
						|
}
 |