Documentation ¶
Index ¶
- Constants
- type AWSLBs
- type AzureLBs
- type CleanupLeftovers
- type Command
- type Destroy
- type FilteredDeleter
- type GCPLBs
- type GlobalFlags
- type LBArgs
- type LBArgsHandler
- type LBs
- type LBsCmd
- type LatestError
- type NetworkDeletionValidator
- 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 Rotate
- type SSHKey
- type StateQuery
- type Up
- type Usage
- type Version
Constants ¶
View Source
const ( Credentials = `` /* 1683-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 = `` /* 178-byte string literal not displayed */ CleanupLeftoversCommandUsage = `Cleans up orphaned IAAS resources --filter Only delete resources with this string in their name` 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 for the jumpbox." DirectorSSHKeyCommandUsage = "Prints SSH private key for the director." 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 = "Prints required BOSH environment variables" 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 = `` /* 1391-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 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 Plan ¶
type Plan struct {
// contains filtered or unexported fields
}
func (Plan) InitializePlan ¶
type PlanConfig ¶
type PrintEnv ¶
type PrintEnv struct {
// contains filtered or unexported fields
}
func NewPrintEnv ¶
func NewPrintEnv( logger logger, stderrLogger logger, stateValidator stateValidator, allProxyGetter allProxyGetter, credhubGetter credhubGetter, terraformManager terraformManager, fs fs) PrintEnv
func (PrintEnv) CheckFastFails ¶
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 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 Version ¶
type Version struct {
// contains filtered or unexported fields
}
func NewVersion ¶
func (Version) CheckFastFails ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.