fetchManifest fetches a manifest for tagOrDigest. The caller is responsible for ensuring tagOrDigest uses the expected format.
(ctx context.Context, tagOrDigest string)
| 241 | // fetchManifest fetches a manifest for tagOrDigest. |
| 242 | // The caller is responsible for ensuring tagOrDigest uses the expected format. |
| 243 | func (s *dockerImageSource) fetchManifest(ctx context.Context, tagOrDigest string) ([]byte, string, error) { |
| 244 | return s.c.fetchManifest(ctx, s.physicalRef, tagOrDigest) |
| 245 | } |
| 246 | |
| 247 | // ensureManifestIsLoaded sets s.cachedManifest and s.cachedManifestMIMEType |
| 248 | // |
no outgoing calls
no test coverage detected