mockfileclient

package
v0.21.6 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mockfileclient implements the mock client for azure file.

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) ResizeFileShare

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

ResizeFileShare 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) ResizeFileShare

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

ResizeFileShare indicates an expected call of ResizeFileShare

Jump to

Keyboard shortcuts

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