Documentation ¶
Index ¶
- func ListAllContainers() ([]map[string]string, error)
- type Container
- func (c *Container) ExecuteCommand(cmdArgs []string, child bool) error
- func (c *Container) LoadConfig() error
- func (c *Container) Run(src string, cmds []string, hostname string, mem, swap, pids int, cpus float64, ...) error
- func (c *Container) RunChild(cmdArgs []string, hostname string, mem, swap, pids int, cpus float64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListAllContainers ¶
Types ¶
type Container ¶
type Container struct { Config *v1.Config ID string RootFS string // contains filtered or unexported fields }
func NewContainer ¶
NewContainer returns a new Container instance with random digest
func (*Container) ExecuteCommand ¶
func (*Container) LoadConfig ¶
LoadConfig reads container config file
Click to show internal directories.
Click to hide internal directories.