Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListReferrersResult ¶
type ListReferrersResult struct { Referrers []ocispecs.ReferenceDescriptor NextToken string }
ListReferrersResult represents the result of ListReferrers API
type ReferrerStore ¶
type ReferrerStore interface { // Name is the name of the store Name() string // ListReferrers returns the immediate set of supply chain objects for the given subject // represented as artifact manifests ListReferrers(ctx context.Context, subjectReference common.Reference, artifactTypes []string, nextToken string, subjectDesc *ocispecs.SubjectDescriptor) (ListReferrersResult, error) // GetBlobContent returns the blob with the given digest // WARNING: This API is intended to use for small objects like signatures, SBoMs GetBlobContent(ctx context.Context, subjectReference common.Reference, digest digest.Digest) ([]byte, error) // GetReferenceManifest returns the reference artifact manifest as given by the descriptor GetReferenceManifest(ctx context.Context, subjectReference common.Reference, referenceDesc ocispecs.ReferenceDescriptor) (ocispecs.ReferenceManifest, error) // GetConfig returns the configuration of this store GetConfig() *config.StoreConfig // GetSubjectDescriptor returns the descriptor for the given subject. GetSubjectDescriptor(ctx context.Context, subjectReference common.Reference) (*ocispecs.SubjectDescriptor, error) }
ReferrerStore is an interface that defines methods to query the graph of supply chain content including its related content
Click to show internal directories.
Click to hide internal directories.