Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitConfig ¶
type InitConfig struct { CmdLine []string Env []string ContainerConfig *runtime.ContainerConfig Rootfs string WorkingDir string LogFile *logutils.ReopenableLogger }
type Starter ¶
type Starter interface { Start() error Command() *exec.Cmd Wait() error Release() error ReopenContainerLog() error CloseContainerLog() error }
func NewChrootStarter ¶
func NewChrootStarter(c *InitConfig) (Starter, error)
func NewProotStarter ¶
func NewProotStarter(c *InitConfig) (Starter, error)
func NewRawStarter ¶
func NewRawStarter(c *InitConfig) (Starter, error)
Click to show internal directories.
Click to hide internal directories.