Documentation ¶
Index ¶
- Constants
- type FmtOptions
- type InitOptions
- type Tofu
- func (t *Tofu) Apply() *plugin_exec.Cmd
- func (t *Tofu) Destroy() *plugin_exec.Cmd
- func (t *Tofu) Fmt() *plugin_exec.Cmd
- func (t *Tofu) GetModules() *plugin_exec.Cmd
- func (t *Tofu) Init() *plugin_exec.Cmd
- func (t *Tofu) Plan(destroy bool) *plugin_exec.Cmd
- func (t *Tofu) Validate() *plugin_exec.Cmd
- func (t *Tofu) Version() *plugin_exec.Cmd
Constants ¶
View Source
const TofuBin = "/usr/local/bin/tofu"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FmtOptions ¶
type FmtOptions struct { List *bool `json:"list"` Write *bool `json:"write"` Diff *bool `json:"diff"` Check *bool `json:"check"` }
FmtOptions fmt options for the OpenTofu fmt command.
type InitOptions ¶
type InitOptions struct { Backend *bool `json:"backend"` BackendConfig []string `json:"backend-config"` Lock *bool `json:"lock"` LockTimeout string `json:"lock-timeout"` Lockfile string `json:"lockfile"` }
InitOptions include options for the OpenTofu init command.
type Tofu ¶
type Tofu struct { InitOptions InitOptions FmtOptions FmtOptions OutFile string Parallelism int Targets cli.StringSlice Refresh bool NoLog bool }
func (*Tofu) Apply ¶
func (t *Tofu) Apply() *plugin_exec.Cmd
func (*Tofu) Destroy ¶
func (t *Tofu) Destroy() *plugin_exec.Cmd
func (*Tofu) Fmt ¶
func (t *Tofu) Fmt() *plugin_exec.Cmd
func (*Tofu) GetModules ¶
func (t *Tofu) GetModules() *plugin_exec.Cmd
func (*Tofu) Init ¶
func (t *Tofu) Init() *plugin_exec.Cmd
func (*Tofu) Validate ¶
func (t *Tofu) Validate() *plugin_exec.Cmd
func (*Tofu) Version ¶
func (t *Tofu) Version() *plugin_exec.Cmd
Click to show internal directories.
Click to hide internal directories.