Documentation ¶
Index ¶
- func FindTerraform(ctx context.Context) (string, error)
- type Action
- type Actions
- type Terraform
- func (t *Terraform) Apply() error
- func (t *Terraform) Destroy() error
- func (t *Terraform) GetExec() *tfexec.Terraform
- func (t *Terraform) GetWorkingDirectory() string
- func (t *Terraform) Import(address string, id string) error
- func (t *Terraform) ImportAdd(address string, id string) (string, error)
- func (t *Terraform) Init() error
- func (t *Terraform) ListGenericResources(p *tfjson.Plan) []types.GenericResource
- func (t *Terraform) ListGenericUpdateResources(p *tfjson.Plan) []types.GenericUpdateResource
- func (t *Terraform) Plan() (*tfjson.Plan, error)
- func (t *Terraform) RefreshState(resources []string) error
- func (t *Terraform) SetLogEnabled(enabled bool)
- func (t *Terraform) Show() (*tfjson.State, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Terraform ¶
type Terraform struct { LogEnabled bool // contains filtered or unexported fields }
func (*Terraform) GetWorkingDirectory ¶
func (*Terraform) ListGenericResources ¶
func (t *Terraform) ListGenericResources(p *tfjson.Plan) []types.GenericResource
func (*Terraform) ListGenericUpdateResources ¶
func (t *Terraform) ListGenericUpdateResources(p *tfjson.Plan) []types.GenericUpdateResource
func (*Terraform) RefreshState ¶ added in v0.5.0
func (*Terraform) SetLogEnabled ¶
Click to show internal directories.
Click to hide internal directories.