Documentation ¶
Index ¶
- func GetExitCode(err error) int
- type Option
- type PlanResult
- type Terraform
- func (t *Terraform) Apply(ctx context.Context, w io.Writer) error
- func (t *Terraform) Init(ctx context.Context, w io.Writer) error
- func (t *Terraform) Plan(ctx context.Context, w io.Writer) (PlanResult, error)
- func (t *Terraform) SelectWorkspace(ctx context.Context, workspace string) error
- func (t *Terraform) Version(ctx context.Context) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExitCode ¶
Types ¶
type Option ¶
type Option func(*options)
func WithAdditionalEnvs ¶
func WithAdditionalFlags ¶
func WithVarFiles ¶
func WithoutColor ¶
func WithoutColor() Option
type PlanResult ¶
func (PlanResult) NoChanges ¶
func (r PlanResult) NoChanges() bool
type Terraform ¶
type Terraform struct {
// contains filtered or unexported fields
}
func NewTerraform ¶
func (*Terraform) SelectWorkspace ¶
Click to show internal directories.
Click to hide internal directories.