pull

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureManifestRequested added in v0.6.4

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

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