exec

package
v1.4.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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 ExecuteAwsEksUpdateKubeconfigCommand(cmd *cobra.Command, args []string) error

func ExecuteDescribeComponent

func ExecuteDescribeComponent(cmd *cobra.Command, args []string) error

ExecuteDescribeComponent executes `describe component` command

func ExecuteDescribeConfig added in v1.3.4

func ExecuteDescribeConfig(cmd *cobra.Command, args []string) error

ExecuteDescribeConfig executes `describe config` command

func ExecuteDescribeStacks added in v1.4.4

func ExecuteDescribeStacks(cmd *cobra.Command, args []string) error

ExecuteDescribeStacks executes `describe stacks` command

func ExecuteHelmfile

func ExecuteHelmfile(cmd *cobra.Command, args []string) error

ExecuteHelmfile executes helmfile commands

func ExecuteHelmfileGenerateVarfile added in v1.3.30

func ExecuteHelmfileGenerateVarfile(cmd *cobra.Command, args []string) error

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

func ExecuteTerraform(cmd *cobra.Command, args []string) error

ExecuteTerraform executes terraform commands

func ExecuteTerraformGenerateBackend

func ExecuteTerraformGenerateBackend(cmd *cobra.Command, args []string) error

ExecuteTerraformGenerateBackend executes `terraform generate backend` command

func ExecuteTerraformGenerateVarfile added in v1.3.30

func ExecuteTerraformGenerateVarfile(cmd *cobra.Command, args []string) error

ExecuteTerraformGenerateVarfile executes `terraform generate varfile` command

func ExecuteWorkflow added in v1.4.0

func ExecuteWorkflow(cmd *cobra.Command, args []string) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL