Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockOpenStorageNodeClient
- func (m *MockOpenStorageNodeClient) EXPECT() *MockOpenStorageNodeClientMockRecorder
- func (m *MockOpenStorageNodeClient) Enumerate(arg0 context.Context, arg1 *api.SdkNodeEnumerateRequest, ...) (*api.SdkNodeEnumerateResponse, error)
- func (m *MockOpenStorageNodeClient) EnumerateWithFilters(arg0 context.Context, arg1 *api.SdkNodeEnumerateWithFiltersRequest, ...) (*api.SdkNodeEnumerateWithFiltersResponse, error)
- func (m *MockOpenStorageNodeClient) Inspect(arg0 context.Context, arg1 *api.SdkNodeInspectRequest, arg2 ...grpc.CallOption) (*api.SdkNodeInspectResponse, error)
- func (m *MockOpenStorageNodeClient) InspectCurrent(arg0 context.Context, arg1 *api.SdkNodeInspectCurrentRequest, ...) (*api.SdkNodeInspectCurrentResponse, error)
- type MockOpenStorageNodeClientMockRecorder
- func (mr *MockOpenStorageNodeClientMockRecorder) Enumerate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOpenStorageNodeClientMockRecorder) EnumerateWithFilters(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOpenStorageNodeClientMockRecorder) Inspect(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOpenStorageNodeClientMockRecorder) InspectCurrent(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockOpenStorageNodeServer
- func (m *MockOpenStorageNodeServer) EXPECT() *MockOpenStorageNodeServerMockRecorder
- func (m *MockOpenStorageNodeServer) Enumerate(arg0 context.Context, arg1 *api.SdkNodeEnumerateRequest) (*api.SdkNodeEnumerateResponse, error)
- func (m *MockOpenStorageNodeServer) EnumerateWithFilters(arg0 context.Context, arg1 *api.SdkNodeEnumerateWithFiltersRequest) (*api.SdkNodeEnumerateWithFiltersResponse, error)
- func (m *MockOpenStorageNodeServer) Inspect(arg0 context.Context, arg1 *api.SdkNodeInspectRequest) (*api.SdkNodeInspectResponse, error)
- func (m *MockOpenStorageNodeServer) InspectCurrent(arg0 context.Context, arg1 *api.SdkNodeInspectCurrentRequest) (*api.SdkNodeInspectCurrentResponse, error)
- type MockOpenStorageNodeServerMockRecorder
- func (mr *MockOpenStorageNodeServerMockRecorder) Enumerate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenStorageNodeServerMockRecorder) EnumerateWithFilters(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenStorageNodeServerMockRecorder) Inspect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenStorageNodeServerMockRecorder) InspectCurrent(arg0, arg1 interface{}) *gomock.Call
- type MockOpenStoragePoolClient
- type MockOpenStoragePoolClientMockRecorder
- type MockOpenStoragePoolServer
- type MockOpenStoragePoolServerMockRecorder
- type MockOpenStorageVolumeClient
- func (m *MockOpenStorageVolumeClient) CapacityUsage(arg0 context.Context, arg1 *api.SdkVolumeCapacityUsageRequest, ...) (*api.SdkVolumeCapacityUsageResponse, error)
- func (m *MockOpenStorageVolumeClient) Clone(arg0 context.Context, arg1 *api.SdkVolumeCloneRequest, arg2 ...grpc.CallOption) (*api.SdkVolumeCloneResponse, error)
- func (m *MockOpenStorageVolumeClient) Create(arg0 context.Context, arg1 *api.SdkVolumeCreateRequest, ...) (*api.SdkVolumeCreateResponse, error)
- func (m *MockOpenStorageVolumeClient) Delete(arg0 context.Context, arg1 *api.SdkVolumeDeleteRequest, ...) (*api.SdkVolumeDeleteResponse, error)
- func (m *MockOpenStorageVolumeClient) EXPECT() *MockOpenStorageVolumeClientMockRecorder
- func (m *MockOpenStorageVolumeClient) Enumerate(arg0 context.Context, arg1 *api.SdkVolumeEnumerateRequest, ...) (*api.SdkVolumeEnumerateResponse, error)
- func (m *MockOpenStorageVolumeClient) EnumerateWithFilters(arg0 context.Context, arg1 *api.SdkVolumeEnumerateWithFiltersRequest, ...) (*api.SdkVolumeEnumerateWithFiltersResponse, error)
- func (m *MockOpenStorageVolumeClient) Inspect(arg0 context.Context, arg1 *api.SdkVolumeInspectRequest, ...) (*api.SdkVolumeInspectResponse, error)
- func (m *MockOpenStorageVolumeClient) InspectWithFilters(arg0 context.Context, arg1 *api.SdkVolumeInspectWithFiltersRequest, ...) (*api.SdkVolumeInspectWithFiltersResponse, error)
- func (m *MockOpenStorageVolumeClient) SnapshotCreate(arg0 context.Context, arg1 *api.SdkVolumeSnapshotCreateRequest, ...) (*api.SdkVolumeSnapshotCreateResponse, error)
- func (m *MockOpenStorageVolumeClient) SnapshotEnumerate(arg0 context.Context, arg1 *api.SdkVolumeSnapshotEnumerateRequest, ...) (*api.SdkVolumeSnapshotEnumerateResponse, error)
- func (m *MockOpenStorageVolumeClient) SnapshotEnumerateWithFilters(arg0 context.Context, arg1 *api.SdkVolumeSnapshotEnumerateWithFiltersRequest, ...) (*api.SdkVolumeSnapshotEnumerateWithFiltersResponse, error)
- func (m *MockOpenStorageVolumeClient) SnapshotRestore(arg0 context.Context, arg1 *api.SdkVolumeSnapshotRestoreRequest, ...) (*api.SdkVolumeSnapshotRestoreResponse, error)
- func (m *MockOpenStorageVolumeClient) SnapshotScheduleUpdate(arg0 context.Context, arg1 *api.SdkVolumeSnapshotScheduleUpdateRequest, ...) (*api.SdkVolumeSnapshotScheduleUpdateResponse, error)
- func (m *MockOpenStorageVolumeClient) Stats(arg0 context.Context, arg1 *api.SdkVolumeStatsRequest, arg2 ...grpc.CallOption) (*api.SdkVolumeStatsResponse, error)
- func (m *MockOpenStorageVolumeClient) Update(arg0 context.Context, arg1 *api.SdkVolumeUpdateRequest, ...) (*api.SdkVolumeUpdateResponse, error)
- type MockOpenStorageVolumeClientMockRecorder
- func (mr *MockOpenStorageVolumeClientMockRecorder) CapacityUsage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeClientMockRecorder) Clone(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeClientMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeClientMockRecorder) Enumerate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeClientMockRecorder) EnumerateWithFilters(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeClientMockRecorder) Inspect(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeClientMockRecorder) InspectWithFilters(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeClientMockRecorder) SnapshotCreate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeClientMockRecorder) SnapshotEnumerate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeClientMockRecorder) SnapshotEnumerateWithFilters(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeClientMockRecorder) SnapshotRestore(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeClientMockRecorder) SnapshotScheduleUpdate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeClientMockRecorder) Stats(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockOpenStorageVolumeServer
- func (m *MockOpenStorageVolumeServer) CapacityUsage(arg0 context.Context, arg1 *api.SdkVolumeCapacityUsageRequest) (*api.SdkVolumeCapacityUsageResponse, error)
- func (m *MockOpenStorageVolumeServer) Clone(arg0 context.Context, arg1 *api.SdkVolumeCloneRequest) (*api.SdkVolumeCloneResponse, error)
- func (m *MockOpenStorageVolumeServer) Create(arg0 context.Context, arg1 *api.SdkVolumeCreateRequest) (*api.SdkVolumeCreateResponse, error)
- func (m *MockOpenStorageVolumeServer) Delete(arg0 context.Context, arg1 *api.SdkVolumeDeleteRequest) (*api.SdkVolumeDeleteResponse, error)
- func (m *MockOpenStorageVolumeServer) EXPECT() *MockOpenStorageVolumeServerMockRecorder
- func (m *MockOpenStorageVolumeServer) Enumerate(arg0 context.Context, arg1 *api.SdkVolumeEnumerateRequest) (*api.SdkVolumeEnumerateResponse, error)
- func (m *MockOpenStorageVolumeServer) EnumerateWithFilters(arg0 context.Context, arg1 *api.SdkVolumeEnumerateWithFiltersRequest) (*api.SdkVolumeEnumerateWithFiltersResponse, error)
- func (m *MockOpenStorageVolumeServer) Inspect(arg0 context.Context, arg1 *api.SdkVolumeInspectRequest) (*api.SdkVolumeInspectResponse, error)
- func (m *MockOpenStorageVolumeServer) InspectWithFilters(arg0 context.Context, arg1 *api.SdkVolumeInspectWithFiltersRequest) (*api.SdkVolumeInspectWithFiltersResponse, error)
- func (m *MockOpenStorageVolumeServer) SnapshotCreate(arg0 context.Context, arg1 *api.SdkVolumeSnapshotCreateRequest) (*api.SdkVolumeSnapshotCreateResponse, error)
- func (m *MockOpenStorageVolumeServer) SnapshotEnumerate(arg0 context.Context, arg1 *api.SdkVolumeSnapshotEnumerateRequest) (*api.SdkVolumeSnapshotEnumerateResponse, error)
- func (m *MockOpenStorageVolumeServer) SnapshotEnumerateWithFilters(arg0 context.Context, arg1 *api.SdkVolumeSnapshotEnumerateWithFiltersRequest) (*api.SdkVolumeSnapshotEnumerateWithFiltersResponse, error)
- func (m *MockOpenStorageVolumeServer) SnapshotRestore(arg0 context.Context, arg1 *api.SdkVolumeSnapshotRestoreRequest) (*api.SdkVolumeSnapshotRestoreResponse, error)
- func (m *MockOpenStorageVolumeServer) SnapshotScheduleUpdate(arg0 context.Context, arg1 *api.SdkVolumeSnapshotScheduleUpdateRequest) (*api.SdkVolumeSnapshotScheduleUpdateResponse, error)
- func (m *MockOpenStorageVolumeServer) Stats(arg0 context.Context, arg1 *api.SdkVolumeStatsRequest) (*api.SdkVolumeStatsResponse, error)
- func (m *MockOpenStorageVolumeServer) Update(arg0 context.Context, arg1 *api.SdkVolumeUpdateRequest) (*api.SdkVolumeUpdateResponse, error)
- type MockOpenStorageVolumeServerMockRecorder
- func (mr *MockOpenStorageVolumeServerMockRecorder) CapacityUsage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeServerMockRecorder) Clone(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeServerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeServerMockRecorder) Enumerate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeServerMockRecorder) EnumerateWithFilters(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeServerMockRecorder) Inspect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeServerMockRecorder) InspectWithFilters(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeServerMockRecorder) SnapshotCreate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeServerMockRecorder) SnapshotEnumerate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeServerMockRecorder) SnapshotEnumerateWithFilters(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeServerMockRecorder) SnapshotRestore(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeServerMockRecorder) SnapshotScheduleUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeServerMockRecorder) Stats(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenStorageVolumeServerMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOpenStorageNodeClient ¶
type MockOpenStorageNodeClient struct {
// contains filtered or unexported fields
}
MockOpenStorageNodeClient is a mock of OpenStorageNodeClient interface
func NewMockOpenStorageNodeClient ¶
func NewMockOpenStorageNodeClient(ctrl *gomock.Controller) *MockOpenStorageNodeClient
NewMockOpenStorageNodeClient creates a new mock instance
func (*MockOpenStorageNodeClient) EXPECT ¶
func (m *MockOpenStorageNodeClient) EXPECT() *MockOpenStorageNodeClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOpenStorageNodeClient) Enumerate ¶
func (m *MockOpenStorageNodeClient) Enumerate(arg0 context.Context, arg1 *api.SdkNodeEnumerateRequest, arg2 ...grpc.CallOption) (*api.SdkNodeEnumerateResponse, error)
Enumerate mocks base method
func (*MockOpenStorageNodeClient) EnumerateWithFilters ¶
func (m *MockOpenStorageNodeClient) EnumerateWithFilters(arg0 context.Context, arg1 *api.SdkNodeEnumerateWithFiltersRequest, arg2 ...grpc.CallOption) (*api.SdkNodeEnumerateWithFiltersResponse, error)
EnumerateWithFilters mocks base method
func (*MockOpenStorageNodeClient) Inspect ¶
func (m *MockOpenStorageNodeClient) Inspect(arg0 context.Context, arg1 *api.SdkNodeInspectRequest, arg2 ...grpc.CallOption) (*api.SdkNodeInspectResponse, error)
Inspect mocks base method
func (*MockOpenStorageNodeClient) InspectCurrent ¶
func (m *MockOpenStorageNodeClient) InspectCurrent(arg0 context.Context, arg1 *api.SdkNodeInspectCurrentRequest, arg2 ...grpc.CallOption) (*api.SdkNodeInspectCurrentResponse, error)
InspectCurrent mocks base method
type MockOpenStorageNodeClientMockRecorder ¶
type MockOpenStorageNodeClientMockRecorder struct {
// contains filtered or unexported fields
}
MockOpenStorageNodeClientMockRecorder is the mock recorder for MockOpenStorageNodeClient
func (*MockOpenStorageNodeClientMockRecorder) Enumerate ¶
func (mr *MockOpenStorageNodeClientMockRecorder) Enumerate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Enumerate indicates an expected call of Enumerate
func (*MockOpenStorageNodeClientMockRecorder) EnumerateWithFilters ¶
func (mr *MockOpenStorageNodeClientMockRecorder) EnumerateWithFilters(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
EnumerateWithFilters indicates an expected call of EnumerateWithFilters
func (*MockOpenStorageNodeClientMockRecorder) Inspect ¶
func (mr *MockOpenStorageNodeClientMockRecorder) Inspect(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Inspect indicates an expected call of Inspect
func (*MockOpenStorageNodeClientMockRecorder) InspectCurrent ¶
func (mr *MockOpenStorageNodeClientMockRecorder) InspectCurrent(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
InspectCurrent indicates an expected call of InspectCurrent
type MockOpenStorageNodeServer ¶
type MockOpenStorageNodeServer struct {
// contains filtered or unexported fields
}
MockOpenStorageNodeServer is a mock of OpenStorageNodeServer interface
func NewMockOpenStorageNodeServer ¶
func NewMockOpenStorageNodeServer(ctrl *gomock.Controller) *MockOpenStorageNodeServer
NewMockOpenStorageNodeServer creates a new mock instance
func (*MockOpenStorageNodeServer) EXPECT ¶
func (m *MockOpenStorageNodeServer) EXPECT() *MockOpenStorageNodeServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOpenStorageNodeServer) Enumerate ¶
func (m *MockOpenStorageNodeServer) Enumerate(arg0 context.Context, arg1 *api.SdkNodeEnumerateRequest) (*api.SdkNodeEnumerateResponse, error)
Enumerate mocks base method
func (*MockOpenStorageNodeServer) EnumerateWithFilters ¶
func (m *MockOpenStorageNodeServer) EnumerateWithFilters(arg0 context.Context, arg1 *api.SdkNodeEnumerateWithFiltersRequest) (*api.SdkNodeEnumerateWithFiltersResponse, error)
EnumerateWithFilters mocks base method
func (*MockOpenStorageNodeServer) Inspect ¶
func (m *MockOpenStorageNodeServer) Inspect(arg0 context.Context, arg1 *api.SdkNodeInspectRequest) (*api.SdkNodeInspectResponse, error)
Inspect mocks base method
func (*MockOpenStorageNodeServer) InspectCurrent ¶
func (m *MockOpenStorageNodeServer) InspectCurrent(arg0 context.Context, arg1 *api.SdkNodeInspectCurrentRequest) (*api.SdkNodeInspectCurrentResponse, error)
InspectCurrent mocks base method
type MockOpenStorageNodeServerMockRecorder ¶
type MockOpenStorageNodeServerMockRecorder struct {
// contains filtered or unexported fields
}
MockOpenStorageNodeServerMockRecorder is the mock recorder for MockOpenStorageNodeServer
func (*MockOpenStorageNodeServerMockRecorder) Enumerate ¶
func (mr *MockOpenStorageNodeServerMockRecorder) Enumerate(arg0, arg1 interface{}) *gomock.Call
Enumerate indicates an expected call of Enumerate
func (*MockOpenStorageNodeServerMockRecorder) EnumerateWithFilters ¶
func (mr *MockOpenStorageNodeServerMockRecorder) EnumerateWithFilters(arg0, arg1 interface{}) *gomock.Call
EnumerateWithFilters indicates an expected call of EnumerateWithFilters
func (*MockOpenStorageNodeServerMockRecorder) Inspect ¶
func (mr *MockOpenStorageNodeServerMockRecorder) Inspect(arg0, arg1 interface{}) *gomock.Call
Inspect indicates an expected call of Inspect
func (*MockOpenStorageNodeServerMockRecorder) InspectCurrent ¶
func (mr *MockOpenStorageNodeServerMockRecorder) InspectCurrent(arg0, arg1 interface{}) *gomock.Call
InspectCurrent indicates an expected call of InspectCurrent
type MockOpenStoragePoolClient ¶
type MockOpenStoragePoolClient struct {
// contains filtered or unexported fields
}
MockOpenStoragePoolClient is a mock of OpenStoragePoolClient interface
func NewMockOpenStoragePoolClient ¶
func NewMockOpenStoragePoolClient(ctrl *gomock.Controller) *MockOpenStoragePoolClient
NewMockOpenStoragePoolClient creates a new mock instance
func (*MockOpenStoragePoolClient) EXPECT ¶
func (m *MockOpenStoragePoolClient) EXPECT() *MockOpenStoragePoolClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOpenStoragePoolClient) Resize ¶
func (m *MockOpenStoragePoolClient) Resize(arg0 context.Context, arg1 *api.SdkStoragePoolResizeRequest, arg2 ...grpc.CallOption) (*api.SdkStoragePoolResizeResponse, error)
Resize mocks base method
type MockOpenStoragePoolClientMockRecorder ¶
type MockOpenStoragePoolClientMockRecorder struct {
// contains filtered or unexported fields
}
MockOpenStoragePoolClientMockRecorder is the mock recorder for MockOpenStoragePoolClient
func (*MockOpenStoragePoolClientMockRecorder) Resize ¶
func (mr *MockOpenStoragePoolClientMockRecorder) Resize(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Resize indicates an expected call of Resize
type MockOpenStoragePoolServer ¶
type MockOpenStoragePoolServer struct {
// contains filtered or unexported fields
}
MockOpenStoragePoolServer is a mock of OpenStoragePoolServer interface
func NewMockOpenStoragePoolServer ¶
func NewMockOpenStoragePoolServer(ctrl *gomock.Controller) *MockOpenStoragePoolServer
NewMockOpenStoragePoolServer creates a new mock instance
func (*MockOpenStoragePoolServer) EXPECT ¶
func (m *MockOpenStoragePoolServer) EXPECT() *MockOpenStoragePoolServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOpenStoragePoolServer) Resize ¶
func (m *MockOpenStoragePoolServer) Resize(arg0 context.Context, arg1 *api.SdkStoragePoolResizeRequest) (*api.SdkStoragePoolResizeResponse, error)
Resize mocks base method
type MockOpenStoragePoolServerMockRecorder ¶
type MockOpenStoragePoolServerMockRecorder struct {
// contains filtered or unexported fields
}
MockOpenStoragePoolServerMockRecorder is the mock recorder for MockOpenStoragePoolServer
func (*MockOpenStoragePoolServerMockRecorder) Resize ¶
func (mr *MockOpenStoragePoolServerMockRecorder) Resize(arg0, arg1 interface{}) *gomock.Call
Resize indicates an expected call of Resize
type MockOpenStorageVolumeClient ¶
type MockOpenStorageVolumeClient struct {
// contains filtered or unexported fields
}
MockOpenStorageVolumeClient is a mock of OpenStorageVolumeClient interface
func NewMockOpenStorageVolumeClient ¶
func NewMockOpenStorageVolumeClient(ctrl *gomock.Controller) *MockOpenStorageVolumeClient
NewMockOpenStorageVolumeClient creates a new mock instance
func (*MockOpenStorageVolumeClient) CapacityUsage ¶
func (m *MockOpenStorageVolumeClient) CapacityUsage(arg0 context.Context, arg1 *api.SdkVolumeCapacityUsageRequest, arg2 ...grpc.CallOption) (*api.SdkVolumeCapacityUsageResponse, error)
CapacityUsage mocks base method
func (*MockOpenStorageVolumeClient) Clone ¶
func (m *MockOpenStorageVolumeClient) Clone(arg0 context.Context, arg1 *api.SdkVolumeCloneRequest, arg2 ...grpc.CallOption) (*api.SdkVolumeCloneResponse, error)
Clone mocks base method
func (*MockOpenStorageVolumeClient) Create ¶
func (m *MockOpenStorageVolumeClient) Create(arg0 context.Context, arg1 *api.SdkVolumeCreateRequest, arg2 ...grpc.CallOption) (*api.SdkVolumeCreateResponse, error)
Create mocks base method
func (*MockOpenStorageVolumeClient) Delete ¶
func (m *MockOpenStorageVolumeClient) Delete(arg0 context.Context, arg1 *api.SdkVolumeDeleteRequest, arg2 ...grpc.CallOption) (*api.SdkVolumeDeleteResponse, error)
Delete mocks base method
func (*MockOpenStorageVolumeClient) EXPECT ¶
func (m *MockOpenStorageVolumeClient) EXPECT() *MockOpenStorageVolumeClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOpenStorageVolumeClient) Enumerate ¶
func (m *MockOpenStorageVolumeClient) Enumerate(arg0 context.Context, arg1 *api.SdkVolumeEnumerateRequest, arg2 ...grpc.CallOption) (*api.SdkVolumeEnumerateResponse, error)
Enumerate mocks base method
func (*MockOpenStorageVolumeClient) EnumerateWithFilters ¶
func (m *MockOpenStorageVolumeClient) EnumerateWithFilters(arg0 context.Context, arg1 *api.SdkVolumeEnumerateWithFiltersRequest, arg2 ...grpc.CallOption) (*api.SdkVolumeEnumerateWithFiltersResponse, error)
EnumerateWithFilters mocks base method
func (*MockOpenStorageVolumeClient) Inspect ¶
func (m *MockOpenStorageVolumeClient) Inspect(arg0 context.Context, arg1 *api.SdkVolumeInspectRequest, arg2 ...grpc.CallOption) (*api.SdkVolumeInspectResponse, error)
Inspect mocks base method
func (*MockOpenStorageVolumeClient) InspectWithFilters ¶
func (m *MockOpenStorageVolumeClient) InspectWithFilters(arg0 context.Context, arg1 *api.SdkVolumeInspectWithFiltersRequest, arg2 ...grpc.CallOption) (*api.SdkVolumeInspectWithFiltersResponse, error)
InspectWithFilters mocks base method
func (*MockOpenStorageVolumeClient) SnapshotCreate ¶
func (m *MockOpenStorageVolumeClient) SnapshotCreate(arg0 context.Context, arg1 *api.SdkVolumeSnapshotCreateRequest, arg2 ...grpc.CallOption) (*api.SdkVolumeSnapshotCreateResponse, error)
SnapshotCreate mocks base method
func (*MockOpenStorageVolumeClient) SnapshotEnumerate ¶
func (m *MockOpenStorageVolumeClient) SnapshotEnumerate(arg0 context.Context, arg1 *api.SdkVolumeSnapshotEnumerateRequest, arg2 ...grpc.CallOption) (*api.SdkVolumeSnapshotEnumerateResponse, error)
SnapshotEnumerate mocks base method
func (*MockOpenStorageVolumeClient) SnapshotEnumerateWithFilters ¶
func (m *MockOpenStorageVolumeClient) SnapshotEnumerateWithFilters(arg0 context.Context, arg1 *api.SdkVolumeSnapshotEnumerateWithFiltersRequest, arg2 ...grpc.CallOption) (*api.SdkVolumeSnapshotEnumerateWithFiltersResponse, error)
SnapshotEnumerateWithFilters mocks base method
func (*MockOpenStorageVolumeClient) SnapshotRestore ¶
func (m *MockOpenStorageVolumeClient) SnapshotRestore(arg0 context.Context, arg1 *api.SdkVolumeSnapshotRestoreRequest, arg2 ...grpc.CallOption) (*api.SdkVolumeSnapshotRestoreResponse, error)
SnapshotRestore mocks base method
func (*MockOpenStorageVolumeClient) SnapshotScheduleUpdate ¶
func (m *MockOpenStorageVolumeClient) SnapshotScheduleUpdate(arg0 context.Context, arg1 *api.SdkVolumeSnapshotScheduleUpdateRequest, arg2 ...grpc.CallOption) (*api.SdkVolumeSnapshotScheduleUpdateResponse, error)
SnapshotScheduleUpdate mocks base method
func (*MockOpenStorageVolumeClient) Stats ¶
func (m *MockOpenStorageVolumeClient) Stats(arg0 context.Context, arg1 *api.SdkVolumeStatsRequest, arg2 ...grpc.CallOption) (*api.SdkVolumeStatsResponse, error)
Stats mocks base method
func (*MockOpenStorageVolumeClient) Update ¶
func (m *MockOpenStorageVolumeClient) Update(arg0 context.Context, arg1 *api.SdkVolumeUpdateRequest, arg2 ...grpc.CallOption) (*api.SdkVolumeUpdateResponse, error)
Update mocks base method
type MockOpenStorageVolumeClientMockRecorder ¶
type MockOpenStorageVolumeClientMockRecorder struct {
// contains filtered or unexported fields
}
MockOpenStorageVolumeClientMockRecorder is the mock recorder for MockOpenStorageVolumeClient
func (*MockOpenStorageVolumeClientMockRecorder) CapacityUsage ¶
func (mr *MockOpenStorageVolumeClientMockRecorder) CapacityUsage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CapacityUsage indicates an expected call of CapacityUsage
func (*MockOpenStorageVolumeClientMockRecorder) Clone ¶
func (mr *MockOpenStorageVolumeClientMockRecorder) Clone(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Clone indicates an expected call of Clone
func (*MockOpenStorageVolumeClientMockRecorder) Create ¶
func (mr *MockOpenStorageVolumeClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockOpenStorageVolumeClientMockRecorder) Delete ¶
func (mr *MockOpenStorageVolumeClientMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockOpenStorageVolumeClientMockRecorder) Enumerate ¶
func (mr *MockOpenStorageVolumeClientMockRecorder) Enumerate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Enumerate indicates an expected call of Enumerate
func (*MockOpenStorageVolumeClientMockRecorder) EnumerateWithFilters ¶
func (mr *MockOpenStorageVolumeClientMockRecorder) EnumerateWithFilters(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
EnumerateWithFilters indicates an expected call of EnumerateWithFilters
func (*MockOpenStorageVolumeClientMockRecorder) Inspect ¶
func (mr *MockOpenStorageVolumeClientMockRecorder) Inspect(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Inspect indicates an expected call of Inspect
func (*MockOpenStorageVolumeClientMockRecorder) InspectWithFilters ¶
func (mr *MockOpenStorageVolumeClientMockRecorder) InspectWithFilters(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
InspectWithFilters indicates an expected call of InspectWithFilters
func (*MockOpenStorageVolumeClientMockRecorder) SnapshotCreate ¶
func (mr *MockOpenStorageVolumeClientMockRecorder) SnapshotCreate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SnapshotCreate indicates an expected call of SnapshotCreate
func (*MockOpenStorageVolumeClientMockRecorder) SnapshotEnumerate ¶
func (mr *MockOpenStorageVolumeClientMockRecorder) SnapshotEnumerate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SnapshotEnumerate indicates an expected call of SnapshotEnumerate
func (*MockOpenStorageVolumeClientMockRecorder) SnapshotEnumerateWithFilters ¶
func (mr *MockOpenStorageVolumeClientMockRecorder) SnapshotEnumerateWithFilters(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SnapshotEnumerateWithFilters indicates an expected call of SnapshotEnumerateWithFilters
func (*MockOpenStorageVolumeClientMockRecorder) SnapshotRestore ¶
func (mr *MockOpenStorageVolumeClientMockRecorder) SnapshotRestore(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SnapshotRestore indicates an expected call of SnapshotRestore
func (*MockOpenStorageVolumeClientMockRecorder) SnapshotScheduleUpdate ¶
func (mr *MockOpenStorageVolumeClientMockRecorder) SnapshotScheduleUpdate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SnapshotScheduleUpdate indicates an expected call of SnapshotScheduleUpdate
func (*MockOpenStorageVolumeClientMockRecorder) Stats ¶
func (mr *MockOpenStorageVolumeClientMockRecorder) Stats(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Stats indicates an expected call of Stats
func (*MockOpenStorageVolumeClientMockRecorder) Update ¶
func (mr *MockOpenStorageVolumeClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Update indicates an expected call of Update
type MockOpenStorageVolumeServer ¶
type MockOpenStorageVolumeServer struct {
// contains filtered or unexported fields
}
MockOpenStorageVolumeServer is a mock of OpenStorageVolumeServer interface
func NewMockOpenStorageVolumeServer ¶
func NewMockOpenStorageVolumeServer(ctrl *gomock.Controller) *MockOpenStorageVolumeServer
NewMockOpenStorageVolumeServer creates a new mock instance
func (*MockOpenStorageVolumeServer) CapacityUsage ¶
func (m *MockOpenStorageVolumeServer) CapacityUsage(arg0 context.Context, arg1 *api.SdkVolumeCapacityUsageRequest) (*api.SdkVolumeCapacityUsageResponse, error)
CapacityUsage mocks base method
func (*MockOpenStorageVolumeServer) Clone ¶
func (m *MockOpenStorageVolumeServer) Clone(arg0 context.Context, arg1 *api.SdkVolumeCloneRequest) (*api.SdkVolumeCloneResponse, error)
Clone mocks base method
func (*MockOpenStorageVolumeServer) Create ¶
func (m *MockOpenStorageVolumeServer) Create(arg0 context.Context, arg1 *api.SdkVolumeCreateRequest) (*api.SdkVolumeCreateResponse, error)
Create mocks base method
func (*MockOpenStorageVolumeServer) Delete ¶
func (m *MockOpenStorageVolumeServer) Delete(arg0 context.Context, arg1 *api.SdkVolumeDeleteRequest) (*api.SdkVolumeDeleteResponse, error)
Delete mocks base method
func (*MockOpenStorageVolumeServer) EXPECT ¶
func (m *MockOpenStorageVolumeServer) EXPECT() *MockOpenStorageVolumeServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOpenStorageVolumeServer) Enumerate ¶
func (m *MockOpenStorageVolumeServer) Enumerate(arg0 context.Context, arg1 *api.SdkVolumeEnumerateRequest) (*api.SdkVolumeEnumerateResponse, error)
Enumerate mocks base method
func (*MockOpenStorageVolumeServer) EnumerateWithFilters ¶
func (m *MockOpenStorageVolumeServer) EnumerateWithFilters(arg0 context.Context, arg1 *api.SdkVolumeEnumerateWithFiltersRequest) (*api.SdkVolumeEnumerateWithFiltersResponse, error)
EnumerateWithFilters mocks base method
func (*MockOpenStorageVolumeServer) Inspect ¶
func (m *MockOpenStorageVolumeServer) Inspect(arg0 context.Context, arg1 *api.SdkVolumeInspectRequest) (*api.SdkVolumeInspectResponse, error)
Inspect mocks base method
func (*MockOpenStorageVolumeServer) InspectWithFilters ¶
func (m *MockOpenStorageVolumeServer) InspectWithFilters(arg0 context.Context, arg1 *api.SdkVolumeInspectWithFiltersRequest) (*api.SdkVolumeInspectWithFiltersResponse, error)
InspectWithFilters mocks base method
func (*MockOpenStorageVolumeServer) SnapshotCreate ¶
func (m *MockOpenStorageVolumeServer) SnapshotCreate(arg0 context.Context, arg1 *api.SdkVolumeSnapshotCreateRequest) (*api.SdkVolumeSnapshotCreateResponse, error)
SnapshotCreate mocks base method
func (*MockOpenStorageVolumeServer) SnapshotEnumerate ¶
func (m *MockOpenStorageVolumeServer) SnapshotEnumerate(arg0 context.Context, arg1 *api.SdkVolumeSnapshotEnumerateRequest) (*api.SdkVolumeSnapshotEnumerateResponse, error)
SnapshotEnumerate mocks base method
func (*MockOpenStorageVolumeServer) SnapshotEnumerateWithFilters ¶
func (m *MockOpenStorageVolumeServer) SnapshotEnumerateWithFilters(arg0 context.Context, arg1 *api.SdkVolumeSnapshotEnumerateWithFiltersRequest) (*api.SdkVolumeSnapshotEnumerateWithFiltersResponse, error)
SnapshotEnumerateWithFilters mocks base method
func (*MockOpenStorageVolumeServer) SnapshotRestore ¶
func (m *MockOpenStorageVolumeServer) SnapshotRestore(arg0 context.Context, arg1 *api.SdkVolumeSnapshotRestoreRequest) (*api.SdkVolumeSnapshotRestoreResponse, error)
SnapshotRestore mocks base method
func (*MockOpenStorageVolumeServer) SnapshotScheduleUpdate ¶
func (m *MockOpenStorageVolumeServer) SnapshotScheduleUpdate(arg0 context.Context, arg1 *api.SdkVolumeSnapshotScheduleUpdateRequest) (*api.SdkVolumeSnapshotScheduleUpdateResponse, error)
SnapshotScheduleUpdate mocks base method
func (*MockOpenStorageVolumeServer) Stats ¶
func (m *MockOpenStorageVolumeServer) Stats(arg0 context.Context, arg1 *api.SdkVolumeStatsRequest) (*api.SdkVolumeStatsResponse, error)
Stats mocks base method
func (*MockOpenStorageVolumeServer) Update ¶
func (m *MockOpenStorageVolumeServer) Update(arg0 context.Context, arg1 *api.SdkVolumeUpdateRequest) (*api.SdkVolumeUpdateResponse, error)
Update mocks base method
type MockOpenStorageVolumeServerMockRecorder ¶
type MockOpenStorageVolumeServerMockRecorder struct {
// contains filtered or unexported fields
}
MockOpenStorageVolumeServerMockRecorder is the mock recorder for MockOpenStorageVolumeServer
func (*MockOpenStorageVolumeServerMockRecorder) CapacityUsage ¶
func (mr *MockOpenStorageVolumeServerMockRecorder) CapacityUsage(arg0, arg1 interface{}) *gomock.Call
CapacityUsage indicates an expected call of CapacityUsage
func (*MockOpenStorageVolumeServerMockRecorder) Clone ¶
func (mr *MockOpenStorageVolumeServerMockRecorder) Clone(arg0, arg1 interface{}) *gomock.Call
Clone indicates an expected call of Clone
func (*MockOpenStorageVolumeServerMockRecorder) Create ¶
func (mr *MockOpenStorageVolumeServerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockOpenStorageVolumeServerMockRecorder) Delete ¶
func (mr *MockOpenStorageVolumeServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockOpenStorageVolumeServerMockRecorder) Enumerate ¶
func (mr *MockOpenStorageVolumeServerMockRecorder) Enumerate(arg0, arg1 interface{}) *gomock.Call
Enumerate indicates an expected call of Enumerate
func (*MockOpenStorageVolumeServerMockRecorder) EnumerateWithFilters ¶
func (mr *MockOpenStorageVolumeServerMockRecorder) EnumerateWithFilters(arg0, arg1 interface{}) *gomock.Call
EnumerateWithFilters indicates an expected call of EnumerateWithFilters
func (*MockOpenStorageVolumeServerMockRecorder) Inspect ¶
func (mr *MockOpenStorageVolumeServerMockRecorder) Inspect(arg0, arg1 interface{}) *gomock.Call
Inspect indicates an expected call of Inspect
func (*MockOpenStorageVolumeServerMockRecorder) InspectWithFilters ¶
func (mr *MockOpenStorageVolumeServerMockRecorder) InspectWithFilters(arg0, arg1 interface{}) *gomock.Call
InspectWithFilters indicates an expected call of InspectWithFilters
func (*MockOpenStorageVolumeServerMockRecorder) SnapshotCreate ¶
func (mr *MockOpenStorageVolumeServerMockRecorder) SnapshotCreate(arg0, arg1 interface{}) *gomock.Call
SnapshotCreate indicates an expected call of SnapshotCreate
func (*MockOpenStorageVolumeServerMockRecorder) SnapshotEnumerate ¶
func (mr *MockOpenStorageVolumeServerMockRecorder) SnapshotEnumerate(arg0, arg1 interface{}) *gomock.Call
SnapshotEnumerate indicates an expected call of SnapshotEnumerate
func (*MockOpenStorageVolumeServerMockRecorder) SnapshotEnumerateWithFilters ¶
func (mr *MockOpenStorageVolumeServerMockRecorder) SnapshotEnumerateWithFilters(arg0, arg1 interface{}) *gomock.Call
SnapshotEnumerateWithFilters indicates an expected call of SnapshotEnumerateWithFilters
func (*MockOpenStorageVolumeServerMockRecorder) SnapshotRestore ¶
func (mr *MockOpenStorageVolumeServerMockRecorder) SnapshotRestore(arg0, arg1 interface{}) *gomock.Call
SnapshotRestore indicates an expected call of SnapshotRestore
func (*MockOpenStorageVolumeServerMockRecorder) SnapshotScheduleUpdate ¶
func (mr *MockOpenStorageVolumeServerMockRecorder) SnapshotScheduleUpdate(arg0, arg1 interface{}) *gomock.Call
SnapshotScheduleUpdate indicates an expected call of SnapshotScheduleUpdate
func (*MockOpenStorageVolumeServerMockRecorder) Stats ¶
func (mr *MockOpenStorageVolumeServerMockRecorder) Stats(arg0, arg1 interface{}) *gomock.Call
Stats indicates an expected call of Stats
func (*MockOpenStorageVolumeServerMockRecorder) Update ¶
func (mr *MockOpenStorageVolumeServerMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update