Documentation ¶
Index ¶
Constants ¶
View Source
const ( UpCommandUsage = `` /* 188-byte string literal not displayed */ DestroyCommandUsage = `Tears down BOSH director infrastructure [--no-confirm] Do not ask for confirmation (optional)` CreateLBsCommandUsage = `` /* 400-byte string literal not displayed */ UpdateLBsCommandUsage = `` /* 330-byte string literal not displayed */ DeleteLBsCommandUsage = `Deletes load balancer(s) [--skip-if-missing] Skips deleting load balancer(s) if it is not attached (optional)` LBsCommandUsage = "Prints attached load balancer(s)" VersionCommandUsage = "Prints version" UsageCommandUsage = "Prints helpful message for the given command" EnvIdCommandUsage = "Prints environment ID" SSHKeyCommandUsage = "Prints SSH private key" DirectorUsernameCommandUsage = "Prints BOSH director username" DirectorPasswordCommandUsage = "Prints BOSH director password" DirectorAddressCommandUsage = "Prints BOSH director address" DirectorCACertCommandUsage = "Prints BOSH director CA certificate" )
View Source
const ( EnvIDCommand = "env-id" SSHKeyCommand = "ssh-key" DirectorUsernameCommand = "director-username" DirectorPasswordCommand = "director-password" DirectorAddressCommand = "director-address" DirectorCACertCommand = "director-ca-cert" EnvIDPropertyName = "environment id" SSHKeyPropertyName = "ssh key" DirectorUsernamePropertyName = "director username" DirectorPasswordPropertyName = "director password" DirectorAddressPropertyName = "director address" DirectorCACertPropertyName = "director ca cert" )
View Source
const ( HelpCommand = "help" UsageHeader = `` /* 162-byte string literal not displayed */ CommandUsage = ` [%s command options] %s` )
View Source
const ( VersionCommand = "version" BBLDevVersion = "dev" )
View Source
const CreateLBsCommand = "create-lbs"
View Source
const (
DeleteLBsCommand = "delete-lbs"
)
View Source
const (
DestroyCommand = "destroy"
)
View Source
const GlobalUsage = `` /* 813-byte string literal not displayed */
View Source
const (
LBsCommand = "lbs"
)
View Source
const (
UpCommand = "up"
)
View Source
const UpdateLBsCommand = "update-lbs"
Variables ¶
View Source
var BBLNotFound error = errors.New("a bbl environment could not be found, please create a new environment before running this command again")
View Source
var LBNotFound error = errors.New("no load balancer has been found for this bbl environment")
Functions ¶
This section is empty.
Types ¶
type CreateLBs ¶
type CreateLBs struct {
// contains filtered or unexported fields
}
func NewCreateLBs ¶
func NewCreateLBs(logger logger, awsCredentialValidator awsCredentialValidator, certificateManager certificateManager, infrastructureManager infrastructureManager, availabilityZoneRetriever availabilityZoneRetriever, boshClientProvider boshClientProvider, boshCloudConfigurator boshCloudConfigurator, cloudConfigManager cloudConfigManager, certificateValidator certificateValidator, guidGenerator guidGenerator, stateStore stateStore) CreateLBs
type DeleteLBs ¶
type DeleteLBs struct {
// contains filtered or unexported fields
}
func NewDeleteLBs ¶
func NewDeleteLBs(awsCredentialValidator awsCredentialValidator, availabilityZoneRetriever availabilityZoneRetriever, certificateManager certificateManager, infrastructureManager infrastructureManager, logger logger, boshCloudConfigurator boshCloudConfigurator, cloudConfigManager cloudConfigManager, boshClientProvider boshClientProvider, stateStore stateStore, ) DeleteLBs
type Destroy ¶
type Destroy struct {
// contains filtered or unexported fields
}
func NewDestroy ¶
func NewDestroy(awsCredentialValidator awsCredentialValidator, logger logger, stdin io.Reader, boshDeleter boshDeleter, vpcStatusChecker vpcStatusChecker, stackManager stackManager, stringGenerator stringGenerator, infrastructureManager infrastructureManager, keyPairDeleter keyPairDeleter, certificateDeleter certificateDeleter, stateStore stateStore) Destroy
type GlobalFlags ¶
type StateQuery ¶
type StateQuery struct {
// contains filtered or unexported fields
}
func NewStateQuery ¶
func NewStateQuery(logger logger, propertyName string, getProperty getPropertyFunc) StateQuery
func (StateQuery) Execute ¶
func (s StateQuery) Execute(subcommandFlags []string, state storage.State) error
func (StateQuery) Usage ¶
func (s StateQuery) Usage() string
type Up ¶
type Up struct {
// contains filtered or unexported fields
}
func NewUp ¶
func NewUp( awsCredentialValidator awsCredentialValidator, infrastructureManager infrastructureManager, keyPairSynchronizer keyPairSynchronizer, boshDeployer boshDeployer, stringGenerator stringGenerator, boshCloudConfigurator boshCloudConfigurator, availabilityZoneRetriever availabilityZoneRetriever, certificateDescriber certificateDescriber, cloudConfigManager cloudConfigManager, boshClientProvider boshClientProvider, envIDGenerator envIDGenerator, stateStore stateStore, configProvider configProvider) Up
type UpdateLBs ¶
type UpdateLBs struct {
// contains filtered or unexported fields
}
func NewUpdateLBs ¶
func NewUpdateLBs(awsCredentialValidator awsCredentialValidator, certificateManager certificateManager, availabilityZoneRetriever availabilityZoneRetriever, infrastructureManager infrastructureManager, boshClientProvider boshClientProvider, logger logger, certificateValidator certificateValidator, guidGenerator guidGenerator, stateStore stateStore) UpdateLBs
type Usage ¶
type Usage struct {
// contains filtered or unexported fields
}
func (Usage) PrintCommandUsage ¶
Click to show internal directories.
Click to hide internal directories.