mirror of
https://github.com/containers/podman
synced 2024-10-21 01:34:37 +00:00
8561b99644
this is phase 2 for the removal of libpod from main. Signed-off-by: baude <bbaude@redhat.com>
30 lines
983 B
Go
30 lines
983 B
Go
// +build windows
|
|
|
|
package util
|
|
|
|
import (
|
|
"github.com/pkg/errors"
|
|
)
|
|
|
|
// IsCgroup2UnifiedMode returns whether we are running in cgroup 2 unified mode.
|
|
func IsCgroup2UnifiedMode() (bool, error) {
|
|
return false, errors.New("this function is not implemented for windows")
|
|
}
|
|
|
|
// GetContainerPidInformationDescriptors returns a string slice of all supported
|
|
// format descriptors of GetContainerPidInformation.
|
|
func GetContainerPidInformationDescriptors() ([]string, error) {
|
|
return nil, errors.New("this function is not implemented for windows")
|
|
}
|
|
|
|
// GetRootlessPauseProcessPidPath returns the path to the file that holds the pid for
|
|
// the pause process
|
|
func GetRootlessPauseProcessPidPath() (string, error) {
|
|
return "", errors.New("this function is not implemented for windows")
|
|
}
|
|
|
|
// GetRootlessRuntimeDir returns the runtime directory when running as non root
|
|
func GetRootlessRuntimeDir() (string, error) {
|
|
return "", errors.New("this function is not implemented for windows")
|
|
}
|