Documentation ¶
Index ¶
- Constants
- Variables
- type AWSCreateLBs
- type AWSCreateLBsConfig
- type AWSDeleteLBs
- type AWSLBs
- type AWSUp
- type AWSUpConfig
- type AWSUpdateLBs
- type AzureDeleteLBs
- type AzureUp
- type AzureUpConfig
- type BOSHDeploymentVars
- type CloudConfig
- type Command
- type CreateLBs
- type DeleteLBs
- type Destroy
- type GCPCreateLBs
- type GCPCreateLBsConfig
- type GCPDeleteLBs
- type GCPLBs
- type GCPUp
- type GCPUpConfig
- type GCPUpdateLBs
- type GlobalFlags
- type LBs
- type LatestError
- type NewGCPUpArgs
- type PrintEnv
- type Rotate
- type SSHKey
- type StateQuery
- type Up
- type UpdateLBs
- type Usage
- type Version
Constants ¶
View Source
const ( UpCommandUsage = `` /* 1742-byte string literal not displayed */ DestroyCommandUsage = `` /* 178-byte string literal not displayed */ CreateLBsCommandUsage = `` /* 917-byte string literal not displayed */ UpdateLBsCommandUsage = `` /* 428-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 for the jumpbox user. This can be used to ssh to the director/use the director as a gateway host." 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" BOSHDeploymentVarsCommandUsage = "Prints required variables for BOSH deployment" CloudConfigUsage = "Prints suggested cloud configuration for BOSH environment" )
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 = `` /* 252-byte string literal not displayed */ CommandUsage = ` [%s command options] %s` )
View Source
const BBLDevVersion = "dev"
View Source
const (
CloudConfigCommand = "cloud-config"
)
View Source
const (
DIRECTOR_USERNAME = "admin"
)
View Source
const GlobalUsage = `` /* 1169-byte string literal not displayed */
Variables ¶
View Source
var LBNotFound error = errors.New("no load balancer has been found for this bbl environment")
Functions ¶
This section is empty.
Types ¶
type AWSCreateLBs ¶
type AWSCreateLBs struct {
// contains filtered or unexported fields
}
func NewAWSCreateLBs ¶
func NewAWSCreateLBs(cloudConfigManager cloudConfigManager, stateStore stateStore, terraformManager terraformApplier, environmentValidator environmentValidator) AWSCreateLBs
func (AWSCreateLBs) Execute ¶
func (c AWSCreateLBs) Execute(config AWSCreateLBsConfig, state storage.State) error
type AWSCreateLBsConfig ¶
type AWSDeleteLBs ¶
type AWSDeleteLBs struct {
// contains filtered or unexported fields
}
func NewAWSDeleteLBs ¶
func NewAWSDeleteLBs(cloudConfigManager cloudConfigManager, stateStore stateStore, environmentValidator environmentValidator, terraformManager terraformApplier) AWSDeleteLBs
type AWSUp ¶
type AWSUp struct {
// contains filtered or unexported fields
}
type AWSUpConfig ¶
type AWSUpdateLBs ¶
type AWSUpdateLBs struct {
// contains filtered or unexported fields
}
func NewAWSUpdateLBs ¶
func NewAWSUpdateLBs(awsCreateLBs awsCreateLBs) AWSUpdateLBs
func (AWSUpdateLBs) Execute ¶
func (c AWSUpdateLBs) Execute(config AWSCreateLBsConfig, state storage.State) error
type AzureDeleteLBs ¶
type AzureDeleteLBs struct {
// contains filtered or unexported fields
}
func NewAzureDeleteLBs ¶
func NewAzureDeleteLBs(cloudConfigManager cloudConfigManager, stateStore stateStore, terraformManager terraformApplier) AzureDeleteLBs
type AzureUp ¶
type AzureUp struct {
// contains filtered or unexported fields
}
func NewAzureUp ¶
func NewAzureUp(azureClient azureClient, boshManager boshManager, cloudConfigManager cloudConfigManager, envIDManager envIDManager, logger logger, stateStore stateStore, terraformManager terraformApplier) AzureUp
type AzureUpConfig ¶
type BOSHDeploymentVars ¶
type BOSHDeploymentVars struct {
// contains filtered or unexported fields
}
func NewBOSHDeploymentVars ¶
func NewBOSHDeploymentVars(logger logger, boshManager boshManager, stateValidator stateValidator, terraform terraformOutputter) BOSHDeploymentVars
func (BOSHDeploymentVars) CheckFastFails ¶
func (b BOSHDeploymentVars) CheckFastFails(subcommandFlags []string, state storage.State) error
func (BOSHDeploymentVars) Execute ¶
func (b BOSHDeploymentVars) Execute(args []string, state storage.State) error
func (BOSHDeploymentVars) Usage ¶
func (BOSHDeploymentVars) Usage() string
type CloudConfig ¶
type CloudConfig struct {
// contains filtered or unexported fields
}
func NewCloudConfig ¶
func NewCloudConfig(logger logger, stateValidator stateValidator, cloudConfigManager cloudConfigManager) CloudConfig
func (CloudConfig) CheckFastFails ¶
func (c CloudConfig) CheckFastFails(subcommandFlags []string, state storage.State) error
func (CloudConfig) Usage ¶
func (CloudConfig) Usage() string
type CreateLBs ¶
type CreateLBs struct {
// contains filtered or unexported fields
}
func NewCreateLBs ¶
func NewCreateLBs(awsCreateLBs awsCreateLBs, gcpCreateLBs gcpCreateLBs, logger logger, stateValidator stateValidator, certificateValidator certificateValidator, boshManager boshManager) CreateLBs
func (CreateLBs) CheckFastFails ¶
type DeleteLBs ¶
type DeleteLBs struct {
// contains filtered or unexported fields
}
func NewDeleteLBs ¶
func NewDeleteLBs(awsDeleteLBs awsDeleteLBs, azureDeleteLBs azureDeleteLBs, gcpDeleteLBs gcpDeleteLBs, logger logger, stateValidator stateValidator, boshManager boshManager) DeleteLBs
func (DeleteLBs) CheckFastFails ¶
type Destroy ¶
type Destroy struct {
// contains filtered or unexported fields
}
func NewDestroy ¶
func NewDestroy(logger logger, stdin io.Reader, boshManager boshManager, vpcStatusChecker vpcStatusChecker, stackManager stackManager, infrastructureManager infrastructureManager, certificateDeleter certificateDeleter, stateStore stateStore, stateValidator stateValidator, terraformManager terraformDestroyer, networkInstancesChecker networkInstancesChecker) Destroy
func (Destroy) CheckFastFails ¶
type GCPCreateLBs ¶
type GCPCreateLBs struct {
// contains filtered or unexported fields
}
func NewGCPCreateLBs ¶
func NewGCPCreateLBs(terraformManager terraformApplier, cloudConfigManager cloudConfigManager, stateStore stateStore, environmentValidator environmentValidator, availabilityZoneRetriever availabilityZoneRetriever) GCPCreateLBs
func (GCPCreateLBs) Execute ¶
func (c GCPCreateLBs) Execute(config GCPCreateLBsConfig, state storage.State) error
type GCPCreateLBsConfig ¶
type GCPDeleteLBs ¶
type GCPDeleteLBs struct {
// contains filtered or unexported fields
}
func NewGCPDeleteLBs ¶
func NewGCPDeleteLBs(stateStore stateStore, environmentValidator environmentValidator, terraformManager terraformApplier, cloudConfigManager cloudConfigManager) GCPDeleteLBs
type GCPUp ¶
type GCPUp struct {
// contains filtered or unexported fields
}
func NewGCPUp ¶
func NewGCPUp(args NewGCPUpArgs) GCPUp
type GCPUpConfig ¶
type GCPUpdateLBs ¶
type GCPUpdateLBs struct {
// contains filtered or unexported fields
}
func NewGCPUpdateLBs ¶
func NewGCPUpdateLBs(gcpCreateLBs gcpCreateLBs) GCPUpdateLBs
func (GCPUpdateLBs) Execute ¶
func (g GCPUpdateLBs) Execute(config GCPCreateLBsConfig, state storage.State) error
type GlobalFlags ¶
type LBs ¶
type LBs struct {
// contains filtered or unexported fields
}
func NewLBs ¶
func NewLBs(gcpLBs gcpLBs, awsLBs awsLBs, stateValidator stateValidator, logger logger) LBs
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 NewGCPUpArgs ¶
type NewGCPUpArgs struct { StateStore stateStore TerraformManager terraformApplier BoshManager boshManager Logger logger EnvIDManager envIDManager CloudConfigManager cloudConfigManager GCPAvailabilityZoneRetriever gcpAvailabilityZoneRetriever }
type PrintEnv ¶
type PrintEnv struct {
// contains filtered or unexported fields
}
func NewPrintEnv ¶
func NewPrintEnv(logger logger, stateValidator stateValidator, terraformManager terraformOutputter) 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 {
// contains filtered or unexported fields
}
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 terraformOutputter, infrastructureManager infrastructureManager, 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 UpdateLBs ¶
type UpdateLBs struct {
// contains filtered or unexported fields
}
func NewUpdateLBs ¶
func NewUpdateLBs(awsUpdateLBs awsUpdateLBs, gcpUpdateLBs gcpUpdateLBs, certificateValidator certificateValidator, stateValidator stateValidator, logger logger, boshManager boshManager) UpdateLBs
func (UpdateLBs) CheckFastFails ¶
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 ¶
- aws_create_lbs.go
- aws_delete_lbs.go
- aws_lbs.go
- aws_up.go
- aws_update_lbs.go
- azure_delete_lbs.go
- azure_up.go
- bosh_deployment_vars.go
- cloud_config.go
- command.go
- commands_usage.go
- create_lbs.go
- delete_lbs.go
- destroy.go
- fail_fast_bosh_version.go
- gcp_create_lbs.go
- gcp_delete_lbs.go
- gcp_lbs.go
- gcp_up.go
- gcp_update_lbs.go
- global_flags.go
- helpers.go
- interfaces.go
- latest_error.go
- lbs.go
- print_env.go
- rotate.go
- ssh_key.go
- state_query.go
- up.go
- update_lbs.go
- usage.go
- version.go
Click to show internal directories.
Click to hide internal directories.