artifact

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const LegacyOciArtifactDigestV1 string = "ociArtefactDigest/v1"
View Source
const OciArtifactDigestV1 string = "ociArtifactDigest/v1"

Variables

This section is empty.

Functions

func New

func New(algo string, ts ...string) cpi.BlobDigester

Types

type Digester

type Digester struct {
	// contains filtered or unexported fields
}

func (*Digester) DetermineDigest

func (d *Digester) DetermineDigest(reftyp string, method cpi.AccessMethod, preferred signing.Hasher) (*cpi.DigestDescriptor, error)

func (*Digester) GetType

func (d *Digester) GetType() cpi.DigesterType

Jump to

Keyboard shortcuts

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