Documentation ¶
Index ¶
- Constants
- type AWSLBs
- type AzureLBs
- type CleanupLeftovers
- type Command
- type Destroy
- type ExitSuccessfully
- type FilteredDeleter
- type GCPLBs
- type GlobalFlags
- type LBArgs
- type LBArgsHandler
- type LBs
- type LBsCmd
- type LatestError
- type NetworkDeletionValidator
- type NoBBLStateError
- type Outputs
- type Plan
- func (p Plan) CheckFastFails(args []string, state storage.State) error
- func (p Plan) Execute(args []string, state storage.State) error
- func (p Plan) InitializePlan(config PlanConfig, state storage.State) (storage.State, error)
- func (p Plan) IsInitialized(state storage.State) bool
- func (p Plan) ParseArgs(args []string, state storage.State) (PlanConfig, error)
- func (Plan) Usage() string
- type PlanConfig
- type PrintEnv
- type PrintEnvConfig
- type Rotate
- type SSH
- type SSHKey
- type StateQuery
- type Up
- type Usage
- type Validate
- type Version
Constants ¶
View Source
const ( Credentials = `` /* 3381-byte string literal not displayed */ LBUsage = `` /* 457-byte string literal not displayed */ PlanCommandUsage = `` /* 314-byte string literal not displayed */ UpCommandUsage = `` /* 276-byte string literal not displayed */ DestroyCommandUsage = `Tears down BOSH director infrastructure [--no-confirm] Do not ask for confirmation (optional)` CleanupLeftoversCommandUsage = `Cleans up orphaned IAAS resources --filter Only delete resources with this string in their name` LBsCommandUsage = "Prints attached load balancer(s)" OutputsCommandUsage = "Prints the outputs from terraform." VersionCommandUsage = "Prints version" UsageCommandUsage = "Prints helpful message for the given command" EnvIdCommandUsage = "Prints environment ID" SSHKeyCommandUsage = "Prints SSH private key for the jumpbox." DirectorSSHKeyCommandUsage = "Prints SSH private key for the director." SSHCommandUsage = `` /* 263-byte string literal not displayed */ RotateCommandUsage = "Rotates SSH key for the jumpbox user." JumpboxAddressCommandUsage = "Prints BOSH jumpbox address" DirectorUsernameCommandUsage = "Prints BOSH director username" DirectorPasswordCommandUsage = "Prints BOSH director password" DirectorAddressCommandUsage = "Prints BOSH director address" DirectorCACertCommandUsage = "Prints BOSH director CA certificate" PrintEnvCommandUsage = `` /* 206-byte string literal not displayed */ LatestErrorCommandUsage = "Prints the output from the latest call to terraform" )
View Source
const ( EnvIDCommand = "env-id" JumpboxAddressCommand = "jumpbox-address" DirectorUsernameCommand = "director-username" DirectorPasswordCommand = "director-password" DirectorAddressCommand = "director-address" DirectorCACertCommand = "director-ca-cert" EnvIDPropertyName = "environment id" JumpboxAddressPropertyName = "jumpbox address" DirectorUsernamePropertyName = "director username" DirectorPasswordPropertyName = "director password" DirectorAddressPropertyName = "director address" DirectorCACertPropertyName = "director ca cert" )
View Source
const ( UsageHeader = `` /* 501-byte string literal not displayed */ CommandUsage = ` [%s command options] %s` )
View Source
const GlobalUsage = `` /* 1528-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureLBs ¶
type AzureLBs struct {
// contains filtered or unexported fields
}
func NewAzureLBs ¶
func NewAzureLBs(terraformManager terraformManager, logger logger) AzureLBs
type CleanupLeftovers ¶
type CleanupLeftovers struct {
// contains filtered or unexported fields
}
func NewCleanupLeftovers ¶
func NewCleanupLeftovers(deleter FilteredDeleter) CleanupLeftovers
func (CleanupLeftovers) CheckFastFails ¶
func (l CleanupLeftovers) CheckFastFails(subcommandFlags []string, state storage.State) error
func (CleanupLeftovers) Execute ¶
func (l CleanupLeftovers) Execute(subcommandFlags []string, state storage.State) error
func (CleanupLeftovers) Usage ¶
func (l CleanupLeftovers) Usage() string
type Destroy ¶
type Destroy struct {
// contains filtered or unexported fields
}
func NewDestroy ¶
func NewDestroy(plan plan, logger logger, boshManager boshManager, stateStore stateStore, stateValidator stateValidator, terraformManager terraformManager, networkDeletionValidator NetworkDeletionValidator) Destroy
func (Destroy) CheckFastFails ¶
type ExitSuccessfully ¶
type ExitSuccessfully struct{}
func (ExitSuccessfully) Error ¶
func (e ExitSuccessfully) Error() string
type FilteredDeleter ¶
type GlobalFlags ¶
type LBArgsHandler ¶
type LBArgsHandler struct {
// contains filtered or unexported fields
}
func NewLBArgsHandler ¶
func NewLBArgsHandler(certificateValidator certificateValidator) LBArgsHandler
func (LBArgsHandler) GetLBState ¶
type LBs ¶
type LBs struct {
// contains filtered or unexported fields
}
func (LBs) CheckFastFails ¶
type LatestError ¶
type LatestError struct {
// contains filtered or unexported fields
}
func NewLatestError ¶
func NewLatestError(logger logger, stateValidator stateValidator) LatestError
func (LatestError) CheckFastFails ¶
func (l LatestError) CheckFastFails(subcommandFlags []string, state storage.State) error
func (LatestError) Execute ¶
func (l LatestError) Execute(subcommandFlags []string, bblState storage.State) error
func (LatestError) Usage ¶
func (LatestError) Usage() string
type NoBBLStateError ¶
type NoBBLStateError struct {
// contains filtered or unexported fields
}
func NewNoBBLStateError ¶
func NewNoBBLStateError(dir string) NoBBLStateError
func (NoBBLStateError) Error ¶
func (e NoBBLStateError) Error() string
func (NoBBLStateError) String ¶
func (e NoBBLStateError) String() string
type Outputs ¶
type Outputs struct {
// contains filtered or unexported fields
}
func NewOutputs ¶
func NewOutputs(logger logger, terraformManager terraformManager, stateValidator stateValidator) Outputs
func (Outputs) CheckFastFails ¶
type Plan ¶
type Plan struct {
// contains filtered or unexported fields
}
func NewPlan ¶
func NewPlan( boshManager boshManager, cloudConfigManager cloudConfigManager, runtimeConfigManager runtimeConfigManager, stateStore stateStore, patchDetector patchDetector, envIDManager envIDManager, terraformManager terraformManager, lbArgsHandler lbArgsHandler, logger logger, bblVersion string, ) Plan
func (Plan) InitializePlan ¶
type PlanConfig ¶
type PrintEnv ¶
type PrintEnv struct {
// contains filtered or unexported fields
}
PrintEnv defines a PrintEnv command
func NewPrintEnv ¶
func NewPrintEnv( logger logger, stderrLogger logger, stateValidator stateValidator, allProxyGetter allProxyGetter, credhubGetter credhubGetter, terraformManager terraformManager, fs fs, rendererFactory renderers.Factory) PrintEnv
NewPrintEnv creates a new PrintEnv Command
func (PrintEnv) CheckFastFails ¶
type PrintEnvConfig ¶
type PrintEnvConfig struct {
// contains filtered or unexported fields
}
type Rotate ¶
type Rotate struct {
// contains filtered or unexported fields
}
func NewRotate ¶
func NewRotate(stateValidator stateValidator, sshKeyDeleter sshKeyDeleter, up up) Rotate
func (Rotate) CheckFastFails ¶
type SSH ¶
type SSH struct {
// contains filtered or unexported fields
}
func NewSSH ¶
func NewSSH(logger logger, sshCLI sshCLI, sshKeyGetter sshKeyGetter, pathFinder pathFinder, tempDirWriter tempDirWriter, randomPort randomPort) SSH
func (SSH) CheckFastFails ¶
type SSHKey ¶
type SSHKey struct { Director bool // contains filtered or unexported fields }
func NewDirectorSSHKey ¶
func NewDirectorSSHKey(logger logger, stateValidator stateValidator, sshKeyGetter sshKeyGetter) SSHKey
func NewSSHKey ¶
func NewSSHKey(logger logger, stateValidator stateValidator, sshKeyGetter sshKeyGetter) SSHKey
func (SSHKey) CheckFastFails ¶
type StateQuery ¶
type StateQuery struct {
// contains filtered or unexported fields
}
func NewStateQuery ¶
func NewStateQuery(logger logger, stateValidator stateValidator, terraformManager terraformManager, propertyName string) StateQuery
func (StateQuery) CheckFastFails ¶
func (s StateQuery) CheckFastFails(subcommandFlags []string, state storage.State) error
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
}
type Usage ¶
type Usage struct {
// contains filtered or unexported fields
}
func (Usage) CheckFastFails ¶
func (Usage) PrintCommandUsage ¶
type Validate ¶
type Validate struct {
// contains filtered or unexported fields
}
func NewValidate ¶
func NewValidate(plan plan, stateStore stateStore, terraformManager terraformManager) Validate
func (Validate) CheckFastFails ¶
type Version ¶
type Version struct {
// contains filtered or unexported fields
}
func NewVersion ¶
func (Version) CheckFastFails ¶
Source Files ¶
- aws_lbs.go
- azure_lbs.go
- cleanup_leftovers.go
- command.go
- commands_usage.go
- destroy.go
- fail_fast_bosh_version.go
- gcp_lbs.go
- global_flags.go
- helpers.go
- interfaces.go
- latest_error.go
- lb_args_handler.go
- lbs.go
- outputs.go
- plan.go
- print_env.go
- rotate.go
- ssh.go
- ssh_key.go
- state_query.go
- up.go
- usage.go
- validate.go
- version.go
Click to show internal directories.
Click to hide internal directories.