Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTerraformer ¶
func NewTerraformer( logger log.Logger, daemon daemontypes.Daemon, planner tfplan.PlanConfirmer, viper *viper.Viper, statemanager state.Manager, fs afero.Afero, ) lifecycle.Terraformer
Types ¶
type DaemonlessTerraformer ¶
type DaemonlessTerraformer struct { Logger log.Logger PlanConfirmer tfplan.PlanConfirmer Terraform func(string) *exec.Cmd Status daemontypes.StatusReceiver StateManager state.Manager Viper *viper.Viper FS afero.Afero YesApplyTerraform bool // exposed for testing StateRestorer stateRestorer StateSaver stateSaver }
func (*DaemonlessTerraformer) WithStatusReceiver ¶
func (t *DaemonlessTerraformer) WithStatusReceiver( statusReceiver daemontypes.StatusReceiver, ) lifecycle.Terraformer
type ForkTerraformer ¶
type ForkTerraformer struct { Logger log.Logger Daemon daemontypes.Daemon PlanConfirmer tfplan.PlanConfirmer Terraform func(string) *exec.Cmd Viper *viper.Viper FS afero.Afero StateManager state.Manager StateRestorer stateRestorer StateSaver stateSaver YesApplyTerraform bool }
func (*ForkTerraformer) WithStatusReceiver ¶
func (t *ForkTerraformer) WithStatusReceiver(status daemontypes.StatusReceiver) lifecycle.Terraformer
WithStatusReceiver is a no-op for the Terraformer implementation using Daemon
Click to show internal directories.
Click to hide internal directories.