Documentation
¶
Index ¶
Constants ¶
View Source
const ( // These annotations are defined here: // https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys BaseImageNameAnnotation = "org.opencontainers.image.base.name" BaseImageDigestAnnotation = "org.opencontainers.image.base.digest" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client interface {
VerifyImageSignatures(name.Reference, *cosign.CheckOpts) ([]oci.Signature, bool, error)
VerifyImageAttestations(name.Reference, *cosign.CheckOpts) ([]oci.Signature, bool, error)
Head(name.Reference) (*v1.Descriptor, error)
ResolveDigest(name.Reference) (string, error)
Image(name.Reference) (v1.Image, error)
Layer(name.Digest) (v1.Layer, error)
Index(name.Reference) (v1.ImageIndex, error)
}
Click to show internal directories.
Click to hide internal directories.