mocks

package
v2.0.1-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 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 added in v2.0.1

ListSchedulers mocks base method.

func (*MockClient) UpdateCDN

func (m *MockClient) UpdateCDN(arg0 *manager.UpdateCDNRequest) (*manager.CDN, error)

UpdateCDN mocks base method.

func (*MockClient) UpdateScheduler

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

UpdateScheduler 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 added in v2.0.1

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

ListSchedulers indicates an expected call of ListSchedulers.

func (*MockClientMockRecorder) UpdateCDN

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

UpdateCDN indicates an expected call of UpdateCDN.

func (*MockClientMockRecorder) UpdateScheduler

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

UpdateScheduler indicates an expected call of UpdateScheduler.

Jump to

Keyboard shortcuts

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