Versions in this module Expand all Collapse all v0 v0.0.4 Jul 9, 2022 Changes in this version + const OperationPermissionServiceAddSubjectPermission + const OperationPermissionServiceCheckCurrent + const OperationPermissionServiceGetCurrent + const OperationPermissionServiceListSubjectPermission + const OperationPermissionServiceRemoveSubjectPermission + const OperationPermissionServiceUpdateSubjectPermission + var Effect_name = map[int32]string + var Effect_value = map[string]int32 + var File_user_api_permission_v1_permission_proto protoreflect.FileDescriptor + var PermissionService_ServiceDesc = grpc.ServiceDesc + var PermissionSide_name = map[int32]string + var PermissionSide_value = map[string]int32 + func RegisterPermissionServiceHTTPServer(s *http.Server, srv PermissionServiceHTTPServer) + func RegisterPermissionServiceServer(s grpc.ServiceRegistrar, srv PermissionServiceServer) + type AddSubjectPermissionRequest struct + Action string + Effect Effect + Namespace string + Resource string + Subject string + TenantId string + func (*AddSubjectPermissionRequest) Descriptor() ([]byte, []int) + func (*AddSubjectPermissionRequest) ProtoMessage() + func (m *AddSubjectPermissionRequest) Validate() error + func (m *AddSubjectPermissionRequest) ValidateAll() error + func (x *AddSubjectPermissionRequest) GetAction() string + func (x *AddSubjectPermissionRequest) GetEffect() Effect + func (x *AddSubjectPermissionRequest) GetNamespace() string + func (x *AddSubjectPermissionRequest) GetResource() string + func (x *AddSubjectPermissionRequest) GetSubject() string + func (x *AddSubjectPermissionRequest) GetTenantId() string + func (x *AddSubjectPermissionRequest) ProtoReflect() protoreflect.Message + func (x *AddSubjectPermissionRequest) Reset() + func (x *AddSubjectPermissionRequest) String() string + type AddSubjectPermissionRequestMultiError []error + func (m AddSubjectPermissionRequestMultiError) AllErrors() []error + func (m AddSubjectPermissionRequestMultiError) Error() string + type AddSubjectPermissionRequestValidationError struct + func (e AddSubjectPermissionRequestValidationError) Cause() error + func (e AddSubjectPermissionRequestValidationError) Error() string + func (e AddSubjectPermissionRequestValidationError) ErrorName() string + func (e AddSubjectPermissionRequestValidationError) Field() string + func (e AddSubjectPermissionRequestValidationError) Key() bool + func (e AddSubjectPermissionRequestValidationError) Reason() string + type AddSubjectPermissionResponse struct + func (*AddSubjectPermissionResponse) Descriptor() ([]byte, []int) + func (*AddSubjectPermissionResponse) ProtoMessage() + func (m *AddSubjectPermissionResponse) Validate() error + func (m *AddSubjectPermissionResponse) ValidateAll() error + func (x *AddSubjectPermissionResponse) ProtoReflect() protoreflect.Message + func (x *AddSubjectPermissionResponse) Reset() + func (x *AddSubjectPermissionResponse) String() string + type AddSubjectPermissionResponseMultiError []error + func (m AddSubjectPermissionResponseMultiError) AllErrors() []error + func (m AddSubjectPermissionResponseMultiError) Error() string + type AddSubjectPermissionResponseValidationError struct + func (e AddSubjectPermissionResponseValidationError) Cause() error + func (e AddSubjectPermissionResponseValidationError) Error() string + func (e AddSubjectPermissionResponseValidationError) ErrorName() string + func (e AddSubjectPermissionResponseValidationError) Field() string + func (e AddSubjectPermissionResponseValidationError) Key() bool + func (e AddSubjectPermissionResponseValidationError) Reason() string + type CheckPermissionReply struct + Effect Effect + func (*CheckPermissionReply) Descriptor() ([]byte, []int) + func (*CheckPermissionReply) ProtoMessage() + func (m *CheckPermissionReply) Validate() error + func (m *CheckPermissionReply) ValidateAll() error + func (x *CheckPermissionReply) GetEffect() Effect + func (x *CheckPermissionReply) ProtoReflect() protoreflect.Message + func (x *CheckPermissionReply) Reset() + func (x *CheckPermissionReply) String() string + type CheckPermissionReplyMultiError []error + func (m CheckPermissionReplyMultiError) AllErrors() []error + func (m CheckPermissionReplyMultiError) Error() string + type CheckPermissionReplyValidationError struct + func (e CheckPermissionReplyValidationError) Cause() error + func (e CheckPermissionReplyValidationError) Error() string + func (e CheckPermissionReplyValidationError) ErrorName() string + func (e CheckPermissionReplyValidationError) Field() string + func (e CheckPermissionReplyValidationError) Key() bool + func (e CheckPermissionReplyValidationError) Reason() string + type CheckPermissionRequest struct + Action string + Namespace string + Resource string + func (*CheckPermissionRequest) Descriptor() ([]byte, []int) + func (*CheckPermissionRequest) ProtoMessage() + func (m *CheckPermissionRequest) Validate() error + func (m *CheckPermissionRequest) ValidateAll() error + func (x *CheckPermissionRequest) GetAction() string + func (x *CheckPermissionRequest) GetNamespace() string + func (x *CheckPermissionRequest) GetResource() string + func (x *CheckPermissionRequest) ProtoReflect() protoreflect.Message + func (x *CheckPermissionRequest) Reset() + func (x *CheckPermissionRequest) String() string + type CheckPermissionRequestMultiError []error + func (m CheckPermissionRequestMultiError) AllErrors() []error + func (m CheckPermissionRequestMultiError) Error() string + type CheckPermissionRequestValidationError struct + func (e CheckPermissionRequestValidationError) Cause() error + func (e CheckPermissionRequestValidationError) Error() string + func (e CheckPermissionRequestValidationError) ErrorName() string + func (e CheckPermissionRequestValidationError) Field() string + func (e CheckPermissionRequestValidationError) Key() bool + func (e CheckPermissionRequestValidationError) Reason() string + type CheckSubjectsPermissionReply struct + EffectList []Effect + func (*CheckSubjectsPermissionReply) Descriptor() ([]byte, []int) + func (*CheckSubjectsPermissionReply) ProtoMessage() + func (m *CheckSubjectsPermissionReply) Validate() error + func (m *CheckSubjectsPermissionReply) ValidateAll() error + func (x *CheckSubjectsPermissionReply) GetEffectList() []Effect + func (x *CheckSubjectsPermissionReply) ProtoReflect() protoreflect.Message + func (x *CheckSubjectsPermissionReply) Reset() + func (x *CheckSubjectsPermissionReply) String() string + type CheckSubjectsPermissionReplyMultiError []error + func (m CheckSubjectsPermissionReplyMultiError) AllErrors() []error + func (m CheckSubjectsPermissionReplyMultiError) Error() string + type CheckSubjectsPermissionReplyValidationError struct + func (e CheckSubjectsPermissionReplyValidationError) Cause() error + func (e CheckSubjectsPermissionReplyValidationError) Error() string + func (e CheckSubjectsPermissionReplyValidationError) ErrorName() string + func (e CheckSubjectsPermissionReplyValidationError) Field() string + func (e CheckSubjectsPermissionReplyValidationError) Key() bool + func (e CheckSubjectsPermissionReplyValidationError) Reason() string + type CheckSubjectsPermissionRequest struct + Requirements []*PermissionRequirement + Subjects []string + TenantId string + func (*CheckSubjectsPermissionRequest) Descriptor() ([]byte, []int) + func (*CheckSubjectsPermissionRequest) ProtoMessage() + func (m *CheckSubjectsPermissionRequest) Validate() error + func (m *CheckSubjectsPermissionRequest) ValidateAll() error + func (x *CheckSubjectsPermissionRequest) GetRequirements() []*PermissionRequirement + func (x *CheckSubjectsPermissionRequest) GetSubjects() []string + func (x *CheckSubjectsPermissionRequest) GetTenantId() string + func (x *CheckSubjectsPermissionRequest) ProtoReflect() protoreflect.Message + func (x *CheckSubjectsPermissionRequest) Reset() + func (x *CheckSubjectsPermissionRequest) String() string + type CheckSubjectsPermissionRequestMultiError []error + func (m CheckSubjectsPermissionRequestMultiError) AllErrors() []error + func (m CheckSubjectsPermissionRequestMultiError) Error() string + type CheckSubjectsPermissionRequestValidationError struct + func (e CheckSubjectsPermissionRequestValidationError) Cause() error + func (e CheckSubjectsPermissionRequestValidationError) Error() string + func (e CheckSubjectsPermissionRequestValidationError) ErrorName() string + func (e CheckSubjectsPermissionRequestValidationError) Field() string + func (e CheckSubjectsPermissionRequestValidationError) Key() bool + func (e CheckSubjectsPermissionRequestValidationError) Reason() string + type Effect int32 + const Effect_FORBIDDEN + const Effect_GRANT + const Effect_UNKNOWN + func (Effect) Descriptor() protoreflect.EnumDescriptor + func (Effect) EnumDescriptor() ([]byte, []int) + func (Effect) Type() protoreflect.EnumType + func (x Effect) Enum() *Effect + func (x Effect) Number() protoreflect.EnumNumber + func (x Effect) String() string + type GetCurrentPermissionReply struct + Acl []*Permission + func (*GetCurrentPermissionReply) Descriptor() ([]byte, []int) + func (*GetCurrentPermissionReply) ProtoMessage() + func (m *GetCurrentPermissionReply) Validate() error + func (m *GetCurrentPermissionReply) ValidateAll() error + func (x *GetCurrentPermissionReply) GetAcl() []*Permission + func (x *GetCurrentPermissionReply) ProtoReflect() protoreflect.Message + func (x *GetCurrentPermissionReply) Reset() + func (x *GetCurrentPermissionReply) String() string + type GetCurrentPermissionReplyMultiError []error + func (m GetCurrentPermissionReplyMultiError) AllErrors() []error + func (m GetCurrentPermissionReplyMultiError) Error() string + type GetCurrentPermissionReplyValidationError struct + func (e GetCurrentPermissionReplyValidationError) Cause() error + func (e GetCurrentPermissionReplyValidationError) Error() string + func (e GetCurrentPermissionReplyValidationError) ErrorName() string + func (e GetCurrentPermissionReplyValidationError) Field() string + func (e GetCurrentPermissionReplyValidationError) Key() bool + func (e GetCurrentPermissionReplyValidationError) Reason() string + type GetCurrentPermissionRequest struct + func (*GetCurrentPermissionRequest) Descriptor() ([]byte, []int) + func (*GetCurrentPermissionRequest) ProtoMessage() + func (m *GetCurrentPermissionRequest) Validate() error + func (m *GetCurrentPermissionRequest) ValidateAll() error + func (x *GetCurrentPermissionRequest) ProtoReflect() protoreflect.Message + func (x *GetCurrentPermissionRequest) Reset() + func (x *GetCurrentPermissionRequest) String() string + type GetCurrentPermissionRequestMultiError []error + func (m GetCurrentPermissionRequestMultiError) AllErrors() []error + func (m GetCurrentPermissionRequestMultiError) Error() string + type GetCurrentPermissionRequestValidationError struct + func (e GetCurrentPermissionRequestValidationError) Cause() error + func (e GetCurrentPermissionRequestValidationError) Error() string + func (e GetCurrentPermissionRequestValidationError) ErrorName() string + func (e GetCurrentPermissionRequestValidationError) Field() string + func (e GetCurrentPermissionRequestValidationError) Key() bool + func (e GetCurrentPermissionRequestValidationError) Reason() string + type ListSubjectPermissionRequest struct + Subjects []string + func (*ListSubjectPermissionRequest) Descriptor() ([]byte, []int) + func (*ListSubjectPermissionRequest) ProtoMessage() + func (m *ListSubjectPermissionRequest) Validate() error + func (m *ListSubjectPermissionRequest) ValidateAll() error + func (x *ListSubjectPermissionRequest) GetSubjects() []string + func (x *ListSubjectPermissionRequest) ProtoReflect() protoreflect.Message + func (x *ListSubjectPermissionRequest) Reset() + func (x *ListSubjectPermissionRequest) String() string + type ListSubjectPermissionRequestMultiError []error + func (m ListSubjectPermissionRequestMultiError) AllErrors() []error + func (m ListSubjectPermissionRequestMultiError) Error() string + type ListSubjectPermissionRequestValidationError struct + func (e ListSubjectPermissionRequestValidationError) Cause() error + func (e ListSubjectPermissionRequestValidationError) Error() string + func (e ListSubjectPermissionRequestValidationError) ErrorName() string + func (e ListSubjectPermissionRequestValidationError) Field() string + func (e ListSubjectPermissionRequestValidationError) Key() bool + func (e ListSubjectPermissionRequestValidationError) Reason() string + type ListSubjectPermissionResponse struct + Acl []*Permission + DefGroups []*PermissionDefGroup + func (*ListSubjectPermissionResponse) Descriptor() ([]byte, []int) + func (*ListSubjectPermissionResponse) ProtoMessage() + func (m *ListSubjectPermissionResponse) Validate() error + func (m *ListSubjectPermissionResponse) ValidateAll() error + func (x *ListSubjectPermissionResponse) GetAcl() []*Permission + func (x *ListSubjectPermissionResponse) GetDefGroups() []*PermissionDefGroup + func (x *ListSubjectPermissionResponse) ProtoReflect() protoreflect.Message + func (x *ListSubjectPermissionResponse) Reset() + func (x *ListSubjectPermissionResponse) String() string + type ListSubjectPermissionResponseMultiError []error + func (m ListSubjectPermissionResponseMultiError) AllErrors() []error + func (m ListSubjectPermissionResponseMultiError) Error() string + type ListSubjectPermissionResponseValidationError struct + func (e ListSubjectPermissionResponseValidationError) Cause() error + func (e ListSubjectPermissionResponseValidationError) Error() string + func (e ListSubjectPermissionResponseValidationError) ErrorName() string + func (e ListSubjectPermissionResponseValidationError) Field() string + func (e ListSubjectPermissionResponseValidationError) Key() bool + func (e ListSubjectPermissionResponseValidationError) Reason() string + type Permission struct + Action string + Effect Effect + Namespace string + Resource string + Subject string + TenantId string + func (*Permission) Descriptor() ([]byte, []int) + func (*Permission) ProtoMessage() + func (m *Permission) Validate() error + func (m *Permission) ValidateAll() error + func (x *Permission) GetAction() string + func (x *Permission) GetEffect() Effect + func (x *Permission) GetNamespace() string + func (x *Permission) GetResource() string + func (x *Permission) GetSubject() string + func (x *Permission) GetTenantId() string + func (x *Permission) ProtoReflect() protoreflect.Message + func (x *Permission) Reset() + func (x *Permission) String() string + type PermissionDef struct + Action string + DisplayName string + Extra *structpb.Struct + Granted bool + Namespace string + Side PermissionSide + func (*PermissionDef) Descriptor() ([]byte, []int) + func (*PermissionDef) ProtoMessage() + func (m *PermissionDef) Validate() error + func (m *PermissionDef) ValidateAll() error + func (x *PermissionDef) GetAction() string + func (x *PermissionDef) GetDisplayName() string + func (x *PermissionDef) GetExtra() *structpb.Struct + func (x *PermissionDef) GetGranted() bool + func (x *PermissionDef) GetNamespace() string + func (x *PermissionDef) GetSide() PermissionSide + func (x *PermissionDef) ProtoReflect() protoreflect.Message + func (x *PermissionDef) Reset() + func (x *PermissionDef) String() string + type PermissionDefGroup struct + Def []*PermissionDef + DisplayName string + Extra *structpb.Struct + Priority int32 + Side PermissionSide + func (*PermissionDefGroup) Descriptor() ([]byte, []int) + func (*PermissionDefGroup) ProtoMessage() + func (m *PermissionDefGroup) Validate() error + func (m *PermissionDefGroup) ValidateAll() error + func (x *PermissionDefGroup) GetDef() []*PermissionDef + func (x *PermissionDefGroup) GetDisplayName() string + func (x *PermissionDefGroup) GetExtra() *structpb.Struct + func (x *PermissionDefGroup) GetPriority() int32 + func (x *PermissionDefGroup) GetSide() PermissionSide + func (x *PermissionDefGroup) ProtoReflect() protoreflect.Message + func (x *PermissionDefGroup) Reset() + func (x *PermissionDefGroup) String() string + type PermissionDefGroupMultiError []error + func (m PermissionDefGroupMultiError) AllErrors() []error + func (m PermissionDefGroupMultiError) Error() string + type PermissionDefGroupValidationError struct + func (e PermissionDefGroupValidationError) Cause() error + func (e PermissionDefGroupValidationError) Error() string + func (e PermissionDefGroupValidationError) ErrorName() string + func (e PermissionDefGroupValidationError) Field() string + func (e PermissionDefGroupValidationError) Key() bool + func (e PermissionDefGroupValidationError) Reason() string + type PermissionDefMultiError []error + func (m PermissionDefMultiError) AllErrors() []error + func (m PermissionDefMultiError) Error() string + type PermissionDefValidationError struct + func (e PermissionDefValidationError) Cause() error + func (e PermissionDefValidationError) Error() string + func (e PermissionDefValidationError) ErrorName() string + func (e PermissionDefValidationError) Field() string + func (e PermissionDefValidationError) Key() bool + func (e PermissionDefValidationError) Reason() string + type PermissionMultiError []error + func (m PermissionMultiError) AllErrors() []error + func (m PermissionMultiError) Error() string + type PermissionRequirement struct + Action string + Namespace string + Resource string + func (*PermissionRequirement) Descriptor() ([]byte, []int) + func (*PermissionRequirement) ProtoMessage() + func (m *PermissionRequirement) Validate() error + func (m *PermissionRequirement) ValidateAll() error + func (x *PermissionRequirement) GetAction() string + func (x *PermissionRequirement) GetNamespace() string + func (x *PermissionRequirement) GetResource() string + func (x *PermissionRequirement) ProtoReflect() protoreflect.Message + func (x *PermissionRequirement) Reset() + func (x *PermissionRequirement) String() string + type PermissionRequirementMultiError []error + func (m PermissionRequirementMultiError) AllErrors() []error + func (m PermissionRequirementMultiError) Error() string + type PermissionRequirementValidationError struct + func (e PermissionRequirementValidationError) Cause() error + func (e PermissionRequirementValidationError) Error() string + func (e PermissionRequirementValidationError) ErrorName() string + func (e PermissionRequirementValidationError) Field() string + func (e PermissionRequirementValidationError) Key() bool + func (e PermissionRequirementValidationError) Reason() string + type PermissionServiceClient interface + AddSubjectPermission func(ctx context.Context, in *AddSubjectPermissionRequest, opts ...grpc.CallOption) (*AddSubjectPermissionResponse, error) + CheckCurrent func(ctx context.Context, in *CheckPermissionRequest, opts ...grpc.CallOption) (*CheckPermissionReply, error) + CheckForSubjects func(ctx context.Context, in *CheckSubjectsPermissionRequest, ...) (*CheckSubjectsPermissionReply, error) + GetCurrent func(ctx context.Context, in *GetCurrentPermissionRequest, opts ...grpc.CallOption) (*GetCurrentPermissionReply, error) + ListSubjectPermission func(ctx context.Context, in *ListSubjectPermissionRequest, opts ...grpc.CallOption) (*ListSubjectPermissionResponse, error) + RemoveSubjectPermission func(ctx context.Context, in *RemoveSubjectPermissionRequest, ...) (*RemoveSubjectPermissionReply, error) + UpdateSubjectPermission func(ctx context.Context, in *UpdateSubjectPermissionRequest, ...) (*UpdateSubjectPermissionResponse, error) + func NewPermissionServiceClient(cc grpc.ClientConnInterface) PermissionServiceClient + type PermissionServiceHTTPClient interface + AddSubjectPermission func(ctx context.Context, req *AddSubjectPermissionRequest, opts ...http.CallOption) (rsp *AddSubjectPermissionResponse, err error) + CheckCurrent func(ctx context.Context, req *CheckPermissionRequest, opts ...http.CallOption) (rsp *CheckPermissionReply, err error) + GetCurrent func(ctx context.Context, req *GetCurrentPermissionRequest, opts ...http.CallOption) (rsp *GetCurrentPermissionReply, err error) + ListSubjectPermission func(ctx context.Context, req *ListSubjectPermissionRequest, ...) (rsp *ListSubjectPermissionResponse, err error) + RemoveSubjectPermission func(ctx context.Context, req *RemoveSubjectPermissionRequest, ...) (rsp *RemoveSubjectPermissionReply, err error) + UpdateSubjectPermission func(ctx context.Context, req *UpdateSubjectPermissionRequest, ...) (rsp *UpdateSubjectPermissionResponse, err error) + func NewPermissionServiceHTTPClient(client *http.Client) PermissionServiceHTTPClient + type PermissionServiceHTTPClientImpl struct + func (c *PermissionServiceHTTPClientImpl) AddSubjectPermission(ctx context.Context, in *AddSubjectPermissionRequest, opts ...http.CallOption) (*AddSubjectPermissionResponse, error) + func (c *PermissionServiceHTTPClientImpl) CheckCurrent(ctx context.Context, in *CheckPermissionRequest, opts ...http.CallOption) (*CheckPermissionReply, error) + func (c *PermissionServiceHTTPClientImpl) GetCurrent(ctx context.Context, in *GetCurrentPermissionRequest, opts ...http.CallOption) (*GetCurrentPermissionReply, error) + func (c *PermissionServiceHTTPClientImpl) ListSubjectPermission(ctx context.Context, in *ListSubjectPermissionRequest, opts ...http.CallOption) (*ListSubjectPermissionResponse, error) + func (c *PermissionServiceHTTPClientImpl) RemoveSubjectPermission(ctx context.Context, in *RemoveSubjectPermissionRequest, ...) (*RemoveSubjectPermissionReply, error) + func (c *PermissionServiceHTTPClientImpl) UpdateSubjectPermission(ctx context.Context, in *UpdateSubjectPermissionRequest, ...) (*UpdateSubjectPermissionResponse, error) + type PermissionServiceHTTPServer interface + AddSubjectPermission func(context.Context, *AddSubjectPermissionRequest) (*AddSubjectPermissionResponse, error) + CheckCurrent func(context.Context, *CheckPermissionRequest) (*CheckPermissionReply, error) + GetCurrent func(context.Context, *GetCurrentPermissionRequest) (*GetCurrentPermissionReply, error) + ListSubjectPermission func(context.Context, *ListSubjectPermissionRequest) (*ListSubjectPermissionResponse, error) + RemoveSubjectPermission func(context.Context, *RemoveSubjectPermissionRequest) (*RemoveSubjectPermissionReply, error) + UpdateSubjectPermission func(context.Context, *UpdateSubjectPermissionRequest) (*UpdateSubjectPermissionResponse, error) + type PermissionServiceServer interface + AddSubjectPermission func(context.Context, *AddSubjectPermissionRequest) (*AddSubjectPermissionResponse, error) + CheckCurrent func(context.Context, *CheckPermissionRequest) (*CheckPermissionReply, error) + CheckForSubjects func(context.Context, *CheckSubjectsPermissionRequest) (*CheckSubjectsPermissionReply, error) + GetCurrent func(context.Context, *GetCurrentPermissionRequest) (*GetCurrentPermissionReply, error) + ListSubjectPermission func(context.Context, *ListSubjectPermissionRequest) (*ListSubjectPermissionResponse, error) + RemoveSubjectPermission func(context.Context, *RemoveSubjectPermissionRequest) (*RemoveSubjectPermissionReply, error) + UpdateSubjectPermission func(context.Context, *UpdateSubjectPermissionRequest) (*UpdateSubjectPermissionResponse, error) + func NewPermissionServiceClientProxy(cc PermissionServiceClient) PermissionServiceServer + type PermissionSide int32 + const PermissionSide_BOTH + const PermissionSide_HOST_ONLY + const PermissionSide_TENANT_ONLY + func (PermissionSide) Descriptor() protoreflect.EnumDescriptor + func (PermissionSide) EnumDescriptor() ([]byte, []int) + func (PermissionSide) Type() protoreflect.EnumType + func (x PermissionSide) Enum() *PermissionSide + func (x PermissionSide) Number() protoreflect.EnumNumber + func (x PermissionSide) String() string + type PermissionValidationError struct + func (e PermissionValidationError) Cause() error + func (e PermissionValidationError) Error() string + func (e PermissionValidationError) ErrorName() string + func (e PermissionValidationError) Field() string + func (e PermissionValidationError) Key() bool + func (e PermissionValidationError) Reason() string + type RemoveSubjectPermissionReply struct + func (*RemoveSubjectPermissionReply) Descriptor() ([]byte, []int) + func (*RemoveSubjectPermissionReply) ProtoMessage() + func (m *RemoveSubjectPermissionReply) Validate() error + func (m *RemoveSubjectPermissionReply) ValidateAll() error + func (x *RemoveSubjectPermissionReply) ProtoReflect() protoreflect.Message + func (x *RemoveSubjectPermissionReply) Reset() + func (x *RemoveSubjectPermissionReply) String() string + type RemoveSubjectPermissionReplyMultiError []error + func (m RemoveSubjectPermissionReplyMultiError) AllErrors() []error + func (m RemoveSubjectPermissionReplyMultiError) Error() string + type RemoveSubjectPermissionReplyValidationError struct + func (e RemoveSubjectPermissionReplyValidationError) Cause() error + func (e RemoveSubjectPermissionReplyValidationError) Error() string + func (e RemoveSubjectPermissionReplyValidationError) ErrorName() string + func (e RemoveSubjectPermissionReplyValidationError) Field() string + func (e RemoveSubjectPermissionReplyValidationError) Key() bool + func (e RemoveSubjectPermissionReplyValidationError) Reason() string + type RemoveSubjectPermissionRequest struct + Action *string + Effects []Effect + Namespace *string + Resource *string + Subject string + TenantId *string + func (*RemoveSubjectPermissionRequest) Descriptor() ([]byte, []int) + func (*RemoveSubjectPermissionRequest) ProtoMessage() + func (m *RemoveSubjectPermissionRequest) Validate() error + func (m *RemoveSubjectPermissionRequest) ValidateAll() error + func (x *RemoveSubjectPermissionRequest) GetAction() string + func (x *RemoveSubjectPermissionRequest) GetEffects() []Effect + func (x *RemoveSubjectPermissionRequest) GetNamespace() string + func (x *RemoveSubjectPermissionRequest) GetResource() string + func (x *RemoveSubjectPermissionRequest) GetSubject() string + func (x *RemoveSubjectPermissionRequest) GetTenantId() string + func (x *RemoveSubjectPermissionRequest) ProtoReflect() protoreflect.Message + func (x *RemoveSubjectPermissionRequest) Reset() + func (x *RemoveSubjectPermissionRequest) String() string + type RemoveSubjectPermissionRequestMultiError []error + func (m RemoveSubjectPermissionRequestMultiError) AllErrors() []error + func (m RemoveSubjectPermissionRequestMultiError) Error() string + type RemoveSubjectPermissionRequestValidationError struct + func (e RemoveSubjectPermissionRequestValidationError) Cause() error + func (e RemoveSubjectPermissionRequestValidationError) Error() string + func (e RemoveSubjectPermissionRequestValidationError) ErrorName() string + func (e RemoveSubjectPermissionRequestValidationError) Field() string + func (e RemoveSubjectPermissionRequestValidationError) Key() bool + func (e RemoveSubjectPermissionRequestValidationError) Reason() string + type UnimplementedPermissionServiceServer struct + func (UnimplementedPermissionServiceServer) AddSubjectPermission(context.Context, *AddSubjectPermissionRequest) (*AddSubjectPermissionResponse, error) + func (UnimplementedPermissionServiceServer) CheckCurrent(context.Context, *CheckPermissionRequest) (*CheckPermissionReply, error) + func (UnimplementedPermissionServiceServer) CheckForSubjects(context.Context, *CheckSubjectsPermissionRequest) (*CheckSubjectsPermissionReply, error) + func (UnimplementedPermissionServiceServer) GetCurrent(context.Context, *GetCurrentPermissionRequest) (*GetCurrentPermissionReply, error) + func (UnimplementedPermissionServiceServer) ListSubjectPermission(context.Context, *ListSubjectPermissionRequest) (*ListSubjectPermissionResponse, error) + func (UnimplementedPermissionServiceServer) RemoveSubjectPermission(context.Context, *RemoveSubjectPermissionRequest) (*RemoveSubjectPermissionReply, error) + func (UnimplementedPermissionServiceServer) UpdateSubjectPermission(context.Context, *UpdateSubjectPermissionRequest) (*UpdateSubjectPermissionResponse, error) + type UnsafePermissionServiceServer interface + type UpdateSubjectPermissionAcl struct + Action string + Effect Effect + Namespace string + Resource string + TenantId string + func (*UpdateSubjectPermissionAcl) Descriptor() ([]byte, []int) + func (*UpdateSubjectPermissionAcl) ProtoMessage() + func (m *UpdateSubjectPermissionAcl) Validate() error + func (m *UpdateSubjectPermissionAcl) ValidateAll() error + func (x *UpdateSubjectPermissionAcl) GetAction() string + func (x *UpdateSubjectPermissionAcl) GetEffect() Effect + func (x *UpdateSubjectPermissionAcl) GetNamespace() string + func (x *UpdateSubjectPermissionAcl) GetResource() string + func (x *UpdateSubjectPermissionAcl) GetTenantId() string + func (x *UpdateSubjectPermissionAcl) ProtoReflect() protoreflect.Message + func (x *UpdateSubjectPermissionAcl) Reset() + func (x *UpdateSubjectPermissionAcl) String() string + type UpdateSubjectPermissionAclMultiError []error + func (m UpdateSubjectPermissionAclMultiError) AllErrors() []error + func (m UpdateSubjectPermissionAclMultiError) Error() string + type UpdateSubjectPermissionAclValidationError struct + func (e UpdateSubjectPermissionAclValidationError) Cause() error + func (e UpdateSubjectPermissionAclValidationError) Error() string + func (e UpdateSubjectPermissionAclValidationError) ErrorName() string + func (e UpdateSubjectPermissionAclValidationError) Field() string + func (e UpdateSubjectPermissionAclValidationError) Key() bool + func (e UpdateSubjectPermissionAclValidationError) Reason() string + type UpdateSubjectPermissionRequest struct + Acl []*UpdateSubjectPermissionAcl + Subject string + func (*UpdateSubjectPermissionRequest) Descriptor() ([]byte, []int) + func (*UpdateSubjectPermissionRequest) ProtoMessage() + func (m *UpdateSubjectPermissionRequest) Validate() error + func (m *UpdateSubjectPermissionRequest) ValidateAll() error + func (x *UpdateSubjectPermissionRequest) GetAcl() []*UpdateSubjectPermissionAcl + func (x *UpdateSubjectPermissionRequest) GetSubject() string + func (x *UpdateSubjectPermissionRequest) ProtoReflect() protoreflect.Message + func (x *UpdateSubjectPermissionRequest) Reset() + func (x *UpdateSubjectPermissionRequest) String() string + type UpdateSubjectPermissionRequestMultiError []error + func (m UpdateSubjectPermissionRequestMultiError) AllErrors() []error + func (m UpdateSubjectPermissionRequestMultiError) Error() string + type UpdateSubjectPermissionRequestValidationError struct + func (e UpdateSubjectPermissionRequestValidationError) Cause() error + func (e UpdateSubjectPermissionRequestValidationError) Error() string + func (e UpdateSubjectPermissionRequestValidationError) ErrorName() string + func (e UpdateSubjectPermissionRequestValidationError) Field() string + func (e UpdateSubjectPermissionRequestValidationError) Key() bool + func (e UpdateSubjectPermissionRequestValidationError) Reason() string + type UpdateSubjectPermissionResponse struct + Acl []*Permission + func (*UpdateSubjectPermissionResponse) Descriptor() ([]byte, []int) + func (*UpdateSubjectPermissionResponse) ProtoMessage() + func (m *UpdateSubjectPermissionResponse) Validate() error + func (m *UpdateSubjectPermissionResponse) ValidateAll() error + func (x *UpdateSubjectPermissionResponse) GetAcl() []*Permission + func (x *UpdateSubjectPermissionResponse) ProtoReflect() protoreflect.Message + func (x *UpdateSubjectPermissionResponse) Reset() + func (x *UpdateSubjectPermissionResponse) String() string + type UpdateSubjectPermissionResponseMultiError []error + func (m UpdateSubjectPermissionResponseMultiError) AllErrors() []error + func (m UpdateSubjectPermissionResponseMultiError) Error() string + type UpdateSubjectPermissionResponseValidationError struct + func (e UpdateSubjectPermissionResponseValidationError) Cause() error + func (e UpdateSubjectPermissionResponseValidationError) Error() string + func (e UpdateSubjectPermissionResponseValidationError) ErrorName() string + func (e UpdateSubjectPermissionResponseValidationError) Field() string + func (e UpdateSubjectPermissionResponseValidationError) Key() bool + func (e UpdateSubjectPermissionResponseValidationError) Reason() string