tfmocks

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package tfmocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockterraformExecutor

type MockterraformExecutor struct {
	// contains filtered or unexported fields
}

MockterraformExecutor is a mock of terraformExecutor interface.

func NewMockterraformExecutor

func NewMockterraformExecutor(ctrl *gomock.Controller) *MockterraformExecutor

NewMockterraformExecutor creates a new mock instance.

func (*MockterraformExecutor) Apply

Apply mocks base method.

func (*MockterraformExecutor) Destroy

Destroy mocks base method.

func (*MockterraformExecutor) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockterraformExecutor) Import added in v0.0.9

func (m *MockterraformExecutor) Import(ctx context.Context, address, id string, opts ...tfexec.ImportOption) error

Import mocks base method.

func (*MockterraformExecutor) Init

Init mocks base method.

func (*MockterraformExecutor) Output

Output mocks base method.

func (*MockterraformExecutor) Plan

func (m *MockterraformExecutor) Plan(ctx context.Context, opts ...tfexec.PlanOption) (bool, error)

Plan mocks base method.

func (*MockterraformExecutor) SetStderr

func (m *MockterraformExecutor) SetStderr(w io.Writer)

SetStderr mocks base method.

func (*MockterraformExecutor) SetStdout

func (m *MockterraformExecutor) SetStdout(w io.Writer)

SetStdout mocks base method.

func (*MockterraformExecutor) ShowPlanFile

func (m *MockterraformExecutor) ShowPlanFile(ctx context.Context, planPath string, opts ...tfexec.ShowOption) (*tfjson.Plan, error)

ShowPlanFile mocks base method.

func (*MockterraformExecutor) ShowPlanFileRaw

func (m *MockterraformExecutor) ShowPlanFileRaw(ctx context.Context, planPath string, opts ...tfexec.ShowOption) (string, error)

ShowPlanFileRaw mocks base method.

type MockterraformExecutorMockRecorder

type MockterraformExecutorMockRecorder struct {
	// contains filtered or unexported fields
}

MockterraformExecutorMockRecorder is the mock recorder for MockterraformExecutor.

func (*MockterraformExecutorMockRecorder) Apply

func (mr *MockterraformExecutorMockRecorder) Apply(ctx any, opts ...any) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockterraformExecutorMockRecorder) Destroy

func (mr *MockterraformExecutorMockRecorder) Destroy(ctx any, opts ...any) *gomock.Call

Destroy indicates an expected call of Destroy.

func (*MockterraformExecutorMockRecorder) Import added in v0.0.9

func (mr *MockterraformExecutorMockRecorder) Import(ctx, address, id any, opts ...any) *gomock.Call

Import indicates an expected call of Import.

func (*MockterraformExecutorMockRecorder) Init

func (mr *MockterraformExecutorMockRecorder) Init(ctx any, opts ...any) *gomock.Call

Init indicates an expected call of Init.

func (*MockterraformExecutorMockRecorder) Output

func (mr *MockterraformExecutorMockRecorder) Output(ctx any, opts ...any) *gomock.Call

Output indicates an expected call of Output.

func (*MockterraformExecutorMockRecorder) Plan

func (mr *MockterraformExecutorMockRecorder) Plan(ctx any, opts ...any) *gomock.Call

Plan indicates an expected call of Plan.

func (*MockterraformExecutorMockRecorder) SetStderr

SetStderr indicates an expected call of SetStderr.

func (*MockterraformExecutorMockRecorder) SetStdout

SetStdout indicates an expected call of SetStdout.

func (*MockterraformExecutorMockRecorder) ShowPlanFile

func (mr *MockterraformExecutorMockRecorder) ShowPlanFile(ctx, planPath any, opts ...any) *gomock.Call

ShowPlanFile indicates an expected call of ShowPlanFile.

func (*MockterraformExecutorMockRecorder) ShowPlanFileRaw

func (mr *MockterraformExecutorMockRecorder) ShowPlanFileRaw(ctx, planPath any, opts ...any) *gomock.Call

ShowPlanFileRaw indicates an expected call of ShowPlanFileRaw.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL