Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockMaintenance
- func (m *MockMaintenance) EXPECT() *MockMaintenanceMockRecorder
- func (m *MockMaintenance) EndControlPlane() error
- func (m *MockMaintenance) EndSilences(arg0 string) error
- func (m *MockMaintenance) EndWorker() error
- func (m *MockMaintenance) IsActive() (bool, error)
- func (m *MockMaintenance) SetWorker(arg0 time.Time, arg1 string, arg2 int32) error
- func (m *MockMaintenance) StartControlPlane(arg0 time.Time, arg1 string, arg2 []string) error
- type MockMaintenanceBuilder
- type MockMaintenanceBuilderMockRecorder
- type MockMaintenanceMockRecorder
- func (mr *MockMaintenanceMockRecorder) EndControlPlane() *gomock.Call
- func (mr *MockMaintenanceMockRecorder) EndSilences(arg0 any) *gomock.Call
- func (mr *MockMaintenanceMockRecorder) EndWorker() *gomock.Call
- func (mr *MockMaintenanceMockRecorder) IsActive() *gomock.Call
- func (mr *MockMaintenanceMockRecorder) SetWorker(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockMaintenanceMockRecorder) StartControlPlane(arg0, arg1, arg2 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMaintenance ¶
type MockMaintenance struct {
// contains filtered or unexported fields
}
MockMaintenance is a mock of Maintenance interface.
func NewMockMaintenance ¶
func NewMockMaintenance(ctrl *gomock.Controller) *MockMaintenance
NewMockMaintenance creates a new mock instance.
func (*MockMaintenance) EXPECT ¶
func (m *MockMaintenance) EXPECT() *MockMaintenanceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMaintenance) EndControlPlane ¶
func (m *MockMaintenance) EndControlPlane() error
EndControlPlane mocks base method.
func (*MockMaintenance) EndSilences ¶
func (m *MockMaintenance) EndSilences(arg0 string) error
EndSilences mocks base method.
func (*MockMaintenance) EndWorker ¶
func (m *MockMaintenance) EndWorker() error
EndWorker mocks base method.
func (*MockMaintenance) IsActive ¶
func (m *MockMaintenance) IsActive() (bool, error)
IsActive mocks base method.
func (*MockMaintenance) StartControlPlane ¶
StartControlPlane mocks base method.
type MockMaintenanceBuilder ¶
type MockMaintenanceBuilder struct {
// contains filtered or unexported fields
}
MockMaintenanceBuilder is a mock of MaintenanceBuilder interface.
func NewMockMaintenanceBuilder ¶
func NewMockMaintenanceBuilder(ctrl *gomock.Controller) *MockMaintenanceBuilder
NewMockMaintenanceBuilder creates a new mock instance.
func (*MockMaintenanceBuilder) EXPECT ¶
func (m *MockMaintenanceBuilder) EXPECT() *MockMaintenanceBuilderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMaintenanceBuilder) NewClient ¶
func (m *MockMaintenanceBuilder) NewClient(arg0 client.Client) (maintenance.Maintenance, error)
NewClient mocks base method.
type MockMaintenanceBuilderMockRecorder ¶
type MockMaintenanceBuilderMockRecorder struct {
// contains filtered or unexported fields
}
MockMaintenanceBuilderMockRecorder is the mock recorder for MockMaintenanceBuilder.
type MockMaintenanceMockRecorder ¶
type MockMaintenanceMockRecorder struct {
// contains filtered or unexported fields
}
MockMaintenanceMockRecorder is the mock recorder for MockMaintenance.
func (*MockMaintenanceMockRecorder) EndControlPlane ¶
func (mr *MockMaintenanceMockRecorder) EndControlPlane() *gomock.Call
EndControlPlane indicates an expected call of EndControlPlane.
func (*MockMaintenanceMockRecorder) EndSilences ¶
func (mr *MockMaintenanceMockRecorder) EndSilences(arg0 any) *gomock.Call
EndSilences indicates an expected call of EndSilences.
func (*MockMaintenanceMockRecorder) EndWorker ¶
func (mr *MockMaintenanceMockRecorder) EndWorker() *gomock.Call
EndWorker indicates an expected call of EndWorker.
func (*MockMaintenanceMockRecorder) IsActive ¶
func (mr *MockMaintenanceMockRecorder) IsActive() *gomock.Call
IsActive indicates an expected call of IsActive.
func (*MockMaintenanceMockRecorder) SetWorker ¶
func (mr *MockMaintenanceMockRecorder) SetWorker(arg0, arg1, arg2 any) *gomock.Call
SetWorker indicates an expected call of SetWorker.
func (*MockMaintenanceMockRecorder) StartControlPlane ¶
func (mr *MockMaintenanceMockRecorder) StartControlPlane(arg0, arg1, arg2 any) *gomock.Call
StartControlPlane indicates an expected call of StartControlPlane.