Documentation ¶
Index ¶
- func Print(p *Plan) error
- type AWSBackend
- type AWSProfile
- type AWSProvider
- type AWSRole
- type Account
- type Atlantis
- type AtlantisComponent
- type AtlantisProject
- type BlessProvider
- type Common
- type Component
- type ComponentCommon
- type Env
- type Module
- type OktaProvider
- type Plan
- type Providers
- type SnowflakeProvider
- type TfLint
- type TravisCI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AWSBackend ¶ added in v0.21.0
type AWSBackend struct { AccountID *string `yaml:"account_id,omitempty"` AccountName string `yaml:"account_name"` Profile string `yaml:"profile"` Region string `yaml:"region"` Bucket string `yaml:"bucket"` DynamoTable *string `yaml:"dynamo_table"` }
AWSBackend represents aws backend configuration
type AWSProfile ¶ added in v0.16.5
type AWSProvider ¶ added in v0.21.0
type Account ¶ added in v0.15.3
type Account struct { ComponentCommon `yaml:",inline"` AllAccounts map[string]json.Number `yaml:"all_accounts"` AccountName string `yaml:"account_name"` Global *Component }
Account is an account
type Atlantis ¶ added in v0.24.0
type Atlantis struct { Enabled bool Projects []AtlantisProject // AWSProfiles is a map of profile name -> role info // TODO de-dupe this with AWSProfile in the travis-ci plan AWSProfiles map[string]AWSRole }
type AtlantisComponent ¶ added in v0.24.0
type AtlantisProject ¶ added in v0.24.0
type BlessProvider ¶ added in v0.22.0
type Common ¶ added in v0.14.0
type Common struct { PathToRepoRoot string `yaml:"path_to_repo_root"` TerraformVersion string `yaml:"terraform_version"` }
Common represents common fields
type Component ¶
type Component struct { ComponentCommon `yaml:",inline"` Accounts map[string]Account // Reference accounts for remote state Component string EKS *v1.EKSConfig `yaml:"eks,omitempty"` Env string Kind *v1.ComponentKind `yaml:"kind,omitempty"` ModuleSource *string `yaml:"module_source"` OtherComponents []string `yaml:"other_components"` Global *Component }
Component is a component
type ComponentCommon ¶ added in v0.21.0
type ComponentCommon struct { Common `yaml:",inline"` Atlantis AtlantisComponent `yaml:"atlantis"` Backend AWSBackend `yaml:"backend"` ExtraVars map[string]string `yaml:"extra_vars"` Owner string Project string Providers Providers `yaml:"providers"` TfLint TfLint }
type Env ¶
type Env struct { Components map[string]Component Env string EKS *v1.EKSConfig //TODO get rid of this }
Env is an env
type OktaProvider ¶ added in v0.23.0
type Plan ¶
type Plan struct { Accounts map[string]Account Atlantis Atlantis Envs map[string]Env Global Component Modules map[string]Module TravisCI TravisCI Version string }
Plan represents a set of actions to take
type Providers ¶ added in v0.21.0
type Providers struct { AWS *AWSProvider `yaml:"aws"` Snowflake *SnowflakeProvider `yaml:"snowflake"` Bless *BlessProvider `yaml:"bless"` Okta *OktaProvider `yaml:"okta"` }
type SnowflakeProvider ¶ added in v0.21.0
Click to show internal directories.
Click to hide internal directories.