Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidConfig = errors.New("invalid config")
Functions ¶
This section is empty.
Types ¶
type Apply ¶
type Apply struct {
RequireApprovals int `yaml:"require_approvals"`
}
func (*Apply) GetRequireApprovals ¶
type Config ¶
type Config struct {
Version int `yaml:"version" validate:"oneof=1"`
Projects []*Project `yaml:"projects" validate:"required,dive,required"`
// contains filtered or unexported fields
}
func (*Config) GetProject ¶
type Plan ¶
type Project ¶
type Project struct {
Name string `yaml:"name" validate:"required"`
Dir string `yaml:"dir" validate:"required"`
Workspace string `yaml:"workspace"`
Terraform *Terraform `yaml:"terraform"`
Plan *Plan `yaml:"plan" validate:"required"`
Apply *Apply `yaml:"apply"`
LockLabelColor string `yaml:"lock_label_color"`
}
func (*Project) HasModifiedFiles ¶ added in v0.0.5
type Terraform ¶
type Terraform struct {
Version string `yaml:"version"`
ExecPath string `yaml:"exec_path"`
Vars []string `yaml:"vars"`
VarFiles []string `yaml:"var_files"`
BackendConfigPath string `yaml:"backend_config_path"`
BackendConfig map[string]string `yaml:"backend_config"`
}
func (*Terraform) GetBackendConfig ¶
func (*Terraform) GetBackendConfigPath ¶
func (*Terraform) GetExecPath ¶
func (*Terraform) GetVarFiles ¶
func (*Terraform) GetVersion ¶
Click to show internal directories.
Click to hide internal directories.