Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockEntity
- type MockEntityFinder
- type MockEntityFinderMockRecorder
- type MockEntityMockRecorder
- type MockMachine
- type MockMachineMockRecorder
- type MockUnit
- type MockUnitMockRecorder
- type MockUpgradeStepsState
- func (m *MockUpgradeStepsState) ApplyOperation(arg0 state.ModelOperation) error
- func (m *MockUpgradeStepsState) ControllerConfig() (controller.Config, error)
- func (m *MockUpgradeStepsState) EXPECT() *MockUpgradeStepsStateMockRecorder
- func (m *MockUpgradeStepsState) FindEntity(arg0 names.Tag) (state.Entity, error)
- type MockUpgradeStepsStateMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEntity ¶
type MockEntity struct {
// contains filtered or unexported fields
}
MockEntity is a mock of Entity interface.
func NewMockEntity ¶
func NewMockEntity(ctrl *gomock.Controller) *MockEntity
NewMockEntity creates a new mock instance.
func (*MockEntity) EXPECT ¶
func (m *MockEntity) EXPECT() *MockEntityMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockEntityFinder ¶
type MockEntityFinder struct {
// contains filtered or unexported fields
}
MockEntityFinder is a mock of EntityFinder interface.
func NewMockEntityFinder ¶
func NewMockEntityFinder(ctrl *gomock.Controller) *MockEntityFinder
NewMockEntityFinder creates a new mock instance.
func (*MockEntityFinder) EXPECT ¶
func (m *MockEntityFinder) EXPECT() *MockEntityFinderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEntityFinder) FindEntity ¶
FindEntity mocks base method.
type MockEntityFinderMockRecorder ¶
type MockEntityFinderMockRecorder struct {
// contains filtered or unexported fields
}
MockEntityFinderMockRecorder is the mock recorder for MockEntityFinder.
func (*MockEntityFinderMockRecorder) FindEntity ¶
func (mr *MockEntityFinderMockRecorder) FindEntity(arg0 any) *gomock.Call
FindEntity indicates an expected call of FindEntity.
type MockEntityMockRecorder ¶
type MockEntityMockRecorder struct {
// contains filtered or unexported fields
}
MockEntityMockRecorder is the mock recorder for MockEntity.
func (*MockEntityMockRecorder) Tag ¶
func (mr *MockEntityMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag.
type MockMachine ¶
type MockMachine struct {
// contains filtered or unexported fields
}
MockMachine is a mock of Machine interface.
func NewMockMachine ¶
func NewMockMachine(ctrl *gomock.Controller) *MockMachine
NewMockMachine creates a new mock instance.
func (*MockMachine) ContainerType ¶
func (m *MockMachine) ContainerType() instance.ContainerType
ContainerType mocks base method.
func (*MockMachine) EXPECT ¶
func (m *MockMachine) EXPECT() *MockMachineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMachine) ModificationStatus ¶
func (m *MockMachine) ModificationStatus() (status.StatusInfo, error)
ModificationStatus mocks base method.
func (*MockMachine) SetModificationStatus ¶
func (m *MockMachine) SetModificationStatus(arg0 status.StatusInfo) error
SetModificationStatus mocks base method.
type MockMachineMockRecorder ¶
type MockMachineMockRecorder struct {
// contains filtered or unexported fields
}
MockMachineMockRecorder is the mock recorder for MockMachine.
func (*MockMachineMockRecorder) ContainerType ¶
func (mr *MockMachineMockRecorder) ContainerType() *gomock.Call
ContainerType indicates an expected call of ContainerType.
func (*MockMachineMockRecorder) ModificationStatus ¶
func (mr *MockMachineMockRecorder) ModificationStatus() *gomock.Call
ModificationStatus indicates an expected call of ModificationStatus.
func (*MockMachineMockRecorder) SetModificationStatus ¶
func (mr *MockMachineMockRecorder) SetModificationStatus(arg0 any) *gomock.Call
SetModificationStatus indicates an expected call of SetModificationStatus.
type MockUnit ¶
type MockUnit struct {
// contains filtered or unexported fields
}
MockUnit is a mock of Unit interface.
func NewMockUnit ¶
func NewMockUnit(ctrl *gomock.Controller) *MockUnit
NewMockUnit creates a new mock instance.
func (*MockUnit) EXPECT ¶
func (m *MockUnit) EXPECT() *MockUnitMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUnit) SetStateOperation ¶
func (m *MockUnit) SetStateOperation(arg0 *state.UnitState, arg1 state.UnitStateSizeLimits) state.ModelOperation
SetStateOperation mocks base method.
type MockUnitMockRecorder ¶
type MockUnitMockRecorder struct {
// contains filtered or unexported fields
}
MockUnitMockRecorder is the mock recorder for MockUnit.
func (*MockUnitMockRecorder) SetStateOperation ¶
func (mr *MockUnitMockRecorder) SetStateOperation(arg0, arg1 any) *gomock.Call
SetStateOperation indicates an expected call of SetStateOperation.
type MockUpgradeStepsState ¶
type MockUpgradeStepsState struct {
// contains filtered or unexported fields
}
MockUpgradeStepsState is a mock of UpgradeStepsState interface.
func NewMockUpgradeStepsState ¶
func NewMockUpgradeStepsState(ctrl *gomock.Controller) *MockUpgradeStepsState
NewMockUpgradeStepsState creates a new mock instance.
func (*MockUpgradeStepsState) ApplyOperation ¶
func (m *MockUpgradeStepsState) ApplyOperation(arg0 state.ModelOperation) error
ApplyOperation mocks base method.
func (*MockUpgradeStepsState) ControllerConfig ¶
func (m *MockUpgradeStepsState) ControllerConfig() (controller.Config, error)
ControllerConfig mocks base method.
func (*MockUpgradeStepsState) EXPECT ¶
func (m *MockUpgradeStepsState) EXPECT() *MockUpgradeStepsStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUpgradeStepsState) FindEntity ¶
FindEntity mocks base method.
type MockUpgradeStepsStateMockRecorder ¶
type MockUpgradeStepsStateMockRecorder struct {
// contains filtered or unexported fields
}
MockUpgradeStepsStateMockRecorder is the mock recorder for MockUpgradeStepsState.
func (*MockUpgradeStepsStateMockRecorder) ApplyOperation ¶
func (mr *MockUpgradeStepsStateMockRecorder) ApplyOperation(arg0 any) *gomock.Call
ApplyOperation indicates an expected call of ApplyOperation.
func (*MockUpgradeStepsStateMockRecorder) ControllerConfig ¶
func (mr *MockUpgradeStepsStateMockRecorder) ControllerConfig() *gomock.Call
ControllerConfig indicates an expected call of ControllerConfig.
func (*MockUpgradeStepsStateMockRecorder) FindEntity ¶
func (mr *MockUpgradeStepsStateMockRecorder) FindEntity(arg0 any) *gomock.Call
FindEntity indicates an expected call of FindEntity.