PutManifest writes manifest to the destination. If instanceDigest is not nil, it contains a digest of the specific manifest instance to write the manifest for (when the primary manifest is a manifest list); this should always be nil if the primary manifest is not a manifest list. It is expected but
(ctx context.Context, manifest []byte, instanceDigest *digest.Digest)
| 346 | // If the destination is in principle available, refuses this manifest type (e.g. it does not recognize the schema), |
| 347 | // but may accept a different manifest type, the returned error must be an ManifestTypeRejectedError. |
| 348 | PutManifest(ctx context.Context, manifest []byte, instanceDigest *digest.Digest) error |
| 349 | // PutSignatures writes a set of signatures to the destination. |
| 350 | // If instanceDigest is not nil, it contains a digest of the specific manifest instance to write or overwrite the signatures for |
| 351 | // (when the primary manifest is a manifest list); this should always be nil if the primary manifest is not a manifest list. |
no outgoing calls