Documentation
¶
Index ¶
Constants ¶
View Source
const LegacyOciArtifactDigestV1 string = "ociArtefactDigest/v1"
View Source
const OciArtifactDigestV1 string = "ociArtifactDigest/v1"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DigestSource ¶ added in v0.3.0
type DigestSource interface {
GetDigest() (digest.Digest, error)
}
type Digester ¶
type Digester struct {
// contains filtered or unexported fields
}
func (*Digester) DetermineDigest ¶
func (d *Digester) DetermineDigest(reftyp string, acc cpi.AccessMethod, preferred signing.Hasher) (*cpi.DigestDescriptor, error)
func (*Digester) GetType ¶
func (d *Digester) GetType() cpi.DigesterType
Click to show internal directories.
Click to hide internal directories.