MCPcopy Index your code
hub / github.com/containerd/containerd / Delete

Method Delete

client/container.go:57–57  ·  view source on GitHub ↗

Delete removes the container

(context.Context, ...DeleteOpts)

Source from the content-addressed store, hash-verified

55 Info(context.Context, ...InfoOpts) (containers.Container, error)
56 // Delete removes the container
57 Delete(context.Context, ...DeleteOpts) error
58 // NewTask creates a new task based on the container metadata
59 NewTask(context.Context, cio.Creator, ...NewTaskOpts) (Task, error)
60 // Spec returns the OCI runtime specification

Callers 7

WithLeaseMethod · 0.65
ShutdownMethod · 0.65
DeleteMethod · 0.65
DeleteMethod · 0.65
DeleteMethod · 0.65
DeleteMethod · 0.65
DeleteMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected