Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SignatureRegistry ¶
type SignatureRegistry interface {
Repository(ctx context.Context, name string) SignatureRepository
}
SignatureRegistry provides signature repositories
type SignatureRepository ¶
type SignatureRepository interface { // Lookup finds all signatures for the specified manifest Lookup(ctx context.Context, manifestDigest digest.Digest) ([]digest.Digest, error) // Get downloads the signature by the specified digest Get(ctx context.Context, signatureDigest digest.Digest) ([]byte, error) // Put uploads the signature to the registry Put(ctx context.Context, signature []byte) (oci.Descriptor, error) // Link creates an signature artifact linking the manifest and the signature Link(ctx context.Context, manifest, signature oci.Descriptor) (oci.Descriptor, error) }
SignatureRepository provides a storage for signatures
Click to show internal directories.
Click to hide internal directories.