Versions in this module Expand all Collapse all v1 v1.3.4 Dec 27, 2021 v1.3.3 Dec 27, 2021 Changes in this version + func GetAttachedImageRef(ref name.Reference, attachment string, opts ...ociremote.Option) (name.Reference, error) + func ShouldUploadToTlog(ctx context.Context, ref name.Reference, force bool, url string) bool + func SignBlobCmd(ctx context.Context, ko KeyOpts, regOpts options.RegistryOptions, ...) ([]byte, error) + func SignCmd(ctx context.Context, ko KeyOpts, regOpts options.RegistryOptions, ...) error + type KeyOpts struct + FulcioURL string + IDToken string + InsecureSkipFulcioVerify bool + KeyRef string + OIDCClientID string + OIDCClientSecret string + OIDCIssuer string + PassFunc cosign.PassFunc + RekorURL string + Sk bool + Slot string + type SignerVerifier struct + Cert []byte + Chain []byte + func SignerFromKeyOpts(ctx context.Context, certPath string, ko KeyOpts) (*SignerVerifier, error) + func (c *SignerVerifier) Bytes(ctx context.Context) ([]byte, error) + func (c *SignerVerifier) Close()