Documentation ¶
Index ¶
- 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
- type SignerVerifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAttachedImageRef ¶
func ShouldUploadToTlog ¶
Types ¶
type KeyOpts ¶
type KeyOpts struct { Sk bool Slot string KeyRef string FulcioURL string RekorURL string IDToken string PassFunc cosign.PassFunc OIDCIssuer string OIDCClientID string OIDCClientSecret string BundlePath string // Modeled after InsecureSkipVerify in tls.Config, this disables // verifying the SCT. InsecureSkipFulcioVerify bool }
type SignerVerifier ¶ added in v1.4.0
type SignerVerifier struct { Cert []byte Chain []byte signature.SignerVerifier // contains filtered or unexported fields }
func SignerFromKeyOpts ¶
func (*SignerVerifier) Bytes ¶ added in v1.4.0
func (c *SignerVerifier) Bytes(ctx context.Context) ([]byte, error)
func (*SignerVerifier) Close ¶ added in v1.4.0
func (c *SignerVerifier) Close()
Click to show internal directories.
Click to hide internal directories.