Help us shape the future of Go! Take the 2026 Go Developer Survey

containerblob

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageBlobIdentifier

type ImageBlobIdentifier struct {
	Reference  reference.Spec
	SchemeName string
	SessionID  string
	StoreID    string
	RecordType client.UsageRecordType
	Filename   string
	Perm       int
	UID        int
	GID        int
}

func NewImageBlobIdentifier

func NewImageBlobIdentifier(str string, scheme string) (*ImageBlobIdentifier, error)

func (*ImageBlobIdentifier) Capture

func (id *ImageBlobIdentifier) Capture(c *provenance.Capture, pin string) error

func (*ImageBlobIdentifier) Scheme

func (id *ImageBlobIdentifier) Scheme() string

func (*ImageBlobIdentifier) String added in v0.32.0

func (id *ImageBlobIdentifier) String() string

type Source

type Source struct {
	SourceOpt
}

func NewSource

func NewSource(opt SourceOpt) (*Source, error)

func (*Source) Identifier

func (is *Source) Identifier(scheme, ref string, attrs map[string]string, platform *pb.Platform) (source.Identifier, error)

func (*Source) Resolve

func (*Source) Schemes

func (is *Source) Schemes() []string

type SourceOpt

type SourceOpt struct {
	ContentStore  content.Store
	CacheAccessor cache.Accessor
	RegistryHosts docker.RegistryHosts
}

Directories

Path Synopsis
Package blobfetch provides a shared helper for resolving a single content-addressable blob from either a docker-image registry or an OCI layout content store, identified by its digest.
Package blobfetch provides a shared helper for resolving a single content-addressable blob from either a docker-image registry or an OCI layout content store, identified by its digest.

Jump to

Keyboard shortcuts

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