Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(ctx context.Context, cli *containerd.Client, stateDir, ns string, b libcontainerdtypes.Backend) (libcontainerdtypes.Client, error)
NewClient creates a new libcontainerd client from a containerd client
func ReplaceContainer ¶
func ReplaceContainer(ctx context.Context, client types.Client, id string, spec *specs.Spec, shim string, runtimeOptions interface{}, opts ...containerd.NewContainerOpts) (types.Container, error)
ReplaceContainer creates a new container, replacing any existing container with the same id if necessary.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.