Documentation ¶
Overview ¶
Package mock_fileshareclient is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) Create(ctx context.Context, ...) (*armstorage.FileShare, error)
- func (m *MockInterface) Delete(ctx context.Context, ...) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) Get(ctx context.Context, ...) (*armstorage.FileShare, error)
- func (m *MockInterface) Update(ctx context.Context, ...) (*armstorage.FileShare, error)
- type MockInterfaceCreateCall
- type MockInterfaceDeleteCall
- func (c *MockInterfaceDeleteCall) Do(f func(context.Context, string, string, string) error) *MockInterfaceDeleteCall
- func (c *MockInterfaceDeleteCall) DoAndReturn(f func(context.Context, string, string, string) error) *MockInterfaceDeleteCall
- func (c *MockInterfaceDeleteCall) Return(arg0 error) *MockInterfaceDeleteCall
- type MockInterfaceGetCall
- func (c *MockInterfaceGetCall) Do(f func(context.Context, string, string, string) (*armstorage.FileShare, error)) *MockInterfaceGetCall
- func (c *MockInterfaceGetCall) DoAndReturn(f func(context.Context, string, string, string) (*armstorage.FileShare, error)) *MockInterfaceGetCall
- func (c *MockInterfaceGetCall) Return(result *armstorage.FileShare, rerr error) *MockInterfaceGetCall
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) Create(ctx, resourceGroupName, resourceName, parentResourceName, resource any) *MockInterfaceCreateCall
- func (mr *MockInterfaceMockRecorder) Delete(ctx, resourceGroupName, parentResourceName, resourceName any) *MockInterfaceDeleteCall
- func (mr *MockInterfaceMockRecorder) Get(ctx, resourceGroupName, parentResourceName, resourceName any) *MockInterfaceGetCall
- func (mr *MockInterfaceMockRecorder) Update(ctx, resourceGroupName, resourceName, parentResourceName, resource any) *MockInterfaceUpdateCall
- type MockInterfaceUpdateCall
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) Create ¶
func (m *MockInterface) Create(ctx context.Context, resourceGroupName, resourceName, parentResourceName string, resource armstorage.FileShare) (*armstorage.FileShare, error)
Create mocks base method.
func (*MockInterface) Delete ¶
func (m *MockInterface) Delete(ctx context.Context, resourceGroupName, parentResourceName, resourceName string) error
Delete 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) Get ¶
func (m *MockInterface) Get(ctx context.Context, resourceGroupName, parentResourceName, resourceName string) (*armstorage.FileShare, error)
Get mocks base method.
func (*MockInterface) Update ¶
func (m *MockInterface) Update(ctx context.Context, resourceGroupName, resourceName, parentResourceName string, resource armstorage.FileShare) (*armstorage.FileShare, error)
Update mocks base method.
type MockInterfaceCreateCall ¶ added in v0.2.2
MockInterfaceCreateCall wrap *gomock.Call
func (*MockInterfaceCreateCall) Do ¶ added in v0.2.2
func (c *MockInterfaceCreateCall) Do(f func(context.Context, string, string, string, armstorage.FileShare) (*armstorage.FileShare, error)) *MockInterfaceCreateCall
Do rewrite *gomock.Call.Do
func (*MockInterfaceCreateCall) DoAndReturn ¶ added in v0.2.2
func (c *MockInterfaceCreateCall) DoAndReturn(f func(context.Context, string, string, string, armstorage.FileShare) (*armstorage.FileShare, error)) *MockInterfaceCreateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInterfaceCreateCall) Return ¶ added in v0.2.2
func (c *MockInterfaceCreateCall) Return(arg0 *armstorage.FileShare, arg1 error) *MockInterfaceCreateCall
Return rewrite *gomock.Call.Return
type MockInterfaceDeleteCall ¶ added in v0.2.2
MockInterfaceDeleteCall wrap *gomock.Call
func (*MockInterfaceDeleteCall) Do ¶ added in v0.2.2
func (c *MockInterfaceDeleteCall) Do(f func(context.Context, string, string, string) error) *MockInterfaceDeleteCall
Do rewrite *gomock.Call.Do
func (*MockInterfaceDeleteCall) DoAndReturn ¶ added in v0.2.2
func (c *MockInterfaceDeleteCall) DoAndReturn(f func(context.Context, string, string, string) error) *MockInterfaceDeleteCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInterfaceDeleteCall) Return ¶ added in v0.2.2
func (c *MockInterfaceDeleteCall) Return(arg0 error) *MockInterfaceDeleteCall
Return rewrite *gomock.Call.Return
type MockInterfaceGetCall ¶ added in v0.2.2
MockInterfaceGetCall wrap *gomock.Call
func (*MockInterfaceGetCall) Do ¶ added in v0.2.2
func (c *MockInterfaceGetCall) Do(f func(context.Context, string, string, string) (*armstorage.FileShare, error)) *MockInterfaceGetCall
Do rewrite *gomock.Call.Do
func (*MockInterfaceGetCall) DoAndReturn ¶ added in v0.2.2
func (c *MockInterfaceGetCall) DoAndReturn(f func(context.Context, string, string, string) (*armstorage.FileShare, error)) *MockInterfaceGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInterfaceGetCall) Return ¶ added in v0.2.2
func (c *MockInterfaceGetCall) Return(result *armstorage.FileShare, rerr error) *MockInterfaceGetCall
Return rewrite *gomock.Call.Return
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) Create ¶
func (mr *MockInterfaceMockRecorder) Create(ctx, resourceGroupName, resourceName, parentResourceName, resource any) *MockInterfaceCreateCall
Create indicates an expected call of Create.
func (*MockInterfaceMockRecorder) Delete ¶
func (mr *MockInterfaceMockRecorder) Delete(ctx, resourceGroupName, parentResourceName, resourceName any) *MockInterfaceDeleteCall
Delete indicates an expected call of Delete.
func (*MockInterfaceMockRecorder) Get ¶
func (mr *MockInterfaceMockRecorder) Get(ctx, resourceGroupName, parentResourceName, resourceName any) *MockInterfaceGetCall
Get indicates an expected call of Get.
func (*MockInterfaceMockRecorder) Update ¶
func (mr *MockInterfaceMockRecorder) Update(ctx, resourceGroupName, resourceName, parentResourceName, resource any) *MockInterfaceUpdateCall
Update indicates an expected call of Update.
type MockInterfaceUpdateCall ¶ added in v0.2.2
MockInterfaceUpdateCall wrap *gomock.Call
func (*MockInterfaceUpdateCall) Do ¶ added in v0.2.2
func (c *MockInterfaceUpdateCall) Do(f func(context.Context, string, string, string, armstorage.FileShare) (*armstorage.FileShare, error)) *MockInterfaceUpdateCall
Do rewrite *gomock.Call.Do
func (*MockInterfaceUpdateCall) DoAndReturn ¶ added in v0.2.2
func (c *MockInterfaceUpdateCall) DoAndReturn(f func(context.Context, string, string, string, armstorage.FileShare) (*armstorage.FileShare, error)) *MockInterfaceUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInterfaceUpdateCall) Return ¶ added in v0.2.2
func (c *MockInterfaceUpdateCall) Return(arg0 *armstorage.FileShare, arg1 error) *MockInterfaceUpdateCall
Return rewrite *gomock.Call.Return