Documentation
¶
Index ¶
Constants ¶
View Source
const ( AnnotationDockerReferenceDigest = "vnd.docker.reference.digest" AnnotationDockerReferenceType = "vnd.docker.reference.type" AttestationManifestType = "attestation-manifest" )
View Source
const ( ArtifactTypeCosignSignature = "application/vnd.dev.cosign.artifact.sig.v1+json" ArtifactTypeSigstoreBundle = "application/vnd.dev.sigstore.bundle.v0.3+json" ArtifactTypeInTotoJSON = "application/vnd.in-toto+json" MediaTypeCosignSimpleSigning = "application/vnd.dev.cosign.simplesigning.v1+json" SLSAProvenancePredicateType02 = "https://slsa.dev/provenance/v0.2" SLSAProvenancePredicateType1 = "https://slsa.dev/provenance/v1" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Manifest ¶
type Manifest struct {
ocispecs.Descriptor
// contains filtered or unexported fields
}
type ReferrersProvider ¶
type ReferrersProvider interface {
content.Provider
remotes.ReferrersFetcher
}
type SignatureChain ¶
type SignatureChain struct {
ImageManifest *Manifest
AttestationManifest *Manifest
SignatureManifest *Manifest
Provider content.Provider
DHI bool
}
func ResolveSignatureChain ¶
func ResolveSignatureChain(ctx context.Context, provider ReferrersProvider, desc ocispecs.Descriptor, platform *ocispecs.Platform) (*SignatureChain, error)
func (*SignatureChain) ManifestBytes ¶
func (*SignatureChain) OCIManifest ¶
Click to show internal directories.
Click to hide internal directories.