commands

package
v0.0.0-...-e0d1d7f Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const USAGE = `` /* 653-byte string literal not displayed */
View Source
const VERSION = "bbl 0.0.1"

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	Execute(GlobalFlags, []string, storage.State) (storage.State, error)
}

type Destroy

type Destroy struct {
	// contains filtered or unexported fields
}

func NewDestroy

func NewDestroy(logger logger, stdin io.Reader, boshDeleter boshDeleter, clientProvider clientProvider, vpcStatusChecker vpcStatusChecker, stackManager stackManager, stringGenerator stringGenerator, infrastructureManager infrastructureManager, keyPairDeleter keyPairDeleter) Destroy

func (Destroy) Execute

func (d Destroy) Execute(globalFlags GlobalFlags, subcommandFlags []string, state storage.State) (storage.State, error)

type GlobalFlags

type GlobalFlags struct {
	EndpointOverride   string
	AWSAccessKeyID     string
	AWSSecretAccessKey string
	AWSRegion          string
	StateDir           string
}

type Up

type Up struct {
	// contains filtered or unexported fields
}

func NewUp

func NewUp(
	infrastructureManager infrastructureManager, keyPairSynchronizer keyPairSynchronizer,
	awsClientProvider awsClientProvider, boshDeployer boshDeployer, stringGenerator stringGenerator,
	cloudConfigurator cloudConfigurator, availabilityZoneRetriever availabilityZoneRetriever) Up

func (Up) Execute

func (u Up) Execute(globalFlags GlobalFlags, subcommandFlags []string, state storage.State) (storage.State, error)

type Usage

type Usage struct {
	// contains filtered or unexported fields
}

func NewUsage

func NewUsage(stdout io.Writer) Usage

func (Usage) Execute

func (u Usage) Execute(globalFlags GlobalFlags, subcommandFlags []string, state storage.State) (storage.State, error)

func (Usage) Print

func (u Usage) Print()

type Version

type Version struct {
	// contains filtered or unexported fields
}

func NewVersion

func NewVersion(stdout io.Writer) Version

func (Version) Execute

func (v Version) Execute(globalFlags GlobalFlags, subcommandFlags []string, state storage.State) (storage.State, error)

Jump to

Keyboard shortcuts

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