Documentation ¶
Index ¶
- func ConfigureAwsProfile() (string, error)
- func Execute()
- func GenerateTerraformFiles(name string, terraformStateBucketName string, project *config.Project) error
- func GetLogs(clw cloudwatchlogsiface.CloudWatchLogsAPI, logGroup string, ...)
- func NewCmdAWSProfile() *cobra.Command
- func NewCmdBuild(project *config.Project) *cobra.Command
- func NewCmdCI(project *config.Project) *cobra.Command
- func NewCmdCompletion() *cobra.Command
- func NewCmdConfig() *cobra.Command
- func NewCmdConsole(project *config.Project) *cobra.Command
- func NewCmdDeploy(project *config.Project) *cobra.Command
- func NewCmdDoc() *cobra.Command
- func NewCmdDown(project *config.Project) *cobra.Command
- func NewCmdDownInfra(project *config.Project) *cobra.Command
- func NewCmdExec(project *config.Project) *cobra.Command
- func NewCmdGen(project *config.Project) *cobra.Command
- func NewCmdInit() *cobra.Command
- func NewCmdLogs(project *config.Project) *cobra.Command
- func NewCmdMfa(project *config.Project) *cobra.Command
- func NewCmdNvm(project *config.Project) *cobra.Command
- func NewCmdPush(project *config.Project) *cobra.Command
- func NewCmdSecrets(project *config.Project) *cobra.Command
- func NewCmdSecretsEdit(project *config.Project) *cobra.Command
- func NewCmdSecretsPull(project *config.Project) *cobra.Command
- func NewCmdSecretsPush(project *config.Project) *cobra.Command
- func NewCmdSecretsRemove(project *config.Project) *cobra.Command
- func NewCmdStart(project *config.Project) *cobra.Command
- func NewCmdTerraform(project *config.Project) *cobra.Command
- func NewCmdTfenv(project *config.Project) *cobra.Command
- func NewCmdTunnel(project *config.Project) *cobra.Command
- func NewCmdTunnelDown(project *config.Project) *cobra.Command
- func NewCmdTunnelStatus(project *config.Project) *cobra.Command
- func NewCmdTunnelUp(project *config.Project) *cobra.Command
- func NewCmdUp(project *config.Project) *cobra.Command
- func NewCmdUpApps(project *config.Project) *cobra.Command
- func NewCmdUpInfra(project *config.Project) *cobra.Command
- func NewDebugCmd(project *config.Project) *cobra.Command
- func NewValidateCmd() *cobra.Command
- func NewVersionCmd() *cobra.Command
- type Apps
- type BuildOptions
- type CIOptions
- type Config
- type ConfigureOptions
- type ConsoleOptions
- type DeployOptions
- type DownInfraOptions
- type DownOptions
- type ExecOptions
- type InitOptions
- type LogsOptions
- type MfaOptions
- type Namespace
- type NetworkConfiguration
- type NvmOptions
- type PushOptions
- type SSMWrapper
- type SecretsEditOptions
- type SecretsPullOptions
- type SecretsPushOptions
- type SecretsRemoveOptions
- type Section
- type StartOptions
- type Template
- type TerraformOptions
- type TfenvOptions
- type TunnelDownOptions
- type TunnelStatusOptions
- type TunnelUpOptions
- type UpAppsOptions
- type UpInfraOptions
- type UpOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureAwsProfile ¶ added in v1.1.7
func GenerateTerraformFiles ¶ added in v1.1.7
func GetLogs ¶ added in v1.1.7
func GetLogs(clw cloudwatchlogsiface.CloudWatchLogsAPI, logGroup string, logStreamName string, token *string)
func NewCmdAWSProfile ¶ added in v1.1.7
func NewCmdCompletion ¶ added in v1.1.7
func NewCmdConfig ¶ added in v1.1.7
func NewCmdInit ¶ added in v1.1.7
func NewCmdSecretsEdit ¶ added in v1.1.7
func NewCmdSecretsPull ¶ added in v1.1.7
func NewCmdSecretsPush ¶ added in v1.1.7
func NewCmdSecretsRemove ¶ added in v1.1.7
func NewCmdTunnelDown ¶ added in v1.1.7
func NewCmdTunnelStatus ¶ added in v1.1.7
func NewValidateCmd ¶ added in v1.1.7
func NewVersionCmd ¶ added in v1.1.1
Types ¶
type BuildOptions ¶ added in v1.1.7
func NewBuildFlags ¶ added in v1.1.7
func NewBuildFlags(project *config.Project) *BuildOptions
func (*BuildOptions) Complete ¶ added in v1.1.7
func (o *BuildOptions) Complete(cmd *cobra.Command) error
func (*BuildOptions) Run ¶ added in v1.1.7
func (o *BuildOptions) Run() error
func (*BuildOptions) Validate ¶ added in v1.1.7
func (o *BuildOptions) Validate() error
type CIOptions ¶ added in v1.1.7
func NewCIOptions ¶ added in v1.1.7
type ConfigureOptions ¶ added in v1.1.7
type ConfigureOptions struct { }
func NewConfigFlags ¶ added in v1.1.7
func NewConfigFlags() *ConfigureOptions
func (*ConfigureOptions) Run ¶ added in v1.1.7
func (o *ConfigureOptions) Run() error
type ConsoleOptions ¶ added in v1.1.7
type ConsoleOptions struct { Config *config.Project AppName string EcsCluster string Task string CustomPrompt bool ContainerName string Explain bool }
func NewConsoleFlags ¶ added in v1.1.7
func NewConsoleFlags(project *config.Project) *ConsoleOptions
func (*ConsoleOptions) Complete ¶ added in v1.1.7
func (o *ConsoleOptions) Complete(cmd *cobra.Command) error
func (*ConsoleOptions) Run ¶ added in v1.1.7
func (o *ConsoleOptions) Run() error
func (*ConsoleOptions) Validate ¶ added in v1.1.7
func (o *ConsoleOptions) Validate() error
type DeployOptions ¶ added in v1.1.7
type DeployOptions struct { Config *config.Project AppName string Image string TaskDefinitionRevision string Unsafe bool Force bool }
func NewDeployFlags ¶ added in v1.1.7
func NewDeployFlags(project *config.Project) *DeployOptions
func (*DeployOptions) Complete ¶ added in v1.1.7
func (o *DeployOptions) Complete(cmd *cobra.Command) error
func (*DeployOptions) Run ¶ added in v1.1.7
func (o *DeployOptions) Run() error
func (*DeployOptions) Validate ¶ added in v1.1.7
func (o *DeployOptions) Validate() error
type DownInfraOptions ¶ added in v1.1.7
type DownInfraOptions struct { Config *config.Project Version string AwsProfile string AwsRegion string SkipGen bool OnlyInfra bool // contains filtered or unexported fields }
func NewDownInfraFlags ¶ added in v1.1.7
func NewDownInfraFlags(project *config.Project) *DownInfraOptions
func (*DownInfraOptions) Complete ¶ added in v1.1.7
func (o *DownInfraOptions) Complete() error
func (*DownInfraOptions) Run ¶ added in v1.1.7
func (o *DownInfraOptions) Run() error
func (*DownInfraOptions) Validate ¶ added in v1.1.7
func (o *DownInfraOptions) Validate() error
type DownOptions ¶ added in v1.1.7
type DownOptions struct { Config *config.Project AppName string SkipBuildAndPush bool AutoApprove bool SkipGen bool UseYarn bool // contains filtered or unexported fields }
func NewDownFlags ¶ added in v1.1.7
func NewDownFlags(project *config.Project) *DownOptions
func (*DownOptions) Complete ¶ added in v1.1.7
func (o *DownOptions) Complete(cmd *cobra.Command, args []string) error
func (*DownOptions) Run ¶ added in v1.1.7
func (o *DownOptions) Run() error
func (*DownOptions) Validate ¶ added in v1.1.7
func (o *DownOptions) Validate() error
type ExecOptions ¶ added in v1.1.7
type ExecOptions struct { Config *config.Project AppName string EcsCluster string Command []string Task string ContainerName string Explain bool }
func NewExecFlags ¶ added in v1.1.7
func NewExecFlags(project *config.Project) *ExecOptions
func (*ExecOptions) Run ¶ added in v1.1.7
func (o *ExecOptions) Run() error
func (*ExecOptions) Validate ¶ added in v1.1.7
func (o *ExecOptions) Validate() error
type InitOptions ¶ added in v1.1.7
func NewInitFlags ¶ added in v1.1.7
func NewInitFlags() *InitOptions
func (*InitOptions) Complete ¶ added in v1.1.7
func (o *InitOptions) Complete(cmd *cobra.Command) error
func (*InitOptions) Run ¶ added in v1.1.7
func (o *InitOptions) Run() error
func (*InitOptions) Validate ¶ added in v1.1.7
func (o *InitOptions) Validate() error
type LogsOptions ¶ added in v1.1.7
func NewLogsFlags ¶ added in v1.1.7
func NewLogsFlags(project *config.Project) *LogsOptions
func (*LogsOptions) Complete ¶ added in v1.1.7
func (o *LogsOptions) Complete(cmd *cobra.Command) error
func (*LogsOptions) Run ¶ added in v1.1.7
func (o *LogsOptions) Run() error
func (*LogsOptions) Validate ¶ added in v1.1.7
func (o *LogsOptions) Validate() error
type MfaOptions ¶ added in v1.1.7
func NewMfaFlags ¶ added in v1.1.7
func NewMfaFlags(project *config.Project) *MfaOptions
func (*MfaOptions) Complete ¶ added in v1.1.7
func (o *MfaOptions) Complete() error
func (*MfaOptions) Run ¶ added in v1.1.7
func (o *MfaOptions) Run() error
type NetworkConfiguration ¶ added in v1.1.7
type NetworkConfiguration struct { SecurityGroups struct { Value string `json:"value"` } `json:"security_groups"` Subnets struct { Value [][]string `json:"value"` } `json:"subnets"` VpcPrivateSubnets struct { Value []string `json:"value"` } `json:"vpc_private_subnets"` VpcPublicSubnets struct { Value []string `json:"value"` } `json:"vpc_public_subnets"` }
type NvmOptions ¶ added in v1.1.11
func NewNvmFlags ¶ added in v1.1.11
func NewNvmFlags(project *config.Project) *NvmOptions
func (*NvmOptions) Run ¶ added in v1.1.11
func (o *NvmOptions) Run() error
func (*NvmOptions) Validate ¶ added in v1.1.11
func (o *NvmOptions) Validate() error
type PushOptions ¶ added in v1.1.7
func NewPushFlags ¶ added in v1.1.7
func NewPushFlags(project *config.Project) *PushOptions
func (*PushOptions) Complete ¶ added in v1.1.7
func (o *PushOptions) Complete(cmd *cobra.Command) error
func (*PushOptions) Run ¶ added in v1.1.7
func (o *PushOptions) Run() error
func (*PushOptions) Validate ¶ added in v1.1.7
func (o *PushOptions) Validate() error
type SSMWrapper ¶ added in v1.1.7
type SecretsEditOptions ¶ added in v1.1.7
func NewSecretsEditFlags ¶ added in v1.1.7
func NewSecretsEditFlags(project *config.Project) *SecretsEditOptions
func (*SecretsEditOptions) Complete ¶ added in v1.1.7
func (o *SecretsEditOptions) Complete(cmd *cobra.Command) error
func (*SecretsEditOptions) Run ¶ added in v1.1.7
func (o *SecretsEditOptions) Run() error
func (*SecretsEditOptions) Validate ¶ added in v1.1.7
func (o *SecretsEditOptions) Validate() error
type SecretsPullOptions ¶ added in v1.1.7
type SecretsPullOptions struct { Config *config.Project AppName string Backend string FilePath string SecretsPath string Force bool Explain bool }
func NewSecretsPullFlags ¶ added in v1.1.7
func NewSecretsPullFlags(project *config.Project) *SecretsPullOptions
func (*SecretsPullOptions) Complete ¶ added in v1.1.7
func (o *SecretsPullOptions) Complete(cmd *cobra.Command) error
func (*SecretsPullOptions) Run ¶ added in v1.1.7
func (o *SecretsPullOptions) Run() error
func (*SecretsPullOptions) Validate ¶ added in v1.1.7
func (o *SecretsPullOptions) Validate() error
type SecretsPushOptions ¶ added in v1.1.7
type SecretsPushOptions struct { Config *config.Project AppName string Backend string FilePath string SecretsPath string Force bool Explain bool }
func NewSecretsPushFlags ¶ added in v1.1.7
func NewSecretsPushFlags(project *config.Project) *SecretsPushOptions
func (*SecretsPushOptions) Complete ¶ added in v1.1.7
func (o *SecretsPushOptions) Complete(cmd *cobra.Command) error
func (*SecretsPushOptions) Run ¶ added in v1.1.7
func (o *SecretsPushOptions) Run() error
func (*SecretsPushOptions) Validate ¶ added in v1.1.7
func (o *SecretsPushOptions) Validate() error
type SecretsRemoveOptions ¶ added in v1.1.7
type SecretsRemoveOptions struct { Config *config.Project AppName string Backend string SecretsPath string Explain bool // contains filtered or unexported fields }
func NewSecretsRemoveFlags ¶ added in v1.1.7
func NewSecretsRemoveFlags(project *config.Project) *SecretsRemoveOptions
func (*SecretsRemoveOptions) Complete ¶ added in v1.1.7
func (o *SecretsRemoveOptions) Complete(cmd *cobra.Command) error
func (*SecretsRemoveOptions) Run ¶ added in v1.1.7
func (o *SecretsRemoveOptions) Run() error
func (*SecretsRemoveOptions) Validate ¶ added in v1.1.7
func (o *SecretsRemoveOptions) Validate() error
type StartOptions ¶ added in v1.1.7
func NewStartFlags ¶ added in v1.1.7
func NewStartFlags(project *config.Project) *StartOptions
func (*StartOptions) Complete ¶ added in v1.1.7
func (o *StartOptions) Complete(cmd *cobra.Command) error
func (*StartOptions) Run ¶ added in v1.1.7
func (o *StartOptions) Run() error
func (*StartOptions) Validate ¶ added in v1.1.7
func (o *StartOptions) Validate() error
type TerraformOptions ¶ added in v1.1.7
func NewTerraformFlags ¶ added in v1.1.7
func NewTerraformFlags(project *config.Project) *TerraformOptions
func (*TerraformOptions) Complete ¶ added in v1.1.7
func (o *TerraformOptions) Complete() error
func (*TerraformOptions) Run ¶ added in v1.1.7
func (o *TerraformOptions) Run(args []string) error
func (*TerraformOptions) Validate ¶ added in v1.1.7
func (o *TerraformOptions) Validate() error
type TfenvOptions ¶ added in v1.1.7
func NewTfenvFlags ¶ added in v1.1.7
func NewTfenvFlags(project *config.Project) *TfenvOptions
func (*TfenvOptions) Run ¶ added in v1.1.7
func (o *TfenvOptions) Run() error
type TunnelDownOptions ¶ added in v1.1.7
func NewTunnelDownOptions ¶ added in v1.1.7
func NewTunnelDownOptions(project *config.Project) *TunnelDownOptions
func (*TunnelDownOptions) Complete ¶ added in v1.1.7
func (o *TunnelDownOptions) Complete() error
func (*TunnelDownOptions) Run ¶ added in v1.1.7
func (o *TunnelDownOptions) Run() error
func (*TunnelDownOptions) Validate ¶ added in v1.1.7
func (o *TunnelDownOptions) Validate() error
type TunnelStatusOptions ¶ added in v1.1.7
func NewTunnelStatusOptions ¶ added in v1.1.7
func NewTunnelStatusOptions(project *config.Project) *TunnelStatusOptions
func (*TunnelStatusOptions) Complete ¶ added in v1.1.7
func (o *TunnelStatusOptions) Complete() error
func (*TunnelStatusOptions) Run ¶ added in v1.1.7
func (o *TunnelStatusOptions) Run() error
func (*TunnelStatusOptions) Validate ¶ added in v1.1.7
func (o *TunnelStatusOptions) Validate() error
type TunnelUpOptions ¶ added in v1.1.7
type TunnelUpOptions struct { Config *config.Project PrivateKeyFile string PublicKeyFile string BastionHostID string ForwardHost []string StrictHostKeyChecking bool Metadata bool Explain bool }
func NewTunnelUpFlags ¶ added in v1.1.7
func NewTunnelUpFlags(project *config.Project) *TunnelUpOptions
func (*TunnelUpOptions) Complete ¶ added in v1.1.7
func (o *TunnelUpOptions) Complete() error
func (*TunnelUpOptions) Run ¶ added in v1.1.7
func (o *TunnelUpOptions) Run() error
func (*TunnelUpOptions) Validate ¶ added in v1.1.7
func (o *TunnelUpOptions) Validate() error
type UpAppsOptions ¶ added in v1.1.7
func NewUpAppsFlags ¶ added in v1.1.7
func NewUpAppsFlags(project *config.Project) *UpAppsOptions
func (*UpAppsOptions) Complete ¶ added in v1.1.7
func (o *UpAppsOptions) Complete() error
func (*UpAppsOptions) Run ¶ added in v1.1.7
func (o *UpAppsOptions) Run() error
func (*UpAppsOptions) Validate ¶ added in v1.1.7
func (o *UpAppsOptions) Validate() error
type UpInfraOptions ¶ added in v1.1.7
type UpInfraOptions struct { Config *config.Project SkipGen bool AwsProfile string AwsRegion string Version string UI terminal.UI Explain bool }
func NewUpInfraFlags ¶ added in v1.1.7
func NewUpInfraFlags(project *config.Project) *UpInfraOptions
func (*UpInfraOptions) Complete ¶ added in v1.1.7
func (o *UpInfraOptions) Complete() error
func (*UpInfraOptions) Run ¶ added in v1.1.7
func (o *UpInfraOptions) Run() error
func (*UpInfraOptions) Validate ¶ added in v1.1.7
func (o *UpInfraOptions) Validate() error
Source Files ¶
- aws_profile.go
- build.go
- ci.go
- completion.go
- configure.go
- console.go
- deploy.go
- doc.go
- down.go
- down_infra.go
- exec.go
- gen.go
- initialize.go
- ize.go
- logs.go
- mfa.go
- nvm.go
- push.go
- secrets.go
- secrets_edit.go
- secrets_pull.go
- secrets_push.go
- secrets_rm.go
- start.go
- status.go
- terraform.go
- testing.go
- tfenv.go
- tunnel.go
- tunnel_down.go
- tunnel_status.go
- tunnel_up.go
- up.go
- up_apps.go
- up_infra.go
- validate.go
- version.go
Click to show internal directories.
Click to hide internal directories.