downloadstemcell

package
v0.0.0-...-dcd8ac6 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	OS           string `short:"o" long:"os" description:"Stemcell OS name"`
	Slug         string
	Version      string `short:"v" long:"version" description:"Stemcell version"`
	IAAS         string `short:"i" long:"iaas" description:"Specific stemcell IaaS to download"`
	Logger       lager.Logger
	PivnetClient pivnetClient.Client
	PivnetToken  string `long:"pivnet-token" description:"Authentication token for PivNet" env:"PIVNET_TOKEN"`
}

func (*Config) DownloadStemcell

func (cmd *Config) DownloadStemcell() error

func (*Config) Execute

func (cmd *Config) Execute(args []string) error

func (*Config) FindStemcellFile

func (cmd *Config) FindStemcellFile(releaseId int) (*pivnet.ProductFile, error)

Jump to

Keyboard shortcuts

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