containerblob

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: Apache-2.0 Imports: 32 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

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
}

Jump to

Keyboard shortcuts

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