Documentation
¶
Index ¶
- func Contains(slice []string, searchValue string) bool
- func CreateConfigDirIfNotExist() (string, error)
- func CreateDeployOutputFile(deployOutput *DeployOutput)
- func GenerateMachineUniqueName() string
- func GetSecurityGroupByName(svc *ec2.EC2, name string) []*ec2.SecurityGroup
- func GetSecurityGroups(svc *ec2.EC2, vpcId *string) []*ec2.SecurityGroup
- func GetSubnets(svc *ec2.EC2, vpcId *string) []*ec2.Subnet
- func GetVpcs(svc *ec2.EC2) *ec2.DescribeVpcsOutput
- func RemoteRun(user string, addr string, privateKey string, cmd string) (string, error)
- func RunDockerCompose(username, ip, privateKey, composeFile string)
- func RunInit(username, ip, privateKey, initFile string)
- func RunLocalInit(username, ip, privateKey, initFile string)
- func RunRemoteBashScript(username, ip, privateKey, bashScript string)
- func SSHCopyFile(user string, addr string, privateKey string, srcPath, dstPath string) error
- func SSHIntoVM(ipAddress, user string)
- func StringSliceToPointerSlice(strSlice []string) []*string
- func WaitForCloudInit(username, ip string, privateKey string)
- func WhichCloudProvider() string
- type DeployOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConfigDirIfNotExist ¶
CreateConfigDirIfNotExist creates a directory on home directory if it does not exist and return the path.
func CreateDeployOutputFile ¶
func CreateDeployOutputFile(deployOutput *DeployOutput)
func GenerateMachineUniqueName ¶
func GenerateMachineUniqueName() string
GenerateMachineUniqueName generates a unique name for the machine based on the CI environment.
func GetSecurityGroupByName ¶
func GetSecurityGroupByName(svc *ec2.EC2, name string) []*ec2.SecurityGroup
func GetSecurityGroups ¶
func GetSecurityGroups(svc *ec2.EC2, vpcId *string) []*ec2.SecurityGroup
func RunDockerCompose ¶
func RunDockerCompose(username, ip, privateKey, composeFile string)
func RunLocalInit ¶
func RunLocalInit(username, ip, privateKey, initFile string)
func RunRemoteBashScript ¶
func RunRemoteBashScript(username, ip, privateKey, bashScript string)
func SSHCopyFile ¶
func WaitForCloudInit ¶
func WhichCloudProvider ¶
func WhichCloudProvider() string
Types ¶
Click to show internal directories.
Click to hide internal directories.