artifact

package
v2.87.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2026 License: MIT Imports: 9 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL