Documentation ¶
Overview ¶
Package mock_authorization is a generated GoMock package.
Index ¶
- type MockDenyAssignmentClient
- type MockDenyAssignmentClientMockRecorder
- type MockRoleAssignmentsClient
- func (m *MockRoleAssignmentsClient) Create(arg0 context.Context, arg1, arg2 string, ...) (authorization.RoleAssignment, error)
- func (m *MockRoleAssignmentsClient) Delete(arg0 context.Context, arg1, arg2 string) (authorization.RoleAssignment, error)
- func (m *MockRoleAssignmentsClient) EXPECT() *MockRoleAssignmentsClientMockRecorder
- func (m *MockRoleAssignmentsClient) ListForResource(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6 string) ([]authorization.RoleAssignment, error)
- func (m *MockRoleAssignmentsClient) ListForResourceGroup(arg0 context.Context, arg1, arg2 string) ([]authorization.RoleAssignment, error)
- type MockRoleAssignmentsClientMockRecorder
- func (mr *MockRoleAssignmentsClientMockRecorder) Create(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockRoleAssignmentsClientMockRecorder) Delete(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockRoleAssignmentsClientMockRecorder) ListForResource(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *gomock.Call
- func (mr *MockRoleAssignmentsClientMockRecorder) ListForResourceGroup(arg0, arg1, arg2 any) *gomock.Call
- type MockRoleDefinitionsClient
- func (m *MockRoleDefinitionsClient) Delete(arg0 context.Context, arg1, arg2 string) (authorization.RoleDefinition, error)
- func (m *MockRoleDefinitionsClient) EXPECT() *MockRoleDefinitionsClientMockRecorder
- func (m *MockRoleDefinitionsClient) List(arg0 context.Context, arg1, arg2 string) ([]authorization.RoleDefinition, error)
- type MockRoleDefinitionsClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDenyAssignmentClient ¶
type MockDenyAssignmentClient struct {
// contains filtered or unexported fields
}
MockDenyAssignmentClient is a mock of DenyAssignmentClient interface.
func NewMockDenyAssignmentClient ¶
func NewMockDenyAssignmentClient(ctrl *gomock.Controller) *MockDenyAssignmentClient
NewMockDenyAssignmentClient creates a new mock instance.
func (*MockDenyAssignmentClient) EXPECT ¶
func (m *MockDenyAssignmentClient) EXPECT() *MockDenyAssignmentClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDenyAssignmentClient) ListForResourceGroup ¶
func (m *MockDenyAssignmentClient) ListForResourceGroup(arg0 context.Context, arg1, arg2 string) ([]authorization.DenyAssignment, error)
ListForResourceGroup mocks base method.
type MockDenyAssignmentClientMockRecorder ¶
type MockDenyAssignmentClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDenyAssignmentClientMockRecorder is the mock recorder for MockDenyAssignmentClient.
func (*MockDenyAssignmentClientMockRecorder) ListForResourceGroup ¶
func (mr *MockDenyAssignmentClientMockRecorder) ListForResourceGroup(arg0, arg1, arg2 any) *gomock.Call
ListForResourceGroup indicates an expected call of ListForResourceGroup.
type MockRoleAssignmentsClient ¶
type MockRoleAssignmentsClient struct {
// contains filtered or unexported fields
}
MockRoleAssignmentsClient is a mock of RoleAssignmentsClient interface.
func NewMockRoleAssignmentsClient ¶
func NewMockRoleAssignmentsClient(ctrl *gomock.Controller) *MockRoleAssignmentsClient
NewMockRoleAssignmentsClient creates a new mock instance.
func (*MockRoleAssignmentsClient) Create ¶
func (m *MockRoleAssignmentsClient) Create(arg0 context.Context, arg1, arg2 string, arg3 authorization.RoleAssignmentCreateParameters) (authorization.RoleAssignment, error)
Create mocks base method.
func (*MockRoleAssignmentsClient) Delete ¶
func (m *MockRoleAssignmentsClient) Delete(arg0 context.Context, arg1, arg2 string) (authorization.RoleAssignment, error)
Delete mocks base method.
func (*MockRoleAssignmentsClient) EXPECT ¶
func (m *MockRoleAssignmentsClient) EXPECT() *MockRoleAssignmentsClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRoleAssignmentsClient) ListForResource ¶
func (m *MockRoleAssignmentsClient) ListForResource(arg0 context.Context, arg1, arg2, arg3, arg4, arg5, arg6 string) ([]authorization.RoleAssignment, error)
ListForResource mocks base method.
func (*MockRoleAssignmentsClient) ListForResourceGroup ¶
func (m *MockRoleAssignmentsClient) ListForResourceGroup(arg0 context.Context, arg1, arg2 string) ([]authorization.RoleAssignment, error)
ListForResourceGroup mocks base method.
type MockRoleAssignmentsClientMockRecorder ¶
type MockRoleAssignmentsClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRoleAssignmentsClientMockRecorder is the mock recorder for MockRoleAssignmentsClient.
func (*MockRoleAssignmentsClientMockRecorder) Create ¶
func (mr *MockRoleAssignmentsClientMockRecorder) Create(arg0, arg1, arg2, arg3 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockRoleAssignmentsClientMockRecorder) Delete ¶
func (mr *MockRoleAssignmentsClientMockRecorder) Delete(arg0, arg1, arg2 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRoleAssignmentsClientMockRecorder) ListForResource ¶
func (mr *MockRoleAssignmentsClientMockRecorder) ListForResource(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *gomock.Call
ListForResource indicates an expected call of ListForResource.
func (*MockRoleAssignmentsClientMockRecorder) ListForResourceGroup ¶
func (mr *MockRoleAssignmentsClientMockRecorder) ListForResourceGroup(arg0, arg1, arg2 any) *gomock.Call
ListForResourceGroup indicates an expected call of ListForResourceGroup.
type MockRoleDefinitionsClient ¶
type MockRoleDefinitionsClient struct {
// contains filtered or unexported fields
}
MockRoleDefinitionsClient is a mock of RoleDefinitionsClient interface.
func NewMockRoleDefinitionsClient ¶
func NewMockRoleDefinitionsClient(ctrl *gomock.Controller) *MockRoleDefinitionsClient
NewMockRoleDefinitionsClient creates a new mock instance.
func (*MockRoleDefinitionsClient) Delete ¶
func (m *MockRoleDefinitionsClient) Delete(arg0 context.Context, arg1, arg2 string) (authorization.RoleDefinition, error)
Delete mocks base method.
func (*MockRoleDefinitionsClient) EXPECT ¶
func (m *MockRoleDefinitionsClient) EXPECT() *MockRoleDefinitionsClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRoleDefinitionsClient) List ¶
func (m *MockRoleDefinitionsClient) List(arg0 context.Context, arg1, arg2 string) ([]authorization.RoleDefinition, error)
List mocks base method.
type MockRoleDefinitionsClientMockRecorder ¶
type MockRoleDefinitionsClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRoleDefinitionsClientMockRecorder is the mock recorder for MockRoleDefinitionsClient.