Documentation ¶
Index ¶
- type StorageProviderClient
- type StorageProviderClient_Expecter
- type StorageProviderClient_ListStorageSpaces_Call
- func (_c *StorageProviderClient_ListStorageSpaces_Call) Return(_a0 *providerv1beta1.ListStorageSpacesResponse, _a1 error) *StorageProviderClient_ListStorageSpaces_Call
- func (_c *StorageProviderClient_ListStorageSpaces_Call) Run(...) *StorageProviderClient_ListStorageSpaces_Call
- func (_c *StorageProviderClient_ListStorageSpaces_Call) RunAndReturn(...) *StorageProviderClient_ListStorageSpaces_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StorageProviderClient ¶
StorageProviderClient is an autogenerated mock type for the StorageProviderClient type
func NewStorageProviderClient ¶ added in v2.3.0
func NewStorageProviderClient(t interface { mock.TestingT Cleanup(func()) }) *StorageProviderClient
NewStorageProviderClient creates a new instance of StorageProviderClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*StorageProviderClient) EXPECT ¶ added in v2.19.6
func (_m *StorageProviderClient) EXPECT() *StorageProviderClient_Expecter
func (*StorageProviderClient) ListStorageSpaces ¶
func (_m *StorageProviderClient) ListStorageSpaces(ctx context.Context, in *providerv1beta1.ListStorageSpacesRequest, opts ...grpc.CallOption) (*providerv1beta1.ListStorageSpacesResponse, error)
ListStorageSpaces provides a mock function with given fields: ctx, in, opts
type StorageProviderClient_Expecter ¶ added in v2.19.6
type StorageProviderClient_Expecter struct {
// contains filtered or unexported fields
}
func (*StorageProviderClient_Expecter) ListStorageSpaces ¶ added in v2.19.6
func (_e *StorageProviderClient_Expecter) ListStorageSpaces(ctx interface{}, in interface{}, opts ...interface{}) *StorageProviderClient_ListStorageSpaces_Call
ListStorageSpaces is a helper method to define mock.On call
- ctx context.Context
- in *providerv1beta1.ListStorageSpacesRequest
- opts ...grpc.CallOption
type StorageProviderClient_ListStorageSpaces_Call ¶ added in v2.19.6
StorageProviderClient_ListStorageSpaces_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStorageSpaces'
func (*StorageProviderClient_ListStorageSpaces_Call) Return ¶ added in v2.19.6
func (_c *StorageProviderClient_ListStorageSpaces_Call) Return(_a0 *providerv1beta1.ListStorageSpacesResponse, _a1 error) *StorageProviderClient_ListStorageSpaces_Call
func (*StorageProviderClient_ListStorageSpaces_Call) Run ¶ added in v2.19.6
func (_c *StorageProviderClient_ListStorageSpaces_Call) Run(run func(ctx context.Context, in *providerv1beta1.ListStorageSpacesRequest, opts ...grpc.CallOption)) *StorageProviderClient_ListStorageSpaces_Call
func (*StorageProviderClient_ListStorageSpaces_Call) RunAndReturn ¶ added in v2.19.6
func (_c *StorageProviderClient_ListStorageSpaces_Call) RunAndReturn(run func(context.Context, *providerv1beta1.ListStorageSpacesRequest, ...grpc.CallOption) (*providerv1beta1.ListStorageSpacesResponse, error)) *StorageProviderClient_ListStorageSpaces_Call
Click to show internal directories.
Click to hide internal directories.