Documentation ¶
Index ¶
- func CapStrToVal(cap string) (capability.Cap, error)
- func ParseENVStr(envvar string) (res map[string]string, err error)
- func SetCWD(conf Config) error
- func SetCaps(conf Config) error
- func SetRLimits(conf Config) error
- func SetUser(conf Config) *syscall.Credential
- func SetupEnv(conf Config) error
- func SetupFS(conf Config) error
- func SetupNamespaces(conf Config) (uintptr, error)
- type Config
- type Hook
- type Namespace
- type OS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CapStrToVal ¶
func CapStrToVal(cap string) (capability.Cap, error)
func SetRLimits ¶
func SetUser ¶
func SetUser(conf Config) *syscall.Credential
func SetupNamespaces ¶
Types ¶
type Config ¶
type Config interface { GetRoot() rootfs GetMounts() []mount GetProcess() process GetHostName() string GetPlatorm() platform GetOS() OS GetHooks() hooks SetCaps() error SetupNamespaces() (uintptr, error) }
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.