mocks

package
v2.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageProviderClient

type StorageProviderClient struct {
	mock.Mock
}

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 (*StorageProviderClient) ListStorageSpaces

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

type StorageProviderClient_ListStorageSpaces_Call struct {
	*mock.Call
}

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 (*StorageProviderClient_ListStorageSpaces_Call) Run added in v2.19.6

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL