artifact

package
v0.18.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 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