Documentation
¶
Overview ¶
Package mockinfra is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) Apply(ctx context.Context, arg1 env.Environment) (infra.ApplyOutput, error)
- func (m *MockManager) Cleanup()
- func (m *MockManager) Destroy(ctx context.Context, arg1 env.Environment) (infra.DestroyOutput, error)
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) Import(ctx context.Context, input infra.ImportInput) (infra.ImportOutput, error)
- func (m *MockManager) Init(ctx context.Context) error
- func (m *MockManager) Output(ctx context.Context, arg1 env.Environment) (infra.OutputResult, error)
- func (m *MockManager) Plan(ctx context.Context, arg1 env.Environment) (infra.PlanOutput, error)
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) Apply(ctx, arg1 any) *gomock.Call
- func (mr *MockManagerMockRecorder) Cleanup() *gomock.Call
- func (mr *MockManagerMockRecorder) Destroy(ctx, arg1 any) *gomock.Call
- func (mr *MockManagerMockRecorder) Import(ctx, input any) *gomock.Call
- func (mr *MockManagerMockRecorder) Init(ctx any) *gomock.Call
- func (mr *MockManagerMockRecorder) Output(ctx, arg1 any) *gomock.Call
- func (mr *MockManagerMockRecorder) Plan(ctx, arg1 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) Apply ¶
func (m *MockManager) Apply(ctx context.Context, arg1 env.Environment) (infra.ApplyOutput, error)
Apply mocks base method.
func (*MockManager) Destroy ¶
func (m *MockManager) Destroy(ctx context.Context, arg1 env.Environment) (infra.DestroyOutput, error)
Destroy mocks base method.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) Import ¶ added in v0.0.9
func (m *MockManager) Import(ctx context.Context, input infra.ImportInput) (infra.ImportOutput, error)
Import mocks base method.
func (*MockManager) Init ¶
func (m *MockManager) Init(ctx context.Context) error
Init mocks base method.
func (*MockManager) Output ¶
func (m *MockManager) Output(ctx context.Context, arg1 env.Environment) (infra.OutputResult, error)
Output mocks base method.
func (*MockManager) Plan ¶
func (m *MockManager) Plan(ctx context.Context, arg1 env.Environment) (infra.PlanOutput, error)
Plan mocks base method.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) Apply ¶
func (mr *MockManagerMockRecorder) Apply(ctx, arg1 any) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockManagerMockRecorder) Cleanup ¶
func (mr *MockManagerMockRecorder) Cleanup() *gomock.Call
Cleanup indicates an expected call of Cleanup.
func (*MockManagerMockRecorder) Destroy ¶
func (mr *MockManagerMockRecorder) Destroy(ctx, arg1 any) *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockManagerMockRecorder) Import ¶ added in v0.0.9
func (mr *MockManagerMockRecorder) Import(ctx, input any) *gomock.Call
Import indicates an expected call of Import.
func (*MockManagerMockRecorder) Init ¶
func (mr *MockManagerMockRecorder) Init(ctx any) *gomock.Call
Init indicates an expected call of Init.