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, containerDir, bundleDir string) error
StartContainer(id container.ID, containerDir, bundleDir string) 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.
func NewRuntime ¶
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.