download

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 9 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
	Workspace Workspace
}

func (*Download) Cmd

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

func (*Download) RunE

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

type UI

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

type Workspace added in v0.0.15

type Workspace interface {
	CreateDirs() error
}

Jump to

Keyboard shortcuts

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