mocks

package
v2.1.53 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 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.

Index

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

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.

Jump to

Keyboard shortcuts

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