Documentation ¶
Overview ¶
Package mock_lifecycle is a generated GoMock package.
Index ¶
- type MockController
- func (m *MockController) AddPod(arg0 lifecycle.Job) error
- func (m *MockController) AllAdded(arg0 string) error
- func (m *MockController) Config() config.Config
- func (m *MockController) EXPECT() *MockControllerMockRecorder
- func (m *MockController) Has(arg0, arg1 string) bool
- func (m *MockController) NewExecution(arg0 int) string
- func (m *MockController) PodTerminated(arg0, arg1 string, arg2 v1.PodPhase) error
- func (m *MockController) ReportReceived(arg0, arg1 string, arg2 error, arg3 metrics.Results)
- type MockControllerMockRecorder
- func (mr *MockControllerMockRecorder) AddPod(arg0 any) *gomock.Call
- func (mr *MockControllerMockRecorder) AllAdded(arg0 any) *gomock.Call
- func (mr *MockControllerMockRecorder) Config() *gomock.Call
- func (mr *MockControllerMockRecorder) Has(arg0, arg1 any) *gomock.Call
- func (mr *MockControllerMockRecorder) NewExecution(arg0 any) *gomock.Call
- func (mr *MockControllerMockRecorder) PodTerminated(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockControllerMockRecorder) ReportReceived(arg0, arg1, arg2, arg3 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockController ¶
type MockController struct {
// contains filtered or unexported fields
}
MockController is a mock of Controller interface.
func NewMockController ¶
func NewMockController(ctrl *gomock.Controller) *MockController
NewMockController creates a new mock instance.
func (*MockController) AddPod ¶
func (m *MockController) AddPod(arg0 lifecycle.Job) error
AddPod mocks base method.
func (*MockController) AllAdded ¶
func (m *MockController) AllAdded(arg0 string) error
AllAdded mocks base method.
func (*MockController) Config ¶
func (m *MockController) Config() config.Config
Config mocks base method.
func (*MockController) EXPECT ¶
func (m *MockController) EXPECT() *MockControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockController) Has ¶
func (m *MockController) Has(arg0, arg1 string) bool
Has mocks base method.
func (*MockController) NewExecution ¶
func (m *MockController) NewExecution(arg0 int) string
NewExecution mocks base method.
func (*MockController) PodTerminated ¶
func (m *MockController) PodTerminated(arg0, arg1 string, arg2 v1.PodPhase) error
PodTerminated mocks base method.
func (*MockController) ReportReceived ¶
func (m *MockController) ReportReceived(arg0, arg1 string, arg2 error, arg3 metrics.Results)
ReportReceived mocks base method.
type MockControllerMockRecorder ¶
type MockControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockControllerMockRecorder is the mock recorder for MockController.
func (*MockControllerMockRecorder) AddPod ¶
func (mr *MockControllerMockRecorder) AddPod(arg0 any) *gomock.Call
AddPod indicates an expected call of AddPod.
func (*MockControllerMockRecorder) AllAdded ¶
func (mr *MockControllerMockRecorder) AllAdded(arg0 any) *gomock.Call
AllAdded indicates an expected call of AllAdded.
func (*MockControllerMockRecorder) Config ¶
func (mr *MockControllerMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config.
func (*MockControllerMockRecorder) Has ¶
func (mr *MockControllerMockRecorder) Has(arg0, arg1 any) *gomock.Call
Has indicates an expected call of Has.
func (*MockControllerMockRecorder) NewExecution ¶
func (mr *MockControllerMockRecorder) NewExecution(arg0 any) *gomock.Call
NewExecution indicates an expected call of NewExecution.
func (*MockControllerMockRecorder) PodTerminated ¶
func (mr *MockControllerMockRecorder) PodTerminated(arg0, arg1, arg2 any) *gomock.Call
PodTerminated indicates an expected call of PodTerminated.
func (*MockControllerMockRecorder) ReportReceived ¶
func (mr *MockControllerMockRecorder) ReportReceived(arg0, arg1, arg2, arg3 any) *gomock.Call
ReportReceived indicates an expected call of ReportReceived.