mocks

package
v2.1.60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

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.

func (*MockGC) Serve added in v2.1.57

func (m *MockGC) Serve()

Serve mocks base method.

func (*MockGC) Stop added in v2.1.57

func (m *MockGC) Stop()

Stop mocks base method.

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) EXPECT added in v2.0.30

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL