Versions in this module Expand all Collapse all v0 v0.0.1 Aug 31, 2021 Changes in this version + var File_api_rbac_proto protoreflect.FileDescriptor + var Organization_ServiceDesc = grpc.ServiceDesc + var Permission_ServiceDesc = grpc.ServiceDesc + var Resource_ServiceDesc = grpc.ServiceDesc + var Role_ServiceDesc = grpc.ServiceDesc + var Swagger []byte + var User_ServiceDesc = grpc.ServiceDesc + func RegisterOrganizationHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterOrganizationHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrganizationClient) error + func RegisterOrganizationHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterOrganizationHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrganizationServer) error + func RegisterOrganizationServer(s grpc.ServiceRegistrar, srv OrganizationServer) + func RegisterPermissionHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterPermissionHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PermissionClient) error + func RegisterPermissionHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterPermissionHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PermissionServer) error + func RegisterPermissionServer(s grpc.ServiceRegistrar, srv PermissionServer) + func RegisterResourceServer(s grpc.ServiceRegistrar, srv ResourceServer) + func RegisterRoleHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterRoleHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RoleClient) error + func RegisterRoleHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterRoleHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RoleServer) error + func RegisterRoleServer(s grpc.ServiceRegistrar, srv RoleServer) + func RegisterUserHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterUserHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserClient) error + func RegisterUserHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterUserHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServer) error + func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer) + type AuthzRequest struct + Method string + OrganizationName string + Uri string + UserKey string + func (*AuthzRequest) Descriptor() ([]byte, []int) + func (*AuthzRequest) ProtoMessage() + func (m *AuthzRequest) Validate() error + func (x *AuthzRequest) GetMethod() string + func (x *AuthzRequest) GetOrganizationName() string + func (x *AuthzRequest) GetUri() string + func (x *AuthzRequest) GetUserKey() string + func (x *AuthzRequest) ProtoReflect() protoreflect.Message + func (x *AuthzRequest) Reset() + func (x *AuthzRequest) String() string + type AuthzRequestValidationError struct + func (e AuthzRequestValidationError) Cause() error + func (e AuthzRequestValidationError) Error() string + func (e AuthzRequestValidationError) ErrorName() string + func (e AuthzRequestValidationError) Field() string + func (e AuthzRequestValidationError) Key() bool + func (e AuthzRequestValidationError) Reason() string + type OrganizationClient interface + Create func(ctx context.Context, in *OrganizationEntity, opts ...grpc.CallOption) (*OrganizationEntity, error) + Delete func(ctx context.Context, in *OrganizationKey, opts ...grpc.CallOption) (*emptypb.Empty, error) + FindAll func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*OrganizationEntities, error) + FindById func(ctx context.Context, in *OrganizationKey, opts ...grpc.CallOption) (*OrganizationEntity, error) + Update func(ctx context.Context, in *OrganizationUpdateEntity, opts ...grpc.CallOption) (*emptypb.Empty, error) + func NewOrganizationClient(cc grpc.ClientConnInterface) OrganizationClient + type OrganizationEntities struct + Organizations []*OrganizationEntity + func (*OrganizationEntities) Descriptor() ([]byte, []int) + func (*OrganizationEntities) ProtoMessage() + func (m *OrganizationEntities) Validate() error + func (x *OrganizationEntities) GetOrganizations() []*OrganizationEntity + func (x *OrganizationEntities) ProtoReflect() protoreflect.Message + func (x *OrganizationEntities) Reset() + func (x *OrganizationEntities) String() string + type OrganizationEntitiesValidationError struct + func (e OrganizationEntitiesValidationError) Cause() error + func (e OrganizationEntitiesValidationError) Error() string + func (e OrganizationEntitiesValidationError) ErrorName() string + func (e OrganizationEntitiesValidationError) Field() string + func (e OrganizationEntitiesValidationError) Key() bool + func (e OrganizationEntitiesValidationError) Reason() string + type OrganizationEntity struct + Description string + Id string + Name string + Users []*UserEntity + func (*OrganizationEntity) Descriptor() ([]byte, []int) + func (*OrganizationEntity) ProtoMessage() + func (m *OrganizationEntity) Validate() error + func (x *OrganizationEntity) GetDescription() string + func (x *OrganizationEntity) GetId() string + func (x *OrganizationEntity) GetName() string + func (x *OrganizationEntity) GetUsers() []*UserEntity + func (x *OrganizationEntity) ProtoReflect() protoreflect.Message + func (x *OrganizationEntity) Reset() + func (x *OrganizationEntity) String() string + type OrganizationEntityValidationError struct + func (e OrganizationEntityValidationError) Cause() error + func (e OrganizationEntityValidationError) Error() string + func (e OrganizationEntityValidationError) ErrorName() string + func (e OrganizationEntityValidationError) Field() string + func (e OrganizationEntityValidationError) Key() bool + func (e OrganizationEntityValidationError) Reason() string + type OrganizationKey struct + Id string + func (*OrganizationKey) Descriptor() ([]byte, []int) + func (*OrganizationKey) ProtoMessage() + func (m *OrganizationKey) Validate() error + func (x *OrganizationKey) GetId() string + func (x *OrganizationKey) ProtoReflect() protoreflect.Message + func (x *OrganizationKey) Reset() + func (x *OrganizationKey) String() string + type OrganizationKeyValidationError struct + func (e OrganizationKeyValidationError) Cause() error + func (e OrganizationKeyValidationError) Error() string + func (e OrganizationKeyValidationError) ErrorName() string + func (e OrganizationKeyValidationError) Field() string + func (e OrganizationKeyValidationError) Key() bool + func (e OrganizationKeyValidationError) Reason() string + type OrganizationServer interface + Create func(context.Context, *OrganizationEntity) (*OrganizationEntity, error) + Delete func(context.Context, *OrganizationKey) (*emptypb.Empty, error) + FindAll func(context.Context, *emptypb.Empty) (*OrganizationEntities, error) + FindById func(context.Context, *OrganizationKey) (*OrganizationEntity, error) + Update func(context.Context, *OrganizationUpdateEntity) (*emptypb.Empty, error) + type OrganizationUpdateEntity struct + Description string + Id string + Name string + func (*OrganizationUpdateEntity) Descriptor() ([]byte, []int) + func (*OrganizationUpdateEntity) ProtoMessage() + func (m *OrganizationUpdateEntity) Validate() error + func (x *OrganizationUpdateEntity) GetDescription() string + func (x *OrganizationUpdateEntity) GetId() string + func (x *OrganizationUpdateEntity) GetName() string + func (x *OrganizationUpdateEntity) ProtoReflect() protoreflect.Message + func (x *OrganizationUpdateEntity) Reset() + func (x *OrganizationUpdateEntity) String() string + type OrganizationUpdateEntityValidationError struct + func (e OrganizationUpdateEntityValidationError) Cause() error + func (e OrganizationUpdateEntityValidationError) Error() string + func (e OrganizationUpdateEntityValidationError) ErrorName() string + func (e OrganizationUpdateEntityValidationError) Field() string + func (e OrganizationUpdateEntityValidationError) Key() bool + func (e OrganizationUpdateEntityValidationError) Reason() string + type OrganizationUser struct + OrganizationDescription string + OrganizationId string + OrganizationName string + UserKey string + func (*OrganizationUser) Descriptor() ([]byte, []int) + func (*OrganizationUser) ProtoMessage() + func (m *OrganizationUser) Validate() error + func (x *OrganizationUser) GetOrganizationDescription() string + func (x *OrganizationUser) GetOrganizationId() string + func (x *OrganizationUser) GetOrganizationName() string + func (x *OrganizationUser) GetUserKey() string + func (x *OrganizationUser) ProtoReflect() protoreflect.Message + func (x *OrganizationUser) Reset() + func (x *OrganizationUser) String() string + type OrganizationUserValidationError struct + func (e OrganizationUserValidationError) Cause() error + func (e OrganizationUserValidationError) Error() string + func (e OrganizationUserValidationError) ErrorName() string + func (e OrganizationUserValidationError) Field() string + func (e OrganizationUserValidationError) Key() bool + func (e OrganizationUserValidationError) Reason() string + type PermissionCheckRequest struct + OrganizationName string + PermissionNames []string + UserKey string + func (*PermissionCheckRequest) Descriptor() ([]byte, []int) + func (*PermissionCheckRequest) ProtoMessage() + func (m *PermissionCheckRequest) Validate() error + func (x *PermissionCheckRequest) GetOrganizationName() string + func (x *PermissionCheckRequest) GetPermissionNames() []string + func (x *PermissionCheckRequest) GetUserKey() string + func (x *PermissionCheckRequest) ProtoReflect() protoreflect.Message + func (x *PermissionCheckRequest) Reset() + func (x *PermissionCheckRequest) String() string + type PermissionCheckRequestValidationError struct + func (e PermissionCheckRequestValidationError) Cause() error + func (e PermissionCheckRequestValidationError) Error() string + func (e PermissionCheckRequestValidationError) ErrorName() string + func (e PermissionCheckRequestValidationError) Field() string + func (e PermissionCheckRequestValidationError) Key() bool + func (e PermissionCheckRequestValidationError) Reason() string + type PermissionCheckResult struct + Message string + Result bool + func (*PermissionCheckResult) Descriptor() ([]byte, []int) + func (*PermissionCheckResult) ProtoMessage() + func (m *PermissionCheckResult) Validate() error + func (x *PermissionCheckResult) GetMessage() string + func (x *PermissionCheckResult) GetResult() bool + func (x *PermissionCheckResult) ProtoReflect() protoreflect.Message + func (x *PermissionCheckResult) Reset() + func (x *PermissionCheckResult) String() string + type PermissionCheckResultValidationError struct + func (e PermissionCheckResultValidationError) Cause() error + func (e PermissionCheckResultValidationError) Error() string + func (e PermissionCheckResultValidationError) ErrorName() string + func (e PermissionCheckResultValidationError) Field() string + func (e PermissionCheckResultValidationError) Key() bool + func (e PermissionCheckResultValidationError) Reason() string + type PermissionClient interface + Check func(ctx context.Context, in *PermissionCheckRequest, opts ...grpc.CallOption) (*PermissionCheckResult, error) + Create func(ctx context.Context, in *PermissionEntities, opts ...grpc.CallOption) (*PermissionEntities, error) + Delete func(ctx context.Context, in *PermissionKey, opts ...grpc.CallOption) (*emptypb.Empty, error) + FindAll func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PermissionEntities, error) + FindById func(ctx context.Context, in *PermissionKey, opts ...grpc.CallOption) (*PermissionEntity, error) + Update func(ctx context.Context, in *PermissionEntity, opts ...grpc.CallOption) (*emptypb.Empty, error) + func NewPermissionClient(cc grpc.ClientConnInterface) PermissionClient + type PermissionEntities struct + Permissions []*PermissionEntity + func (*PermissionEntities) Descriptor() ([]byte, []int) + func (*PermissionEntities) ProtoMessage() + func (m *PermissionEntities) Validate() error + func (x *PermissionEntities) GetPermissions() []*PermissionEntity + func (x *PermissionEntities) ProtoReflect() protoreflect.Message + func (x *PermissionEntities) Reset() + func (x *PermissionEntities) String() string + type PermissionEntitiesValidationError struct + func (e PermissionEntitiesValidationError) Cause() error + func (e PermissionEntitiesValidationError) Error() string + func (e PermissionEntitiesValidationError) ErrorName() string + func (e PermissionEntitiesValidationError) Field() string + func (e PermissionEntitiesValidationError) Key() bool + func (e PermissionEntitiesValidationError) Reason() string + type PermissionEntity struct + Description string + Id string + Name string + func (*PermissionEntity) Descriptor() ([]byte, []int) + func (*PermissionEntity) ProtoMessage() + func (m *PermissionEntity) Validate() error + func (x *PermissionEntity) GetDescription() string + func (x *PermissionEntity) GetId() string + func (x *PermissionEntity) GetName() string + func (x *PermissionEntity) ProtoReflect() protoreflect.Message + func (x *PermissionEntity) Reset() + func (x *PermissionEntity) String() string + type PermissionEntityValidationError struct + func (e PermissionEntityValidationError) Cause() error + func (e PermissionEntityValidationError) Error() string + func (e PermissionEntityValidationError) ErrorName() string + func (e PermissionEntityValidationError) Field() string + func (e PermissionEntityValidationError) Key() bool + func (e PermissionEntityValidationError) Reason() string + type PermissionKey struct + Id string + func (*PermissionKey) Descriptor() ([]byte, []int) + func (*PermissionKey) ProtoMessage() + func (m *PermissionKey) Validate() error + func (x *PermissionKey) GetId() string + func (x *PermissionKey) ProtoReflect() protoreflect.Message + func (x *PermissionKey) Reset() + func (x *PermissionKey) String() string + type PermissionKeyValidationError struct + func (e PermissionKeyValidationError) Cause() error + func (e PermissionKeyValidationError) Error() string + func (e PermissionKeyValidationError) ErrorName() string + func (e PermissionKeyValidationError) Field() string + func (e PermissionKeyValidationError) Key() bool + func (e PermissionKeyValidationError) Reason() string + type PermissionServer interface + Check func(context.Context, *PermissionCheckRequest) (*PermissionCheckResult, error) + Create func(context.Context, *PermissionEntities) (*PermissionEntities, error) + Delete func(context.Context, *PermissionKey) (*emptypb.Empty, error) + FindAll func(context.Context, *emptypb.Empty) (*PermissionEntities, error) + FindById func(context.Context, *PermissionKey) (*PermissionEntity, error) + Update func(context.Context, *PermissionEntity) (*emptypb.Empty, error) + type ResourceClient interface + Authz func(ctx context.Context, in *AuthzRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + Save func(ctx context.Context, in *SaveRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + func NewResourceClient(cc grpc.ClientConnInterface) ResourceClient + type ResourceServer interface + Authz func(context.Context, *AuthzRequest) (*emptypb.Empty, error) + Save func(context.Context, *SaveRequest) (*emptypb.Empty, error) + type RoleClient interface + AddPermissions func(ctx context.Context, in *RoleReleationPermissions, opts ...grpc.CallOption) (*emptypb.Empty, error) + Create func(ctx context.Context, in *RoleEntities, opts ...grpc.CallOption) (*RoleEntities, error) + Delete func(ctx context.Context, in *RoleKey, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeletePermission func(ctx context.Context, in *RoleReleationPermission, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeletePermissions func(ctx context.Context, in *RoleReleationPermissions, opts ...grpc.CallOption) (*emptypb.Empty, error) + FindAll func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RoleEntities, error) + FindById func(ctx context.Context, in *RoleKey, opts ...grpc.CallOption) (*RoleEntity, error) + GetPermissions func(ctx context.Context, in *RoleKey, opts ...grpc.CallOption) (*PermissionEntities, error) + Update func(ctx context.Context, in *RoleUpdateEntity, opts ...grpc.CallOption) (*emptypb.Empty, error) + func NewRoleClient(cc grpc.ClientConnInterface) RoleClient + type RoleEntities struct + Roles []*RoleEntity + func (*RoleEntities) Descriptor() ([]byte, []int) + func (*RoleEntities) ProtoMessage() + func (m *RoleEntities) Validate() error + func (x *RoleEntities) GetRoles() []*RoleEntity + func (x *RoleEntities) ProtoReflect() protoreflect.Message + func (x *RoleEntities) Reset() + func (x *RoleEntities) String() string + type RoleEntitiesValidationError struct + func (e RoleEntitiesValidationError) Cause() error + func (e RoleEntitiesValidationError) Error() string + func (e RoleEntitiesValidationError) ErrorName() string + func (e RoleEntitiesValidationError) Field() string + func (e RoleEntitiesValidationError) Key() bool + func (e RoleEntitiesValidationError) Reason() string + type RoleEntity struct + Description string + Id string + Name string + OrganizationUsers []*OrganizationUser + Permissions []*PermissionEntity + func (*RoleEntity) Descriptor() ([]byte, []int) + func (*RoleEntity) ProtoMessage() + func (m *RoleEntity) Validate() error + func (x *RoleEntity) GetDescription() string + func (x *RoleEntity) GetId() string + func (x *RoleEntity) GetName() string + func (x *RoleEntity) GetOrganizationUsers() []*OrganizationUser + func (x *RoleEntity) GetPermissions() []*PermissionEntity + func (x *RoleEntity) ProtoReflect() protoreflect.Message + func (x *RoleEntity) Reset() + func (x *RoleEntity) String() string + type RoleEntityValidationError struct + func (e RoleEntityValidationError) Cause() error + func (e RoleEntityValidationError) Error() string + func (e RoleEntityValidationError) ErrorName() string + func (e RoleEntityValidationError) Field() string + func (e RoleEntityValidationError) Key() bool + func (e RoleEntityValidationError) Reason() string + type RoleKey struct + Id string + func (*RoleKey) Descriptor() ([]byte, []int) + func (*RoleKey) ProtoMessage() + func (m *RoleKey) Validate() error + func (x *RoleKey) GetId() string + func (x *RoleKey) ProtoReflect() protoreflect.Message + func (x *RoleKey) Reset() + func (x *RoleKey) String() string + type RoleKeyValidationError struct + func (e RoleKeyValidationError) Cause() error + func (e RoleKeyValidationError) Error() string + func (e RoleKeyValidationError) ErrorName() string + func (e RoleKeyValidationError) Field() string + func (e RoleKeyValidationError) Key() bool + func (e RoleKeyValidationError) Reason() string + type RoleReleationPermission struct + Id string + PermissionId string + func (*RoleReleationPermission) Descriptor() ([]byte, []int) + func (*RoleReleationPermission) ProtoMessage() + func (m *RoleReleationPermission) Validate() error + func (x *RoleReleationPermission) GetId() string + func (x *RoleReleationPermission) GetPermissionId() string + func (x *RoleReleationPermission) ProtoReflect() protoreflect.Message + func (x *RoleReleationPermission) Reset() + func (x *RoleReleationPermission) String() string + type RoleReleationPermissionValidationError struct + func (e RoleReleationPermissionValidationError) Cause() error + func (e RoleReleationPermissionValidationError) Error() string + func (e RoleReleationPermissionValidationError) ErrorName() string + func (e RoleReleationPermissionValidationError) Field() string + func (e RoleReleationPermissionValidationError) Key() bool + func (e RoleReleationPermissionValidationError) Reason() string + type RoleReleationPermissions struct + Id string + Permissions []*PermissionKey + func (*RoleReleationPermissions) Descriptor() ([]byte, []int) + func (*RoleReleationPermissions) ProtoMessage() + func (m *RoleReleationPermissions) Validate() error + func (x *RoleReleationPermissions) GetId() string + func (x *RoleReleationPermissions) GetPermissions() []*PermissionKey + func (x *RoleReleationPermissions) ProtoReflect() protoreflect.Message + func (x *RoleReleationPermissions) Reset() + func (x *RoleReleationPermissions) String() string + type RoleReleationPermissionsValidationError struct + func (e RoleReleationPermissionsValidationError) Cause() error + func (e RoleReleationPermissionsValidationError) Error() string + func (e RoleReleationPermissionsValidationError) ErrorName() string + func (e RoleReleationPermissionsValidationError) Field() string + func (e RoleReleationPermissionsValidationError) Key() bool + func (e RoleReleationPermissionsValidationError) Reason() string + type RoleServer interface + AddPermissions func(context.Context, *RoleReleationPermissions) (*emptypb.Empty, error) + Create func(context.Context, *RoleEntities) (*RoleEntities, error) + Delete func(context.Context, *RoleKey) (*emptypb.Empty, error) + DeletePermission func(context.Context, *RoleReleationPermission) (*emptypb.Empty, error) + DeletePermissions func(context.Context, *RoleReleationPermissions) (*emptypb.Empty, error) + FindAll func(context.Context, *emptypb.Empty) (*RoleEntities, error) + FindById func(context.Context, *RoleKey) (*RoleEntity, error) + GetPermissions func(context.Context, *RoleKey) (*PermissionEntities, error) + Update func(context.Context, *RoleUpdateEntity) (*emptypb.Empty, error) + type RoleUpdateEntity struct + Description string + Id string + Name string + func (*RoleUpdateEntity) Descriptor() ([]byte, []int) + func (*RoleUpdateEntity) ProtoMessage() + func (m *RoleUpdateEntity) Validate() error + func (x *RoleUpdateEntity) GetDescription() string + func (x *RoleUpdateEntity) GetId() string + func (x *RoleUpdateEntity) GetName() string + func (x *RoleUpdateEntity) ProtoReflect() protoreflect.Message + func (x *RoleUpdateEntity) Reset() + func (x *RoleUpdateEntity) String() string + type RoleUpdateEntityValidationError struct + func (e RoleUpdateEntityValidationError) Cause() error + func (e RoleUpdateEntityValidationError) Error() string + func (e RoleUpdateEntityValidationError) ErrorName() string + func (e RoleUpdateEntityValidationError) Field() string + func (e RoleUpdateEntityValidationError) Key() bool + func (e RoleUpdateEntityValidationError) Reason() string + type SaveRequest struct + Method string + Permissions []string + Uri string + func (*SaveRequest) Descriptor() ([]byte, []int) + func (*SaveRequest) ProtoMessage() + func (m *SaveRequest) Validate() error + func (x *SaveRequest) GetMethod() string + func (x *SaveRequest) GetPermissions() []string + func (x *SaveRequest) GetUri() string + func (x *SaveRequest) ProtoReflect() protoreflect.Message + func (x *SaveRequest) Reset() + func (x *SaveRequest) String() string + type SaveRequestValidationError struct + func (e SaveRequestValidationError) Cause() error + func (e SaveRequestValidationError) Error() string + func (e SaveRequestValidationError) ErrorName() string + func (e SaveRequestValidationError) Field() string + func (e SaveRequestValidationError) Key() bool + func (e SaveRequestValidationError) Reason() string + type UnimplementedOrganizationServer struct + func (UnimplementedOrganizationServer) Create(context.Context, *OrganizationEntity) (*OrganizationEntity, error) + func (UnimplementedOrganizationServer) Delete(context.Context, *OrganizationKey) (*emptypb.Empty, error) + func (UnimplementedOrganizationServer) FindAll(context.Context, *emptypb.Empty) (*OrganizationEntities, error) + func (UnimplementedOrganizationServer) FindById(context.Context, *OrganizationKey) (*OrganizationEntity, error) + func (UnimplementedOrganizationServer) Update(context.Context, *OrganizationUpdateEntity) (*emptypb.Empty, error) + type UnimplementedPermissionServer struct + func (UnimplementedPermissionServer) Check(context.Context, *PermissionCheckRequest) (*PermissionCheckResult, error) + func (UnimplementedPermissionServer) Create(context.Context, *PermissionEntities) (*PermissionEntities, error) + func (UnimplementedPermissionServer) Delete(context.Context, *PermissionKey) (*emptypb.Empty, error) + func (UnimplementedPermissionServer) FindAll(context.Context, *emptypb.Empty) (*PermissionEntities, error) + func (UnimplementedPermissionServer) FindById(context.Context, *PermissionKey) (*PermissionEntity, error) + func (UnimplementedPermissionServer) Update(context.Context, *PermissionEntity) (*emptypb.Empty, error) + type UnimplementedResourceServer struct + func (UnimplementedResourceServer) Authz(context.Context, *AuthzRequest) (*emptypb.Empty, error) + func (UnimplementedResourceServer) Save(context.Context, *SaveRequest) (*emptypb.Empty, error) + type UnimplementedRoleServer struct + func (UnimplementedRoleServer) AddPermissions(context.Context, *RoleReleationPermissions) (*emptypb.Empty, error) + func (UnimplementedRoleServer) Create(context.Context, *RoleEntities) (*RoleEntities, error) + func (UnimplementedRoleServer) Delete(context.Context, *RoleKey) (*emptypb.Empty, error) + func (UnimplementedRoleServer) DeletePermission(context.Context, *RoleReleationPermission) (*emptypb.Empty, error) + func (UnimplementedRoleServer) DeletePermissions(context.Context, *RoleReleationPermissions) (*emptypb.Empty, error) + func (UnimplementedRoleServer) FindAll(context.Context, *emptypb.Empty) (*RoleEntities, error) + func (UnimplementedRoleServer) FindById(context.Context, *RoleKey) (*RoleEntity, error) + func (UnimplementedRoleServer) GetPermissions(context.Context, *RoleKey) (*PermissionEntities, error) + func (UnimplementedRoleServer) Update(context.Context, *RoleUpdateEntity) (*emptypb.Empty, error) + type UnimplementedUserServer struct + func (UnimplementedUserServer) AddRoles(context.Context, *UserRole) (*emptypb.Empty, error) + func (UnimplementedUserServer) Create(context.Context, *UserEntity) (*emptypb.Empty, error) + func (UnimplementedUserServer) Delete(context.Context, *UserKey) (*emptypb.Empty, error) + func (UnimplementedUserServer) DeleteRole(context.Context, *UserRoleDelete) (*emptypb.Empty, error) + func (UnimplementedUserServer) DeleteRoles(context.Context, *UserRole) (*emptypb.Empty, error) + func (UnimplementedUserServer) FindByKey(context.Context, *UserKey) (*UserEntity, error) + func (UnimplementedUserServer) FindByOrganizationNameAndUserKey(context.Context, *UserKeyByName) (*UserEntity, error) + type UnsafeOrganizationServer interface + type UnsafePermissionServer interface + type UnsafeResourceServer interface + type UnsafeRoleServer interface + type UnsafeUserServer interface + type UserClient interface + AddRoles func(ctx context.Context, in *UserRole, opts ...grpc.CallOption) (*emptypb.Empty, error) + Create func(ctx context.Context, in *UserEntity, opts ...grpc.CallOption) (*emptypb.Empty, error) + Delete func(ctx context.Context, in *UserKey, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteRole func(ctx context.Context, in *UserRoleDelete, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteRoles func(ctx context.Context, in *UserRole, opts ...grpc.CallOption) (*emptypb.Empty, error) + FindByKey func(ctx context.Context, in *UserKey, opts ...grpc.CallOption) (*UserEntity, error) + FindByOrganizationNameAndUserKey func(ctx context.Context, in *UserKeyByName, opts ...grpc.CallOption) (*UserEntity, error) + func NewUserClient(cc grpc.ClientConnInterface) UserClient + type UserEntity struct + Key string + OrganizationId string + Permissions []*PermissionEntity + Roles []*RoleEntity + func (*UserEntity) Descriptor() ([]byte, []int) + func (*UserEntity) ProtoMessage() + func (m *UserEntity) Validate() error + func (x *UserEntity) GetKey() string + func (x *UserEntity) GetOrganizationId() string + func (x *UserEntity) GetPermissions() []*PermissionEntity + func (x *UserEntity) GetRoles() []*RoleEntity + func (x *UserEntity) ProtoReflect() protoreflect.Message + func (x *UserEntity) Reset() + func (x *UserEntity) String() string + type UserEntityValidationError struct + func (e UserEntityValidationError) Cause() error + func (e UserEntityValidationError) Error() string + func (e UserEntityValidationError) ErrorName() string + func (e UserEntityValidationError) Field() string + func (e UserEntityValidationError) Key() bool + func (e UserEntityValidationError) Reason() string + type UserKey struct + Key string + OrganizationId string + func (*UserKey) Descriptor() ([]byte, []int) + func (*UserKey) ProtoMessage() + func (m *UserKey) Validate() error + func (x *UserKey) GetKey() string + func (x *UserKey) GetOrganizationId() string + func (x *UserKey) ProtoReflect() protoreflect.Message + func (x *UserKey) Reset() + func (x *UserKey) String() string + type UserKeyByName struct + Key string + OrganizationName string + func (*UserKeyByName) Descriptor() ([]byte, []int) + func (*UserKeyByName) ProtoMessage() + func (m *UserKeyByName) Validate() error + func (x *UserKeyByName) GetKey() string + func (x *UserKeyByName) GetOrganizationName() string + func (x *UserKeyByName) ProtoReflect() protoreflect.Message + func (x *UserKeyByName) Reset() + func (x *UserKeyByName) String() string + type UserKeyByNameValidationError struct + func (e UserKeyByNameValidationError) Cause() error + func (e UserKeyByNameValidationError) Error() string + func (e UserKeyByNameValidationError) ErrorName() string + func (e UserKeyByNameValidationError) Field() string + func (e UserKeyByNameValidationError) Key() bool + func (e UserKeyByNameValidationError) Reason() string + type UserKeyValidationError struct + func (e UserKeyValidationError) Cause() error + func (e UserKeyValidationError) Error() string + func (e UserKeyValidationError) ErrorName() string + func (e UserKeyValidationError) Field() string + func (e UserKeyValidationError) Key() bool + func (e UserKeyValidationError) Reason() string + type UserRole struct + Key string + OrganizationId string + Roles []*RoleKey + func (*UserRole) Descriptor() ([]byte, []int) + func (*UserRole) ProtoMessage() + func (m *UserRole) Validate() error + func (x *UserRole) GetKey() string + func (x *UserRole) GetOrganizationId() string + func (x *UserRole) GetRoles() []*RoleKey + func (x *UserRole) ProtoReflect() protoreflect.Message + func (x *UserRole) Reset() + func (x *UserRole) String() string + type UserRoleDelete struct + Key string + OrganizationId string + RoleId string + func (*UserRoleDelete) Descriptor() ([]byte, []int) + func (*UserRoleDelete) ProtoMessage() + func (m *UserRoleDelete) Validate() error + func (x *UserRoleDelete) GetKey() string + func (x *UserRoleDelete) GetOrganizationId() string + func (x *UserRoleDelete) GetRoleId() string + func (x *UserRoleDelete) ProtoReflect() protoreflect.Message + func (x *UserRoleDelete) Reset() + func (x *UserRoleDelete) String() string + type UserRoleDeleteValidationError struct + func (e UserRoleDeleteValidationError) Cause() error + func (e UserRoleDeleteValidationError) Error() string + func (e UserRoleDeleteValidationError) ErrorName() string + func (e UserRoleDeleteValidationError) Field() string + func (e UserRoleDeleteValidationError) Key() bool + func (e UserRoleDeleteValidationError) Reason() string + type UserRoleValidationError struct + func (e UserRoleValidationError) Cause() error + func (e UserRoleValidationError) Error() string + func (e UserRoleValidationError) ErrorName() string + func (e UserRoleValidationError) Field() string + func (e UserRoleValidationError) Key() bool + func (e UserRoleValidationError) Reason() string + type UserServer interface + AddRoles func(context.Context, *UserRole) (*emptypb.Empty, error) + Create func(context.Context, *UserEntity) (*emptypb.Empty, error) + Delete func(context.Context, *UserKey) (*emptypb.Empty, error) + DeleteRole func(context.Context, *UserRoleDelete) (*emptypb.Empty, error) + DeleteRoles func(context.Context, *UserRole) (*emptypb.Empty, error) + FindByKey func(context.Context, *UserKey) (*UserEntity, error) + FindByOrganizationNameAndUserKey func(context.Context, *UserKeyByName) (*UserEntity, error)