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 ¶ added in v0.10.3
Types ¶
type Option ¶ added in v0.11.0
type Option func(*options)
func WithAdditionalEnvs ¶ added in v0.22.0
func WithAdditionalFlags ¶ added in v0.21.1
func WithVarFiles ¶ added in v0.11.0
func WithoutColor ¶ added in v0.11.0
func WithoutColor() Option
type PlanResult ¶ added in v0.5.0
func (PlanResult) NoChanges ¶ added in v0.5.0
func (r PlanResult) NoChanges() bool
type Terraform ¶
type Terraform struct {
// contains filtered or unexported fields
}
func NewTerraform ¶
func (*Terraform) SelectWorkspace ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.