Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ArtifactTypeNotaryV2 specifies the artifact type for a notary V2 object.
ArtifactTypeNotaryV2 = "application/vnd.cncf.notary.v2"
)
View Source
const (
// MediaTypeNotarySignature specifies the media type for the notary signature.
MediaTypeNotarySignature = "application/vnd.cncf.notary.signature.v2+jwt"
)
Variables ¶
This section is empty.
Functions ¶
func DescriptorFromBytes ¶
func DescriptorFromBytes(data []byte) oci.Descriptor
DescriptorFromBytes computes the basic descriptor from the given bytes
func DescriptorFromFile ¶
func DescriptorFromFile(path string) (oci.Descriptor, error)
DescriptorFromFile computes the basic descriptor from the file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.