actors

package
v4.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2017 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

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 (a AWS) GetEC2InstanceTags(instanceName string) map[string]string

func (AWS) GetSSLCertificateNameFromLBs

func (a AWS) GetSSLCertificateNameFromLBs(envID string) string

func (AWS) GetVPC

func (a AWS) GetVPC(vpcName string) *string

func (AWS) Instances

func (a AWS) Instances(envID string) []string

func (AWS) LoadBalancers

func (a AWS) LoadBalancers(vpcName string) []string

func (AWS) NetworkHasBOSHDirector

func (a AWS) NetworkHasBOSHDirector(envID string) bool

func (AWS) StackExists

func (a AWS) StackExists(stackName string) bool

type BBL

type BBL struct {
	// contains filtered or unexported fields
}

func NewBBL

func NewBBL(stateDirectory string, pathToBBL string, configuration acceptance.Config, envIDSuffix string) BBL

func (BBL) BOSHDeploymentVars

func (b BBL) BOSHDeploymentVars() string

func (BBL) CreateGCPLB

func (b BBL) CreateGCPLB(loadBalancerType string)

func (BBL) CreateLB

func (b BBL) CreateLB(loadBalancerType string, cert string, key string, chain string)

func (BBL) DeleteLBs

func (b BBL) DeleteLBs()

func (BBL) Destroy

func (b BBL) Destroy()

func (BBL) DirectorAddress

func (b BBL) DirectorAddress() string

func (BBL) DirectorCACert

func (b BBL) DirectorCACert() string

func (BBL) DirectorPassword

func (b BBL) DirectorPassword() string

func (BBL) DirectorUsername

func (b BBL) DirectorUsername() string

func (BBL) EnvID

func (b BBL) EnvID() string

func (BBL) JumpboxAddress

func (b BBL) JumpboxAddress() string

func (BBL) LBs

func (b BBL) LBs() *gexec.Session

func (BBL) PredefinedEnvID

func (b BBL) PredefinedEnvID() string

func (BBL) PrintEnv

func (b BBL) PrintEnv() string

func (BBL) SSHKey

func (b BBL) SSHKey() string

func (BBL) SaveDirectorCA

func (b BBL) SaveDirectorCA() string

func (BBL) Up

func (b BBL) Up(iaas IAAS, additionalArgs []string)

func (BBL) UpWithInvalidAWSCredentials

func (b BBL) UpWithInvalidAWSCredentials()

func (BBL) UpdateLB

func (b BBL) UpdateLB(certPath, keyPath, chainPath string)

type BOSH

type BOSH struct{}

func NewBOSH

func NewBOSH() BOSH

func (BOSH) DirectorExists

func (BOSH) DirectorExists(address, username, password string) bool

type BOSHCLI

type BOSHCLI struct{}

func NewBOSHCLI

func NewBOSHCLI() BOSHCLI

func (BOSHCLI) CloudConfig

func (BOSHCLI) CloudConfig(address, caCertPath, username, password string) (string, error)

func (BOSHCLI) DeleteEnv

func (BOSHCLI) DeleteEnv(stateFilePath, manifestPath string) error

func (BOSHCLI) DirectorExists

func (BOSHCLI) DirectorExists(address, caCertPath string) (bool, error)

func (BOSHCLI) Env

func (BOSHCLI) Env(address, caCertPath string) (string, error)

type BOSHDirectorChecker

type BOSHDirectorChecker interface {
	NetworkHasBOSHDirector(string) bool
}

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) GetAddress

func (g GCP) GetAddress(addressName string) (*compute.Address, error)

func (GCP) GetFirewallRule

func (g GCP) GetFirewallRule(firewallRuleName string) (*compute.Firewall, error)

func (GCP) GetHealthCheck

func (g GCP) GetHealthCheck(healthCheckName string) (*compute.HttpHealthCheck, error)

func (GCP) GetNetwork

func (g GCP) GetNetwork(networkName string) (*compute.Network, error)

func (GCP) GetSubnet

func (g GCP) GetSubnet(subnetName string) (*compute.Subnetwork, 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 (g GCP) NetworkHasBOSHDirector(envID string) bool

func (GCP) RemoveSSHKey

func (g GCP) RemoveSSHKey(sshKey string) error

func (GCP) SSHKey

func (g GCP) SSHKey() (string, error)

type IAAS

type IAAS int

func GetIAAS

func GetIAAS(config acceptance.Config) IAAS

type Terraform

type Terraform struct {
	// contains filtered or unexported fields
}

func NewTerraform

func NewTerraform(config acceptance.Config) Terraform

func (Terraform) Destroy

func (t Terraform) Destroy(state acceptance.State) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL