Documentation
¶
Overview ¶
Package puller implements the logic for pull operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Puller ¶
Puller implements pull operations.
func NewPuller ¶
NewPuller create a new puller that can be used for pull operations. The client must be ready to be used by the puller.
func (*Puller) Descriptor ¶
Descriptor retrieves the descriptor of an artifact from a remote repository.
func (*Puller) Pull ¶
func (p *Puller) Pull(ctx context.Context, ref, destDir, os, arch string) (*oci.RegistryResult, error)
Pull an artifact from a remote registry. Ref format follows: REGISTRY/REPO[:TAG|@DIGEST]. Ex. localhost:5000/hello:latest.
func (*Puller) PullConfigLayer ¶
PullConfigLayer fetches only the config layer from a given ref.
Click to show internal directories.
Click to hide internal directories.