MCPcopy Create free account
hub / github.com/containerd/containerd / Delete

Method Delete

client/containerstore.go:144–151  ·  view source on GitHub ↗
(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

142}
143
144func (r *remoteContainers) Delete(ctx context.Context, id string) error {
145 _, err := r.client.Delete(ctx, &containersapi.DeleteContainerRequest{
146 ID: id,
147 })
148
149 return errgrpc.ToNative(err)
150
151}
152
153func containerToProto(container *containers.Container) *containersapi.Container {
154 extensions := make(map[string]*ptypes.Any)

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected