Versions in this module Expand all Collapse all v0 v0.4.5 Jan 21, 2025 Changes in this version + const FakeNonExistRepo + const FakeRepoWithAllInvalidSignatures + const FakeRepoWithNoSignatures + const FakeRepoWithPartialValidSignatures + const FakeRepoWithSignatures + type Client struct + OriginalImageDesc v1.Descriptor + func (c *Client) FetchImageSignatures(ctx context.Context, targetRepository string) ([]oci.Signature, error) + func (c *Client) FetchSignedImageManifest(ctx context.Context, targetRepository string) (v1.Manifest, error) + type Fetcher interface + FetchImageSignatures func(ctx context.Context, targetRepository string) ([]oci.Signature, error) + func New(originalImageDesc v1.Descriptor, resolverFetcher remoteResolverFetcher, ...) Fetcher + func NewFakeClient() Fetcher