(ref name.Reference)
| 169 | } |
| 170 | |
| 171 | func (c *defaultClient) Head(ref name.Reference) (*v1.Descriptor, error) { |
| 172 | if trace.IsEnabled() { |
| 173 | region := trace.StartRegion(c.ctx, "ec:oci-head") |
| 174 | defer region.End() |
| 175 | trace.Logf(c.ctx, "", "image=%q", ref) |
| 176 | } |
| 177 | |
| 178 | return remote.Head(ref, c.opts...) |
| 179 | } |
| 180 | |
| 181 | // gather all attestation uris and digests associated with an image |
| 182 | func (c *defaultClient) AttestationUri(img string) (string, error) { |