role_mock

package
v0.3.44 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package role_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRoleAPIClient

type MockRoleAPIClient struct {
	// contains filtered or unexported fields
}

MockRoleAPIClient is a mock of RoleAPIClient interface.

func NewMockRoleAPIClient

func NewMockRoleAPIClient(ctrl *gomock.Controller) *MockRoleAPIClient

NewMockRoleAPIClient creates a new mock instance.

func (*MockRoleAPIClient) AssignRole

AssignRole mocks base method.

func (*MockRoleAPIClient) Authorize added in v0.2.33

Authorize mocks base method.

func (*MockRoleAPIClient) CreateRole

CreateRole mocks base method.

func (*MockRoleAPIClient) DeleteRoles

DeleteRoles mocks base method.

func (*MockRoleAPIClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRoleAPIClient) GetAssignedRoles

GetAssignedRoles mocks base method.

func (*MockRoleAPIClient) GetRole

GetRole mocks base method.

func (*MockRoleAPIClient) RemovePermissions

RemovePermissions mocks base method.

func (*MockRoleAPIClient) RevokeRole

RevokeRole mocks base method.

func (*MockRoleAPIClient) RevokeRoles

RevokeRoles mocks base method.

func (*MockRoleAPIClient) UpdateRole

UpdateRole mocks base method.

type MockRoleAPIClientMockRecorder

type MockRoleAPIClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockRoleAPIClientMockRecorder is the mock recorder for MockRoleAPIClient.

func (*MockRoleAPIClientMockRecorder) AssignRole

func (mr *MockRoleAPIClientMockRecorder) AssignRole(ctx, in any, opts ...any) *gomock.Call

AssignRole indicates an expected call of AssignRole.

func (*MockRoleAPIClientMockRecorder) Authorize added in v0.2.33

func (mr *MockRoleAPIClientMockRecorder) Authorize(ctx, in any, opts ...any) *gomock.Call

Authorize indicates an expected call of Authorize.

func (*MockRoleAPIClientMockRecorder) CreateRole

func (mr *MockRoleAPIClientMockRecorder) CreateRole(ctx, in any, opts ...any) *gomock.Call

CreateRole indicates an expected call of CreateRole.

func (*MockRoleAPIClientMockRecorder) DeleteRoles

func (mr *MockRoleAPIClientMockRecorder) DeleteRoles(ctx, in any, opts ...any) *gomock.Call

DeleteRoles indicates an expected call of DeleteRoles.

func (*MockRoleAPIClientMockRecorder) GetAssignedRoles

func (mr *MockRoleAPIClientMockRecorder) GetAssignedRoles(ctx, in any, opts ...any) *gomock.Call

GetAssignedRoles indicates an expected call of GetAssignedRoles.

func (*MockRoleAPIClientMockRecorder) GetRole

func (mr *MockRoleAPIClientMockRecorder) GetRole(ctx, in any, opts ...any) *gomock.Call

GetRole indicates an expected call of GetRole.

func (*MockRoleAPIClientMockRecorder) RemovePermissions

func (mr *MockRoleAPIClientMockRecorder) RemovePermissions(ctx, in any, opts ...any) *gomock.Call

RemovePermissions indicates an expected call of RemovePermissions.

func (*MockRoleAPIClientMockRecorder) RevokeRole

func (mr *MockRoleAPIClientMockRecorder) RevokeRole(ctx, in any, opts ...any) *gomock.Call

RevokeRole indicates an expected call of RevokeRole.

func (*MockRoleAPIClientMockRecorder) RevokeRoles

func (mr *MockRoleAPIClientMockRecorder) RevokeRoles(ctx, in any, opts ...any) *gomock.Call

RevokeRoles indicates an expected call of RevokeRoles.

func (*MockRoleAPIClientMockRecorder) UpdateRole

func (mr *MockRoleAPIClientMockRecorder) UpdateRole(ctx, in any, opts ...any) *gomock.Call

UpdateRole indicates an expected call of UpdateRole.

type MockRoleAPIServer

type MockRoleAPIServer struct {
	// contains filtered or unexported fields
}

MockRoleAPIServer is a mock of RoleAPIServer interface.

func NewMockRoleAPIServer

func NewMockRoleAPIServer(ctrl *gomock.Controller) *MockRoleAPIServer

NewMockRoleAPIServer creates a new mock instance.

func (*MockRoleAPIServer) AssignRole

AssignRole mocks base method.

func (*MockRoleAPIServer) Authorize added in v0.2.33

Authorize mocks base method.

func (*MockRoleAPIServer) CreateRole

CreateRole mocks base method.

func (*MockRoleAPIServer) DeleteRoles

DeleteRoles mocks base method.

func (*MockRoleAPIServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRoleAPIServer) GetAssignedRoles

GetAssignedRoles mocks base method.

func (*MockRoleAPIServer) GetRole

GetRole mocks base method.

func (*MockRoleAPIServer) RemovePermissions

RemovePermissions mocks base method.

func (*MockRoleAPIServer) RevokeRole

RevokeRole mocks base method.

func (*MockRoleAPIServer) RevokeRoles

RevokeRoles mocks base method.

func (*MockRoleAPIServer) UpdateRole

UpdateRole mocks base method.

type MockRoleAPIServerMockRecorder

type MockRoleAPIServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockRoleAPIServerMockRecorder is the mock recorder for MockRoleAPIServer.

func (*MockRoleAPIServerMockRecorder) AssignRole

func (mr *MockRoleAPIServerMockRecorder) AssignRole(arg0, arg1 any) *gomock.Call

AssignRole indicates an expected call of AssignRole.

func (*MockRoleAPIServerMockRecorder) Authorize added in v0.2.33

func (mr *MockRoleAPIServerMockRecorder) Authorize(arg0, arg1 any) *gomock.Call

Authorize indicates an expected call of Authorize.

func (*MockRoleAPIServerMockRecorder) CreateRole

func (mr *MockRoleAPIServerMockRecorder) CreateRole(arg0, arg1 any) *gomock.Call

CreateRole indicates an expected call of CreateRole.

func (*MockRoleAPIServerMockRecorder) DeleteRoles

func (mr *MockRoleAPIServerMockRecorder) DeleteRoles(arg0, arg1 any) *gomock.Call

DeleteRoles indicates an expected call of DeleteRoles.

func (*MockRoleAPIServerMockRecorder) GetAssignedRoles

func (mr *MockRoleAPIServerMockRecorder) GetAssignedRoles(arg0, arg1 any) *gomock.Call

GetAssignedRoles indicates an expected call of GetAssignedRoles.

func (*MockRoleAPIServerMockRecorder) GetRole

func (mr *MockRoleAPIServerMockRecorder) GetRole(arg0, arg1 any) *gomock.Call

GetRole indicates an expected call of GetRole.

func (*MockRoleAPIServerMockRecorder) RemovePermissions

func (mr *MockRoleAPIServerMockRecorder) RemovePermissions(arg0, arg1 any) *gomock.Call

RemovePermissions indicates an expected call of RemovePermissions.

func (*MockRoleAPIServerMockRecorder) RevokeRole

func (mr *MockRoleAPIServerMockRecorder) RevokeRole(arg0, arg1 any) *gomock.Call

RevokeRole indicates an expected call of RevokeRole.

func (*MockRoleAPIServerMockRecorder) RevokeRoles

func (mr *MockRoleAPIServerMockRecorder) RevokeRoles(arg0, arg1 any) *gomock.Call

RevokeRoles indicates an expected call of RevokeRoles.

func (*MockRoleAPIServerMockRecorder) UpdateRole

func (mr *MockRoleAPIServerMockRecorder) UpdateRole(arg0, arg1 any) *gomock.Call

UpdateRole indicates an expected call of UpdateRole.

type MockUnsafeRoleAPIServer

type MockUnsafeRoleAPIServer struct {
	// contains filtered or unexported fields
}

MockUnsafeRoleAPIServer is a mock of UnsafeRoleAPIServer interface.

func NewMockUnsafeRoleAPIServer

func NewMockUnsafeRoleAPIServer(ctrl *gomock.Controller) *MockUnsafeRoleAPIServer

NewMockUnsafeRoleAPIServer creates a new mock instance.

func (*MockUnsafeRoleAPIServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockUnsafeRoleAPIServerMockRecorder

type MockUnsafeRoleAPIServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockUnsafeRoleAPIServerMockRecorder is the mock recorder for MockUnsafeRoleAPIServer.

Jump to

Keyboard shortcuts

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