download

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheSync

func CacheSync(dependencies resource.Catalog, cacheDir string, writer io.Writer) error

Types

type Download

type Download struct {
	Exit   chan struct{}
	UI     UI
	Config config.Config
	Env    Env
}

func (*Download) Cmd

func (d *Download) Cmd() *cobra.Command

func (*Download) RunE

func (d *Download) RunE(cmd *cobra.Command, args []string) error

type Env added in v0.0.13

type Env interface {
	CreateDirs() error
}

type UI

type UI interface {
	Say(message string, args ...interface{})
	Writer() io.Writer
}

Jump to

Keyboard shortcuts

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