pull

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: Apache-2.0 Imports: 31 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)

Types

type Pulled

type Pulled struct {
	Ref        string
	Descriptor ocispec.Descriptor
	ChainID    digest.Digest
}

type Puller

type Puller struct {
	Snapshotter  snapshot.Snapshotter
	ContentStore content.Store
	Applier      diff.Applier
	Src          reference.Spec
	Platform     *ocispec.Platform
	LeaseManager leases.Manager
	// 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