pull

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: Apache-2.0 Imports: 23 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureManifestRequested added in v0.6.0

func EnsureManifestRequested(ctx context.Context, res remotes.Resolver, ref string)

func NewResolver

func NewResolver(ctx context.Context, hosts docker.RegistryHosts, sm *session.Manager, imageStore images.Store, mode source.ResolveMode, ref string) remotes.Resolver

Types

type Pulled

type Pulled struct {
	Ref           string
	Descriptor    ocispec.Descriptor
	Layers        []ocispec.Descriptor
	MetadataBlobs []ocispec.Descriptor
}

type Puller

type Puller struct {
	Snapshotter  snapshot.Snapshotter
	ContentStore content.Store
	Applier      diff.Applier
	Src          reference.Spec
	Platform     *ocispec.Platform
	// See NewResolver()
	Resolver remotes.Resolver
	// contains filtered or unexported fields
}

func (*Puller) Pull

func (p *Puller) Pull(ctx context.Context) (*Pulled, error)

func (*Puller) Resolve

func (p *Puller) Resolve(ctx context.Context) (string, ocispec.Descriptor, error)

Jump to

Keyboard shortcuts

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