Documentation
¶
Index ¶
- func Execve(command string, args []string, env ...[]string)
- func IsInitProcess() bool
- func MountBasicFileSystems()
- func NewInitProcess(ns *Namespace, tty bool, command string, arguments ...string) *exec.Cmd
- func NewOrLoadCgroups(hierarchy cgroups.Hierarchy, path cgroups.Path, ...) (cgroups.Cgroup, error)
- func ParseInit() (command string, args []string)
- func PivotRoot(root string) error
- type AUFS
- func (aufs *AUFS) GetLayerPath(name string) string
- func (aufs *AUFS) Mount(topLayer string, path string, additionalLayers ...string) error
- func (aufs *AUFS) NewImageLayer(name string) *AUFS
- func (aufs *AUFS) NewLayer(name string) *AUFS
- func (aufs *AUFS) RemoveLayer(name string) *AUFS
- func (aufs *AUFS) WriteConfig() *AUFS
- type AUFSConfig
- type Namespace
- func (ns *Namespace) ApplyIPC() *Namespace
- func (ns *Namespace) ApplyMount() *Namespace
- func (ns *Namespace) ApplyNet() *Namespace
- func (ns *Namespace) ApplyPID() *Namespace
- func (ns *Namespace) ApplyUTS() *Namespace
- func (ns *Namespace) ApplyUser() *Namespace
- func (ns *Namespace) Command(cmdl string, arg ...string) *exec.Cmd
- func (ns *Namespace) RedirectStd(cmd *exec.Cmd) *exec.Cmd
- func (ns *Namespace) SetPS1(name string) *Namespace
- func (ns *Namespace) SetUID(uid int, gid int) *Namespace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInitProcess ¶
func IsInitProcess() bool
func MountBasicFileSystems ¶
func MountBasicFileSystems()
func NewInitProcess ¶
func NewOrLoadCgroups ¶
Types ¶
type AUFS ¶
type AUFS struct { Config *AUFSConfig BasePath string }
func (*AUFS) GetLayerPath ¶
func (*AUFS) NewImageLayer ¶
func (*AUFS) RemoveLayer ¶
func (*AUFS) WriteConfig ¶
type AUFSConfig ¶
type Namespace ¶
func (*Namespace) ApplyMount ¶
Click to show internal directories.
Click to hide internal directories.