containerimage

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 37 Imported by: 80

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResolverType added in v0.11.0

type ResolverType int
const (
	ResolverTypeRegistry ResolverType = iota
	ResolverTypeOCILayout
)

type Source added in v0.8.0

type Source struct {
	SourceOpt
	// contains filtered or unexported fields
}

func NewSource

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

func (*Source) ID added in v0.8.0

func (is *Source) ID() string

func (*Source) Resolve added in v0.8.0

func (*Source) ResolveImageConfig added in v0.8.0

func (is *Source) ResolveImageConfig(ctx context.Context, ref string, opt llb.ResolveImageConfigOpt, sm *session.Manager, g session.Group) (string, digest.Digest, []byte, error)

type SourceOpt

type SourceOpt struct {
	Snapshotter   snapshot.Snapshotter
	ContentStore  content.Store
	Applier       diff.Applier
	CacheAccessor cache.Accessor
	ImageStore    images.Store // optional
	RegistryHosts docker.RegistryHosts
	ResolverType
	LeaseManager leases.Manager
}

Jump to

Keyboard shortcuts

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