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 NewDigestedArtifactForRelease ¶ added in v2.75.0
func NewDigestedArtifactForRelease(digest string, digestAlg string) (artifact *DigestedArtifact)
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
func (*DigestedArtifact) NameRef ¶ added in v2.56.0
func (a *DigestedArtifact) NameRef() name.Reference
Click to show internal directories.
Click to hide internal directories.