Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockGC
- type MockGCMockRecorder
- 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 MockGC ¶ added in v2.1.57
type MockGC struct {
// contains filtered or unexported fields
}
MockGC is a mock of GC interface.
func NewMockGC ¶ added in v2.1.57
func NewMockGC(ctrl *gomock.Controller) *MockGC
NewMockGC creates a new mock instance.
func (*MockGC) EXPECT ¶ added in v2.1.57
func (m *MockGC) EXPECT() *MockGCMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockGCMockRecorder ¶ added in v2.1.57
type MockGCMockRecorder struct {
// contains filtered or unexported fields
}
MockGCMockRecorder is the mock recorder for MockGC.
func (*MockGCMockRecorder) Serve ¶ added in v2.1.57
func (mr *MockGCMockRecorder) Serve() *gomock.Call
Serve indicates an expected call of Serve.
func (*MockGCMockRecorder) Stop ¶ added in v2.1.57
func (mr *MockGCMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
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) CreateSyncPeers ¶ added in v2.1.66
CreateSyncPeers mocks base method.
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) 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) CreateSyncPeers ¶ added in v2.1.66
func (mr *MockSyncPeersMockRecorder) CreateSyncPeers(arg0, arg1 any) *gomock.Call
CreateSyncPeers indicates an expected call of CreateSyncPeers.
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.