mockfileclient

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: Apache-2.0 Imports: 4 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(resourceGroupName, accountName string, shareOptions *fileclient.ShareOptions) error

CreateFileShare mocks base method.

func (*MockInterface) DeleteFileShare

func (m *MockInterface) DeleteFileShare(resourceGroupName, accountName, name 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(resourceGroupName, accountName, name string) (storage.FileShare, error)

GetFileShare mocks base method.

func (*MockInterface) GetServiceProperties added in v0.7.3

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

GetServiceProperties mocks base method.

func (*MockInterface) ResizeFileShare

func (m *MockInterface) ResizeFileShare(resourceGroupName, accountName, name string, sizeGiB int) error

ResizeFileShare mocks base method.

func (*MockInterface) SetServiceProperties added in v0.7.3

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

SetServiceProperties 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(resourceGroupName, accountName, shareOptions interface{}) *gomock.Call

CreateFileShare indicates an expected call of CreateFileShare.

func (*MockInterfaceMockRecorder) DeleteFileShare

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

DeleteFileShare indicates an expected call of DeleteFileShare.

func (*MockInterfaceMockRecorder) GetFileShare

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

GetFileShare indicates an expected call of GetFileShare.

func (*MockInterfaceMockRecorder) GetServiceProperties added in v0.7.3

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

GetServiceProperties indicates an expected call of GetServiceProperties.

func (*MockInterfaceMockRecorder) ResizeFileShare

func (mr *MockInterfaceMockRecorder) ResizeFileShare(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(resourceGroupName, accountName, parameters interface{}) *gomock.Call

SetServiceProperties indicates an expected call of SetServiceProperties.

Jump to

Keyboard shortcuts

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