mocks

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) Close

func (m *MockClient) Close() error

Close mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClient) GetScheduler

func (m *MockClient) GetScheduler(arg0 *manager.GetSchedulerRequest) (*manager.Scheduler, error)

GetScheduler mocks base method.

func (*MockClient) KeepAlive

func (m *MockClient) KeepAlive(arg0 time.Duration, arg1 *manager.KeepAliveRequest)

KeepAlive mocks base method.

func (*MockClient) ListSchedulers

ListSchedulers mocks base method.

func (*MockClient) UpdateScheduler

func (m *MockClient) UpdateScheduler(arg0 *manager.UpdateSchedulerRequest) (*manager.Scheduler, error)

UpdateScheduler mocks base method.

func (*MockClient) UpdateSeedPeer added in v2.0.3

func (m *MockClient) UpdateSeedPeer(arg0 *manager.UpdateSeedPeerRequest) (*manager.SeedPeer, error)

UpdateSeedPeer mocks base method.

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) Close

func (mr *MockClientMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockClientMockRecorder) GetScheduler

func (mr *MockClientMockRecorder) GetScheduler(arg0 interface{}) *gomock.Call

GetScheduler indicates an expected call of GetScheduler.

func (*MockClientMockRecorder) KeepAlive

func (mr *MockClientMockRecorder) KeepAlive(arg0, arg1 interface{}) *gomock.Call

KeepAlive indicates an expected call of KeepAlive.

func (*MockClientMockRecorder) ListSchedulers

func (mr *MockClientMockRecorder) ListSchedulers(arg0 interface{}) *gomock.Call

ListSchedulers indicates an expected call of ListSchedulers.

func (*MockClientMockRecorder) UpdateScheduler

func (mr *MockClientMockRecorder) UpdateScheduler(arg0 interface{}) *gomock.Call

UpdateScheduler indicates an expected call of UpdateScheduler.

func (*MockClientMockRecorder) UpdateSeedPeer added in v2.0.3

func (mr *MockClientMockRecorder) UpdateSeedPeer(arg0 interface{}) *gomock.Call

UpdateSeedPeer indicates an expected call of UpdateSeedPeer.

Jump to

Keyboard shortcuts

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