Documentation ¶
Index ¶
- Variables
- func AskForRequiredInput(prompt string, opts ...AskOptions) string
- func Execute()
- func GetFilesFromS3(region string, bucketName string, path string, filenames []string)
- func InteractivelyCreateConfig() *concourse.Config
- func ListAvailabilityZones(region string) []string
- func ListKeys(region string) []string
- func ListRegions() []string
- func ListSubnets(region string, vpcId string, az string) []string
- func ListVPCs(region string) []string
- func ObtainExternalIp() string
- func PutFilesToS3(region string, bucketName string, path string, filenames []string)
- func Run(cmd *cobra.Command, args []string)
- func RunRestore(cmd *cobra.Command, args []string)
- func RunSave(cmd *cobra.Command, args []string)
- func SSHGenKeyIfNotExist(keyFileName string)
- func TerraformRun(subcommand string, c *concourse.Config)
- func WriteConfigFile(config *concourse.Config, path string)
- type AskOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "concourse-aws",
Short: "Scalable Concourse CI Server on AWS",
Long: `This tool can provision scalable concourse ci servers on AWS. This also supports to sync(get/put) configuration files with S3.
`,
}
RootCmd represents the base command when called without any subcommands
Functions ¶
func AskForRequiredInput ¶
func AskForRequiredInput(prompt string, opts ...AskOptions) string
func Execute ¶
func Execute()
Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetFilesFromS3 ¶ added in v0.0.3
func ListAvailabilityZones ¶
func ListRegions ¶
func ListRegions() []string
func ObtainExternalIp ¶
func ObtainExternalIp() string
func PutFilesToS3 ¶ added in v0.0.3
func RunRestore ¶ added in v0.0.3
func SSHGenKeyIfNotExist ¶
func SSHGenKeyIfNotExist(keyFileName string)
func TerraformRun ¶
func WriteConfigFile ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.