Documentation ¶
Overview ¶
Package mockfileclient implements the mock client for azure file.
Index ¶
- type MockInterface
- func (m *MockInterface) CreateFileShare(resourceGroupName, accountName string, shareOptions *fileclient.ShareOptions) error
- func (m *MockInterface) DeleteFileShare(resourceGroupName, accountName, name string) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetFileShare(resourceGroupName, accountName, name string) (storage.FileShare, error)
- func (m *MockInterface) GetServiceProperties(resourceGroupName, accountName string) (storage.FileServiceProperties, error)
- func (m *MockInterface) ResizeFileShare(resourceGroupName, accountName, name string, sizeGiB int) error
- func (m *MockInterface) SetServiceProperties(resourceGroupName, accountName string, ...) (storage.FileServiceProperties, error)
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) CreateFileShare(resourceGroupName, accountName, shareOptions interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeleteFileShare(resourceGroupName, accountName, name interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetFileShare(resourceGroupName, accountName, name interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetServiceProperties(resourceGroupName, accountName interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ResizeFileShare(resourceGroupName, accountName, name, sizeGiB interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetServiceProperties(resourceGroupName, accountName, parameters interface{}) *gomock.Call
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 ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
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