mocks

package
v2.0.7-beta.7 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: Apache-2.0 Imports: 7 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) CreateModel added in v2.0.6

func (m *MockClient) CreateModel(arg0 context.Context, arg1 *v1.CreateModelRequest, arg2 ...grpc.CallOption) (*v1.Model, error)

CreateModel mocks base method.

func (*MockClient) CreateModelVersion added in v2.0.6

func (m *MockClient) CreateModelVersion(arg0 context.Context, arg1 *v1.CreateModelVersionRequest, arg2 ...grpc.CallOption) (*v1.ModelVersion, error)

CreateModelVersion mocks base method.

func (*MockClient) DeleteModel added in v2.0.6

func (m *MockClient) DeleteModel(arg0 context.Context, arg1 *v1.DeleteModelRequest, arg2 ...grpc.CallOption) error

DeleteModel mocks base method.

func (*MockClient) DeleteModelVersion added in v2.0.6

func (m *MockClient) DeleteModelVersion(arg0 context.Context, arg1 *v1.DeleteModelVersionRequest, arg2 ...grpc.CallOption) error

DeleteModelVersion 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) GetModel added in v2.0.6

func (m *MockClient) GetModel(arg0 context.Context, arg1 *v1.GetModelRequest, arg2 ...grpc.CallOption) (*v1.Model, error)

GetModel mocks base method.

func (*MockClient) GetModelVersion added in v2.0.6

func (m *MockClient) GetModelVersion(arg0 context.Context, arg1 *v1.GetModelVersionRequest, arg2 ...grpc.CallOption) (*v1.ModelVersion, error)

GetModelVersion mocks base method.

func (*MockClient) GetObjectStorage added in v2.0.4

func (m *MockClient) GetObjectStorage(arg0 context.Context, arg1 *v1.GetObjectStorageRequest, arg2 ...grpc.CallOption) (*v1.ObjectStorage, error)

GetObjectStorage mocks base method.

func (*MockClient) GetScheduler

func (m *MockClient) GetScheduler(arg0 context.Context, arg1 *v1.GetSchedulerRequest, arg2 ...grpc.CallOption) (*v1.Scheduler, error)

GetScheduler mocks base method.

func (*MockClient) IssueCertificate added in v2.0.6

func (m *MockClient) IssueCertificate(arg0 context.Context, arg1 *v10.CertificateRequest, arg2 ...grpc.CallOption) (*v10.CertificateResponse, error)

IssueCertificate mocks base method.

func (*MockClient) KeepAlive

func (m *MockClient) KeepAlive(arg0 time.Duration, arg1 *v1.KeepAliveRequest, arg2 ...grpc.CallOption)

KeepAlive mocks base method.

func (*MockClient) ListBuckets added in v2.0.4

func (m *MockClient) ListBuckets(arg0 context.Context, arg1 *v1.ListBucketsRequest, arg2 ...grpc.CallOption) (*v1.ListBucketsResponse, error)

ListBuckets mocks base method.

func (*MockClient) ListModelVersions added in v2.0.6

func (m *MockClient) ListModelVersions(arg0 context.Context, arg1 *v1.ListModelVersionsRequest, arg2 ...grpc.CallOption) (*v1.ListModelVersionsResponse, error)

ListModelVersions mocks base method.

func (*MockClient) ListModels added in v2.0.6

func (m *MockClient) ListModels(arg0 context.Context, arg1 *v1.ListModelsRequest, arg2 ...grpc.CallOption) (*v1.ListModelsResponse, error)

ListModels mocks base method.

func (*MockClient) ListSchedulers

func (m *MockClient) ListSchedulers(arg0 context.Context, arg1 *v1.ListSchedulersRequest, arg2 ...grpc.CallOption) (*v1.ListSchedulersResponse, error)

ListSchedulers mocks base method.

func (*MockClient) UpdateModel added in v2.0.6

func (m *MockClient) UpdateModel(arg0 context.Context, arg1 *v1.UpdateModelRequest, arg2 ...grpc.CallOption) (*v1.Model, error)

UpdateModel mocks base method.

func (*MockClient) UpdateModelVersion added in v2.0.6

func (m *MockClient) UpdateModelVersion(arg0 context.Context, arg1 *v1.UpdateModelVersionRequest, arg2 ...grpc.CallOption) (*v1.ModelVersion, error)

UpdateModelVersion mocks base method.

func (*MockClient) UpdateScheduler

func (m *MockClient) UpdateScheduler(arg0 context.Context, arg1 *v1.UpdateSchedulerRequest, arg2 ...grpc.CallOption) (*v1.Scheduler, error)

UpdateScheduler mocks base method.

func (*MockClient) UpdateSeedPeer added in v2.0.3

func (m *MockClient) UpdateSeedPeer(arg0 context.Context, arg1 *v1.UpdateSeedPeerRequest, arg2 ...grpc.CallOption) (*v1.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) CreateModel added in v2.0.6

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

CreateModel indicates an expected call of CreateModel.

func (*MockClientMockRecorder) CreateModelVersion added in v2.0.6

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

CreateModelVersion indicates an expected call of CreateModelVersion.

func (*MockClientMockRecorder) DeleteModel added in v2.0.6

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

DeleteModel indicates an expected call of DeleteModel.

func (*MockClientMockRecorder) DeleteModelVersion added in v2.0.6

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

DeleteModelVersion indicates an expected call of DeleteModelVersion.

func (*MockClientMockRecorder) GetModel added in v2.0.6

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

GetModel indicates an expected call of GetModel.

func (*MockClientMockRecorder) GetModelVersion added in v2.0.6

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

GetModelVersion indicates an expected call of GetModelVersion.

func (*MockClientMockRecorder) GetObjectStorage added in v2.0.4

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

GetObjectStorage indicates an expected call of GetObjectStorage.

func (*MockClientMockRecorder) GetScheduler

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

GetScheduler indicates an expected call of GetScheduler.

func (*MockClientMockRecorder) IssueCertificate added in v2.0.6

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

IssueCertificate indicates an expected call of IssueCertificate.

func (*MockClientMockRecorder) KeepAlive

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

KeepAlive indicates an expected call of KeepAlive.

func (*MockClientMockRecorder) ListBuckets added in v2.0.4

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

ListBuckets indicates an expected call of ListBuckets.

func (*MockClientMockRecorder) ListModelVersions added in v2.0.6

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

ListModelVersions indicates an expected call of ListModelVersions.

func (*MockClientMockRecorder) ListModels added in v2.0.6

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

ListModels indicates an expected call of ListModels.

func (*MockClientMockRecorder) ListSchedulers

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

ListSchedulers indicates an expected call of ListSchedulers.

func (*MockClientMockRecorder) UpdateModel added in v2.0.6

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

UpdateModel indicates an expected call of UpdateModel.

func (*MockClientMockRecorder) UpdateModelVersion added in v2.0.6

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

UpdateModelVersion indicates an expected call of UpdateModelVersion.

func (*MockClientMockRecorder) UpdateScheduler

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

UpdateScheduler indicates an expected call of UpdateScheduler.

func (*MockClientMockRecorder) UpdateSeedPeer added in v2.0.3

func (mr *MockClientMockRecorder) UpdateSeedPeer(arg0, arg1 interface{}, arg2 ...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