Documentation ¶
Overview ¶
Package mock_roleassignmentclient is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) Create(ctx context.Context, scope, roleAssignmentName string, ...) (*armauthorization.RoleAssignment, error)
- func (m *MockInterface) Delete(ctx context.Context, scope, roleAssignmentName string, ...) (*armauthorization.RoleAssignment, error)
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) Get(ctx context.Context, scope, roleAssignmentName string, ...) (*armauthorization.RoleAssignment, error)
- type MockInterfaceCreateCall
- type MockInterfaceDeleteCall
- type MockInterfaceGetCall
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) Create(ctx, scope, roleAssignmentName, parameters any) *MockInterfaceCreateCall
- func (mr *MockInterfaceMockRecorder) Delete(ctx, scope, roleAssignmentName, options any) *MockInterfaceDeleteCall
- func (mr *MockInterfaceMockRecorder) Get(ctx, scope, roleAssignmentName, options any) *MockInterfaceGetCall
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, scope, roleAssignmentName string, parameters armauthorization.RoleAssignmentCreateParameters) (*armauthorization.RoleAssignment, error)
Create mocks base method.
func (*MockInterface) Delete ¶
func (m *MockInterface) Delete(ctx context.Context, scope, roleAssignmentName string, options *armauthorization.RoleAssignmentsClientDeleteOptions) (*armauthorization.RoleAssignment, 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, scope, roleAssignmentName string, options *armauthorization.RoleAssignmentsClientGetOptions) (*armauthorization.RoleAssignment, error)
Get 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, armauthorization.RoleAssignmentCreateParameters) (*armauthorization.RoleAssignment, 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, armauthorization.RoleAssignmentCreateParameters) (*armauthorization.RoleAssignment, error)) *MockInterfaceCreateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInterfaceCreateCall) Return ¶ added in v0.2.2
func (c *MockInterfaceCreateCall) Return(arg0 *armauthorization.RoleAssignment, 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, *armauthorization.RoleAssignmentsClientDeleteOptions) (*armauthorization.RoleAssignment, 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, *armauthorization.RoleAssignmentsClientDeleteOptions) (*armauthorization.RoleAssignment, error)) *MockInterfaceDeleteCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInterfaceDeleteCall) Return ¶ added in v0.2.2
func (c *MockInterfaceDeleteCall) Return(arg0 *armauthorization.RoleAssignment, arg1 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, *armauthorization.RoleAssignmentsClientGetOptions) (*armauthorization.RoleAssignment, 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, *armauthorization.RoleAssignmentsClientGetOptions) (*armauthorization.RoleAssignment, error)) *MockInterfaceGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInterfaceGetCall) Return ¶ added in v0.2.2
func (c *MockInterfaceGetCall) Return(arg0 *armauthorization.RoleAssignment, arg1 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, scope, roleAssignmentName, parameters any) *MockInterfaceCreateCall
Create indicates an expected call of Create.
func (*MockInterfaceMockRecorder) Delete ¶
func (mr *MockInterfaceMockRecorder) Delete(ctx, scope, roleAssignmentName, options any) *MockInterfaceDeleteCall
Delete indicates an expected call of Delete.
func (*MockInterfaceMockRecorder) Get ¶
func (mr *MockInterfaceMockRecorder) Get(ctx, scope, roleAssignmentName, options any) *MockInterfaceGetCall
Get indicates an expected call of Get.