MCPcopy
hub / github.com/kubernetes/test-infra / ImageResolver

Interface ImageResolver

releng/config-forker/pkg/forker.go:43–45  ·  view source on GitHub ↗

ImageResolver validates container image references against a registry. When a mutated image tag does not exist, it resolves to the latest available tag with the same version suffix.

Source from the content-addressed store, hash-verified

41// When a mutated image tag does not exist, it resolves to the latest
42// available tag with the same version suffix.
43type ImageResolver interface {
44 Resolve(ctx context.Context, image string) (string, error)
45}
46
47// Sentinel errors for validation and processing failures.
48var (

Implementers 2

fakeResolverreleng/config-forker/pkg/forker_test.g
registryResolverreleng/config-forker/pkg/resolve.go

Calls

no outgoing calls

Tested by

no test coverage detected