Documentation ¶
Overview ¶
Copyright (c) 2019-present Mattermost, Inc. All Rights Reserved. See LICENSE.txt for license information.
Index ¶
- type Output
- type Terraform
- func (t *Terraform) Cleanup()
- func (t *Terraform) Create() error
- func (t *Terraform) Destroy() error
- func (t *Terraform) Info() error
- func (t *Terraform) OpenBrowserFor(resource string) error
- func (t *Terraform) OpenSSHFor(resource string) error
- func (t *Terraform) Output() (*Output, error)
- func (t *Terraform) StartCoordinator() error
- func (t *Terraform) StopCoordinator() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Output ¶
type Output struct { Proxy struct { Value []struct { PrivateIP string `json:"private_ip"` PublicIP string `json:"public_ip"` PublicDNS string `json:"public_dns"` PrivateDNS string `json:"private_dns"` } `json:"value"` } `json:"proxy"` Instances struct { Value []struct { PrivateIP string `json:"private_ip"` PublicIP string `json:"public_ip"` PublicDNS string `json:"public_dns"` PrivateDNS string `json:"private_dns"` Tags struct { Name string `json:"Name"` } `json:"tags"` } `json:"value"` } `json:"instances"` DBCluster struct { Value struct { ClusterEndpoint string `json:"endpoint"` ReaderEndpoint string `json:"reader_endpoint"` } `json:"value"` } `json:"dbCluster"` Agents struct { Value []struct { PrivateIP string `json:"private_ip"` PublicIP string `json:"public_ip"` PublicDNS string `json:"public_dns"` PrivateDNS string `json:"private_dns"` Tags struct { Name string `json:"Name"` } `json:"tags"` } `json:"value"` } `json:"agents"` MetricsServer struct { Value struct { PrivateIP string `json:"private_ip"` PublicIP string `json:"public_ip"` PublicDNS string `json:"public_dns"` PrivateDNS string `json:"private_dns"` } `json:"value"` } `json:"metricsServer"` }
Output contains the output variables which are created after a deployment.
type Terraform ¶
type Terraform struct {
// contains filtered or unexported fields
}
Terraform manages all operations related to interacting with an AWS environment using Terraform.
func (*Terraform) Cleanup ¶
func (t *Terraform) Cleanup()
Cleanup is called at the end of each command to clean temporary files
func (*Terraform) OpenBrowserFor ¶
OpenBrowserFor opens a web browser for the resource
func (*Terraform) OpenSSHFor ¶
OpenSSHFor starts a ssh connection to the resource
func (*Terraform) StartCoordinator ¶
StartCoordinator starts the coordinator in the current load-test deployment.
func (*Terraform) StopCoordinator ¶
StopCoordinator stops the coordinator in the current load-test deployment.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.