Documentation
¶
Index ¶
- type Client
- type TerraformExec
- func (_m *TerraformExec) Apply(ctx context.Context, opts ...tfexec.ApplyOption) error
- func (_m *TerraformExec) Init(ctx context.Context, opts ...tfexec.InitOption) error
- func (_m *TerraformExec) Plan(ctx context.Context, opts ...tfexec.PlanOption) (bool, error)
- func (_m *TerraformExec) SetEnv(env map[string]string) error
- func (_m *TerraformExec) SetStdout(w io.Writer)
- func (_m *TerraformExec) WorkspaceNew(ctx context.Context, workspace string, opts ...tfexec.WorkspaceNewCmdOption) error
- func (_m *TerraformExec) WorkspaceSelect(ctx context.Context, workspace string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
type TerraformExec ¶
TerraformExec is an autogenerated mock type for the terraformExec type
func (*TerraformExec) Apply ¶
func (_m *TerraformExec) Apply(ctx context.Context, opts ...tfexec.ApplyOption) error
Apply provides a mock function with given fields: ctx, opts
func (*TerraformExec) Init ¶
func (_m *TerraformExec) Init(ctx context.Context, opts ...tfexec.InitOption) error
Init provides a mock function with given fields: ctx, opts
func (*TerraformExec) Plan ¶
func (_m *TerraformExec) Plan(ctx context.Context, opts ...tfexec.PlanOption) (bool, error)
Plan provides a mock function with given fields: ctx, opts
func (*TerraformExec) SetEnv ¶
func (_m *TerraformExec) SetEnv(env map[string]string) error
SetEnv provides a mock function with given fields: env
func (*TerraformExec) SetStdout ¶
func (_m *TerraformExec) SetStdout(w io.Writer)
SetStdout provides a mock function with given fields: w
func (*TerraformExec) WorkspaceNew ¶
func (_m *TerraformExec) WorkspaceNew(ctx context.Context, workspace string, opts ...tfexec.WorkspaceNewCmdOption) error
WorkspaceNew provides a mock function with given fields: ctx, workspace, opts
func (*TerraformExec) WorkspaceSelect ¶
func (_m *TerraformExec) WorkspaceSelect(ctx context.Context, workspace string) error
WorkspaceSelect provides a mock function with given fields: ctx, workspace
Click to show internal directories.
Click to hide internal directories.