mock_authorization

package
v0.0.0-...-54afde0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_authorization is a generated GoMock package.

Index

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

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

Create mocks base method

func (*MockRoleAssignmentsClient) EXPECT

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL