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 Complement ¶
type Complement struct { PR []domain.ComplementEntry Owner []domain.ComplementEntry Repo []domain.ComplementEntry SHA []domain.ComplementEntry Link []domain.ComplementEntry Vars map[string][]domain.ComplementEntry }
func (*Complement) UnmarshalYAML ¶
func (cpl *Complement) UnmarshalYAML(unmarshal func(interface{}) error) error
type ComplementEnvsubstEntry ¶
type ComplementEnvsubstEntry struct {
Value string
}
func (*ComplementEnvsubstEntry) Entry ¶
func (entry *ComplementEnvsubstEntry) Entry() (string, error)
func (*ComplementEnvsubstEntry) Type ¶
func (entry *ComplementEnvsubstEntry) Type() string
type ComplementTemplateEntry ¶
type ComplementTemplateEntry struct {
Value string
}
func (*ComplementTemplateEntry) Entry ¶
func (entry *ComplementTemplateEntry) Entry() (string, error)
func (*ComplementTemplateEntry) Type ¶
func (entry *ComplementTemplateEntry) Type() string
type Config ¶
type Config struct { CI CI `yaml:"-"` Terraform Terraform Vars map[string]string `yaml:"-"` Templates map[string]string Log Log GHEBaseURL string `yaml:"ghe_base_url"` GitHubToken string `yaml:"-"` Complement Complement `yaml:"ci"` }
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 ¶
WhenAddOrUpdateOnly is a configuration to notify the plan result contains new or updated in place resources
type WhenDestroy ¶
WhenDestroy is a configuration to notify the plan result contains destroy operation
type WhenNoChanges ¶
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 ¶
WhenPlanError is a configuration to notify the plan result returns an error
Click to show internal directories.
Click to hide internal directories.