mocks

package
v2.1.19 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: client_v1.go

Generated by this command:

mockgen -destination mocks/client_v1_mock.go -source client_v1.go -package mocks

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: client_v2.go

Generated by this command:

mockgen -destination mocks/client_v2_mock.go -source client_v2.go -package mocks

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 MockV1 added in v2.0.9

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

MockV1 is a mock of V1 interface.

func NewMockV1 added in v2.0.9

func NewMockV1(ctrl *gomock.Controller) *MockV1

NewMockV1 creates a new mock instance.

func (*MockV1) Close added in v2.0.9

func (m *MockV1) Close() error

Close mocks base method.

func (*MockV1) CreateModel added in v2.0.9

func (m *MockV1) CreateModel(arg0 context.Context, arg1 *manager.CreateModelRequest, arg2 ...grpc.CallOption) error

CreateModel mocks base method.

func (*MockV1) EXPECT added in v2.0.9

func (m *MockV1) EXPECT() *MockV1MockRecorder

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

func (*MockV1) GetObjectStorage added in v2.0.9

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

GetObjectStorage mocks base method.

func (*MockV1) GetScheduler added in v2.0.9

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

GetScheduler mocks base method.

func (*MockV1) KeepAlive added in v2.0.9

func (m *MockV1) KeepAlive(arg0 time.Duration, arg1 *manager.KeepAliveRequest, arg2 <-chan struct{}, arg3 ...grpc.CallOption)

KeepAlive mocks base method.

func (*MockV1) ListApplications added in v2.0.9

ListApplications mocks base method.

func (*MockV1) ListBuckets added in v2.0.9

ListBuckets mocks base method.

func (*MockV1) ListSchedulers added in v2.0.9

ListSchedulers mocks base method.

func (*MockV1) UpdateScheduler added in v2.0.9

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

UpdateScheduler mocks base method.

func (*MockV1) UpdateSeedPeer added in v2.0.9

func (m *MockV1) UpdateSeedPeer(arg0 context.Context, arg1 *manager.UpdateSeedPeerRequest, arg2 ...grpc.CallOption) (*manager.SeedPeer, error)

UpdateSeedPeer mocks base method.

type MockV1MockRecorder added in v2.0.9

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

MockV1MockRecorder is the mock recorder for MockV1.

func (*MockV1MockRecorder) Close added in v2.0.9

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

Close indicates an expected call of Close.

func (*MockV1MockRecorder) CreateModel added in v2.0.9

func (mr *MockV1MockRecorder) CreateModel(arg0, arg1 any, arg2 ...any) *gomock.Call

CreateModel indicates an expected call of CreateModel.

func (*MockV1MockRecorder) GetObjectStorage added in v2.0.9

func (mr *MockV1MockRecorder) GetObjectStorage(arg0, arg1 any, arg2 ...any) *gomock.Call

GetObjectStorage indicates an expected call of GetObjectStorage.

func (*MockV1MockRecorder) GetScheduler added in v2.0.9

func (mr *MockV1MockRecorder) GetScheduler(arg0, arg1 any, arg2 ...any) *gomock.Call

GetScheduler indicates an expected call of GetScheduler.

func (*MockV1MockRecorder) KeepAlive added in v2.0.9

func (mr *MockV1MockRecorder) KeepAlive(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call

KeepAlive indicates an expected call of KeepAlive.

func (*MockV1MockRecorder) ListApplications added in v2.0.9

func (mr *MockV1MockRecorder) ListApplications(arg0, arg1 any, arg2 ...any) *gomock.Call

ListApplications indicates an expected call of ListApplications.

func (*MockV1MockRecorder) ListBuckets added in v2.0.9

func (mr *MockV1MockRecorder) ListBuckets(arg0, arg1 any, arg2 ...any) *gomock.Call

ListBuckets indicates an expected call of ListBuckets.

func (*MockV1MockRecorder) ListSchedulers added in v2.0.9

func (mr *MockV1MockRecorder) ListSchedulers(arg0, arg1 any, arg2 ...any) *gomock.Call

ListSchedulers indicates an expected call of ListSchedulers.

func (*MockV1MockRecorder) UpdateScheduler added in v2.0.9

func (mr *MockV1MockRecorder) UpdateScheduler(arg0, arg1 any, arg2 ...any) *gomock.Call

UpdateScheduler indicates an expected call of UpdateScheduler.

func (*MockV1MockRecorder) UpdateSeedPeer added in v2.0.9

func (mr *MockV1MockRecorder) UpdateSeedPeer(arg0, arg1 any, arg2 ...any) *gomock.Call

UpdateSeedPeer indicates an expected call of UpdateSeedPeer.

type MockV2 added in v2.0.9

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

MockV2 is a mock of V2 interface.

func NewMockV2 added in v2.0.9

func NewMockV2(ctrl *gomock.Controller) *MockV2

NewMockV2 creates a new mock instance.

func (*MockV2) Close added in v2.0.9

func (m *MockV2) Close() error

Close mocks base method.

func (*MockV2) CreateModel added in v2.0.9

func (m *MockV2) CreateModel(arg0 context.Context, arg1 *manager.CreateModelRequest, arg2 ...grpc.CallOption) error

CreateModel mocks base method.

func (*MockV2) DeleteSeedPeer added in v2.0.30

func (m *MockV2) DeleteSeedPeer(arg0 context.Context, arg1 *manager.DeleteSeedPeerRequest, arg2 ...grpc.CallOption) error

DeleteSeedPeer mocks base method.

func (*MockV2) EXPECT added in v2.0.9

func (m *MockV2) EXPECT() *MockV2MockRecorder

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

func (*MockV2) GetObjectStorage added in v2.0.9

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

GetObjectStorage mocks base method.

func (*MockV2) GetScheduler added in v2.0.9

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

GetScheduler mocks base method.

func (*MockV2) KeepAlive added in v2.0.9

func (m *MockV2) KeepAlive(arg0 time.Duration, arg1 *manager.KeepAliveRequest, arg2 <-chan struct{}, arg3 ...grpc.CallOption)

KeepAlive mocks base method.

func (*MockV2) ListApplications added in v2.0.9

ListApplications mocks base method.

func (*MockV2) ListBuckets added in v2.0.9

ListBuckets mocks base method.

func (*MockV2) ListSchedulers added in v2.0.9

ListSchedulers mocks base method.

func (*MockV2) UpdateScheduler added in v2.0.9

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

UpdateScheduler mocks base method.

func (*MockV2) UpdateSeedPeer added in v2.0.9

func (m *MockV2) UpdateSeedPeer(arg0 context.Context, arg1 *manager.UpdateSeedPeerRequest, arg2 ...grpc.CallOption) (*manager.SeedPeer, error)

UpdateSeedPeer mocks base method.

type MockV2MockRecorder added in v2.0.9

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

MockV2MockRecorder is the mock recorder for MockV2.

func (*MockV2MockRecorder) Close added in v2.0.9

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

Close indicates an expected call of Close.

func (*MockV2MockRecorder) CreateModel added in v2.0.9

func (mr *MockV2MockRecorder) CreateModel(arg0, arg1 any, arg2 ...any) *gomock.Call

CreateModel indicates an expected call of CreateModel.

func (*MockV2MockRecorder) DeleteSeedPeer added in v2.0.30

func (mr *MockV2MockRecorder) DeleteSeedPeer(arg0, arg1 any, arg2 ...any) *gomock.Call

DeleteSeedPeer indicates an expected call of DeleteSeedPeer.

func (*MockV2MockRecorder) GetObjectStorage added in v2.0.9

func (mr *MockV2MockRecorder) GetObjectStorage(arg0, arg1 any, arg2 ...any) *gomock.Call

GetObjectStorage indicates an expected call of GetObjectStorage.

func (*MockV2MockRecorder) GetScheduler added in v2.0.9

func (mr *MockV2MockRecorder) GetScheduler(arg0, arg1 any, arg2 ...any) *gomock.Call

GetScheduler indicates an expected call of GetScheduler.

func (*MockV2MockRecorder) KeepAlive added in v2.0.9

func (mr *MockV2MockRecorder) KeepAlive(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call

KeepAlive indicates an expected call of KeepAlive.

func (*MockV2MockRecorder) ListApplications added in v2.0.9

func (mr *MockV2MockRecorder) ListApplications(arg0, arg1 any, arg2 ...any) *gomock.Call

ListApplications indicates an expected call of ListApplications.

func (*MockV2MockRecorder) ListBuckets added in v2.0.9

func (mr *MockV2MockRecorder) ListBuckets(arg0, arg1 any, arg2 ...any) *gomock.Call

ListBuckets indicates an expected call of ListBuckets.

func (*MockV2MockRecorder) ListSchedulers added in v2.0.9

func (mr *MockV2MockRecorder) ListSchedulers(arg0, arg1 any, arg2 ...any) *gomock.Call

ListSchedulers indicates an expected call of ListSchedulers.

func (*MockV2MockRecorder) UpdateScheduler added in v2.0.9

func (mr *MockV2MockRecorder) UpdateScheduler(arg0, arg1 any, arg2 ...any) *gomock.Call

UpdateScheduler indicates an expected call of UpdateScheduler.

func (*MockV2MockRecorder) UpdateSeedPeer added in v2.0.9

func (mr *MockV2MockRecorder) UpdateSeedPeer(arg0, arg1 any, arg2 ...any) *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