Documentation ¶
Index ¶
- Constants
- func Clean(ctx context.Context, clearDataDir bool) error
- func CleanPlanFile(ctx context.Context) error
- func ConstructWorkspaceName(stack *stack.Stack, componentName string, config stack.ConfigWithMetadata) (string, error)
- func ExecuteCommand(ctx context.Context, args []string) error
- func ExecuteShell(ctx context.Context) error
- func GenerateBackendFile(ctx context.Context, format string) error
- func GenerateVarFileFile(ctx context.Context, format string) error
- func NewExecutionContext(ctx context.Context, stk *stack.Stack, component stack.Component, dryRun bool) (context.Context, error)
- func NewKubeConfigProvider(conf *v1.ConfigSpec) (plugins.KubeConfigProvider, error)
- func SelectOrCreateWorkspace(ctx context.Context) error
- type Backend
- type Config
- type Root
- type Settings
- type Terraform
Constants ¶
View Source
const ( ComponentType = "terraform" AutoApproveFlag = "-auto-approve" )
Variables ¶
This section is empty.
Functions ¶
func CleanPlanFile ¶ added in v0.2.0
func ConstructWorkspaceName ¶ added in v0.2.0
func ExecuteShell ¶ added in v0.2.0
func NewExecutionContext ¶ added in v0.2.0
func NewKubeConfigProvider ¶ added in v0.3.0
func NewKubeConfigProvider(conf *v1.ConfigSpec) (plugins.KubeConfigProvider, error)
func SelectOrCreateWorkspace ¶ added in v0.2.0
Types ¶
type Config ¶ added in v0.3.0
type Config struct { BasePath string `yaml:"base_path" json:"base_path" mapstructure:"base_path"` ApplyAutoApprove bool `yaml:"apply_auto_approve" json:"apply_auto_approve" mapstructure:"apply_auto_approve"` DeployRunInit bool `yaml:"deploy_run_init" json:"deploy_run_init" mapstructure:"deploy_run_init"` InitRunReconfigure bool `yaml:"init_run_reconfigure" json:"init_run_reconfigure" mapstructure:"init_run_reconfigure"` AutoGenerateBackendFile bool `yaml:"auto_generate_backend_file" json:"auto_generate_backend_file" mapstructure:"auto_generate_backend_file"` ClusterNamePattern string `yaml:"cluster_name_pattern" json:"cluster_name_pattern" mapstructure:"cluster_name_pattern"` }
type Settings ¶ added in v0.2.1
func GetTerraformSettings ¶ added in v0.2.1
Source Files ¶
Click to show internal directories.
Click to hide internal directories.