MCPcopy
hub / github.com/containerd/containerd / imageBase

Function imageBase

core/metadata/images_test.go:610–625  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

608}
609
610func imageBase() images.Image {
611 return images.Image{
612 Labels: map[string]string{
613 "foo": "bar",
614 "baz": "boo",
615 },
616 Target: ocispec.Descriptor{
617 Size: 10,
618 MediaType: "application/vnd.oci.blab",
619 Annotations: map[string]string{
620 "foo": "bar",
621 "baz": "boo",
622 },
623 },
624 }
625}
626
627func checkImageTimestamps(t *testing.T, im *images.Image, now time.Time, oncreate bool) {
628 t.Helper()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…