Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockV1
- func (m *MockV1) Close() error
- func (m *MockV1) CreateModel(arg0 context.Context, arg1 *manager.CreateModelRequest, ...) error
- func (m *MockV1) EXPECT() *MockV1MockRecorder
- func (m *MockV1) GetObjectStorage(arg0 context.Context, arg1 *manager.GetObjectStorageRequest, ...) (*manager.ObjectStorage, error)
- func (m *MockV1) GetScheduler(arg0 context.Context, arg1 *manager.GetSchedulerRequest, ...) (*manager.Scheduler, error)
- func (m *MockV1) KeepAlive(arg0 time.Duration, arg1 *manager.KeepAliveRequest, arg2 <-chan struct{}, ...)
- func (m *MockV1) ListApplications(arg0 context.Context, arg1 *manager.ListApplicationsRequest, ...) (*manager.ListApplicationsResponse, error)
- func (m *MockV1) ListBuckets(arg0 context.Context, arg1 *manager.ListBucketsRequest, ...) (*manager.ListBucketsResponse, error)
- func (m *MockV1) ListSchedulers(arg0 context.Context, arg1 *manager.ListSchedulersRequest, ...) (*manager.ListSchedulersResponse, error)
- func (m *MockV1) UpdateScheduler(arg0 context.Context, arg1 *manager.UpdateSchedulerRequest, ...) (*manager.Scheduler, error)
- func (m *MockV1) UpdateSeedPeer(arg0 context.Context, arg1 *manager.UpdateSeedPeerRequest, ...) (*manager.SeedPeer, error)
- type MockV1MockRecorder
- func (mr *MockV1MockRecorder) Close() *gomock.Call
- func (mr *MockV1MockRecorder) CreateModel(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockV1MockRecorder) GetObjectStorage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockV1MockRecorder) GetScheduler(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockV1MockRecorder) KeepAlive(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockV1MockRecorder) ListApplications(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockV1MockRecorder) ListBuckets(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockV1MockRecorder) ListSchedulers(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockV1MockRecorder) UpdateScheduler(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockV1MockRecorder) UpdateSeedPeer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockV2
- func (m *MockV2) Close() error
- func (m *MockV2) CreateModel(arg0 context.Context, arg1 *manager.CreateModelRequest, ...) error
- func (m *MockV2) DeleteSeedPeer(arg0 context.Context, arg1 *manager.DeleteSeedPeerRequest, ...) error
- func (m *MockV2) EXPECT() *MockV2MockRecorder
- func (m *MockV2) GetObjectStorage(arg0 context.Context, arg1 *manager.GetObjectStorageRequest, ...) (*manager.ObjectStorage, error)
- func (m *MockV2) GetScheduler(arg0 context.Context, arg1 *manager.GetSchedulerRequest, ...) (*manager.Scheduler, error)
- func (m *MockV2) KeepAlive(arg0 time.Duration, arg1 *manager.KeepAliveRequest, arg2 <-chan struct{}, ...)
- func (m *MockV2) ListApplications(arg0 context.Context, arg1 *manager.ListApplicationsRequest, ...) (*manager.ListApplicationsResponse, error)
- func (m *MockV2) ListBuckets(arg0 context.Context, arg1 *manager.ListBucketsRequest, ...) (*manager.ListBucketsResponse, error)
- func (m *MockV2) ListSchedulers(arg0 context.Context, arg1 *manager.ListSchedulersRequest, ...) (*manager.ListSchedulersResponse, error)
- func (m *MockV2) UpdateScheduler(arg0 context.Context, arg1 *manager.UpdateSchedulerRequest, ...) (*manager.Scheduler, error)
- func (m *MockV2) UpdateSeedPeer(arg0 context.Context, arg1 *manager.UpdateSeedPeerRequest, ...) (*manager.SeedPeer, error)
- type MockV2MockRecorder
- func (mr *MockV2MockRecorder) Close() *gomock.Call
- func (mr *MockV2MockRecorder) CreateModel(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockV2MockRecorder) DeleteSeedPeer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockV2MockRecorder) GetObjectStorage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockV2MockRecorder) GetScheduler(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockV2MockRecorder) KeepAlive(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockV2MockRecorder) ListApplications(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockV2MockRecorder) ListBuckets(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockV2MockRecorder) ListSchedulers(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockV2MockRecorder) UpdateScheduler(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockV2MockRecorder) UpdateSeedPeer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockV1 ¶
type MockV1 struct {
// contains filtered or unexported fields
}
MockV1 is a mock of V1 interface.
func NewMockV1 ¶
func NewMockV1(ctrl *gomock.Controller) *MockV1
NewMockV1 creates a new mock instance.
func (*MockV1) CreateModel ¶
func (m *MockV1) CreateModel(arg0 context.Context, arg1 *manager.CreateModelRequest, arg2 ...grpc.CallOption) error
CreateModel mocks base method.
func (*MockV1) EXPECT ¶
func (m *MockV1) EXPECT() *MockV1MockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockV1) GetObjectStorage ¶
func (m *MockV1) GetObjectStorage(arg0 context.Context, arg1 *manager.GetObjectStorageRequest, arg2 ...grpc.CallOption) (*manager.ObjectStorage, error)
GetObjectStorage mocks base method.
func (*MockV1) GetScheduler ¶
func (m *MockV1) GetScheduler(arg0 context.Context, arg1 *manager.GetSchedulerRequest, arg2 ...grpc.CallOption) (*manager.Scheduler, error)
GetScheduler mocks base method.
func (*MockV1) KeepAlive ¶
func (m *MockV1) KeepAlive(arg0 time.Duration, arg1 *manager.KeepAliveRequest, arg2 <-chan struct{}, arg3 ...grpc.CallOption)
KeepAlive mocks base method.
func (*MockV1) ListApplications ¶
func (m *MockV1) ListApplications(arg0 context.Context, arg1 *manager.ListApplicationsRequest, arg2 ...grpc.CallOption) (*manager.ListApplicationsResponse, error)
ListApplications mocks base method.
func (*MockV1) ListBuckets ¶
func (m *MockV1) ListBuckets(arg0 context.Context, arg1 *manager.ListBucketsRequest, arg2 ...grpc.CallOption) (*manager.ListBucketsResponse, error)
ListBuckets mocks base method.
func (*MockV1) ListSchedulers ¶
func (m *MockV1) ListSchedulers(arg0 context.Context, arg1 *manager.ListSchedulersRequest, arg2 ...grpc.CallOption) (*manager.ListSchedulersResponse, error)
ListSchedulers mocks base method.
func (*MockV1) UpdateScheduler ¶
func (m *MockV1) UpdateScheduler(arg0 context.Context, arg1 *manager.UpdateSchedulerRequest, arg2 ...grpc.CallOption) (*manager.Scheduler, error)
UpdateScheduler mocks base method.
func (*MockV1) UpdateSeedPeer ¶
func (m *MockV1) UpdateSeedPeer(arg0 context.Context, arg1 *manager.UpdateSeedPeerRequest, arg2 ...grpc.CallOption) (*manager.SeedPeer, error)
UpdateSeedPeer mocks base method.
type MockV1MockRecorder ¶
type MockV1MockRecorder struct {
// contains filtered or unexported fields
}
MockV1MockRecorder is the mock recorder for MockV1.
func (*MockV1MockRecorder) Close ¶
func (mr *MockV1MockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockV1MockRecorder) CreateModel ¶
func (mr *MockV1MockRecorder) CreateModel(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateModel indicates an expected call of CreateModel.
func (*MockV1MockRecorder) GetObjectStorage ¶
func (mr *MockV1MockRecorder) GetObjectStorage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetObjectStorage indicates an expected call of GetObjectStorage.
func (*MockV1MockRecorder) GetScheduler ¶
func (mr *MockV1MockRecorder) GetScheduler(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetScheduler indicates an expected call of GetScheduler.
func (*MockV1MockRecorder) KeepAlive ¶
func (mr *MockV1MockRecorder) KeepAlive(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
KeepAlive indicates an expected call of KeepAlive.
func (*MockV1MockRecorder) ListApplications ¶
func (mr *MockV1MockRecorder) ListApplications(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListApplications indicates an expected call of ListApplications.
func (*MockV1MockRecorder) ListBuckets ¶
func (mr *MockV1MockRecorder) ListBuckets(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListBuckets indicates an expected call of ListBuckets.
func (*MockV1MockRecorder) ListSchedulers ¶
func (mr *MockV1MockRecorder) ListSchedulers(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListSchedulers indicates an expected call of ListSchedulers.
func (*MockV1MockRecorder) UpdateScheduler ¶
func (mr *MockV1MockRecorder) UpdateScheduler(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UpdateScheduler indicates an expected call of UpdateScheduler.
func (*MockV1MockRecorder) UpdateSeedPeer ¶
func (mr *MockV1MockRecorder) UpdateSeedPeer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UpdateSeedPeer indicates an expected call of UpdateSeedPeer.
type MockV2 ¶
type MockV2 struct {
// contains filtered or unexported fields
}
MockV2 is a mock of V2 interface.
func NewMockV2 ¶
func NewMockV2(ctrl *gomock.Controller) *MockV2
NewMockV2 creates a new mock instance.
func (*MockV2) CreateModel ¶
func (m *MockV2) CreateModel(arg0 context.Context, arg1 *manager.CreateModelRequest, arg2 ...grpc.CallOption) error
CreateModel mocks base method.
func (*MockV2) DeleteSeedPeer ¶ added in v1.0.6
func (m *MockV2) DeleteSeedPeer(arg0 context.Context, arg1 *manager.DeleteSeedPeerRequest, arg2 ...grpc.CallOption) error
DeleteSeedPeer mocks base method.
func (*MockV2) EXPECT ¶
func (m *MockV2) EXPECT() *MockV2MockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockV2) GetObjectStorage ¶
func (m *MockV2) GetObjectStorage(arg0 context.Context, arg1 *manager.GetObjectStorageRequest, arg2 ...grpc.CallOption) (*manager.ObjectStorage, error)
GetObjectStorage mocks base method.
func (*MockV2) GetScheduler ¶
func (m *MockV2) GetScheduler(arg0 context.Context, arg1 *manager.GetSchedulerRequest, arg2 ...grpc.CallOption) (*manager.Scheduler, error)
GetScheduler mocks base method.
func (*MockV2) KeepAlive ¶
func (m *MockV2) KeepAlive(arg0 time.Duration, arg1 *manager.KeepAliveRequest, arg2 <-chan struct{}, arg3 ...grpc.CallOption)
KeepAlive mocks base method.
func (*MockV2) ListApplications ¶
func (m *MockV2) ListApplications(arg0 context.Context, arg1 *manager.ListApplicationsRequest, arg2 ...grpc.CallOption) (*manager.ListApplicationsResponse, error)
ListApplications mocks base method.
func (*MockV2) ListBuckets ¶
func (m *MockV2) ListBuckets(arg0 context.Context, arg1 *manager.ListBucketsRequest, arg2 ...grpc.CallOption) (*manager.ListBucketsResponse, error)
ListBuckets mocks base method.
func (*MockV2) ListSchedulers ¶
func (m *MockV2) ListSchedulers(arg0 context.Context, arg1 *manager.ListSchedulersRequest, arg2 ...grpc.CallOption) (*manager.ListSchedulersResponse, error)
ListSchedulers mocks base method.
func (*MockV2) UpdateScheduler ¶
func (m *MockV2) UpdateScheduler(arg0 context.Context, arg1 *manager.UpdateSchedulerRequest, arg2 ...grpc.CallOption) (*manager.Scheduler, error)
UpdateScheduler mocks base method.
func (*MockV2) UpdateSeedPeer ¶
func (m *MockV2) UpdateSeedPeer(arg0 context.Context, arg1 *manager.UpdateSeedPeerRequest, arg2 ...grpc.CallOption) (*manager.SeedPeer, error)
UpdateSeedPeer mocks base method.
type MockV2MockRecorder ¶
type MockV2MockRecorder struct {
// contains filtered or unexported fields
}
MockV2MockRecorder is the mock recorder for MockV2.
func (*MockV2MockRecorder) Close ¶
func (mr *MockV2MockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockV2MockRecorder) CreateModel ¶
func (mr *MockV2MockRecorder) CreateModel(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateModel indicates an expected call of CreateModel.
func (*MockV2MockRecorder) DeleteSeedPeer ¶ added in v1.0.6
func (mr *MockV2MockRecorder) DeleteSeedPeer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteSeedPeer indicates an expected call of DeleteSeedPeer.
func (*MockV2MockRecorder) GetObjectStorage ¶
func (mr *MockV2MockRecorder) GetObjectStorage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetObjectStorage indicates an expected call of GetObjectStorage.
func (*MockV2MockRecorder) GetScheduler ¶
func (mr *MockV2MockRecorder) GetScheduler(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetScheduler indicates an expected call of GetScheduler.
func (*MockV2MockRecorder) KeepAlive ¶
func (mr *MockV2MockRecorder) KeepAlive(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
KeepAlive indicates an expected call of KeepAlive.
func (*MockV2MockRecorder) ListApplications ¶
func (mr *MockV2MockRecorder) ListApplications(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListApplications indicates an expected call of ListApplications.
func (*MockV2MockRecorder) ListBuckets ¶
func (mr *MockV2MockRecorder) ListBuckets(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListBuckets indicates an expected call of ListBuckets.
func (*MockV2MockRecorder) ListSchedulers ¶
func (mr *MockV2MockRecorder) ListSchedulers(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListSchedulers indicates an expected call of ListSchedulers.
func (*MockV2MockRecorder) UpdateScheduler ¶
func (mr *MockV2MockRecorder) UpdateScheduler(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UpdateScheduler indicates an expected call of UpdateScheduler.
func (*MockV2MockRecorder) UpdateSeedPeer ¶
func (mr *MockV2MockRecorder) UpdateSeedPeer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UpdateSeedPeer indicates an expected call of UpdateSeedPeer.