Documentation ¶
Overview ¶
Package mock_authorization is a generated GoMock package.
Index ¶
- 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
- type MockRoleAssignmentsClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) EXPECT ¶
func (m *MockRoleAssignmentsClient) EXPECT() *MockRoleAssignmentsClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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