Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime interface { CreateContainer( id container.ID, bundleDir string, logfile string, exitfile string, attachfile string, stdin bool, stdinOnce bool, timeout time.Duration, ) (pid int, err error) StartContainer(id container.ID) error KillContainer(id container.ID, sig os.Signal) error DeleteContainer(id container.ID) error ContainerState(container.ID) (StateResp, error) }
Runtime represents an OCI container runtime interface.
type RuntimeSpec ¶
type RuntimeSpec []byte
func NewSpec ¶
func NewSpec(opts SpecOptions) (RuntimeSpec, error)
type SpecOptions ¶
Click to show internal directories.
Click to hide internal directories.