MCPcopy
hub / github.com/containerd/containerd / Image

Method Image

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

Image returns the image that the container is based on

(context.Context)

Source from the content-addressed store, hash-verified

74 Task(context.Context, cio.Attach) (Task, error)
75 // Image returns the image that the container is based on
76 Image(context.Context) (Image, error)
77 // Labels returns the labels set on the container
78 Labels(context.Context) (map[string]string, error)
79 // SetLabels sets the provided labels for the container and returns the final label set

Callers 2

TestContainerImageFunction · 0.95
TestContainerNoImageFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestContainerImageFunction · 0.76
TestContainerNoImageFunction · 0.76