Documentation ¶
Overview ¶
Package mock_authorization is a generated GoMock package.
Index ¶
- type MockDenyAssignmentClient
- type MockDenyAssignmentClientMockRecorder
- type MockPermissionsClient
- func (m *MockPermissionsClient) EXPECT() *MockPermissionsClientMockRecorder
- func (m *MockPermissionsClient) ListForResource(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) ([]authorization.Permission, error)
- func (m *MockPermissionsClient) ListForResourceGroup(arg0 context.Context, arg1 string) ([]authorization.Permission, error)
- type MockPermissionsClientMockRecorder
- 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 interface{}) *gomock.Call
- func (mr *MockRoleAssignmentsClientMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRoleAssignmentsClientMockRecorder) ListForResource(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockRoleAssignmentsClientMockRecorder) ListForResourceGroup(arg0, arg1, arg2 interface{}) *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 interface{}) *gomock.Call
ListForResourceGroup indicates an expected call of ListForResourceGroup.
type MockPermissionsClient ¶
type MockPermissionsClient struct {
// contains filtered or unexported fields
}
MockPermissionsClient is a mock of PermissionsClient interface.
func NewMockPermissionsClient ¶
func NewMockPermissionsClient(ctrl *gomock.Controller) *MockPermissionsClient
NewMockPermissionsClient creates a new mock instance.
func (*MockPermissionsClient) EXPECT ¶
func (m *MockPermissionsClient) EXPECT() *MockPermissionsClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPermissionsClient) ListForResource ¶
func (m *MockPermissionsClient) ListForResource(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) ([]authorization.Permission, error)
ListForResource mocks base method.
func (*MockPermissionsClient) ListForResourceGroup ¶
func (m *MockPermissionsClient) ListForResourceGroup(arg0 context.Context, arg1 string) ([]authorization.Permission, error)
ListForResourceGroup mocks base method.
type MockPermissionsClientMockRecorder ¶
type MockPermissionsClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPermissionsClientMockRecorder is the mock recorder for MockPermissionsClient.
func (*MockPermissionsClientMockRecorder) ListForResource ¶
func (mr *MockPermissionsClientMockRecorder) ListForResource(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
ListForResource indicates an expected call of ListForResource.
func (*MockPermissionsClientMockRecorder) ListForResourceGroup ¶
func (mr *MockPermissionsClientMockRecorder) ListForResourceGroup(arg0, arg1 interface{}) *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 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockRoleAssignmentsClientMockRecorder) Delete ¶
func (mr *MockRoleAssignmentsClientMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRoleAssignmentsClientMockRecorder) ListForResource ¶
func (mr *MockRoleAssignmentsClientMockRecorder) ListForResource(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
ListForResource indicates an expected call of ListForResource.
func (*MockRoleAssignmentsClientMockRecorder) ListForResourceGroup ¶
func (mr *MockRoleAssignmentsClientMockRecorder) ListForResourceGroup(arg0, arg1, arg2 interface{}) *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.
func (*MockRoleDefinitionsClientMockRecorder) Delete ¶
func (mr *MockRoleDefinitionsClientMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRoleDefinitionsClientMockRecorder) List ¶
func (mr *MockRoleDefinitionsClientMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call
List indicates an expected call of List.