charondmock

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthClient

type AuthClient struct {
	mock.Mock
}

AuthClient is an autogenerated mock type for the AuthClient type

func (*AuthClient) Actor

Actor provides a mock function with given fields: ctx, in, opts

func (*AuthClient) BelongsTo

BelongsTo provides a mock function with given fields: ctx, in, opts

func (*AuthClient) IsAuthenticated

func (_m *AuthClient) IsAuthenticated(ctx context.Context, in *charond.IsAuthenticatedRequest, opts ...grpc.CallOption) (*wrappers.BoolValue, error)

IsAuthenticated provides a mock function with given fields: ctx, in, opts

func (*AuthClient) IsGranted

IsGranted provides a mock function with given fields: ctx, in, opts

func (*AuthClient) Login

Login provides a mock function with given fields: ctx, in, opts

func (*AuthClient) Logout

func (_m *AuthClient) Logout(ctx context.Context, in *charond.LogoutRequest, opts ...grpc.CallOption) (*empty.Empty, error)

Logout provides a mock function with given fields: ctx, in, opts

type AuthServer

type AuthServer struct {
	mock.Mock
}

AuthServer is an autogenerated mock type for the AuthServer type

func (*AuthServer) Actor

Actor provides a mock function with given fields: _a0, _a1

func (*AuthServer) BelongsTo

BelongsTo provides a mock function with given fields: _a0, _a1

func (*AuthServer) IsAuthenticated

func (_m *AuthServer) IsAuthenticated(_a0 context.Context, _a1 *charond.IsAuthenticatedRequest) (*wrappers.BoolValue, error)

IsAuthenticated provides a mock function with given fields: _a0, _a1

func (*AuthServer) IsGranted

IsGranted provides a mock function with given fields: _a0, _a1

func (*AuthServer) Login

Login provides a mock function with given fields: _a0, _a1

func (*AuthServer) Logout

func (_m *AuthServer) Logout(_a0 context.Context, _a1 *charond.LogoutRequest) (*empty.Empty, error)

Logout provides a mock function with given fields: _a0, _a1

type GroupManagerClient

type GroupManagerClient struct {
	mock.Mock
}

GroupManagerClient is an autogenerated mock type for the GroupManagerClient type

func (*GroupManagerClient) Create

Create provides a mock function with given fields: ctx, in, opts

func (*GroupManagerClient) Delete

Delete provides a mock function with given fields: ctx, in, opts

func (*GroupManagerClient) Get

Get provides a mock function with given fields: ctx, in, opts

func (*GroupManagerClient) List

List provides a mock function with given fields: ctx, in, opts

func (*GroupManagerClient) ListPermissions

ListPermissions provides a mock function with given fields: ctx, in, opts

func (*GroupManagerClient) Modify

Modify provides a mock function with given fields: ctx, in, opts

func (*GroupManagerClient) SetPermissions

SetPermissions provides a mock function with given fields: ctx, in, opts

type GroupManagerServer

type GroupManagerServer struct {
	mock.Mock
}

GroupManagerServer is an autogenerated mock type for the GroupManagerServer type

func (*GroupManagerServer) Create

Create provides a mock function with given fields: _a0, _a1

func (*GroupManagerServer) Delete

Delete provides a mock function with given fields: _a0, _a1

func (*GroupManagerServer) Get

Get provides a mock function with given fields: _a0, _a1

func (*GroupManagerServer) List

List provides a mock function with given fields: _a0, _a1

func (*GroupManagerServer) ListPermissions

ListPermissions provides a mock function with given fields: _a0, _a1

func (*GroupManagerServer) Modify

Modify provides a mock function with given fields: _a0, _a1

func (*GroupManagerServer) SetPermissions

SetPermissions provides a mock function with given fields: _a0, _a1

type PermissionManagerClient

type PermissionManagerClient struct {
	mock.Mock
}

PermissionManagerClient is an autogenerated mock type for the PermissionManagerClient type

func (*PermissionManagerClient) Get

Get provides a mock function with given fields: ctx, in, opts

func (*PermissionManagerClient) List

List provides a mock function with given fields: ctx, in, opts

func (*PermissionManagerClient) Register

Register provides a mock function with given fields: ctx, in, opts

type PermissionManagerServer

type PermissionManagerServer struct {
	mock.Mock
}

PermissionManagerServer is an autogenerated mock type for the PermissionManagerServer type

func (*PermissionManagerServer) Get

Get provides a mock function with given fields: _a0, _a1

func (*PermissionManagerServer) List

List provides a mock function with given fields: _a0, _a1

func (*PermissionManagerServer) Register

Register provides a mock function with given fields: _a0, _a1

type RefreshTokenManagerClient

type RefreshTokenManagerClient struct {
	mock.Mock
}

RefreshTokenManagerClient is an autogenerated mock type for the RefreshTokenManagerClient type

func (*RefreshTokenManagerClient) Create

Create provides a mock function with given fields: ctx, in, opts

func (*RefreshTokenManagerClient) List

List provides a mock function with given fields: ctx, in, opts

func (*RefreshTokenManagerClient) Revoke

Revoke provides a mock function with given fields: ctx, in, opts

type RefreshTokenManagerServer

type RefreshTokenManagerServer struct {
	mock.Mock
}

RefreshTokenManagerServer is an autogenerated mock type for the RefreshTokenManagerServer type

func (*RefreshTokenManagerServer) Create

Create provides a mock function with given fields: _a0, _a1

func (*RefreshTokenManagerServer) List

List provides a mock function with given fields: _a0, _a1

func (*RefreshTokenManagerServer) Revoke

Revoke provides a mock function with given fields: _a0, _a1

type UserManagerClient

type UserManagerClient struct {
	mock.Mock
}

UserManagerClient is an autogenerated mock type for the UserManagerClient type

func (*UserManagerClient) Create

Create provides a mock function with given fields: ctx, in, opts

func (*UserManagerClient) Delete

Delete provides a mock function with given fields: ctx, in, opts

func (*UserManagerClient) Get

Get provides a mock function with given fields: ctx, in, opts

func (*UserManagerClient) List

List provides a mock function with given fields: ctx, in, opts

func (*UserManagerClient) ListGroups

ListGroups provides a mock function with given fields: ctx, in, opts

func (*UserManagerClient) ListPermissions

ListPermissions provides a mock function with given fields: ctx, in, opts

func (*UserManagerClient) Modify

Modify provides a mock function with given fields: ctx, in, opts

func (*UserManagerClient) SetGroups

SetGroups provides a mock function with given fields: ctx, in, opts

func (*UserManagerClient) SetPermissions

SetPermissions provides a mock function with given fields: ctx, in, opts

type UserManagerServer

type UserManagerServer struct {
	mock.Mock
}

UserManagerServer is an autogenerated mock type for the UserManagerServer type

func (*UserManagerServer) Create

Create provides a mock function with given fields: _a0, _a1

func (*UserManagerServer) Delete

Delete provides a mock function with given fields: _a0, _a1

func (*UserManagerServer) Get

Get provides a mock function with given fields: _a0, _a1

func (*UserManagerServer) List

List provides a mock function with given fields: _a0, _a1

func (*UserManagerServer) ListGroups

ListGroups provides a mock function with given fields: _a0, _a1

func (*UserManagerServer) ListPermissions

ListPermissions provides a mock function with given fields: _a0, _a1

func (*UserManagerServer) Modify

Modify provides a mock function with given fields: _a0, _a1

func (*UserManagerServer) SetGroups

SetGroups provides a mock function with given fields: _a0, _a1

func (*UserManagerServer) SetPermissions

SetPermissions provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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