cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyzersCmd

type AnalyzersCmd struct {
	setter.AppConfig `no-flag:"true"`
	*CmdOpts         `no-flag:"true"`

	clicommon.AnalyzersCmd
}

func (*AnalyzersCmd) Execute

func (c *AnalyzersCmd) Execute(_ []string) error

type ArtifactCmd

type ArtifactCmd struct {
	setter.AppConfig `no-flag:"true"`
	*CmdOpts         `no-flag:"true"`

	clicommon.ArtifactCmd
}

func (*ArtifactCmd) Execute

func (c *ArtifactCmd) Execute(_ []string) error

type Cmd

type Cmd struct {
	setter.AppConfig `no-flag:"true"`
	*opts.Opts

	AnalysisCmd  *analysis.Cmd  `command:"analysis" description:"For analyzing the stemcell artifact" subcommands-optional:"true"`
	DatastoreCmd *datastore.Cmd `command:"datastore" description:"For interacting with release datastores"`

	AnalyzersCmd      AnalyzersCmd      `command:"analyzers" description:"For showing the supported analyzers"`
	ArtifactCmd       ArtifactCmd       `command:"artifact" description:"For showing the stemcell artifact"`
	UploadStemcellCmd UploadStemcellCmd `command:"upload-stemcell" description:"For uploading the stemcell to BOSH"`
	DownloadCmd       DownloadCmd       `command:"download" description:"For downloading the stemcell locally"`
}

func New

func New(app *cmdopts.Opts) *Cmd

func (*Cmd) Execute

func (c *Cmd) Execute(extra []string) error

type CmdOpts

type CmdOpts struct {
	StemcellOpts *opts.Opts
}

type DownloadCmd

type DownloadCmd struct {
	setter.AppConfig `no-flag:"true"`
	*CmdOpts         `no-flag:"true"`

	clicommon.DownloadCmd
}

func (*DownloadCmd) Execute

func (c *DownloadCmd) Execute(_ []string) error

type UploadStemcellCmd

type UploadStemcellCmd struct {
	setter.AppConfig `no-flag:"true"`
	*CmdOpts         `no-flag:"true"`

	clicommon.UploadStemcellCmd
}

func (*UploadStemcellCmd) Execute

func (c *UploadStemcellCmd) Execute(_ []string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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