Documentation ¶
Index ¶
Constants ¶
View Source
const ( StepTypeTerraform StepType = "terraform" StepTypeArgoCD = "argocd-apps" StepTypeTerraformCustom = "terraform-custom" )
View Source
const ( ReplaceTypeSSM ReplaceType = "ssm" ReplaceTypeConfig = "config" ReplaceTypeAgent = "agent" )
View Source
const ( ApproveMinor Approve = "minor" ApproveMajor = "major" ApproveAlways = "always" ApproveNever = "never" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentReplaceType ¶
type AgentReplaceType string
const (
AgentReplaceTypeVersion AgentReplaceType = "version"
)
type AwsDefaultTags ¶
func (AwsDefaultTags) IsEmpty ¶
func (d AwsDefaultTags) IsEmpty() bool
type AwsIgnoreTags ¶
type AwsIgnoreTags struct { KeyPrefixes []string `yaml:"key_prefixes,omitempty"` Keys []string `yaml:"keys,omitempty"` }
func (AwsIgnoreTags) IsEmpty ¶
func (i AwsIgnoreTags) IsEmpty() bool
type AwsProvider ¶
type AwsProvider struct { IgnoreTags AwsIgnoreTags `yaml:"ignore_tags,omitempty"` DefaultTags AwsDefaultTags `yaml:"default_tags,omitempty"` }
func (AwsProvider) IsEmpty ¶
func (a AwsProvider) IsEmpty() bool
type BaseConfig ¶
type KubernetesProvider ¶
type KubernetesProvider struct { IgnoreAnnotations []string `yaml:"ignore_annotations,omitempty"` IgnoreLabels []string `yaml:"ignore_labels,omitempty"` }
func (KubernetesProvider) IsEmpty ¶
func (k KubernetesProvider) IsEmpty() bool
type Provider ¶
type Provider struct { Inputs map[string]interface{} `yaml:"inputs,omitempty"` Aws AwsProvider `yaml:"aws"` Kubernetes KubernetesProvider `yaml:"kubernetes"` }
type ReplaceType ¶
type ReplaceType string
type State ¶
type State struct { BaseConfig StateConfig `yaml:"base_config"` Steps []*StateStep `yaml:"steps"` }
type StateConfig ¶
type StateConfig struct { Version *version.Version `yaml:"version,omitempty"` AppliedVersion *version.Version `yaml:"applied_version,omitempty"` }
type StateModule ¶
type StateStep ¶
type StateStep struct { Name string `yaml:"name"` Workspace string `yaml:"workspace"` AppliedAt time.Time `yaml:"applied_at,omitempty"` Modules []*StateModule `yaml:"modules"` }
type Step ¶
type Step struct { Name string `yaml:"name"` Type StepType `yaml:"type,omitempty"` Workspace string `yaml:"workspace"` Before string `yaml:"before,omitempty"` Approve Approve `yaml:"approve,omitempty"` Remove bool `yaml:"remove,omitempty"` Version string `yaml:"version,omitempty"` VpcId string `yaml:"vpc_id,omitempty"` VpcSubnetIds string `yaml:"vpc_subnet_ids,omitempty"` VpcSecurityGroupIds string `yaml:"vpc_security_group_ids,omitempty"` RepoUrl string `yaml:"repo_url,omitempty"` Provider Provider `yaml:"provider,omitempty"` Modules []Module `yaml:"modules,omitempty"` }
Click to show internal directories.
Click to hide internal directories.