update

package
v0.0.0-...-58bc628 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2017 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrIsRelative = errors.New("a relative path was given")

ErrIsRelative is an error to be returned by functions that require an absolute path when a relative path has been passed to them

Functions

This section is empty.

Types

type Opts

type Opts struct {
	Channel     string `short:"c" long:"channel" description:"Channel to be installed"`
	Pullers     int    `short:"p" long:"pullers" description:"Maximum images being pulled at once" default:"4"`
	PullRetries int    `short:"r" long:"pull-retries" description:"Maximum number of attempts to pull an image" default:"5"`
}

Opts contains command line parameters for the 'update' command

func (*Opts) Execute

func (o *Opts) Execute(args []string) error

Execute is the function ran when the 'update' command is used

Jump to

Keyboard shortcuts

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