Documentation ¶
Index ¶
- Constants
- func IAASString(config acceptance.Config) string
- func LBURL(config acceptance.Config, bbl BBL, state acceptance.State) (string, error)
- type AWS
- func (a AWS) DescribeCertificate(certificateName string) iam.Certificate
- func (a AWS) DescribeKeyPairs(keypairName string) []*awsec2.KeyPairInfo
- func (a AWS) GetEC2InstanceTags(instanceName string) map[string]string
- func (a AWS) GetSSLCertificateNameFromLBs(envID string) string
- func (a AWS) GetVPC(vpcName string) *string
- func (a AWS) Instances(envID string) []string
- func (a AWS) LoadBalancers(vpcName string) []string
- func (a AWS) NetworkHasBOSHDirector(envID string) bool
- func (a AWS) StackExists(stackName string) bool
- type BBL
- func (b BBL) BOSHDeploymentVars() string
- func (b BBL) CreateGCPLB(loadBalancerType string)
- func (b BBL) CreateLB(loadBalancerType string, cert string, key string, chain string)
- func (b BBL) DeleteLBs()
- func (b BBL) Destroy()
- func (b BBL) DirectorAddress() string
- func (b BBL) DirectorCACert() string
- func (b BBL) DirectorPassword() string
- func (b BBL) DirectorUsername() string
- func (b BBL) EnvID() string
- func (b BBL) JumpboxAddress() string
- func (b BBL) LBs() *gexec.Session
- func (b BBL) PredefinedEnvID() string
- func (b BBL) PrintEnv() string
- func (b BBL) SSHKey() string
- func (b BBL) SaveDirectorCA() string
- func (b BBL) Up(iaas IAAS, additionalArgs []string)
- func (b BBL) UpWithInvalidAWSCredentials()
- func (b BBL) UpdateLB(certPath, keyPath, chainPath string)
- type BOSH
- type BOSHCLI
- type BOSHDirectorChecker
- type GCP
- func (g GCP) GetAddress(addressName string) (*compute.Address, error)
- func (g GCP) GetFirewallRule(firewallRuleName string) (*compute.Firewall, error)
- func (g GCP) GetHealthCheck(healthCheckName string) (*compute.HttpHealthCheck, error)
- func (g GCP) GetNetwork(networkName string) (*compute.Network, error)
- func (g GCP) GetSubnet(subnetName string) (*compute.Subnetwork, error)
- func (g GCP) GetTargetHTTPSProxy(name string) (*compute.TargetHttpsProxy, error)
- func (g GCP) GetTargetPool(targetPoolName string) (*compute.TargetPool, error)
- func (g GCP) NetworkHasBOSHDirector(envID string) bool
- func (g GCP) RemoveSSHKey(sshKey string) error
- func (g GCP) SSHKey() (string, error)
- type IAAS
- type Terraform
Constants ¶
View Source
const ( AWSIAAS = iota GCPIAAS )
Variables ¶
This section is empty.
Functions ¶
func IAASString ¶
func IAASString(config acceptance.Config) string
func LBURL ¶
func LBURL(config acceptance.Config, bbl BBL, state acceptance.State) (string, error)
Types ¶
type AWS ¶
type AWS struct {
// contains filtered or unexported fields
}
func NewAWS ¶
func NewAWS(configuration acceptance.Config) AWS
func (AWS) DescribeCertificate ¶
func (a AWS) DescribeCertificate(certificateName string) iam.Certificate
func (AWS) DescribeKeyPairs ¶
func (a AWS) DescribeKeyPairs(keypairName string) []*awsec2.KeyPairInfo
func (AWS) GetEC2InstanceTags ¶
func (AWS) GetSSLCertificateNameFromLBs ¶
func (AWS) LoadBalancers ¶
func (AWS) NetworkHasBOSHDirector ¶
func (AWS) StackExists ¶
type BBL ¶
type BBL struct {
// contains filtered or unexported fields
}
func (BBL) BOSHDeploymentVars ¶
func (BBL) CreateGCPLB ¶
func (BBL) DirectorAddress ¶
func (BBL) DirectorCACert ¶
func (BBL) DirectorPassword ¶
func (BBL) DirectorUsername ¶
func (BBL) JumpboxAddress ¶
func (BBL) PredefinedEnvID ¶
func (BBL) SaveDirectorCA ¶
func (BBL) UpWithInvalidAWSCredentials ¶
func (b BBL) UpWithInvalidAWSCredentials()
type BOSHCLI ¶
type BOSHCLI struct{}
func NewBOSHCLI ¶
func NewBOSHCLI() BOSHCLI
func (BOSHCLI) CloudConfig ¶
func (BOSHCLI) DirectorExists ¶
type BOSHDirectorChecker ¶
func NewBOSHDirectorChecker ¶
func NewBOSHDirectorChecker(config acceptance.Config) BOSHDirectorChecker
type GCP ¶
type GCP struct {
// contains filtered or unexported fields
}
func NewGCP ¶
func NewGCP(config acceptance.Config) GCP
func (GCP) GetFirewallRule ¶
func (GCP) GetHealthCheck ¶
func (g GCP) GetHealthCheck(healthCheckName string) (*compute.HttpHealthCheck, error)
func (GCP) GetTargetHTTPSProxy ¶
func (g GCP) GetTargetHTTPSProxy(name string) (*compute.TargetHttpsProxy, error)
func (GCP) GetTargetPool ¶
func (g GCP) GetTargetPool(targetPoolName string) (*compute.TargetPool, error)
func (GCP) NetworkHasBOSHDirector ¶
func (GCP) RemoveSSHKey ¶
type Terraform ¶
type Terraform struct {
// contains filtered or unexported fields
}
func NewTerraform ¶
func NewTerraform(config acceptance.Config) Terraform
Click to show internal directories.
Click to hide internal directories.