artifact

package
v2.50.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 8 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 (*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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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