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 ExecuteComponentVendorCommandInternal(vendorComponentSpec c.VendorComponentSpec, component 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 ExecuteStackVendorCommandInternal(stack string, dryRun bool, vendorCommand string) 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 ExecuteValidateStacks(cmd *cobra.Command, args []string) error
- func ExecuteVendorCommand(cmd *cobra.Command, args []string, vendorCommand string) error
- func ExecuteVendorDiff(cmd *cobra.Command, args []string) error
- func ExecuteVendorPull(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)
- func ReadAndProcessComponentConfigFile(component string, componentType string) (c.VendorComponentConfig, string, 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 ExecuteComponentVendorCommandInternal ¶ added in v1.4.12
func ExecuteComponentVendorCommandInternal( vendorComponentSpec c.VendorComponentSpec, component string, componentPath string, dryRun bool, vendorCommand string, ) error
ExecuteComponentVendorCommandInternal executes a component vendor command Supports all protocols (local files, Git, Mercurial, HTTP, HTTPS, Amazon S3, Google GCP), URL and archive formats described in https://github.com/hashicorp/go-getter https://www.allee.xyz/en/posts/getting-started-with-go-getter https://github.com/otiai10/copy
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 ExecuteStackVendorCommandInternal ¶ added in v1.4.12
ExecuteStackVendorCommandInternal executes a stack vendor command TODO: implement this
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 ExecuteValidateStacks ¶ added in v1.4.13
ExecuteValidateStacks executes `validate stacks` command
func ExecuteVendorCommand ¶ added in v1.4.12
ExecuteVendorCommand executes `atmos vendor` commands
func ExecuteVendorDiff ¶ added in v1.4.12
ExecuteVendorDiff executes `vendor diff` commands
func ExecuteVendorPull ¶ added in v1.4.12
ExecuteVendorPull executes `vendor pull` commands
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
func ReadAndProcessComponentConfigFile ¶ added in v1.4.12
func ReadAndProcessComponentConfigFile(component string, componentType string) (c.VendorComponentConfig, string, error)
ReadAndProcessComponentConfigFile reads and processes `component.yaml` vendor config file
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
- validate_stacks.go
- vendor.go
- vendor_utils.go
- worflow.go
- worflow_utils.go