actors

package
v3.2.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2017 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AWSIAAS = iota
	GCPIAAS
)

Variables

This section is empty.

Functions

func IAASString

func IAASString(config integration.Config) string

func LBURL

func LBURL(config integration.Config, bbl BBL, state integration.State) (string, error)

Types

type AWS

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

func NewAWS

func NewAWS(configuration integration.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(instanceID string) map[string]string

func (AWS) GetPhysicalID

func (a AWS) GetPhysicalID(stackName, logicalID string) string

func (AWS) LoadBalancers

func (a AWS) LoadBalancers(stackName string) map[string]string

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 integration.Config, envIDSuffix string) BBL

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

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

func (BBL) PredefinedEnvID

func (b BBL) PredefinedEnvID() 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 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)

type GCP

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

func NewGCP

func NewGCP(config integration.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) 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 integration.Config) IAAS

type Terraform

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

func NewTerraform

func NewTerraform(config integration.Config) Terraform

func (Terraform) Destroy

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

Jump to

Keyboard shortcuts

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