Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DigestedArtifact ¶
type DigestedArtifact struct { URL string // contains filtered or unexported fields }
DigestedArtifact abstracts the software artifact being verified
func NewDigestedArtifact ¶
func NewDigestedArtifact(client oci.Client, reference, digestAlg string) (artifact *DigestedArtifact, err error)
func (*DigestedArtifact) Algorithm ¶
func (a *DigestedArtifact) Algorithm() string
Algorithm returns the artifact's algorithm
func (*DigestedArtifact) Digest ¶
func (a *DigestedArtifact) Digest() string
Digest returns the artifact's digest
func (*DigestedArtifact) DigestWithAlg ¶
func (a *DigestedArtifact) DigestWithAlg() string
DigestWithAlg returns the digest:algorithm of the artifact
Click to show internal directories.
Click to hide internal directories.