Documentation
¶
Index ¶
- func GetAttachedImageRef(ref name.Reference, attachment string, opts ...ociremote.Option) (name.Reference, error)
- func ParseOCIReference(ctx context.Context, refStr string, opts ...name.Option) (name.Reference, error)
- func ShouldUploadToTlog(ctx context.Context, ko options.KeyOpts, ref name.Reference, tlogUpload bool) (bool, error)
- func SignBlobCmd(ro *options.RootOptions, ko options.KeyOpts, payloadPath string, b64 bool, ...) ([]byte, error)
- func SignCmd(ro *options.RootOptions, ko options.KeyOpts, signOpts options.SignOptions, ...) error
- type SignerVerifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAttachedImageRef ¶
func ParseOCIReference ¶
func ParseOCIReference(ctx context.Context, refStr string, opts ...name.Option) (name.Reference, error)
ParseOCIReference parses a string reference to an OCI image into a reference, warning if the reference did not include a digest.
func ShouldUploadToTlog ¶
func SignBlobCmd ¶
func SignBlobCmd(ro *options.RootOptions, ko options.KeyOpts, payloadPath string, b64 bool, outputSignature string, outputCertificate string, tlogUpload bool) ([]byte, error)
nolint
func SignCmd ¶
func SignCmd(ro *options.RootOptions, ko options.KeyOpts, signOpts options.SignOptions, imgs []string) error
nolint
Types ¶
type SignerVerifier ¶
type SignerVerifier struct { Cert []byte Chain []byte signature.SignerVerifier // contains filtered or unexported fields }
func SignerFromKeyOpts ¶
func (*SignerVerifier) Close ¶
func (c *SignerVerifier) Close()
Click to show internal directories.
Click to hide internal directories.