Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockPreheat
- type MockPreheatMockRecorder
- type MockSyncPeers
- type MockSyncPeersMockRecorder
- type MockTask
- func (m *MockTask) CreateDeleteTask(arg0 context.Context, arg1 []models.Scheduler, arg2 types.DeleteTaskArgs) (*job.GroupJobState, error)
- func (m *MockTask) CreateGetTask(arg0 context.Context, arg1 []models.Scheduler, arg2 types.GetTaskArgs) (*job.GroupJobState, error)
- func (m *MockTask) EXPECT() *MockTaskMockRecorder
- type MockTaskMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPreheat ¶
type MockPreheat struct {
// contains filtered or unexported fields
}
MockPreheat is a mock of Preheat interface.
func NewMockPreheat ¶
func NewMockPreheat(ctrl *gomock.Controller) *MockPreheat
NewMockPreheat creates a new mock instance.
func (*MockPreheat) CreatePreheat ¶
func (m *MockPreheat) CreatePreheat(arg0 context.Context, arg1 []models.Scheduler, arg2 types.PreheatArgs) (*job.GroupJobState, error)
CreatePreheat mocks base method.
func (*MockPreheat) EXPECT ¶
func (m *MockPreheat) EXPECT() *MockPreheatMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPreheatMockRecorder ¶
type MockPreheatMockRecorder struct {
// contains filtered or unexported fields
}
MockPreheatMockRecorder is the mock recorder for MockPreheat.
func (*MockPreheatMockRecorder) CreatePreheat ¶
func (mr *MockPreheatMockRecorder) CreatePreheat(arg0, arg1, arg2 any) *gomock.Call
CreatePreheat indicates an expected call of CreatePreheat.
type MockSyncPeers ¶ added in v2.0.30
type MockSyncPeers struct {
// contains filtered or unexported fields
}
MockSyncPeers is a mock of SyncPeers interface.
func NewMockSyncPeers ¶ added in v2.0.30
func NewMockSyncPeers(ctrl *gomock.Controller) *MockSyncPeers
NewMockSyncPeers creates a new mock instance.
func (*MockSyncPeers) EXPECT ¶ added in v2.0.30
func (m *MockSyncPeers) EXPECT() *MockSyncPeersMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSyncPeers) Run ¶ added in v2.0.30
func (m *MockSyncPeers) Run(arg0 context.Context) error
Run mocks base method.
func (*MockSyncPeers) Serve ¶ added in v2.0.30
func (m *MockSyncPeers) Serve()
Serve mocks base method.
func (*MockSyncPeers) Stop ¶ added in v2.0.30
func (m *MockSyncPeers) Stop()
Stop mocks base method.
type MockSyncPeersMockRecorder ¶ added in v2.0.30
type MockSyncPeersMockRecorder struct {
// contains filtered or unexported fields
}
MockSyncPeersMockRecorder is the mock recorder for MockSyncPeers.
func (*MockSyncPeersMockRecorder) Run ¶ added in v2.0.30
func (mr *MockSyncPeersMockRecorder) Run(arg0 any) *gomock.Call
Run indicates an expected call of Run.
func (*MockSyncPeersMockRecorder) Serve ¶ added in v2.0.30
func (mr *MockSyncPeersMockRecorder) Serve() *gomock.Call
Serve indicates an expected call of Serve.
func (*MockSyncPeersMockRecorder) Stop ¶ added in v2.0.30
func (mr *MockSyncPeersMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
type MockTask ¶ added in v2.1.55
type MockTask struct {
// contains filtered or unexported fields
}
MockTask is a mock of Task interface.
func NewMockTask ¶ added in v2.1.55
func NewMockTask(ctrl *gomock.Controller) *MockTask
NewMockTask creates a new mock instance.
func (*MockTask) CreateDeleteTask ¶ added in v2.1.55
func (m *MockTask) CreateDeleteTask(arg0 context.Context, arg1 []models.Scheduler, arg2 types.DeleteTaskArgs) (*job.GroupJobState, error)
CreateDeleteTask mocks base method.
func (*MockTask) CreateGetTask ¶ added in v2.1.55
func (m *MockTask) CreateGetTask(arg0 context.Context, arg1 []models.Scheduler, arg2 types.GetTaskArgs) (*job.GroupJobState, error)
CreateGetTask mocks base method.
func (*MockTask) EXPECT ¶ added in v2.1.55
func (m *MockTask) EXPECT() *MockTaskMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTaskMockRecorder ¶ added in v2.1.55
type MockTaskMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskMockRecorder is the mock recorder for MockTask.
func (*MockTaskMockRecorder) CreateDeleteTask ¶ added in v2.1.55
func (mr *MockTaskMockRecorder) CreateDeleteTask(arg0, arg1, arg2 any) *gomock.Call
CreateDeleteTask indicates an expected call of CreateDeleteTask.
func (*MockTaskMockRecorder) CreateGetTask ¶ added in v2.1.55
func (mr *MockTaskMockRecorder) CreateGetTask(arg0, arg1, arg2 any) *gomock.Call
CreateGetTask indicates an expected call of CreateGetTask.