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) ListSeedPeers(arg0 context.Context, arg1 *manager.ListSeedPeersRequest, ...) (*manager.ListSeedPeersResponse, 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 any, arg2 ...any) *gomock.Call
- func (mr *MockV1MockRecorder) GetObjectStorage(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockV1MockRecorder) GetScheduler(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockV1MockRecorder) KeepAlive(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call
- func (mr *MockV1MockRecorder) ListApplications(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockV1MockRecorder) ListBuckets(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockV1MockRecorder) ListSchedulers(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockV1MockRecorder) ListSeedPeers(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockV1MockRecorder) UpdateScheduler(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockV1MockRecorder) UpdateSeedPeer(arg0, arg1 any, arg2 ...any) *gomock.Call
- type MockV2
- func (m *MockV2) Close() error
- func (m *MockV2) DeleteSeedPeer(arg0 context.Context, arg1 *manager.DeleteSeedPeerRequest, ...) error
- func (m *MockV2) EXPECT() *MockV2MockRecorder
- 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) ListSchedulers(arg0 context.Context, arg1 *manager.ListSchedulersRequest, ...) (*manager.ListSchedulersResponse, error)
- func (m *MockV2) ListSeedPeers(arg0 context.Context, arg1 *manager.ListSeedPeersRequest, ...) (*manager.ListSeedPeersResponse, 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) DeleteSeedPeer(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockV2MockRecorder) GetScheduler(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockV2MockRecorder) KeepAlive(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call
- func (mr *MockV2MockRecorder) ListApplications(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockV2MockRecorder) ListSchedulers(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockV2MockRecorder) ListSeedPeers(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockV2MockRecorder) UpdateScheduler(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockV2MockRecorder) UpdateSeedPeer(arg0, arg1 any, arg2 ...any) *gomock.Call
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) 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
func (m *MockV1) ListApplications(arg0 context.Context, arg1 *manager.ListApplicationsRequest, arg2 ...grpc.CallOption) (*manager.ListApplicationsResponse, error)
ListApplications mocks base method.
func (*MockV1) ListBuckets ¶ added in v2.0.9
func (m *MockV1) ListBuckets(arg0 context.Context, arg1 *manager.ListBucketsRequest, arg2 ...grpc.CallOption) (*manager.ListBucketsResponse, error)
ListBuckets mocks base method.
func (*MockV1) ListSchedulers ¶ added in v2.0.9
func (m *MockV1) ListSchedulers(arg0 context.Context, arg1 *manager.ListSchedulersRequest, arg2 ...grpc.CallOption) (*manager.ListSchedulersResponse, error)
ListSchedulers mocks base method.
func (*MockV1) ListSeedPeers ¶ added in v2.1.22
func (m *MockV1) ListSeedPeers(arg0 context.Context, arg1 *manager.ListSeedPeersRequest, arg2 ...grpc.CallOption) (*manager.ListSeedPeersResponse, error)
ListSeedPeers 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) ListSeedPeers ¶ added in v2.1.22
func (mr *MockV1MockRecorder) ListSeedPeers(arg0, arg1 any, arg2 ...any) *gomock.Call
ListSeedPeers indicates an expected call of ListSeedPeers.
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) 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) 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
func (m *MockV2) ListApplications(arg0 context.Context, arg1 *manager.ListApplicationsRequest, arg2 ...grpc.CallOption) (*manager.ListApplicationsResponse, error)
ListApplications mocks base method.
func (*MockV2) ListSchedulers ¶ added in v2.0.9
func (m *MockV2) ListSchedulers(arg0 context.Context, arg1 *manager.ListSchedulersRequest, arg2 ...grpc.CallOption) (*manager.ListSchedulersResponse, error)
ListSchedulers mocks base method.
func (*MockV2) ListSeedPeers ¶ added in v2.1.22
func (m *MockV2) ListSeedPeers(arg0 context.Context, arg1 *manager.ListSeedPeersRequest, arg2 ...grpc.CallOption) (*manager.ListSeedPeersResponse, error)
ListSeedPeers 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) 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) 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) 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) ListSeedPeers ¶ added in v2.1.22
func (mr *MockV2MockRecorder) ListSeedPeers(arg0, arg1 any, arg2 ...any) *gomock.Call
ListSeedPeers indicates an expected call of ListSeedPeers.
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.