mockfileclient

package
v1.26.12 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mockfileclient implements the mock client for azure file.

Package mockfileclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

type MockInterface struct {
	// contains filtered or unexported fields
}

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) CreateFileShare

func (m *MockInterface) CreateFileShare(ctx context.Context, resourceGroupName, accountName string, shareOptions *fileclient.ShareOptions, expand string) (storage.FileShare, error)

CreateFileShare mocks base method.

func (*MockInterface) DeleteFileShare

func (m *MockInterface) DeleteFileShare(ctx context.Context, resourceGroupName, accountName, name, xMsSnapshot string) error

DeleteFileShare mocks base method.

func (*MockInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInterface) GetFileShare

func (m *MockInterface) GetFileShare(ctx context.Context, resourceGroupName, accountName, name, xMsSnapshot string) (storage.FileShare, error)

GetFileShare mocks base method.

func (*MockInterface) GetServiceProperties added in v0.7.3

func (m *MockInterface) GetServiceProperties(ctx context.Context, resourceGroupName, accountName string) (storage.FileServiceProperties, error)

GetServiceProperties mocks base method.

func (*MockInterface) ListFileShare added in v1.26.0

func (m *MockInterface) ListFileShare(ctx context.Context, resourceGroupName, accountName, filter, expand string) ([]storage.FileShareItem, error)

ListFileShare mocks base method.

func (*MockInterface) ResizeFileShare

func (m *MockInterface) ResizeFileShare(ctx context.Context, resourceGroupName, accountName, name string, sizeGiB int) error

ResizeFileShare mocks base method.

func (*MockInterface) SetServiceProperties added in v0.7.3

func (m *MockInterface) SetServiceProperties(ctx context.Context, resourceGroupName, accountName string, parameters storage.FileServiceProperties) (storage.FileServiceProperties, error)

SetServiceProperties mocks base method.

func (*MockInterface) WithSubscriptionID added in v1.25.0

func (m *MockInterface) WithSubscriptionID(subscriptionID string) fileclient.Interface

WithSubscriptionID mocks base method.

type MockInterfaceMockRecorder

type MockInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) CreateFileShare

func (mr *MockInterfaceMockRecorder) CreateFileShare(ctx, resourceGroupName, accountName, shareOptions, expand interface{}) *gomock.Call

CreateFileShare indicates an expected call of CreateFileShare.

func (*MockInterfaceMockRecorder) DeleteFileShare

func (mr *MockInterfaceMockRecorder) DeleteFileShare(ctx, resourceGroupName, accountName, name, xMsSnapshot interface{}) *gomock.Call

DeleteFileShare indicates an expected call of DeleteFileShare.

func (*MockInterfaceMockRecorder) GetFileShare

func (mr *MockInterfaceMockRecorder) GetFileShare(ctx, resourceGroupName, accountName, name, xMsSnapshot interface{}) *gomock.Call

GetFileShare indicates an expected call of GetFileShare.

func (*MockInterfaceMockRecorder) GetServiceProperties added in v0.7.3

func (mr *MockInterfaceMockRecorder) GetServiceProperties(ctx, resourceGroupName, accountName interface{}) *gomock.Call

GetServiceProperties indicates an expected call of GetServiceProperties.

func (*MockInterfaceMockRecorder) ListFileShare added in v1.26.0

func (mr *MockInterfaceMockRecorder) ListFileShare(ctx, resourceGroupName, accountName, filter, expand interface{}) *gomock.Call

ListFileShare indicates an expected call of ListFileShare.

func (*MockInterfaceMockRecorder) ResizeFileShare

func (mr *MockInterfaceMockRecorder) ResizeFileShare(ctx, resourceGroupName, accountName, name, sizeGiB interface{}) *gomock.Call

ResizeFileShare indicates an expected call of ResizeFileShare.

func (*MockInterfaceMockRecorder) SetServiceProperties added in v0.7.3

func (mr *MockInterfaceMockRecorder) SetServiceProperties(ctx, resourceGroupName, accountName, parameters interface{}) *gomock.Call

SetServiceProperties indicates an expected call of SetServiceProperties.

func (*MockInterfaceMockRecorder) WithSubscriptionID added in v1.25.0

func (mr *MockInterfaceMockRecorder) WithSubscriptionID(subscriptionID interface{}) *gomock.Call

WithSubscriptionID indicates an expected call of WithSubscriptionID.

Jump to

Keyboard shortcuts

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