exec

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecHelmfile

func ExecHelmfile(ctx context.Context, command string, stackName string, componentName string, additionalArgs []string, options HelmfileExecOptions) error

func ExecuteComponentInit added in v0.2.1

func ExecuteComponentInit(ctx context.Context, options ComponentInitOptions) error

func ExecuteDescribeConfig

func ExecuteDescribeConfig(cmd *cobra.Command, options DescribeConfigOptions) error

ExecuteDescribeConfig executes `describe config` command

func ExecuteDescribeStacks

func ExecuteDescribeStacks(cmd *cobra.Command, options DescribeStackOptions) error

ExecuteDescribeStacks executes `describe stacks` command

func ExecuteStackComponentsInit added in v0.2.1

func ExecuteStackComponentsInit(ctx context.Context, stackName string, options ComponentInitOptions) error

func ExecuteTerraform added in v0.2.0

func ExecuteTerraform(ctx context.Context, stackName string, componentName string, additionalArgs []string, options TerraformOptions) error

func ExecuteTerraformClean added in v0.1.2

func ExecuteTerraformClean(ctx context.Context, stackName string, componentName string, options TerraformCleanOptions) error

ExecuteTerraformClean executes `terraform clean` command

func ExecuteTerraformGenerateBackend added in v0.1.2

func ExecuteTerraformGenerateBackend(ctx context.Context, stackName string, componentName string, options TerraformGenerateBackendOptions) error

ExecuteTerraformGenerateBackend executes `terraform generate backend` command

func ExecuteTerraformGenerateVarfile added in v0.1.2

func ExecuteTerraformGenerateVarfile(ctx context.Context, stackName string, componentName string, options TerraformGenerateVarfileOptions) error

ExecuteTerraformGenerateVarfile executes `terraform generate varfile` command

Types

type ComponentInitOptions added in v0.2.1

type ComponentInitOptions struct {
	ComponentType string
	ComponentName string
	DryRun        bool
}

type DescribeConfigOptions

type DescribeConfigOptions struct {
	Format string
}

type DescribeStackOptions

type DescribeStackOptions struct {
	Format     string
	OutputFile string
	Stack      string
}

type HelmfileExecOptions

type HelmfileExecOptions struct {
	DryRun     bool
	GlobalArgs string
}

type TerraformCleanOptions added in v0.1.2

type TerraformCleanOptions struct {
	ClearDataDir bool
}

type TerraformGenerateBackendOptions added in v0.1.2

type TerraformGenerateBackendOptions struct {
	DryRun bool
	Format string
}

type TerraformGenerateVarfileOptions added in v0.1.2

type TerraformGenerateVarfileOptions struct {
	DryRun bool
	Format string
}

type TerraformOptions added in v0.2.0

type TerraformOptions struct {
	Command                   string
	RequiresVarFile           bool
	UsePlan                   bool
	DryRun                    bool
	AutoApprove               bool
	Destroy                   bool
	SkipInit                  bool
	SkipWorkspace             bool
	CleanPlanFileOnCompletion bool
}

Jump to

Keyboard shortcuts

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