Documentation
¶
Index ¶
- Constants
- func GetAttachedImageRef(ref name.Reference, attachment string, opts ...ociremote.Option) (name.Reference, error)
- func ParseOCIReference(refStr string, out io.Writer, opts ...name.Option) (name.Reference, error)
- func ShouldUploadToTlog(ctx context.Context, ref name.Reference, force bool, noTlogUpload bool, ...) bool
- func SignBlobCmd(ro *options.RootOptions, ko options.KeyOpts, regOpts options.RegistryOptions, ...) ([]byte, error)
- func SignCmd(ro *options.RootOptions, ko options.KeyOpts, signOpts options.SignOptions, ...) error
- type SignerVerifier
Constants ¶
View Source
const TagReferenceMessage string = `` /* 355-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func GetAttachedImageRef ¶
func ParseOCIReference ¶ added in v1.13.1
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, regOpts options.RegistryOptions, payloadPath string, b64 bool, outputSignature string, outputCertificate string) ([]byte, error)
nolint
func SignCmd ¶
func SignCmd(ro *options.RootOptions, ko options.KeyOpts, signOpts options.SignOptions, imgs []string) error
nolint
Types ¶
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.