puller

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FlagOutputFile is the flag for defining the output file location.
	FlagOutputFile string = cli.FlagOutputFile

	// FlagUsername is the flag for defining the username for registry
	// authentication.
	FlagUsername string = cli.FlagUsername

	// FlagPlatform is the flag for defining the platform.
	FlagPlatform string = "platform"

	// FlagDisableSignatureVerification is the flag for disabling the signature
	// verification on pull.
	FlagDisableSignatureVerification string = "disable-signature-verification"
)

Variables

View Source
var DefaultOutputFile = cli.DefaultFile

DefaultOutputFile defines the default output location for the puller.

Functions

This section is empty.

Types

type Options

type Options struct {
	// contains filtered or unexported fields
}

Options define all possible options for the puller.

func Default

func Default() *Options

Default returns a default options instance.

func FromContext

func FromContext(ctx *ucli.Context) (*Options, error)

FromContext can be used to create Options from an CLI context.

type Puller

type Puller struct {
	// contains filtered or unexported fields
}

Puller is the main structure of this package.

func New

func New(options *Options) *Puller

New returns a new Puller instance.

func (*Puller) Run

func (p *Puller) Run() error

Run the Puller.

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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