Documentation ¶
Index ¶
- func BuildTerraformWorkspace(stack string, stackNamePattern string, ...) (string, error)
- func ExecuteAwsEksUpdateKubeconfig(kubeconfigContext c.AwsEksUpdateKubeconfigContext) error
- func ExecuteAwsEksUpdateKubeconfigCommand(cmd *cobra.Command, args []string) error
- func ExecuteDescribeComponent(cmd *cobra.Command, args []string) error
- func ExecuteDescribeConfig(cmd *cobra.Command, args []string) error
- func ExecuteDescribeStacks(cmd *cobra.Command, args []string) error
- func ExecuteHelmfile(cmd *cobra.Command, args []string) error
- func ExecuteHelmfileGenerateVarfile(cmd *cobra.Command, args []string) error
- func ExecuteShellCommand(command string, args []string, dir string, env []string, dryRun bool) error
- func ExecuteTerraform(cmd *cobra.Command, args []string) error
- func ExecuteTerraformGenerateBackend(cmd *cobra.Command, args []string) error
- func ExecuteTerraformGenerateVarfile(cmd *cobra.Command, args []string) error
- func ExecuteWorkflow(cmd *cobra.Command, args []string) error
- func FindComponentConfig(stack string, stacksMap map[string]interface{}, componentType string, ...) (map[string]interface{}, map[interface{}]interface{}, ...)
- func FindStacksMap(configAndStacksInfo c.ConfigAndStacksInfo, checkStack bool) (map[string]interface{}, error)
- func ProcessStacks(configAndStacksInfo c.ConfigAndStacksInfo, checkStack bool) (c.ConfigAndStacksInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildTerraformWorkspace ¶ added in v1.4.8
func BuildTerraformWorkspace( stack string, stackNamePattern string, componentMetadata map[interface{}]interface{}, context c.Context, ) (string, error)
BuildTerraformWorkspace builds Terraform workspace
func ExecuteAwsEksUpdateKubeconfig ¶ added in v1.4.9
func ExecuteAwsEksUpdateKubeconfig(kubeconfigContext c.AwsEksUpdateKubeconfigContext) error
ExecuteAwsEksUpdateKubeconfig executes 'aws eks update-kubeconfig' https://docs.aws.amazon.com/cli/latest/reference/eks/update-kubeconfig.html
func ExecuteAwsEksUpdateKubeconfigCommand ¶ added in v1.4.9
func ExecuteDescribeComponent ¶
ExecuteDescribeComponent executes `describe component` command
func ExecuteDescribeConfig ¶ added in v1.3.4
ExecuteDescribeConfig executes `describe config` command
func ExecuteDescribeStacks ¶ added in v1.4.4
ExecuteDescribeStacks executes `describe stacks` command
func ExecuteHelmfile ¶
ExecuteHelmfile executes helmfile commands
func ExecuteHelmfileGenerateVarfile ¶ added in v1.3.30
ExecuteHelmfileGenerateVarfile executes `helmfile generate varfile` command
func ExecuteShellCommand ¶ added in v1.4.9
func ExecuteShellCommand(command string, args []string, dir string, env []string, dryRun bool) error
ExecuteShellCommand prints and executes the provided command with args and flags
func ExecuteTerraform ¶
ExecuteTerraform executes terraform commands
func ExecuteTerraformGenerateBackend ¶
ExecuteTerraformGenerateBackend executes `terraform generate backend` command
func ExecuteTerraformGenerateVarfile ¶ added in v1.3.30
ExecuteTerraformGenerateVarfile executes `terraform generate varfile` command
func ExecuteWorkflow ¶ added in v1.4.0
ExecuteWorkflow executes a workflow
func FindComponentConfig ¶ added in v1.3.28
func FindComponentConfig( stack string, stacksMap map[string]interface{}, componentType string, component string, ) (map[string]interface{}, map[interface{}]interface{}, map[interface{}]interface{}, map[interface{}]interface{}, string, string, string, []string, bool, map[interface{}]interface{}, error, )
FindComponentConfig finds component config sections
func FindStacksMap ¶ added in v1.4.4
func FindStacksMap(configAndStacksInfo c.ConfigAndStacksInfo, checkStack bool) (map[string]interface{}, error)
FindStacksMap processes stack config and returns a map of all stacks
func ProcessStacks ¶ added in v1.3.28
func ProcessStacks(configAndStacksInfo c.ConfigAndStacksInfo, checkStack bool) (c.ConfigAndStacksInfo, error)
ProcessStacks processes stack config
Types ¶
This section is empty.
Source Files ¶
- aws_eks_update_kubeconfig.go
- describe_component.go
- describe_config.go
- describe_stacks.go
- helmfile.go
- helmfile_generate_varfile.go
- help.go
- path_utils.go
- shell_utils.go
- stack_utils.go
- terraform.go
- terraform_generate_backend.go
- terraform_generate_varfile.go
- terraform_utils.go
- utils.go
- worflow.go
- worflow_utils.go