Documentation ¶
Index ¶
- type AuthClient
- func (_m *AuthClient) Actor(ctx context.Context, in *google_protobuf1.StringValue, opts ...grpc.CallOption) (*charonrpc.ActorResponse, error)
- func (_m *AuthClient) BelongsTo(ctx context.Context, in *charonrpc.BelongsToRequest, opts ...grpc.CallOption) (*google_protobuf1.BoolValue, error)
- func (_m *AuthClient) IsAuthenticated(ctx context.Context, in *charonrpc.IsAuthenticatedRequest, ...) (*google_protobuf1.BoolValue, error)
- func (_m *AuthClient) IsGranted(ctx context.Context, in *charonrpc.IsGrantedRequest, opts ...grpc.CallOption) (*google_protobuf1.BoolValue, error)
- func (_m *AuthClient) Login(ctx context.Context, in *charonrpc.LoginRequest, opts ...grpc.CallOption) (*google_protobuf1.StringValue, error)
- func (_m *AuthClient) Logout(ctx context.Context, in *charonrpc.LogoutRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
- type GroupManagerClient
- func (_m *GroupManagerClient) Create(ctx context.Context, in *charonrpc.CreateGroupRequest, opts ...grpc.CallOption) (*charonrpc.CreateGroupResponse, error)
- func (_m *GroupManagerClient) Delete(ctx context.Context, in *charonrpc.DeleteGroupRequest, opts ...grpc.CallOption) (*google_protobuf1.BoolValue, error)
- func (_m *GroupManagerClient) Get(ctx context.Context, in *charonrpc.GetGroupRequest, opts ...grpc.CallOption) (*charonrpc.GetGroupResponse, error)
- func (_m *GroupManagerClient) List(ctx context.Context, in *charonrpc.ListGroupsRequest, opts ...grpc.CallOption) (*charonrpc.ListGroupsResponse, error)
- func (_m *GroupManagerClient) ListPermissions(ctx context.Context, in *charonrpc.ListGroupPermissionsRequest, ...) (*charonrpc.ListGroupPermissionsResponse, error)
- func (_m *GroupManagerClient) Modify(ctx context.Context, in *charonrpc.ModifyGroupRequest, opts ...grpc.CallOption) (*charonrpc.ModifyGroupResponse, error)
- func (_m *GroupManagerClient) SetPermissions(ctx context.Context, in *charonrpc.SetGroupPermissionsRequest, ...) (*charonrpc.SetGroupPermissionsResponse, error)
- type PermissionManagerClient
- func (_m *PermissionManagerClient) Get(ctx context.Context, in *charonrpc.GetPermissionRequest, ...) (*charonrpc.GetPermissionResponse, error)
- func (_m *PermissionManagerClient) List(ctx context.Context, in *charonrpc.ListPermissionsRequest, ...) (*charonrpc.ListPermissionsResponse, error)
- func (_m *PermissionManagerClient) Register(ctx context.Context, in *charonrpc.RegisterPermissionsRequest, ...) (*charonrpc.RegisterPermissionsResponse, error)
- type UserManagerClient
- func (_m *UserManagerClient) Create(ctx context.Context, in *charonrpc.CreateUserRequest, opts ...grpc.CallOption) (*charonrpc.CreateUserResponse, error)
- func (_m *UserManagerClient) Delete(ctx context.Context, in *charonrpc.DeleteUserRequest, opts ...grpc.CallOption) (*google_protobuf1.BoolValue, error)
- func (_m *UserManagerClient) Get(ctx context.Context, in *charonrpc.GetUserRequest, opts ...grpc.CallOption) (*charonrpc.GetUserResponse, error)
- func (_m *UserManagerClient) List(ctx context.Context, in *charonrpc.ListUsersRequest, opts ...grpc.CallOption) (*charonrpc.ListUsersResponse, error)
- func (_m *UserManagerClient) ListGroups(ctx context.Context, in *charonrpc.ListUserGroupsRequest, ...) (*charonrpc.ListUserGroupsResponse, error)
- func (_m *UserManagerClient) ListPermissions(ctx context.Context, in *charonrpc.ListUserPermissionsRequest, ...) (*charonrpc.ListUserPermissionsResponse, error)
- func (_m *UserManagerClient) Modify(ctx context.Context, in *charonrpc.ModifyUserRequest, opts ...grpc.CallOption) (*charonrpc.ModifyUserResponse, error)
- func (_m *UserManagerClient) SetGroups(ctx context.Context, in *charonrpc.SetUserGroupsRequest, ...) (*charonrpc.SetUserGroupsResponse, error)
- func (_m *UserManagerClient) SetPermissions(ctx context.Context, in *charonrpc.SetUserPermissionsRequest, ...) (*charonrpc.SetUserPermissionsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthClient ¶ added in v0.13.5
func (*AuthClient) Actor ¶ added in v0.13.5
func (_m *AuthClient) Actor(ctx context.Context, in *google_protobuf1.StringValue, opts ...grpc.CallOption) (*charonrpc.ActorResponse, error)
Actor provides a mock function with given fields: ctx, in, opts
func (*AuthClient) BelongsTo ¶ added in v0.13.5
func (_m *AuthClient) BelongsTo(ctx context.Context, in *charonrpc.BelongsToRequest, opts ...grpc.CallOption) (*google_protobuf1.BoolValue, error)
BelongsTo provides a mock function with given fields: ctx, in, opts
func (*AuthClient) IsAuthenticated ¶ added in v0.13.5
func (_m *AuthClient) IsAuthenticated(ctx context.Context, in *charonrpc.IsAuthenticatedRequest, opts ...grpc.CallOption) (*google_protobuf1.BoolValue, error)
IsAuthenticated provides a mock function with given fields: ctx, in, opts
func (*AuthClient) IsGranted ¶ added in v0.13.5
func (_m *AuthClient) IsGranted(ctx context.Context, in *charonrpc.IsGrantedRequest, opts ...grpc.CallOption) (*google_protobuf1.BoolValue, error)
IsGranted provides a mock function with given fields: ctx, in, opts
func (*AuthClient) Login ¶ added in v0.13.5
func (_m *AuthClient) Login(ctx context.Context, in *charonrpc.LoginRequest, opts ...grpc.CallOption) (*google_protobuf1.StringValue, error)
Login provides a mock function with given fields: ctx, in, opts
func (*AuthClient) Logout ¶ added in v0.13.5
func (_m *AuthClient) Logout(ctx context.Context, in *charonrpc.LogoutRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
Logout provides a mock function with given fields: ctx, in, opts
type GroupManagerClient ¶ added in v0.13.5
func (*GroupManagerClient) Create ¶ added in v0.13.5
func (_m *GroupManagerClient) Create(ctx context.Context, in *charonrpc.CreateGroupRequest, opts ...grpc.CallOption) (*charonrpc.CreateGroupResponse, error)
Create provides a mock function with given fields: ctx, in, opts
func (*GroupManagerClient) Delete ¶ added in v0.13.5
func (_m *GroupManagerClient) Delete(ctx context.Context, in *charonrpc.DeleteGroupRequest, opts ...grpc.CallOption) (*google_protobuf1.BoolValue, error)
Delete provides a mock function with given fields: ctx, in, opts
func (*GroupManagerClient) Get ¶ added in v0.13.5
func (_m *GroupManagerClient) Get(ctx context.Context, in *charonrpc.GetGroupRequest, opts ...grpc.CallOption) (*charonrpc.GetGroupResponse, error)
Get provides a mock function with given fields: ctx, in, opts
func (*GroupManagerClient) List ¶ added in v0.13.5
func (_m *GroupManagerClient) List(ctx context.Context, in *charonrpc.ListGroupsRequest, opts ...grpc.CallOption) (*charonrpc.ListGroupsResponse, error)
List provides a mock function with given fields: ctx, in, opts
func (*GroupManagerClient) ListPermissions ¶ added in v0.13.5
func (_m *GroupManagerClient) ListPermissions(ctx context.Context, in *charonrpc.ListGroupPermissionsRequest, opts ...grpc.CallOption) (*charonrpc.ListGroupPermissionsResponse, error)
ListPermissions provides a mock function with given fields: ctx, in, opts
func (*GroupManagerClient) Modify ¶ added in v0.13.5
func (_m *GroupManagerClient) Modify(ctx context.Context, in *charonrpc.ModifyGroupRequest, opts ...grpc.CallOption) (*charonrpc.ModifyGroupResponse, error)
Modify provides a mock function with given fields: ctx, in, opts
func (*GroupManagerClient) SetPermissions ¶ added in v0.13.5
func (_m *GroupManagerClient) SetPermissions(ctx context.Context, in *charonrpc.SetGroupPermissionsRequest, opts ...grpc.CallOption) (*charonrpc.SetGroupPermissionsResponse, error)
SetPermissions provides a mock function with given fields: ctx, in, opts
type PermissionManagerClient ¶ added in v0.13.5
func (*PermissionManagerClient) Get ¶ added in v0.13.5
func (_m *PermissionManagerClient) Get(ctx context.Context, in *charonrpc.GetPermissionRequest, opts ...grpc.CallOption) (*charonrpc.GetPermissionResponse, error)
Get provides a mock function with given fields: ctx, in, opts
func (*PermissionManagerClient) List ¶ added in v0.13.5
func (_m *PermissionManagerClient) List(ctx context.Context, in *charonrpc.ListPermissionsRequest, opts ...grpc.CallOption) (*charonrpc.ListPermissionsResponse, error)
List provides a mock function with given fields: ctx, in, opts
func (*PermissionManagerClient) Register ¶ added in v0.13.5
func (_m *PermissionManagerClient) Register(ctx context.Context, in *charonrpc.RegisterPermissionsRequest, opts ...grpc.CallOption) (*charonrpc.RegisterPermissionsResponse, error)
Register provides a mock function with given fields: ctx, in, opts
type UserManagerClient ¶ added in v0.13.5
func (*UserManagerClient) Create ¶ added in v0.13.5
func (_m *UserManagerClient) Create(ctx context.Context, in *charonrpc.CreateUserRequest, opts ...grpc.CallOption) (*charonrpc.CreateUserResponse, error)
Create provides a mock function with given fields: ctx, in, opts
func (*UserManagerClient) Delete ¶ added in v0.13.5
func (_m *UserManagerClient) Delete(ctx context.Context, in *charonrpc.DeleteUserRequest, opts ...grpc.CallOption) (*google_protobuf1.BoolValue, error)
Delete provides a mock function with given fields: ctx, in, opts
func (*UserManagerClient) Get ¶ added in v0.13.5
func (_m *UserManagerClient) Get(ctx context.Context, in *charonrpc.GetUserRequest, opts ...grpc.CallOption) (*charonrpc.GetUserResponse, error)
Get provides a mock function with given fields: ctx, in, opts
func (*UserManagerClient) List ¶ added in v0.13.5
func (_m *UserManagerClient) List(ctx context.Context, in *charonrpc.ListUsersRequest, opts ...grpc.CallOption) (*charonrpc.ListUsersResponse, error)
List provides a mock function with given fields: ctx, in, opts
func (*UserManagerClient) ListGroups ¶ added in v0.13.5
func (_m *UserManagerClient) ListGroups(ctx context.Context, in *charonrpc.ListUserGroupsRequest, opts ...grpc.CallOption) (*charonrpc.ListUserGroupsResponse, error)
ListGroups provides a mock function with given fields: ctx, in, opts
func (*UserManagerClient) ListPermissions ¶ added in v0.13.5
func (_m *UserManagerClient) ListPermissions(ctx context.Context, in *charonrpc.ListUserPermissionsRequest, opts ...grpc.CallOption) (*charonrpc.ListUserPermissionsResponse, error)
ListPermissions provides a mock function with given fields: ctx, in, opts
func (*UserManagerClient) Modify ¶ added in v0.13.5
func (_m *UserManagerClient) Modify(ctx context.Context, in *charonrpc.ModifyUserRequest, opts ...grpc.CallOption) (*charonrpc.ModifyUserResponse, error)
Modify provides a mock function with given fields: ctx, in, opts
func (*UserManagerClient) SetGroups ¶ added in v0.13.5
func (_m *UserManagerClient) SetGroups(ctx context.Context, in *charonrpc.SetUserGroupsRequest, opts ...grpc.CallOption) (*charonrpc.SetUserGroupsResponse, error)
SetGroups provides a mock function with given fields: ctx, in, opts
func (*UserManagerClient) SetPermissions ¶ added in v0.13.5
func (_m *UserManagerClient) SetPermissions(ctx context.Context, in *charonrpc.SetUserPermissionsRequest, opts ...grpc.CallOption) (*charonrpc.SetUserPermissionsResponse, error)
SetPermissions provides a mock function with given fields: ctx, in, opts