Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apply ¶
type Apply struct { Template string WhenParseError WhenParseError `yaml:"when_parse_error"` }
Apply is a terraform apply config
type Config ¶
type Config struct { CI CI `yaml:"-"` Terraform Terraform Vars map[string]string `yaml:"-"` EmbeddedVarNames []string `yaml:"embedded_var_names"` Templates map[string]string Log Log GHEBaseURL string `yaml:"ghe_base_url"` GHEGraphQLEndpoint string `yaml:"ghe_graphql_endpoint"` GitHubToken string `yaml:"-"` PlanPatch bool `yaml:"plan_patch"` RepoOwner string `yaml:"repo_owner"` RepoName string `yaml:"repo_name"` Output string `yaml:"-"` }
Config is for tfcmt config structure
type Plan ¶
type Plan struct { Template string WhenAddOrUpdateOnly WhenAddOrUpdateOnly `yaml:"when_add_or_update_only"` WhenDestroy WhenDestroy `yaml:"when_destroy"` WhenNoChanges WhenNoChanges `yaml:"when_no_changes"` WhenPlanError WhenPlanError `yaml:"when_plan_error"` WhenParseError WhenParseError `yaml:"when_parse_error"` DisableLabel bool `yaml:"disable_label"` }
Plan is a terraform plan config
type WhenAddOrUpdateOnly ¶
type WhenAddOrUpdateOnly struct { Label string Color string `yaml:"label_color"` DisableLabel bool `yaml:"disable_label"` }
WhenAddOrUpdateOnly is a configuration to notify the plan result contains new or updated in place resources
type WhenDestroy ¶
type WhenDestroy struct { Label string Color string `yaml:"label_color"` DisableLabel bool `yaml:"disable_label"` }
WhenDestroy is a configuration to notify the plan result contains destroy operation
type WhenNoChanges ¶
type WhenNoChanges struct { Label string Color string `yaml:"label_color"` DisableLabel bool `yaml:"disable_label"` DisableComment bool `yaml:"disable_comment"` }
WhenNoChanges is a configuration to add a label when the plan result contains no change
type WhenParseError ¶
type WhenParseError struct {
Template string
}
WhenParseError is a configuration to notify the plan result returns an error
type WhenPlanError ¶
type WhenPlanError struct { Label string Color string `yaml:"label_color"` DisableLabel bool `yaml:"disable_label"` }
WhenPlanError is a configuration to notify the plan result returns an error
Click to show internal directories.
Click to hide internal directories.