mirror of
https://github.com/containers/podman.git
synced 2025-07-15 03:02:52 +08:00

rework an error path so that users can run the windows remote client. also, create the basedir path for the podman-remote.conf file if it does not exist already. Signed-off-by: baude <bbaude@redhat.com>
37 lines
1.2 KiB
Go
37 lines
1.2 KiB
Go
// +build windows
|
|
|
|
package util
|
|
|
|
import (
|
|
"github.com/pkg/errors"
|
|
)
|
|
|
|
var errNotImplemented = errors.New("not yet implemented")
|
|
|
|
// IsCgroup2UnifiedMode returns whether we are running in cgroup 2 unified mode.
|
|
func IsCgroup2UnifiedMode() (bool, error) {
|
|
return false, errors.Wrap(errNotImplemented, "IsCgroup2Unified")
|
|
}
|
|
|
|
// GetContainerPidInformationDescriptors returns a string slice of all supported
|
|
// format descriptors of GetContainerPidInformation.
|
|
func GetContainerPidInformationDescriptors() ([]string, error) {
|
|
return nil, errors.Wrap(errNotImplemented, "GetContainerPidInformationDescriptors")
|
|
}
|
|
|
|
// GetRootlessPauseProcessPidPath returns the path to the file that holds the pid for
|
|
// the pause process
|
|
func GetRootlessPauseProcessPidPath() (string, error) {
|
|
return "", errors.Wrap(errNotImplemented, "GetRootlessPauseProcessPidPath")
|
|
}
|
|
|
|
// GetRootlessRuntimeDir returns the runtime directory when running as non root
|
|
func GetRootlessRuntimeDir() (string, error) {
|
|
return "", errors.Wrap(errNotImplemented, "GetRootlessRuntimeDir")
|
|
}
|
|
|
|
// GetRootlessConfigHomeDir returns the config home directory when running as non root
|
|
func GetRootlessConfigHomeDir() (string, error) {
|
|
return "", errors.Wrap(errNotImplemented, "GetRootlessConfigHomeDir")
|
|
}
|