Documentation ¶
Overview ¶
Package mockfileclient implements the mock client for azure file.
Index ¶
- type MockInterface
- func (m *MockInterface) CreateFileShare(accountName, accountKey, name string, sizeGiB int) error
- func (m *MockInterface) DeleteFileShare(accountName, accountKey, name string) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) ResizeFileShare(accountName, accountKey, name string, sizeGiB int) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) CreateFileShare(accountName, accountKey, name, sizeGiB interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeleteFileShare(accountName, accountKey, name interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ResizeFileShare(accountName, accountKey, name, sizeGiB 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(accountName, accountKey, name string, sizeGiB int) error
CreateFileShare mocks base method
func (*MockInterface) DeleteFileShare ¶
func (m *MockInterface) DeleteFileShare(accountName, accountKey, 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) ResizeFileShare ¶
func (m *MockInterface) ResizeFileShare(accountName, accountKey, 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(accountName, accountKey, name, sizeGiB interface{}) *gomock.Call
CreateFileShare indicates an expected call of CreateFileShare
func (*MockInterfaceMockRecorder) DeleteFileShare ¶
func (mr *MockInterfaceMockRecorder) DeleteFileShare(accountName, accountKey, name interface{}) *gomock.Call
DeleteFileShare indicates an expected call of DeleteFileShare
func (*MockInterfaceMockRecorder) ResizeFileShare ¶
func (mr *MockInterfaceMockRecorder) ResizeFileShare(accountName, accountKey, name, sizeGiB interface{}) *gomock.Call
ResizeFileShare indicates an expected call of ResizeFileShare
Click to show internal directories.
Click to hide internal directories.