artifact

package
v2.0.0-...-98cc131 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 17 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 DigestSource

type DigestSource interface {
	GetDigest() (digest.Digest, error)
}

type Digester

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

func (*Digester) DetermineDigest

func (d *Digester) DetermineDigest(reftyp string, acc 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