Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Close() error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetObjectStorage(arg0 *manager.GetObjectStorageRequest) (*manager.ObjectStorage, error)
- func (m *MockClient) GetScheduler(arg0 *manager.GetSchedulerRequest) (*manager.Scheduler, error)
- func (m *MockClient) KeepAlive(arg0 time.Duration, arg1 *manager.KeepAliveRequest)
- func (m *MockClient) ListBuckets(arg0 *manager.ListBucketsRequest) (*manager.ListBucketsResponse, error)
- func (m *MockClient) ListSchedulers(arg0 *manager.ListSchedulersRequest) (*manager.ListSchedulersResponse, error)
- func (m *MockClient) UpdateScheduler(arg0 *manager.UpdateSchedulerRequest) (*manager.Scheduler, error)
- func (m *MockClient) UpdateSeedPeer(arg0 *manager.UpdateSeedPeerRequest) (*manager.SeedPeer, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Close() *gomock.Call
- func (mr *MockClientMockRecorder) GetObjectStorage(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetScheduler(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) KeepAlive(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListBuckets(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListSchedulers(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateScheduler(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateSeedPeer(arg0 interface{}) *gomock.Call
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) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetObjectStorage ¶ added in v2.0.4
func (m *MockClient) GetObjectStorage(arg0 *manager.GetObjectStorageRequest) (*manager.ObjectStorage, error)
GetObjectStorage mocks base method.
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) ListBuckets ¶ added in v2.0.4
func (m *MockClient) ListBuckets(arg0 *manager.ListBucketsRequest) (*manager.ListBucketsResponse, error)
ListBuckets mocks base method.
func (*MockClient) ListSchedulers ¶
func (m *MockClient) ListSchedulers(arg0 *manager.ListSchedulersRequest) (*manager.ListSchedulersResponse, error)
ListSchedulers mocks base method.
func (*MockClient) UpdateScheduler ¶
func (m *MockClient) UpdateScheduler(arg0 *manager.UpdateSchedulerRequest) (*manager.Scheduler, error)
UpdateScheduler mocks base method.
func (*MockClient) UpdateSeedPeer ¶ added in v2.0.3
func (m *MockClient) UpdateSeedPeer(arg0 *manager.UpdateSeedPeerRequest) (*manager.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) GetObjectStorage ¶ added in v2.0.4
func (mr *MockClientMockRecorder) GetObjectStorage(arg0 interface{}) *gomock.Call
GetObjectStorage indicates an expected call of GetObjectStorage.
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) ListBuckets ¶ added in v2.0.4
func (mr *MockClientMockRecorder) ListBuckets(arg0 interface{}) *gomock.Call
ListBuckets indicates an expected call of ListBuckets.
func (*MockClientMockRecorder) ListSchedulers ¶
func (mr *MockClientMockRecorder) ListSchedulers(arg0 interface{}) *gomock.Call
ListSchedulers indicates an expected call of ListSchedulers.
func (*MockClientMockRecorder) UpdateScheduler ¶
func (mr *MockClientMockRecorder) UpdateScheduler(arg0 interface{}) *gomock.Call
UpdateScheduler indicates an expected call of UpdateScheduler.
func (*MockClientMockRecorder) UpdateSeedPeer ¶ added in v2.0.3
func (mr *MockClientMockRecorder) UpdateSeedPeer(arg0 interface{}) *gomock.Call
UpdateSeedPeer indicates an expected call of UpdateSeedPeer.