()
| 608 | } |
| 609 | |
| 610 | func 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 | |
| 627 | func checkImageTimestamps(t *testing.T, im *images.Image, now time.Time, oncreate bool) { |
| 628 | t.Helper() |
no outgoing calls
no test coverage detected
searching dependent graphs…