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.
| 41 | // When a mutated image tag does not exist, it resolves to the latest |
| 42 | // available tag with the same version suffix. |
| 43 | type ImageResolver interface { |
| 44 | Resolve(ctx context.Context, image string) (string, error) |
| 45 | } |
| 46 | |
| 47 | // Sentinel errors for validation and processing failures. |
| 48 | var ( |
no outgoing calls
no test coverage detected