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

Struct Image

core/images/image.go:35–56  ·  view source on GitHub ↗

Image provides the model for how containerd views container images.

Source from the content-addressed store, hash-verified

33
34// Image provides the model for how containerd views container images.
35type Image struct {
36 // Name of the image.
37 //
38 // To be pulled, it must be a reference compatible with resolvers.
39 //
40 // This field is required.
41 Name string
42
43 // Labels provide runtime decoration for the image record.
44 //
45 // There is no default behavior for how these labels are propagated. They
46 // only decorate the static metadata object.
47 //
48 // This field is optional.
49 Labels map[string]string
50
51 // Target describes the root content for this image. Typically, this is
52 // a manifest, index or manifest list.
53 Target ocispec.Descriptor
54
55 CreatedAt, UpdatedAt time.Time
56}
57
58// DeleteOptions provide options on image delete
59type DeleteOptions struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected