Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterRectorServiceServer(s grpc.ServiceRegistrar, srv RectorServiceServer)
- type AttrsUpdate
- func (*AttrsUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *AttrsUpdate) GetToRemove() []*permissions.RoleAttribute
- func (x *AttrsUpdate) GetToUpdate() []*permissions.RoleAttribute
- func (*AttrsUpdate) ProtoMessage()
- func (x *AttrsUpdate) ProtoReflect() protoreflect.Message
- func (x *AttrsUpdate) Reset()
- func (x *AttrsUpdate) String() string
- func (m *AttrsUpdate) Validate() error
- func (m *AttrsUpdate) ValidateAll() error
- type AttrsUpdateMultiError
- type AttrsUpdateValidationError
- func (e AttrsUpdateValidationError) Cause() error
- func (e AttrsUpdateValidationError) Error() string
- func (e AttrsUpdateValidationError) ErrorName() string
- func (e AttrsUpdateValidationError) Field() string
- func (e AttrsUpdateValidationError) Key() bool
- func (e AttrsUpdateValidationError) Reason() string
- type CreateOrUpdateLawBookRequest
- func (*CreateOrUpdateLawBookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrUpdateLawBookRequest) GetLawBook() *laws.LawBook
- func (*CreateOrUpdateLawBookRequest) ProtoMessage()
- func (x *CreateOrUpdateLawBookRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrUpdateLawBookRequest) Reset()
- func (x *CreateOrUpdateLawBookRequest) String() string
- func (m *CreateOrUpdateLawBookRequest) Validate() error
- func (m *CreateOrUpdateLawBookRequest) ValidateAll() error
- type CreateOrUpdateLawBookRequestMultiError
- type CreateOrUpdateLawBookRequestValidationError
- func (e CreateOrUpdateLawBookRequestValidationError) Cause() error
- func (e CreateOrUpdateLawBookRequestValidationError) Error() string
- func (e CreateOrUpdateLawBookRequestValidationError) ErrorName() string
- func (e CreateOrUpdateLawBookRequestValidationError) Field() string
- func (e CreateOrUpdateLawBookRequestValidationError) Key() bool
- func (e CreateOrUpdateLawBookRequestValidationError) Reason() string
- type CreateOrUpdateLawBookResponse
- func (*CreateOrUpdateLawBookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrUpdateLawBookResponse) GetLawBook() *laws.LawBook
- func (*CreateOrUpdateLawBookResponse) ProtoMessage()
- func (x *CreateOrUpdateLawBookResponse) ProtoReflect() protoreflect.Message
- func (x *CreateOrUpdateLawBookResponse) Reset()
- func (x *CreateOrUpdateLawBookResponse) String() string
- func (m *CreateOrUpdateLawBookResponse) Validate() error
- func (m *CreateOrUpdateLawBookResponse) ValidateAll() error
- type CreateOrUpdateLawBookResponseMultiError
- type CreateOrUpdateLawBookResponseValidationError
- func (e CreateOrUpdateLawBookResponseValidationError) Cause() error
- func (e CreateOrUpdateLawBookResponseValidationError) Error() string
- func (e CreateOrUpdateLawBookResponseValidationError) ErrorName() string
- func (e CreateOrUpdateLawBookResponseValidationError) Field() string
- func (e CreateOrUpdateLawBookResponseValidationError) Key() bool
- func (e CreateOrUpdateLawBookResponseValidationError) Reason() string
- type CreateOrUpdateLawRequest
- func (*CreateOrUpdateLawRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrUpdateLawRequest) GetLaw() *laws.Law
- func (*CreateOrUpdateLawRequest) ProtoMessage()
- func (x *CreateOrUpdateLawRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrUpdateLawRequest) Reset()
- func (x *CreateOrUpdateLawRequest) String() string
- func (m *CreateOrUpdateLawRequest) Validate() error
- func (m *CreateOrUpdateLawRequest) ValidateAll() error
- type CreateOrUpdateLawRequestMultiError
- type CreateOrUpdateLawRequestValidationError
- func (e CreateOrUpdateLawRequestValidationError) Cause() error
- func (e CreateOrUpdateLawRequestValidationError) Error() string
- func (e CreateOrUpdateLawRequestValidationError) ErrorName() string
- func (e CreateOrUpdateLawRequestValidationError) Field() string
- func (e CreateOrUpdateLawRequestValidationError) Key() bool
- func (e CreateOrUpdateLawRequestValidationError) Reason() string
- type CreateOrUpdateLawResponse
- func (*CreateOrUpdateLawResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrUpdateLawResponse) GetLaw() *laws.Law
- func (*CreateOrUpdateLawResponse) ProtoMessage()
- func (x *CreateOrUpdateLawResponse) ProtoReflect() protoreflect.Message
- func (x *CreateOrUpdateLawResponse) Reset()
- func (x *CreateOrUpdateLawResponse) String() string
- func (m *CreateOrUpdateLawResponse) Validate() error
- func (m *CreateOrUpdateLawResponse) ValidateAll() error
- type CreateOrUpdateLawResponseMultiError
- type CreateOrUpdateLawResponseValidationError
- func (e CreateOrUpdateLawResponseValidationError) Cause() error
- func (e CreateOrUpdateLawResponseValidationError) Error() string
- func (e CreateOrUpdateLawResponseValidationError) ErrorName() string
- func (e CreateOrUpdateLawResponseValidationError) Field() string
- func (e CreateOrUpdateLawResponseValidationError) Key() bool
- func (e CreateOrUpdateLawResponseValidationError) Reason() string
- type CreateRoleRequest
- func (*CreateRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoleRequest) GetGrade() int32
- func (x *CreateRoleRequest) GetJob() string
- func (*CreateRoleRequest) ProtoMessage()
- func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRoleRequest) Reset()
- func (x *CreateRoleRequest) String() string
- func (m *CreateRoleRequest) Validate() error
- func (m *CreateRoleRequest) ValidateAll() error
- type CreateRoleRequestMultiError
- type CreateRoleRequestValidationError
- func (e CreateRoleRequestValidationError) Cause() error
- func (e CreateRoleRequestValidationError) Error() string
- func (e CreateRoleRequestValidationError) ErrorName() string
- func (e CreateRoleRequestValidationError) Field() string
- func (e CreateRoleRequestValidationError) Key() bool
- func (e CreateRoleRequestValidationError) Reason() string
- type CreateRoleResponse
- func (*CreateRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoleResponse) GetRole() *permissions.Role
- func (*CreateRoleResponse) ProtoMessage()
- func (x *CreateRoleResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRoleResponse) Reset()
- func (x *CreateRoleResponse) String() string
- func (m *CreateRoleResponse) Validate() error
- func (m *CreateRoleResponse) ValidateAll() error
- type CreateRoleResponseMultiError
- type CreateRoleResponseValidationError
- func (e CreateRoleResponseValidationError) Cause() error
- func (e CreateRoleResponseValidationError) Error() string
- func (e CreateRoleResponseValidationError) ErrorName() string
- func (e CreateRoleResponseValidationError) Field() string
- func (e CreateRoleResponseValidationError) Key() bool
- func (e CreateRoleResponseValidationError) Reason() string
- type DeleteLawBookRequest
- func (*DeleteLawBookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteLawBookRequest) GetId() uint64
- func (*DeleteLawBookRequest) ProtoMessage()
- func (x *DeleteLawBookRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteLawBookRequest) Reset()
- func (x *DeleteLawBookRequest) String() string
- func (m *DeleteLawBookRequest) Validate() error
- func (m *DeleteLawBookRequest) ValidateAll() error
- type DeleteLawBookRequestMultiError
- type DeleteLawBookRequestValidationError
- func (e DeleteLawBookRequestValidationError) Cause() error
- func (e DeleteLawBookRequestValidationError) Error() string
- func (e DeleteLawBookRequestValidationError) ErrorName() string
- func (e DeleteLawBookRequestValidationError) Field() string
- func (e DeleteLawBookRequestValidationError) Key() bool
- func (e DeleteLawBookRequestValidationError) Reason() string
- type DeleteLawBookResponse
- func (*DeleteLawBookResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteLawBookResponse) ProtoMessage()
- func (x *DeleteLawBookResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteLawBookResponse) Reset()
- func (x *DeleteLawBookResponse) String() string
- func (m *DeleteLawBookResponse) Validate() error
- func (m *DeleteLawBookResponse) ValidateAll() error
- type DeleteLawBookResponseMultiError
- type DeleteLawBookResponseValidationError
- func (e DeleteLawBookResponseValidationError) Cause() error
- func (e DeleteLawBookResponseValidationError) Error() string
- func (e DeleteLawBookResponseValidationError) ErrorName() string
- func (e DeleteLawBookResponseValidationError) Field() string
- func (e DeleteLawBookResponseValidationError) Key() bool
- func (e DeleteLawBookResponseValidationError) Reason() string
- type DeleteLawRequest
- func (*DeleteLawRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteLawRequest) GetId() uint64
- func (*DeleteLawRequest) ProtoMessage()
- func (x *DeleteLawRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteLawRequest) Reset()
- func (x *DeleteLawRequest) String() string
- func (m *DeleteLawRequest) Validate() error
- func (m *DeleteLawRequest) ValidateAll() error
- type DeleteLawRequestMultiError
- type DeleteLawRequestValidationError
- func (e DeleteLawRequestValidationError) Cause() error
- func (e DeleteLawRequestValidationError) Error() string
- func (e DeleteLawRequestValidationError) ErrorName() string
- func (e DeleteLawRequestValidationError) Field() string
- func (e DeleteLawRequestValidationError) Key() bool
- func (e DeleteLawRequestValidationError) Reason() string
- type DeleteLawResponse
- func (*DeleteLawResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteLawResponse) ProtoMessage()
- func (x *DeleteLawResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteLawResponse) Reset()
- func (x *DeleteLawResponse) String() string
- func (m *DeleteLawResponse) Validate() error
- func (m *DeleteLawResponse) ValidateAll() error
- type DeleteLawResponseMultiError
- type DeleteLawResponseValidationError
- func (e DeleteLawResponseValidationError) Cause() error
- func (e DeleteLawResponseValidationError) Error() string
- func (e DeleteLawResponseValidationError) ErrorName() string
- func (e DeleteLawResponseValidationError) Field() string
- func (e DeleteLawResponseValidationError) Key() bool
- func (e DeleteLawResponseValidationError) Reason() string
- type DeleteRoleRequest
- func (*DeleteRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRoleRequest) GetId() uint64
- func (*DeleteRoleRequest) ProtoMessage()
- func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRoleRequest) Reset()
- func (x *DeleteRoleRequest) String() string
- func (m *DeleteRoleRequest) Validate() error
- func (m *DeleteRoleRequest) ValidateAll() error
- type DeleteRoleRequestMultiError
- type DeleteRoleRequestValidationError
- func (e DeleteRoleRequestValidationError) Cause() error
- func (e DeleteRoleRequestValidationError) Error() string
- func (e DeleteRoleRequestValidationError) ErrorName() string
- func (e DeleteRoleRequestValidationError) Field() string
- func (e DeleteRoleRequestValidationError) Key() bool
- func (e DeleteRoleRequestValidationError) Reason() string
- type DeleteRoleResponse
- func (*DeleteRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteRoleResponse) ProtoMessage()
- func (x *DeleteRoleResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteRoleResponse) Reset()
- func (x *DeleteRoleResponse) String() string
- func (m *DeleteRoleResponse) Validate() error
- func (m *DeleteRoleResponse) ValidateAll() error
- type DeleteRoleResponseMultiError
- type DeleteRoleResponseValidationError
- func (e DeleteRoleResponseValidationError) Cause() error
- func (e DeleteRoleResponseValidationError) Error() string
- func (e DeleteRoleResponseValidationError) ErrorName() string
- func (e DeleteRoleResponseValidationError) Field() string
- func (e DeleteRoleResponseValidationError) Key() bool
- func (e DeleteRoleResponseValidationError) Reason() string
- type GetJobPropsRequest
- func (*GetJobPropsRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetJobPropsRequest) ProtoMessage()
- func (x *GetJobPropsRequest) ProtoReflect() protoreflect.Message
- func (x *GetJobPropsRequest) Reset()
- func (x *GetJobPropsRequest) String() string
- func (m *GetJobPropsRequest) Validate() error
- func (m *GetJobPropsRequest) ValidateAll() error
- type GetJobPropsRequestMultiError
- type GetJobPropsRequestValidationError
- func (e GetJobPropsRequestValidationError) Cause() error
- func (e GetJobPropsRequestValidationError) Error() string
- func (e GetJobPropsRequestValidationError) ErrorName() string
- func (e GetJobPropsRequestValidationError) Field() string
- func (e GetJobPropsRequestValidationError) Key() bool
- func (e GetJobPropsRequestValidationError) Reason() string
- type GetJobPropsResponse
- func (*GetJobPropsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetJobPropsResponse) GetJobProps() *users.JobProps
- func (*GetJobPropsResponse) ProtoMessage()
- func (x *GetJobPropsResponse) ProtoReflect() protoreflect.Message
- func (x *GetJobPropsResponse) Reset()
- func (x *GetJobPropsResponse) String() string
- func (m *GetJobPropsResponse) Validate() error
- func (m *GetJobPropsResponse) ValidateAll() error
- type GetJobPropsResponseMultiError
- type GetJobPropsResponseValidationError
- func (e GetJobPropsResponseValidationError) Cause() error
- func (e GetJobPropsResponseValidationError) Error() string
- func (e GetJobPropsResponseValidationError) ErrorName() string
- func (e GetJobPropsResponseValidationError) Field() string
- func (e GetJobPropsResponseValidationError) Key() bool
- func (e GetJobPropsResponseValidationError) Reason() string
- type GetPermissionsRequest
- func (*GetPermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPermissionsRequest) GetRoleId() uint64
- func (*GetPermissionsRequest) ProtoMessage()
- func (x *GetPermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetPermissionsRequest) Reset()
- func (x *GetPermissionsRequest) String() string
- func (m *GetPermissionsRequest) Validate() error
- func (m *GetPermissionsRequest) ValidateAll() error
- type GetPermissionsRequestMultiError
- type GetPermissionsRequestValidationError
- func (e GetPermissionsRequestValidationError) Cause() error
- func (e GetPermissionsRequestValidationError) Error() string
- func (e GetPermissionsRequestValidationError) ErrorName() string
- func (e GetPermissionsRequestValidationError) Field() string
- func (e GetPermissionsRequestValidationError) Key() bool
- func (e GetPermissionsRequestValidationError) Reason() string
- type GetPermissionsResponse
- func (*GetPermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPermissionsResponse) GetAttributes() []*permissions.RoleAttribute
- func (x *GetPermissionsResponse) GetPermissions() []*permissions.Permission
- func (*GetPermissionsResponse) ProtoMessage()
- func (x *GetPermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetPermissionsResponse) Reset()
- func (x *GetPermissionsResponse) String() string
- func (m *GetPermissionsResponse) Validate() error
- func (m *GetPermissionsResponse) ValidateAll() error
- type GetPermissionsResponseMultiError
- type GetPermissionsResponseValidationError
- func (e GetPermissionsResponseValidationError) Cause() error
- func (e GetPermissionsResponseValidationError) Error() string
- func (e GetPermissionsResponseValidationError) ErrorName() string
- func (e GetPermissionsResponseValidationError) Field() string
- func (e GetPermissionsResponseValidationError) Key() bool
- func (e GetPermissionsResponseValidationError) Reason() string
- type GetRoleRequest
- func (*GetRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoleRequest) GetId() uint64
- func (*GetRoleRequest) ProtoMessage()
- func (x *GetRoleRequest) ProtoReflect() protoreflect.Message
- func (x *GetRoleRequest) Reset()
- func (x *GetRoleRequest) String() string
- func (m *GetRoleRequest) Validate() error
- func (m *GetRoleRequest) ValidateAll() error
- type GetRoleRequestMultiError
- type GetRoleRequestValidationError
- func (e GetRoleRequestValidationError) Cause() error
- func (e GetRoleRequestValidationError) Error() string
- func (e GetRoleRequestValidationError) ErrorName() string
- func (e GetRoleRequestValidationError) Field() string
- func (e GetRoleRequestValidationError) Key() bool
- func (e GetRoleRequestValidationError) Reason() string
- type GetRoleResponse
- func (*GetRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoleResponse) GetRole() *permissions.Role
- func (*GetRoleResponse) ProtoMessage()
- func (x *GetRoleResponse) ProtoReflect() protoreflect.Message
- func (x *GetRoleResponse) Reset()
- func (x *GetRoleResponse) String() string
- func (m *GetRoleResponse) Validate() error
- func (m *GetRoleResponse) ValidateAll() error
- type GetRoleResponseMultiError
- type GetRoleResponseValidationError
- func (e GetRoleResponseValidationError) Cause() error
- func (e GetRoleResponseValidationError) Error() string
- func (e GetRoleResponseValidationError) ErrorName() string
- func (e GetRoleResponseValidationError) Field() string
- func (e GetRoleResponseValidationError) Key() bool
- func (e GetRoleResponseValidationError) Reason() string
- type GetRolesRequest
- func (*GetRolesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRolesRequest) GetLowestRank() bool
- func (*GetRolesRequest) ProtoMessage()
- func (x *GetRolesRequest) ProtoReflect() protoreflect.Message
- func (x *GetRolesRequest) Reset()
- func (x *GetRolesRequest) String() string
- func (m *GetRolesRequest) Validate() error
- func (m *GetRolesRequest) ValidateAll() error
- type GetRolesRequestMultiError
- type GetRolesRequestValidationError
- func (e GetRolesRequestValidationError) Cause() error
- func (e GetRolesRequestValidationError) Error() string
- func (e GetRolesRequestValidationError) ErrorName() string
- func (e GetRolesRequestValidationError) Field() string
- func (e GetRolesRequestValidationError) Key() bool
- func (e GetRolesRequestValidationError) Reason() string
- type GetRolesResponse
- func (*GetRolesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRolesResponse) GetRoles() []*permissions.Role
- func (*GetRolesResponse) ProtoMessage()
- func (x *GetRolesResponse) ProtoReflect() protoreflect.Message
- func (x *GetRolesResponse) Reset()
- func (x *GetRolesResponse) String() string
- func (m *GetRolesResponse) Validate() error
- func (m *GetRolesResponse) ValidateAll() error
- type GetRolesResponseMultiError
- type GetRolesResponseValidationError
- func (e GetRolesResponseValidationError) Cause() error
- func (e GetRolesResponseValidationError) Error() string
- func (e GetRolesResponseValidationError) ErrorName() string
- func (e GetRolesResponseValidationError) Field() string
- func (e GetRolesResponseValidationError) Key() bool
- func (e GetRolesResponseValidationError) Reason() string
- type PermItem
- func (*PermItem) Descriptor() ([]byte, []int)deprecated
- func (x *PermItem) GetId() uint64
- func (x *PermItem) GetVal() bool
- func (*PermItem) ProtoMessage()
- func (x *PermItem) ProtoReflect() protoreflect.Message
- func (x *PermItem) Reset()
- func (x *PermItem) String() string
- func (m *PermItem) Validate() error
- func (m *PermItem) ValidateAll() error
- type PermItemMultiError
- type PermItemValidationError
- type PermsUpdate
- func (*PermsUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *PermsUpdate) GetToRemove() []uint64
- func (x *PermsUpdate) GetToUpdate() []*PermItem
- func (*PermsUpdate) ProtoMessage()
- func (x *PermsUpdate) ProtoReflect() protoreflect.Message
- func (x *PermsUpdate) Reset()
- func (x *PermsUpdate) String() string
- func (m *PermsUpdate) Validate() error
- func (m *PermsUpdate) ValidateAll() error
- type PermsUpdateMultiError
- type PermsUpdateValidationError
- func (e PermsUpdateValidationError) Cause() error
- func (e PermsUpdateValidationError) Error() string
- func (e PermsUpdateValidationError) ErrorName() string
- func (e PermsUpdateValidationError) Field() string
- func (e PermsUpdateValidationError) Key() bool
- func (e PermsUpdateValidationError) Reason() string
- type RectorServiceClient
- type RectorServiceServer
- type Server
- func (s *Server) CreateOrUpdateLaw(ctx context.Context, req *CreateOrUpdateLawRequest) (*CreateOrUpdateLawResponse, error)
- func (s *Server) CreateOrUpdateLawBook(ctx context.Context, req *CreateOrUpdateLawBookRequest) (*CreateOrUpdateLawBookResponse, error)
- func (s *Server) CreateRole(ctx context.Context, req *CreateRoleRequest) (*CreateRoleResponse, error)
- func (s *Server) DeleteLaw(ctx context.Context, req *DeleteLawRequest) (*DeleteLawResponse, error)
- func (s *Server) DeleteLawBook(ctx context.Context, req *DeleteLawBookRequest) (*DeleteLawBookResponse, error)
- func (s *Server) DeleteRole(ctx context.Context, req *DeleteRoleRequest) (*DeleteRoleResponse, error)
- func (s *Server) GetJobProps(ctx context.Context, req *GetJobPropsRequest) (*GetJobPropsResponse, error)
- func (s *Server) GetPermissions(ctx context.Context, req *GetPermissionsRequest) (*GetPermissionsResponse, error)
- func (s *Server) GetPermsRemap() map[string]string
- func (s *Server) GetRole(ctx context.Context, req *GetRoleRequest) (*GetRoleResponse, error)
- func (s *Server) GetRoles(ctx context.Context, req *GetRolesRequest) (*GetRolesResponse, error)
- func (s *Server) RegisterServer(srv *grpc.Server)
- func (s *Server) SetJobProps(ctx context.Context, req *SetJobPropsRequest) (*SetJobPropsResponse, error)
- func (s *Server) UpdateRoleLimits(ctx context.Context, req *UpdateRoleLimitsRequest) (*UpdateRoleLimitsResponse, error)
- func (s *Server) UpdateRolePerms(ctx context.Context, req *UpdateRolePermsRequest) (*UpdateRolePermsResponse, error)
- func (s *Server) ViewAuditLog(ctx context.Context, req *ViewAuditLogRequest) (*ViewAuditLogResponse, error)
- type SetJobPropsRequest
- func (*SetJobPropsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetJobPropsRequest) GetJobProps() *users.JobProps
- func (*SetJobPropsRequest) ProtoMessage()
- func (x *SetJobPropsRequest) ProtoReflect() protoreflect.Message
- func (x *SetJobPropsRequest) Reset()
- func (x *SetJobPropsRequest) String() string
- func (m *SetJobPropsRequest) Validate() error
- func (m *SetJobPropsRequest) ValidateAll() error
- type SetJobPropsRequestMultiError
- type SetJobPropsRequestValidationError
- func (e SetJobPropsRequestValidationError) Cause() error
- func (e SetJobPropsRequestValidationError) Error() string
- func (e SetJobPropsRequestValidationError) ErrorName() string
- func (e SetJobPropsRequestValidationError) Field() string
- func (e SetJobPropsRequestValidationError) Key() bool
- func (e SetJobPropsRequestValidationError) Reason() string
- type SetJobPropsResponse
- func (*SetJobPropsResponse) Descriptor() ([]byte, []int)deprecated
- func (*SetJobPropsResponse) ProtoMessage()
- func (x *SetJobPropsResponse) ProtoReflect() protoreflect.Message
- func (x *SetJobPropsResponse) Reset()
- func (x *SetJobPropsResponse) String() string
- func (m *SetJobPropsResponse) Validate() error
- func (m *SetJobPropsResponse) ValidateAll() error
- type SetJobPropsResponseMultiError
- type SetJobPropsResponseValidationError
- func (e SetJobPropsResponseValidationError) Cause() error
- func (e SetJobPropsResponseValidationError) Error() string
- func (e SetJobPropsResponseValidationError) ErrorName() string
- func (e SetJobPropsResponseValidationError) Field() string
- func (e SetJobPropsResponseValidationError) Key() bool
- func (e SetJobPropsResponseValidationError) Reason() string
- type UnimplementedRectorServiceServer
- func (UnimplementedRectorServiceServer) CreateOrUpdateLaw(context.Context, *CreateOrUpdateLawRequest) (*CreateOrUpdateLawResponse, error)
- func (UnimplementedRectorServiceServer) CreateOrUpdateLawBook(context.Context, *CreateOrUpdateLawBookRequest) (*CreateOrUpdateLawBookResponse, error)
- func (UnimplementedRectorServiceServer) CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, error)
- func (UnimplementedRectorServiceServer) DeleteLaw(context.Context, *DeleteLawRequest) (*DeleteLawResponse, error)
- func (UnimplementedRectorServiceServer) DeleteLawBook(context.Context, *DeleteLawBookRequest) (*DeleteLawBookResponse, error)
- func (UnimplementedRectorServiceServer) DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleResponse, error)
- func (UnimplementedRectorServiceServer) GetJobProps(context.Context, *GetJobPropsRequest) (*GetJobPropsResponse, error)
- func (UnimplementedRectorServiceServer) GetPermissions(context.Context, *GetPermissionsRequest) (*GetPermissionsResponse, error)
- func (UnimplementedRectorServiceServer) GetRole(context.Context, *GetRoleRequest) (*GetRoleResponse, error)
- func (UnimplementedRectorServiceServer) GetRoles(context.Context, *GetRolesRequest) (*GetRolesResponse, error)
- func (UnimplementedRectorServiceServer) SetJobProps(context.Context, *SetJobPropsRequest) (*SetJobPropsResponse, error)
- func (UnimplementedRectorServiceServer) UpdateRoleLimits(context.Context, *UpdateRoleLimitsRequest) (*UpdateRoleLimitsResponse, error)
- func (UnimplementedRectorServiceServer) UpdateRolePerms(context.Context, *UpdateRolePermsRequest) (*UpdateRolePermsResponse, error)
- func (UnimplementedRectorServiceServer) ViewAuditLog(context.Context, *ViewAuditLogRequest) (*ViewAuditLogResponse, error)
- type UnsafeRectorServiceServer
- type UpdateRoleLimitsRequest
- func (*UpdateRoleLimitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoleLimitsRequest) GetAttrs() *AttrsUpdate
- func (x *UpdateRoleLimitsRequest) GetRoleId() uint64
- func (*UpdateRoleLimitsRequest) ProtoMessage()
- func (x *UpdateRoleLimitsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRoleLimitsRequest) Reset()
- func (x *UpdateRoleLimitsRequest) String() string
- func (m *UpdateRoleLimitsRequest) Validate() error
- func (m *UpdateRoleLimitsRequest) ValidateAll() error
- type UpdateRoleLimitsRequestMultiError
- type UpdateRoleLimitsRequestValidationError
- func (e UpdateRoleLimitsRequestValidationError) Cause() error
- func (e UpdateRoleLimitsRequestValidationError) Error() string
- func (e UpdateRoleLimitsRequestValidationError) ErrorName() string
- func (e UpdateRoleLimitsRequestValidationError) Field() string
- func (e UpdateRoleLimitsRequestValidationError) Key() bool
- func (e UpdateRoleLimitsRequestValidationError) Reason() string
- type UpdateRoleLimitsResponse
- func (*UpdateRoleLimitsResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateRoleLimitsResponse) ProtoMessage()
- func (x *UpdateRoleLimitsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRoleLimitsResponse) Reset()
- func (x *UpdateRoleLimitsResponse) String() string
- func (m *UpdateRoleLimitsResponse) Validate() error
- func (m *UpdateRoleLimitsResponse) ValidateAll() error
- type UpdateRoleLimitsResponseMultiError
- type UpdateRoleLimitsResponseValidationError
- func (e UpdateRoleLimitsResponseValidationError) Cause() error
- func (e UpdateRoleLimitsResponseValidationError) Error() string
- func (e UpdateRoleLimitsResponseValidationError) ErrorName() string
- func (e UpdateRoleLimitsResponseValidationError) Field() string
- func (e UpdateRoleLimitsResponseValidationError) Key() bool
- func (e UpdateRoleLimitsResponseValidationError) Reason() string
- type UpdateRolePermsRequest
- func (*UpdateRolePermsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRolePermsRequest) GetAttrs() *AttrsUpdate
- func (x *UpdateRolePermsRequest) GetId() uint64
- func (x *UpdateRolePermsRequest) GetPerms() *PermsUpdate
- func (*UpdateRolePermsRequest) ProtoMessage()
- func (x *UpdateRolePermsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRolePermsRequest) Reset()
- func (x *UpdateRolePermsRequest) String() string
- func (m *UpdateRolePermsRequest) Validate() error
- func (m *UpdateRolePermsRequest) ValidateAll() error
- type UpdateRolePermsRequestMultiError
- type UpdateRolePermsRequestValidationError
- func (e UpdateRolePermsRequestValidationError) Cause() error
- func (e UpdateRolePermsRequestValidationError) Error() string
- func (e UpdateRolePermsRequestValidationError) ErrorName() string
- func (e UpdateRolePermsRequestValidationError) Field() string
- func (e UpdateRolePermsRequestValidationError) Key() bool
- func (e UpdateRolePermsRequestValidationError) Reason() string
- type UpdateRolePermsResponse
- func (*UpdateRolePermsResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateRolePermsResponse) ProtoMessage()
- func (x *UpdateRolePermsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRolePermsResponse) Reset()
- func (x *UpdateRolePermsResponse) String() string
- func (m *UpdateRolePermsResponse) Validate() error
- func (m *UpdateRolePermsResponse) ValidateAll() error
- type UpdateRolePermsResponseMultiError
- type UpdateRolePermsResponseValidationError
- func (e UpdateRolePermsResponseValidationError) Cause() error
- func (e UpdateRolePermsResponseValidationError) Error() string
- func (e UpdateRolePermsResponseValidationError) ErrorName() string
- func (e UpdateRolePermsResponseValidationError) Field() string
- func (e UpdateRolePermsResponseValidationError) Key() bool
- func (e UpdateRolePermsResponseValidationError) Reason() string
- type ViewAuditLogRequest
- func (*ViewAuditLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ViewAuditLogRequest) GetFrom() *timestamp.Timestamp
- func (x *ViewAuditLogRequest) GetMethod() string
- func (x *ViewAuditLogRequest) GetPagination() *database.PaginationRequest
- func (x *ViewAuditLogRequest) GetSearch() string
- func (x *ViewAuditLogRequest) GetService() string
- func (x *ViewAuditLogRequest) GetTo() *timestamp.Timestamp
- func (x *ViewAuditLogRequest) GetUserIds() []int32
- func (*ViewAuditLogRequest) ProtoMessage()
- func (x *ViewAuditLogRequest) ProtoReflect() protoreflect.Message
- func (x *ViewAuditLogRequest) Reset()
- func (x *ViewAuditLogRequest) String() string
- func (m *ViewAuditLogRequest) Validate() error
- func (m *ViewAuditLogRequest) ValidateAll() error
- type ViewAuditLogRequestMultiError
- type ViewAuditLogRequestValidationError
- func (e ViewAuditLogRequestValidationError) Cause() error
- func (e ViewAuditLogRequestValidationError) Error() string
- func (e ViewAuditLogRequestValidationError) ErrorName() string
- func (e ViewAuditLogRequestValidationError) Field() string
- func (e ViewAuditLogRequestValidationError) Key() bool
- func (e ViewAuditLogRequestValidationError) Reason() string
- type ViewAuditLogResponse
- func (*ViewAuditLogResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ViewAuditLogResponse) GetLogs() []*rector.AuditEntry
- func (x *ViewAuditLogResponse) GetPagination() *database.PaginationResponse
- func (*ViewAuditLogResponse) ProtoMessage()
- func (x *ViewAuditLogResponse) ProtoReflect() protoreflect.Message
- func (x *ViewAuditLogResponse) Reset()
- func (x *ViewAuditLogResponse) String() string
- func (m *ViewAuditLogResponse) Validate() error
- func (m *ViewAuditLogResponse) ValidateAll() error
- type ViewAuditLogResponseMultiError
- type ViewAuditLogResponseValidationError
- func (e ViewAuditLogResponseValidationError) Cause() error
- func (e ViewAuditLogResponseValidationError) Error() string
- func (e ViewAuditLogResponseValidationError) ErrorName() string
- func (e ViewAuditLogResponseValidationError) Field() string
- func (e ViewAuditLogResponseValidationError) Key() bool
- func (e ViewAuditLogResponseValidationError) Reason() string
Constants ¶
const ( RectorServicePerm perms.Category = "RectorService" RectorServiceCreateRolePerm perms.Name = "CreateRole" RectorServiceDeleteRolePerm perms.Name = "DeleteRole" RectorServiceGetJobPropsPerm perms.Name = "GetJobProps" RectorServiceGetRolesPerm perms.Name = "GetRoles" RectorServiceSetJobPropsPerm perms.Name = "SetJobProps" RectorServiceUpdateRolePermsPerm perms.Name = "UpdateRolePerms" RectorServiceViewAuditLogPerm perms.Name = "ViewAuditLog" )
const ( RectorService_GetJobProps_FullMethodName = "/services.rector.RectorService/GetJobProps" RectorService_SetJobProps_FullMethodName = "/services.rector.RectorService/SetJobProps" RectorService_GetRoles_FullMethodName = "/services.rector.RectorService/GetRoles" RectorService_GetRole_FullMethodName = "/services.rector.RectorService/GetRole" RectorService_CreateRole_FullMethodName = "/services.rector.RectorService/CreateRole" RectorService_DeleteRole_FullMethodName = "/services.rector.RectorService/DeleteRole" RectorService_UpdateRolePerms_FullMethodName = "/services.rector.RectorService/UpdateRolePerms" RectorService_GetPermissions_FullMethodName = "/services.rector.RectorService/GetPermissions" RectorService_ViewAuditLog_FullMethodName = "/services.rector.RectorService/ViewAuditLog" RectorService_UpdateRoleLimits_FullMethodName = "/services.rector.RectorService/UpdateRoleLimits" RectorService_CreateOrUpdateLawBook_FullMethodName = "/services.rector.RectorService/CreateOrUpdateLawBook" RectorService_DeleteLawBook_FullMethodName = "/services.rector.RectorService/DeleteLawBook" RectorService_CreateOrUpdateLaw_FullMethodName = "/services.rector.RectorService/CreateOrUpdateLaw" RectorService_DeleteLaw_FullMethodName = "/services.rector.RectorService/DeleteLaw" )
const AuditLogPageSize = 30
Variables ¶
var ( ErrFailedQuery = status.Error(codes.Internal, "errors.RectorService.ErrFailedQuery") ErrInvalidRequest = status.Error(codes.InvalidArgument, "errors.RectorService.ErrInvalidRequest") ErrNoPermission = status.Error(codes.PermissionDenied, "errors.RectorService.ErrNoPermission") ErrRoleAlreadyExists = status.Error(codes.InvalidArgument, "errors.RectorService.ErrRoleAlreadyExists") ErrOwnRoleDeletion = status.Error(codes.InvalidArgument, "errors.RectorService.ErrOwnRoleDeletion") ErrInvalidAttrs = status.Error(codes.InvalidArgument, "errors.RectorService.ErrInvalidAttrs") ErrInvalidPerms = status.Error(codes.InvalidArgument, "errors.RectorService.ErrInvalidPerms") )
var (
ErrInvalidJPQuickButton = status.Error(codes.InvalidArgument, "Invalid quick access button found!")
)
var File_services_rector_rector_proto protoreflect.FileDescriptor
var PermsRemap = map[string]string{
"RectorService/CreateOrUpdateLaw": "SuperUser",
"RectorService/CreateOrUpdateLawBook": "SuperUser",
"RectorService/DeleteLaw": "SuperUser",
"RectorService/DeleteLawBook": "SuperUser",
"RectorService/GetPermissions": "RectorService/GetRoles",
"RectorService/GetRole": "RectorService/GetRoles",
"RectorService/UpdateRoleLimits": "SuperUser",
}
var RectorService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "services.rector.RectorService", HandlerType: (*RectorServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetJobProps", Handler: _RectorService_GetJobProps_Handler, }, { MethodName: "SetJobProps", Handler: _RectorService_SetJobProps_Handler, }, { MethodName: "GetRoles", Handler: _RectorService_GetRoles_Handler, }, { MethodName: "GetRole", Handler: _RectorService_GetRole_Handler, }, { MethodName: "CreateRole", Handler: _RectorService_CreateRole_Handler, }, { MethodName: "DeleteRole", Handler: _RectorService_DeleteRole_Handler, }, { MethodName: "UpdateRolePerms", Handler: _RectorService_UpdateRolePerms_Handler, }, { MethodName: "GetPermissions", Handler: _RectorService_GetPermissions_Handler, }, { MethodName: "ViewAuditLog", Handler: _RectorService_ViewAuditLog_Handler, }, { MethodName: "UpdateRoleLimits", Handler: _RectorService_UpdateRoleLimits_Handler, }, { MethodName: "CreateOrUpdateLawBook", Handler: _RectorService_CreateOrUpdateLawBook_Handler, }, { MethodName: "DeleteLawBook", Handler: _RectorService_DeleteLawBook_Handler, }, { MethodName: "CreateOrUpdateLaw", Handler: _RectorService_CreateOrUpdateLaw_Handler, }, { MethodName: "DeleteLaw", Handler: _RectorService_DeleteLaw_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "services/rector/rector.proto", }
RectorService_ServiceDesc is the grpc.ServiceDesc for RectorService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRectorServiceServer ¶
func RegisterRectorServiceServer(s grpc.ServiceRegistrar, srv RectorServiceServer)
Types ¶
type AttrsUpdate ¶
type AttrsUpdate struct { ToUpdate []*permissions.RoleAttribute `protobuf:"bytes,1,rep,name=to_update,json=toUpdate,proto3" json:"to_update,omitempty"` ToRemove []*permissions.RoleAttribute `protobuf:"bytes,2,rep,name=to_remove,json=toRemove,proto3" json:"to_remove,omitempty"` // contains filtered or unexported fields }
func (*AttrsUpdate) Descriptor
deprecated
func (*AttrsUpdate) Descriptor() ([]byte, []int)
Deprecated: Use AttrsUpdate.ProtoReflect.Descriptor instead.
func (*AttrsUpdate) GetToRemove ¶
func (x *AttrsUpdate) GetToRemove() []*permissions.RoleAttribute
func (*AttrsUpdate) GetToUpdate ¶
func (x *AttrsUpdate) GetToUpdate() []*permissions.RoleAttribute
func (*AttrsUpdate) ProtoMessage ¶
func (*AttrsUpdate) ProtoMessage()
func (*AttrsUpdate) ProtoReflect ¶
func (x *AttrsUpdate) ProtoReflect() protoreflect.Message
func (*AttrsUpdate) Reset ¶
func (x *AttrsUpdate) Reset()
func (*AttrsUpdate) String ¶
func (x *AttrsUpdate) String() string
func (*AttrsUpdate) Validate ¶
func (m *AttrsUpdate) Validate() error
Validate checks the field values on AttrsUpdate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AttrsUpdate) ValidateAll ¶
func (m *AttrsUpdate) ValidateAll() error
ValidateAll checks the field values on AttrsUpdate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AttrsUpdateMultiError, or nil if none found.
type AttrsUpdateMultiError ¶
type AttrsUpdateMultiError []error
AttrsUpdateMultiError is an error wrapping multiple validation errors returned by AttrsUpdate.ValidateAll() if the designated constraints aren't met.
func (AttrsUpdateMultiError) AllErrors ¶
func (m AttrsUpdateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AttrsUpdateMultiError) Error ¶
func (m AttrsUpdateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AttrsUpdateValidationError ¶
type AttrsUpdateValidationError struct {
// contains filtered or unexported fields
}
AttrsUpdateValidationError is the validation error returned by AttrsUpdate.Validate if the designated constraints aren't met.
func (AttrsUpdateValidationError) Cause ¶
func (e AttrsUpdateValidationError) Cause() error
Cause function returns cause value.
func (AttrsUpdateValidationError) Error ¶
func (e AttrsUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (AttrsUpdateValidationError) ErrorName ¶
func (e AttrsUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (AttrsUpdateValidationError) Field ¶
func (e AttrsUpdateValidationError) Field() string
Field function returns field value.
func (AttrsUpdateValidationError) Key ¶
func (e AttrsUpdateValidationError) Key() bool
Key function returns key value.
func (AttrsUpdateValidationError) Reason ¶
func (e AttrsUpdateValidationError) Reason() string
Reason function returns reason value.
type CreateOrUpdateLawBookRequest ¶ added in v0.8.6
type CreateOrUpdateLawBookRequest struct { LawBook *laws.LawBook `protobuf:"bytes,1,opt,name=lawBook,proto3" json:"lawBook,omitempty"` // contains filtered or unexported fields }
func (*CreateOrUpdateLawBookRequest) Descriptor
deprecated
added in
v0.8.6
func (*CreateOrUpdateLawBookRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrUpdateLawBookRequest.ProtoReflect.Descriptor instead.
func (*CreateOrUpdateLawBookRequest) GetLawBook ¶ added in v0.8.6
func (x *CreateOrUpdateLawBookRequest) GetLawBook() *laws.LawBook
func (*CreateOrUpdateLawBookRequest) ProtoMessage ¶ added in v0.8.6
func (*CreateOrUpdateLawBookRequest) ProtoMessage()
func (*CreateOrUpdateLawBookRequest) ProtoReflect ¶ added in v0.8.6
func (x *CreateOrUpdateLawBookRequest) ProtoReflect() protoreflect.Message
func (*CreateOrUpdateLawBookRequest) Reset ¶ added in v0.8.6
func (x *CreateOrUpdateLawBookRequest) Reset()
func (*CreateOrUpdateLawBookRequest) String ¶ added in v0.8.6
func (x *CreateOrUpdateLawBookRequest) String() string
func (*CreateOrUpdateLawBookRequest) Validate ¶ added in v0.8.6
func (m *CreateOrUpdateLawBookRequest) Validate() error
Validate checks the field values on CreateOrUpdateLawBookRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateOrUpdateLawBookRequest) ValidateAll ¶ added in v0.8.6
func (m *CreateOrUpdateLawBookRequest) ValidateAll() error
ValidateAll checks the field values on CreateOrUpdateLawBookRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateOrUpdateLawBookRequestMultiError, or nil if none found.
type CreateOrUpdateLawBookRequestMultiError ¶ added in v0.8.6
type CreateOrUpdateLawBookRequestMultiError []error
CreateOrUpdateLawBookRequestMultiError is an error wrapping multiple validation errors returned by CreateOrUpdateLawBookRequest.ValidateAll() if the designated constraints aren't met.
func (CreateOrUpdateLawBookRequestMultiError) AllErrors ¶ added in v0.8.6
func (m CreateOrUpdateLawBookRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateOrUpdateLawBookRequestMultiError) Error ¶ added in v0.8.6
func (m CreateOrUpdateLawBookRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateOrUpdateLawBookRequestValidationError ¶ added in v0.8.6
type CreateOrUpdateLawBookRequestValidationError struct {
// contains filtered or unexported fields
}
CreateOrUpdateLawBookRequestValidationError is the validation error returned by CreateOrUpdateLawBookRequest.Validate if the designated constraints aren't met.
func (CreateOrUpdateLawBookRequestValidationError) Cause ¶ added in v0.8.6
func (e CreateOrUpdateLawBookRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateOrUpdateLawBookRequestValidationError) Error ¶ added in v0.8.6
func (e CreateOrUpdateLawBookRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateOrUpdateLawBookRequestValidationError) ErrorName ¶ added in v0.8.6
func (e CreateOrUpdateLawBookRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateOrUpdateLawBookRequestValidationError) Field ¶ added in v0.8.6
func (e CreateOrUpdateLawBookRequestValidationError) Field() string
Field function returns field value.
func (CreateOrUpdateLawBookRequestValidationError) Key ¶ added in v0.8.6
func (e CreateOrUpdateLawBookRequestValidationError) Key() bool
Key function returns key value.
func (CreateOrUpdateLawBookRequestValidationError) Reason ¶ added in v0.8.6
func (e CreateOrUpdateLawBookRequestValidationError) Reason() string
Reason function returns reason value.
type CreateOrUpdateLawBookResponse ¶ added in v0.8.6
type CreateOrUpdateLawBookResponse struct { LawBook *laws.LawBook `protobuf:"bytes,1,opt,name=lawBook,proto3" json:"lawBook,omitempty"` // contains filtered or unexported fields }
func (*CreateOrUpdateLawBookResponse) Descriptor
deprecated
added in
v0.8.6
func (*CreateOrUpdateLawBookResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrUpdateLawBookResponse.ProtoReflect.Descriptor instead.
func (*CreateOrUpdateLawBookResponse) GetLawBook ¶ added in v0.8.6
func (x *CreateOrUpdateLawBookResponse) GetLawBook() *laws.LawBook
func (*CreateOrUpdateLawBookResponse) ProtoMessage ¶ added in v0.8.6
func (*CreateOrUpdateLawBookResponse) ProtoMessage()
func (*CreateOrUpdateLawBookResponse) ProtoReflect ¶ added in v0.8.6
func (x *CreateOrUpdateLawBookResponse) ProtoReflect() protoreflect.Message
func (*CreateOrUpdateLawBookResponse) Reset ¶ added in v0.8.6
func (x *CreateOrUpdateLawBookResponse) Reset()
func (*CreateOrUpdateLawBookResponse) String ¶ added in v0.8.6
func (x *CreateOrUpdateLawBookResponse) String() string
func (*CreateOrUpdateLawBookResponse) Validate ¶ added in v0.8.6
func (m *CreateOrUpdateLawBookResponse) Validate() error
Validate checks the field values on CreateOrUpdateLawBookResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateOrUpdateLawBookResponse) ValidateAll ¶ added in v0.8.6
func (m *CreateOrUpdateLawBookResponse) ValidateAll() error
ValidateAll checks the field values on CreateOrUpdateLawBookResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateOrUpdateLawBookResponseMultiError, or nil if none found.
type CreateOrUpdateLawBookResponseMultiError ¶ added in v0.8.6
type CreateOrUpdateLawBookResponseMultiError []error
CreateOrUpdateLawBookResponseMultiError is an error wrapping multiple validation errors returned by CreateOrUpdateLawBookResponse.ValidateAll() if the designated constraints aren't met.
func (CreateOrUpdateLawBookResponseMultiError) AllErrors ¶ added in v0.8.6
func (m CreateOrUpdateLawBookResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateOrUpdateLawBookResponseMultiError) Error ¶ added in v0.8.6
func (m CreateOrUpdateLawBookResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateOrUpdateLawBookResponseValidationError ¶ added in v0.8.6
type CreateOrUpdateLawBookResponseValidationError struct {
// contains filtered or unexported fields
}
CreateOrUpdateLawBookResponseValidationError is the validation error returned by CreateOrUpdateLawBookResponse.Validate if the designated constraints aren't met.
func (CreateOrUpdateLawBookResponseValidationError) Cause ¶ added in v0.8.6
func (e CreateOrUpdateLawBookResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateOrUpdateLawBookResponseValidationError) Error ¶ added in v0.8.6
func (e CreateOrUpdateLawBookResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateOrUpdateLawBookResponseValidationError) ErrorName ¶ added in v0.8.6
func (e CreateOrUpdateLawBookResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateOrUpdateLawBookResponseValidationError) Field ¶ added in v0.8.6
func (e CreateOrUpdateLawBookResponseValidationError) Field() string
Field function returns field value.
func (CreateOrUpdateLawBookResponseValidationError) Key ¶ added in v0.8.6
func (e CreateOrUpdateLawBookResponseValidationError) Key() bool
Key function returns key value.
func (CreateOrUpdateLawBookResponseValidationError) Reason ¶ added in v0.8.6
func (e CreateOrUpdateLawBookResponseValidationError) Reason() string
Reason function returns reason value.
type CreateOrUpdateLawRequest ¶ added in v0.8.6
type CreateOrUpdateLawRequest struct { Law *laws.Law `protobuf:"bytes,1,opt,name=law,proto3" json:"law,omitempty"` // contains filtered or unexported fields }
func (*CreateOrUpdateLawRequest) Descriptor
deprecated
added in
v0.8.6
func (*CreateOrUpdateLawRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrUpdateLawRequest.ProtoReflect.Descriptor instead.
func (*CreateOrUpdateLawRequest) GetLaw ¶ added in v0.8.6
func (x *CreateOrUpdateLawRequest) GetLaw() *laws.Law
func (*CreateOrUpdateLawRequest) ProtoMessage ¶ added in v0.8.6
func (*CreateOrUpdateLawRequest) ProtoMessage()
func (*CreateOrUpdateLawRequest) ProtoReflect ¶ added in v0.8.6
func (x *CreateOrUpdateLawRequest) ProtoReflect() protoreflect.Message
func (*CreateOrUpdateLawRequest) Reset ¶ added in v0.8.6
func (x *CreateOrUpdateLawRequest) Reset()
func (*CreateOrUpdateLawRequest) String ¶ added in v0.8.6
func (x *CreateOrUpdateLawRequest) String() string
func (*CreateOrUpdateLawRequest) Validate ¶ added in v0.8.6
func (m *CreateOrUpdateLawRequest) Validate() error
Validate checks the field values on CreateOrUpdateLawRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateOrUpdateLawRequest) ValidateAll ¶ added in v0.8.6
func (m *CreateOrUpdateLawRequest) ValidateAll() error
ValidateAll checks the field values on CreateOrUpdateLawRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateOrUpdateLawRequestMultiError, or nil if none found.
type CreateOrUpdateLawRequestMultiError ¶ added in v0.8.6
type CreateOrUpdateLawRequestMultiError []error
CreateOrUpdateLawRequestMultiError is an error wrapping multiple validation errors returned by CreateOrUpdateLawRequest.ValidateAll() if the designated constraints aren't met.
func (CreateOrUpdateLawRequestMultiError) AllErrors ¶ added in v0.8.6
func (m CreateOrUpdateLawRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateOrUpdateLawRequestMultiError) Error ¶ added in v0.8.6
func (m CreateOrUpdateLawRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateOrUpdateLawRequestValidationError ¶ added in v0.8.6
type CreateOrUpdateLawRequestValidationError struct {
// contains filtered or unexported fields
}
CreateOrUpdateLawRequestValidationError is the validation error returned by CreateOrUpdateLawRequest.Validate if the designated constraints aren't met.
func (CreateOrUpdateLawRequestValidationError) Cause ¶ added in v0.8.6
func (e CreateOrUpdateLawRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateOrUpdateLawRequestValidationError) Error ¶ added in v0.8.6
func (e CreateOrUpdateLawRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateOrUpdateLawRequestValidationError) ErrorName ¶ added in v0.8.6
func (e CreateOrUpdateLawRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateOrUpdateLawRequestValidationError) Field ¶ added in v0.8.6
func (e CreateOrUpdateLawRequestValidationError) Field() string
Field function returns field value.
func (CreateOrUpdateLawRequestValidationError) Key ¶ added in v0.8.6
func (e CreateOrUpdateLawRequestValidationError) Key() bool
Key function returns key value.
func (CreateOrUpdateLawRequestValidationError) Reason ¶ added in v0.8.6
func (e CreateOrUpdateLawRequestValidationError) Reason() string
Reason function returns reason value.
type CreateOrUpdateLawResponse ¶ added in v0.8.6
type CreateOrUpdateLawResponse struct { Law *laws.Law `protobuf:"bytes,1,opt,name=law,proto3" json:"law,omitempty"` // contains filtered or unexported fields }
func (*CreateOrUpdateLawResponse) Descriptor
deprecated
added in
v0.8.6
func (*CreateOrUpdateLawResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrUpdateLawResponse.ProtoReflect.Descriptor instead.
func (*CreateOrUpdateLawResponse) GetLaw ¶ added in v0.8.6
func (x *CreateOrUpdateLawResponse) GetLaw() *laws.Law
func (*CreateOrUpdateLawResponse) ProtoMessage ¶ added in v0.8.6
func (*CreateOrUpdateLawResponse) ProtoMessage()
func (*CreateOrUpdateLawResponse) ProtoReflect ¶ added in v0.8.6
func (x *CreateOrUpdateLawResponse) ProtoReflect() protoreflect.Message
func (*CreateOrUpdateLawResponse) Reset ¶ added in v0.8.6
func (x *CreateOrUpdateLawResponse) Reset()
func (*CreateOrUpdateLawResponse) String ¶ added in v0.8.6
func (x *CreateOrUpdateLawResponse) String() string
func (*CreateOrUpdateLawResponse) Validate ¶ added in v0.8.6
func (m *CreateOrUpdateLawResponse) Validate() error
Validate checks the field values on CreateOrUpdateLawResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateOrUpdateLawResponse) ValidateAll ¶ added in v0.8.6
func (m *CreateOrUpdateLawResponse) ValidateAll() error
ValidateAll checks the field values on CreateOrUpdateLawResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateOrUpdateLawResponseMultiError, or nil if none found.
type CreateOrUpdateLawResponseMultiError ¶ added in v0.8.6
type CreateOrUpdateLawResponseMultiError []error
CreateOrUpdateLawResponseMultiError is an error wrapping multiple validation errors returned by CreateOrUpdateLawResponse.ValidateAll() if the designated constraints aren't met.
func (CreateOrUpdateLawResponseMultiError) AllErrors ¶ added in v0.8.6
func (m CreateOrUpdateLawResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateOrUpdateLawResponseMultiError) Error ¶ added in v0.8.6
func (m CreateOrUpdateLawResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateOrUpdateLawResponseValidationError ¶ added in v0.8.6
type CreateOrUpdateLawResponseValidationError struct {
// contains filtered or unexported fields
}
CreateOrUpdateLawResponseValidationError is the validation error returned by CreateOrUpdateLawResponse.Validate if the designated constraints aren't met.
func (CreateOrUpdateLawResponseValidationError) Cause ¶ added in v0.8.6
func (e CreateOrUpdateLawResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateOrUpdateLawResponseValidationError) Error ¶ added in v0.8.6
func (e CreateOrUpdateLawResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateOrUpdateLawResponseValidationError) ErrorName ¶ added in v0.8.6
func (e CreateOrUpdateLawResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateOrUpdateLawResponseValidationError) Field ¶ added in v0.8.6
func (e CreateOrUpdateLawResponseValidationError) Field() string
Field function returns field value.
func (CreateOrUpdateLawResponseValidationError) Key ¶ added in v0.8.6
func (e CreateOrUpdateLawResponseValidationError) Key() bool
Key function returns key value.
func (CreateOrUpdateLawResponseValidationError) Reason ¶ added in v0.8.6
func (e CreateOrUpdateLawResponseValidationError) Reason() string
Reason function returns reason value.
type CreateRoleRequest ¶
type CreateRoleRequest struct { Job string `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` Grade int32 `protobuf:"varint,2,opt,name=grade,proto3" json:"grade,omitempty"` // contains filtered or unexported fields }
func (*CreateRoleRequest) Descriptor
deprecated
func (*CreateRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleRequest.ProtoReflect.Descriptor instead.
func (*CreateRoleRequest) GetGrade ¶
func (x *CreateRoleRequest) GetGrade() int32
func (*CreateRoleRequest) GetJob ¶
func (x *CreateRoleRequest) GetJob() string
func (*CreateRoleRequest) ProtoMessage ¶
func (*CreateRoleRequest) ProtoMessage()
func (*CreateRoleRequest) ProtoReflect ¶
func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message
func (*CreateRoleRequest) Reset ¶
func (x *CreateRoleRequest) Reset()
func (*CreateRoleRequest) String ¶
func (x *CreateRoleRequest) String() string
func (*CreateRoleRequest) Validate ¶
func (m *CreateRoleRequest) Validate() error
Validate checks the field values on CreateRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateRoleRequest) ValidateAll ¶
func (m *CreateRoleRequest) ValidateAll() error
ValidateAll checks the field values on CreateRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateRoleRequestMultiError, or nil if none found.
type CreateRoleRequestMultiError ¶
type CreateRoleRequestMultiError []error
CreateRoleRequestMultiError is an error wrapping multiple validation errors returned by CreateRoleRequest.ValidateAll() if the designated constraints aren't met.
func (CreateRoleRequestMultiError) AllErrors ¶
func (m CreateRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRoleRequestMultiError) Error ¶
func (m CreateRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateRoleRequestValidationError ¶
type CreateRoleRequestValidationError struct {
// contains filtered or unexported fields
}
CreateRoleRequestValidationError is the validation error returned by CreateRoleRequest.Validate if the designated constraints aren't met.
func (CreateRoleRequestValidationError) Cause ¶
func (e CreateRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateRoleRequestValidationError) Error ¶
func (e CreateRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRoleRequestValidationError) ErrorName ¶
func (e CreateRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRoleRequestValidationError) Field ¶
func (e CreateRoleRequestValidationError) Field() string
Field function returns field value.
func (CreateRoleRequestValidationError) Key ¶
func (e CreateRoleRequestValidationError) Key() bool
Key function returns key value.
func (CreateRoleRequestValidationError) Reason ¶
func (e CreateRoleRequestValidationError) Reason() string
Reason function returns reason value.
type CreateRoleResponse ¶
type CreateRoleResponse struct { Role *permissions.Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*CreateRoleResponse) Descriptor
deprecated
func (*CreateRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleResponse.ProtoReflect.Descriptor instead.
func (*CreateRoleResponse) GetRole ¶
func (x *CreateRoleResponse) GetRole() *permissions.Role
func (*CreateRoleResponse) ProtoMessage ¶
func (*CreateRoleResponse) ProtoMessage()
func (*CreateRoleResponse) ProtoReflect ¶
func (x *CreateRoleResponse) ProtoReflect() protoreflect.Message
func (*CreateRoleResponse) Reset ¶
func (x *CreateRoleResponse) Reset()
func (*CreateRoleResponse) String ¶
func (x *CreateRoleResponse) String() string
func (*CreateRoleResponse) Validate ¶
func (m *CreateRoleResponse) Validate() error
Validate checks the field values on CreateRoleResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateRoleResponse) ValidateAll ¶
func (m *CreateRoleResponse) ValidateAll() error
ValidateAll checks the field values on CreateRoleResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateRoleResponseMultiError, or nil if none found.
type CreateRoleResponseMultiError ¶
type CreateRoleResponseMultiError []error
CreateRoleResponseMultiError is an error wrapping multiple validation errors returned by CreateRoleResponse.ValidateAll() if the designated constraints aren't met.
func (CreateRoleResponseMultiError) AllErrors ¶
func (m CreateRoleResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRoleResponseMultiError) Error ¶
func (m CreateRoleResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateRoleResponseValidationError ¶
type CreateRoleResponseValidationError struct {
// contains filtered or unexported fields
}
CreateRoleResponseValidationError is the validation error returned by CreateRoleResponse.Validate if the designated constraints aren't met.
func (CreateRoleResponseValidationError) Cause ¶
func (e CreateRoleResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateRoleResponseValidationError) Error ¶
func (e CreateRoleResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRoleResponseValidationError) ErrorName ¶
func (e CreateRoleResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRoleResponseValidationError) Field ¶
func (e CreateRoleResponseValidationError) Field() string
Field function returns field value.
func (CreateRoleResponseValidationError) Key ¶
func (e CreateRoleResponseValidationError) Key() bool
Key function returns key value.
func (CreateRoleResponseValidationError) Reason ¶
func (e CreateRoleResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteLawBookRequest ¶ added in v0.8.1
type DeleteLawBookRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteLawBookRequest) Descriptor
deprecated
added in
v0.8.1
func (*DeleteLawBookRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLawBookRequest.ProtoReflect.Descriptor instead.
func (*DeleteLawBookRequest) GetId ¶ added in v0.8.1
func (x *DeleteLawBookRequest) GetId() uint64
func (*DeleteLawBookRequest) ProtoMessage ¶ added in v0.8.1
func (*DeleteLawBookRequest) ProtoMessage()
func (*DeleteLawBookRequest) ProtoReflect ¶ added in v0.8.1
func (x *DeleteLawBookRequest) ProtoReflect() protoreflect.Message
func (*DeleteLawBookRequest) Reset ¶ added in v0.8.1
func (x *DeleteLawBookRequest) Reset()
func (*DeleteLawBookRequest) String ¶ added in v0.8.1
func (x *DeleteLawBookRequest) String() string
func (*DeleteLawBookRequest) Validate ¶ added in v0.8.1
func (m *DeleteLawBookRequest) Validate() error
Validate checks the field values on DeleteLawBookRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteLawBookRequest) ValidateAll ¶ added in v0.8.1
func (m *DeleteLawBookRequest) ValidateAll() error
ValidateAll checks the field values on DeleteLawBookRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteLawBookRequestMultiError, or nil if none found.
type DeleteLawBookRequestMultiError ¶ added in v0.8.1
type DeleteLawBookRequestMultiError []error
DeleteLawBookRequestMultiError is an error wrapping multiple validation errors returned by DeleteLawBookRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteLawBookRequestMultiError) AllErrors ¶ added in v0.8.1
func (m DeleteLawBookRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteLawBookRequestMultiError) Error ¶ added in v0.8.1
func (m DeleteLawBookRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteLawBookRequestValidationError ¶ added in v0.8.1
type DeleteLawBookRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteLawBookRequestValidationError is the validation error returned by DeleteLawBookRequest.Validate if the designated constraints aren't met.
func (DeleteLawBookRequestValidationError) Cause ¶ added in v0.8.1
func (e DeleteLawBookRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteLawBookRequestValidationError) Error ¶ added in v0.8.1
func (e DeleteLawBookRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteLawBookRequestValidationError) ErrorName ¶ added in v0.8.1
func (e DeleteLawBookRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteLawBookRequestValidationError) Field ¶ added in v0.8.1
func (e DeleteLawBookRequestValidationError) Field() string
Field function returns field value.
func (DeleteLawBookRequestValidationError) Key ¶ added in v0.8.1
func (e DeleteLawBookRequestValidationError) Key() bool
Key function returns key value.
func (DeleteLawBookRequestValidationError) Reason ¶ added in v0.8.1
func (e DeleteLawBookRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteLawBookResponse ¶ added in v0.8.1
type DeleteLawBookResponse struct {
// contains filtered or unexported fields
}
func (*DeleteLawBookResponse) Descriptor
deprecated
added in
v0.8.1
func (*DeleteLawBookResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLawBookResponse.ProtoReflect.Descriptor instead.
func (*DeleteLawBookResponse) ProtoMessage ¶ added in v0.8.1
func (*DeleteLawBookResponse) ProtoMessage()
func (*DeleteLawBookResponse) ProtoReflect ¶ added in v0.8.1
func (x *DeleteLawBookResponse) ProtoReflect() protoreflect.Message
func (*DeleteLawBookResponse) Reset ¶ added in v0.8.1
func (x *DeleteLawBookResponse) Reset()
func (*DeleteLawBookResponse) String ¶ added in v0.8.1
func (x *DeleteLawBookResponse) String() string
func (*DeleteLawBookResponse) Validate ¶ added in v0.8.1
func (m *DeleteLawBookResponse) Validate() error
Validate checks the field values on DeleteLawBookResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteLawBookResponse) ValidateAll ¶ added in v0.8.1
func (m *DeleteLawBookResponse) ValidateAll() error
ValidateAll checks the field values on DeleteLawBookResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteLawBookResponseMultiError, or nil if none found.
type DeleteLawBookResponseMultiError ¶ added in v0.8.1
type DeleteLawBookResponseMultiError []error
DeleteLawBookResponseMultiError is an error wrapping multiple validation errors returned by DeleteLawBookResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteLawBookResponseMultiError) AllErrors ¶ added in v0.8.1
func (m DeleteLawBookResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteLawBookResponseMultiError) Error ¶ added in v0.8.1
func (m DeleteLawBookResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteLawBookResponseValidationError ¶ added in v0.8.1
type DeleteLawBookResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteLawBookResponseValidationError is the validation error returned by DeleteLawBookResponse.Validate if the designated constraints aren't met.
func (DeleteLawBookResponseValidationError) Cause ¶ added in v0.8.1
func (e DeleteLawBookResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteLawBookResponseValidationError) Error ¶ added in v0.8.1
func (e DeleteLawBookResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteLawBookResponseValidationError) ErrorName ¶ added in v0.8.1
func (e DeleteLawBookResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteLawBookResponseValidationError) Field ¶ added in v0.8.1
func (e DeleteLawBookResponseValidationError) Field() string
Field function returns field value.
func (DeleteLawBookResponseValidationError) Key ¶ added in v0.8.1
func (e DeleteLawBookResponseValidationError) Key() bool
Key function returns key value.
func (DeleteLawBookResponseValidationError) Reason ¶ added in v0.8.1
func (e DeleteLawBookResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteLawRequest ¶ added in v0.8.1
type DeleteLawRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteLawRequest) Descriptor
deprecated
added in
v0.8.1
func (*DeleteLawRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLawRequest.ProtoReflect.Descriptor instead.
func (*DeleteLawRequest) GetId ¶ added in v0.8.1
func (x *DeleteLawRequest) GetId() uint64
func (*DeleteLawRequest) ProtoMessage ¶ added in v0.8.1
func (*DeleteLawRequest) ProtoMessage()
func (*DeleteLawRequest) ProtoReflect ¶ added in v0.8.1
func (x *DeleteLawRequest) ProtoReflect() protoreflect.Message
func (*DeleteLawRequest) Reset ¶ added in v0.8.1
func (x *DeleteLawRequest) Reset()
func (*DeleteLawRequest) String ¶ added in v0.8.1
func (x *DeleteLawRequest) String() string
func (*DeleteLawRequest) Validate ¶ added in v0.8.1
func (m *DeleteLawRequest) Validate() error
Validate checks the field values on DeleteLawRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteLawRequest) ValidateAll ¶ added in v0.8.1
func (m *DeleteLawRequest) ValidateAll() error
ValidateAll checks the field values on DeleteLawRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteLawRequestMultiError, or nil if none found.
type DeleteLawRequestMultiError ¶ added in v0.8.1
type DeleteLawRequestMultiError []error
DeleteLawRequestMultiError is an error wrapping multiple validation errors returned by DeleteLawRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteLawRequestMultiError) AllErrors ¶ added in v0.8.1
func (m DeleteLawRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteLawRequestMultiError) Error ¶ added in v0.8.1
func (m DeleteLawRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteLawRequestValidationError ¶ added in v0.8.1
type DeleteLawRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteLawRequestValidationError is the validation error returned by DeleteLawRequest.Validate if the designated constraints aren't met.
func (DeleteLawRequestValidationError) Cause ¶ added in v0.8.1
func (e DeleteLawRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteLawRequestValidationError) Error ¶ added in v0.8.1
func (e DeleteLawRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteLawRequestValidationError) ErrorName ¶ added in v0.8.1
func (e DeleteLawRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteLawRequestValidationError) Field ¶ added in v0.8.1
func (e DeleteLawRequestValidationError) Field() string
Field function returns field value.
func (DeleteLawRequestValidationError) Key ¶ added in v0.8.1
func (e DeleteLawRequestValidationError) Key() bool
Key function returns key value.
func (DeleteLawRequestValidationError) Reason ¶ added in v0.8.1
func (e DeleteLawRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteLawResponse ¶ added in v0.8.1
type DeleteLawResponse struct {
// contains filtered or unexported fields
}
func (*DeleteLawResponse) Descriptor
deprecated
added in
v0.8.1
func (*DeleteLawResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLawResponse.ProtoReflect.Descriptor instead.
func (*DeleteLawResponse) ProtoMessage ¶ added in v0.8.1
func (*DeleteLawResponse) ProtoMessage()
func (*DeleteLawResponse) ProtoReflect ¶ added in v0.8.1
func (x *DeleteLawResponse) ProtoReflect() protoreflect.Message
func (*DeleteLawResponse) Reset ¶ added in v0.8.1
func (x *DeleteLawResponse) Reset()
func (*DeleteLawResponse) String ¶ added in v0.8.1
func (x *DeleteLawResponse) String() string
func (*DeleteLawResponse) Validate ¶ added in v0.8.1
func (m *DeleteLawResponse) Validate() error
Validate checks the field values on DeleteLawResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteLawResponse) ValidateAll ¶ added in v0.8.1
func (m *DeleteLawResponse) ValidateAll() error
ValidateAll checks the field values on DeleteLawResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteLawResponseMultiError, or nil if none found.
type DeleteLawResponseMultiError ¶ added in v0.8.1
type DeleteLawResponseMultiError []error
DeleteLawResponseMultiError is an error wrapping multiple validation errors returned by DeleteLawResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteLawResponseMultiError) AllErrors ¶ added in v0.8.1
func (m DeleteLawResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteLawResponseMultiError) Error ¶ added in v0.8.1
func (m DeleteLawResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteLawResponseValidationError ¶ added in v0.8.1
type DeleteLawResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteLawResponseValidationError is the validation error returned by DeleteLawResponse.Validate if the designated constraints aren't met.
func (DeleteLawResponseValidationError) Cause ¶ added in v0.8.1
func (e DeleteLawResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteLawResponseValidationError) Error ¶ added in v0.8.1
func (e DeleteLawResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteLawResponseValidationError) ErrorName ¶ added in v0.8.1
func (e DeleteLawResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteLawResponseValidationError) Field ¶ added in v0.8.1
func (e DeleteLawResponseValidationError) Field() string
Field function returns field value.
func (DeleteLawResponseValidationError) Key ¶ added in v0.8.1
func (e DeleteLawResponseValidationError) Key() bool
Key function returns key value.
func (DeleteLawResponseValidationError) Reason ¶ added in v0.8.1
func (e DeleteLawResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteRoleRequest ¶
type DeleteRoleRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRoleRequest) Descriptor
deprecated
func (*DeleteRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleRequest.ProtoReflect.Descriptor instead.
func (*DeleteRoleRequest) GetId ¶
func (x *DeleteRoleRequest) GetId() uint64
func (*DeleteRoleRequest) ProtoMessage ¶
func (*DeleteRoleRequest) ProtoMessage()
func (*DeleteRoleRequest) ProtoReflect ¶
func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message
func (*DeleteRoleRequest) Reset ¶
func (x *DeleteRoleRequest) Reset()
func (*DeleteRoleRequest) String ¶
func (x *DeleteRoleRequest) String() string
func (*DeleteRoleRequest) Validate ¶
func (m *DeleteRoleRequest) Validate() error
Validate checks the field values on DeleteRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteRoleRequest) ValidateAll ¶
func (m *DeleteRoleRequest) ValidateAll() error
ValidateAll checks the field values on DeleteRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteRoleRequestMultiError, or nil if none found.
type DeleteRoleRequestMultiError ¶
type DeleteRoleRequestMultiError []error
DeleteRoleRequestMultiError is an error wrapping multiple validation errors returned by DeleteRoleRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteRoleRequestMultiError) AllErrors ¶
func (m DeleteRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRoleRequestMultiError) Error ¶
func (m DeleteRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRoleRequestValidationError ¶
type DeleteRoleRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteRoleRequestValidationError is the validation error returned by DeleteRoleRequest.Validate if the designated constraints aren't met.
func (DeleteRoleRequestValidationError) Cause ¶
func (e DeleteRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteRoleRequestValidationError) Error ¶
func (e DeleteRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRoleRequestValidationError) ErrorName ¶
func (e DeleteRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRoleRequestValidationError) Field ¶
func (e DeleteRoleRequestValidationError) Field() string
Field function returns field value.
func (DeleteRoleRequestValidationError) Key ¶
func (e DeleteRoleRequestValidationError) Key() bool
Key function returns key value.
func (DeleteRoleRequestValidationError) Reason ¶
func (e DeleteRoleRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteRoleResponse ¶
type DeleteRoleResponse struct {
// contains filtered or unexported fields
}
func (*DeleteRoleResponse) Descriptor
deprecated
func (*DeleteRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleResponse.ProtoReflect.Descriptor instead.
func (*DeleteRoleResponse) ProtoMessage ¶
func (*DeleteRoleResponse) ProtoMessage()
func (*DeleteRoleResponse) ProtoReflect ¶
func (x *DeleteRoleResponse) ProtoReflect() protoreflect.Message
func (*DeleteRoleResponse) Reset ¶
func (x *DeleteRoleResponse) Reset()
func (*DeleteRoleResponse) String ¶
func (x *DeleteRoleResponse) String() string
func (*DeleteRoleResponse) Validate ¶
func (m *DeleteRoleResponse) Validate() error
Validate checks the field values on DeleteRoleResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteRoleResponse) ValidateAll ¶
func (m *DeleteRoleResponse) ValidateAll() error
ValidateAll checks the field values on DeleteRoleResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteRoleResponseMultiError, or nil if none found.
type DeleteRoleResponseMultiError ¶
type DeleteRoleResponseMultiError []error
DeleteRoleResponseMultiError is an error wrapping multiple validation errors returned by DeleteRoleResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteRoleResponseMultiError) AllErrors ¶
func (m DeleteRoleResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRoleResponseMultiError) Error ¶
func (m DeleteRoleResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRoleResponseValidationError ¶
type DeleteRoleResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteRoleResponseValidationError is the validation error returned by DeleteRoleResponse.Validate if the designated constraints aren't met.
func (DeleteRoleResponseValidationError) Cause ¶
func (e DeleteRoleResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteRoleResponseValidationError) Error ¶
func (e DeleteRoleResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRoleResponseValidationError) ErrorName ¶
func (e DeleteRoleResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRoleResponseValidationError) Field ¶
func (e DeleteRoleResponseValidationError) Field() string
Field function returns field value.
func (DeleteRoleResponseValidationError) Key ¶
func (e DeleteRoleResponseValidationError) Key() bool
Key function returns key value.
func (DeleteRoleResponseValidationError) Reason ¶
func (e DeleteRoleResponseValidationError) Reason() string
Reason function returns reason value.
type GetJobPropsRequest ¶
type GetJobPropsRequest struct {
// contains filtered or unexported fields
}
func (*GetJobPropsRequest) Descriptor
deprecated
func (*GetJobPropsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetJobPropsRequest.ProtoReflect.Descriptor instead.
func (*GetJobPropsRequest) ProtoMessage ¶
func (*GetJobPropsRequest) ProtoMessage()
func (*GetJobPropsRequest) ProtoReflect ¶
func (x *GetJobPropsRequest) ProtoReflect() protoreflect.Message
func (*GetJobPropsRequest) Reset ¶
func (x *GetJobPropsRequest) Reset()
func (*GetJobPropsRequest) String ¶
func (x *GetJobPropsRequest) String() string
func (*GetJobPropsRequest) Validate ¶
func (m *GetJobPropsRequest) Validate() error
Validate checks the field values on GetJobPropsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetJobPropsRequest) ValidateAll ¶
func (m *GetJobPropsRequest) ValidateAll() error
ValidateAll checks the field values on GetJobPropsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetJobPropsRequestMultiError, or nil if none found.
type GetJobPropsRequestMultiError ¶
type GetJobPropsRequestMultiError []error
GetJobPropsRequestMultiError is an error wrapping multiple validation errors returned by GetJobPropsRequest.ValidateAll() if the designated constraints aren't met.
func (GetJobPropsRequestMultiError) AllErrors ¶
func (m GetJobPropsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetJobPropsRequestMultiError) Error ¶
func (m GetJobPropsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetJobPropsRequestValidationError ¶
type GetJobPropsRequestValidationError struct {
// contains filtered or unexported fields
}
GetJobPropsRequestValidationError is the validation error returned by GetJobPropsRequest.Validate if the designated constraints aren't met.
func (GetJobPropsRequestValidationError) Cause ¶
func (e GetJobPropsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetJobPropsRequestValidationError) Error ¶
func (e GetJobPropsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetJobPropsRequestValidationError) ErrorName ¶
func (e GetJobPropsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetJobPropsRequestValidationError) Field ¶
func (e GetJobPropsRequestValidationError) Field() string
Field function returns field value.
func (GetJobPropsRequestValidationError) Key ¶
func (e GetJobPropsRequestValidationError) Key() bool
Key function returns key value.
func (GetJobPropsRequestValidationError) Reason ¶
func (e GetJobPropsRequestValidationError) Reason() string
Reason function returns reason value.
type GetJobPropsResponse ¶
type GetJobPropsResponse struct { JobProps *users.JobProps `protobuf:"bytes,1,opt,name=job_props,json=jobProps,proto3" json:"job_props,omitempty"` // contains filtered or unexported fields }
func (*GetJobPropsResponse) Descriptor
deprecated
func (*GetJobPropsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetJobPropsResponse.ProtoReflect.Descriptor instead.
func (*GetJobPropsResponse) GetJobProps ¶
func (x *GetJobPropsResponse) GetJobProps() *users.JobProps
func (*GetJobPropsResponse) ProtoMessage ¶
func (*GetJobPropsResponse) ProtoMessage()
func (*GetJobPropsResponse) ProtoReflect ¶
func (x *GetJobPropsResponse) ProtoReflect() protoreflect.Message
func (*GetJobPropsResponse) Reset ¶
func (x *GetJobPropsResponse) Reset()
func (*GetJobPropsResponse) String ¶
func (x *GetJobPropsResponse) String() string
func (*GetJobPropsResponse) Validate ¶
func (m *GetJobPropsResponse) Validate() error
Validate checks the field values on GetJobPropsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetJobPropsResponse) ValidateAll ¶
func (m *GetJobPropsResponse) ValidateAll() error
ValidateAll checks the field values on GetJobPropsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetJobPropsResponseMultiError, or nil if none found.
type GetJobPropsResponseMultiError ¶
type GetJobPropsResponseMultiError []error
GetJobPropsResponseMultiError is an error wrapping multiple validation errors returned by GetJobPropsResponse.ValidateAll() if the designated constraints aren't met.
func (GetJobPropsResponseMultiError) AllErrors ¶
func (m GetJobPropsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetJobPropsResponseMultiError) Error ¶
func (m GetJobPropsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetJobPropsResponseValidationError ¶
type GetJobPropsResponseValidationError struct {
// contains filtered or unexported fields
}
GetJobPropsResponseValidationError is the validation error returned by GetJobPropsResponse.Validate if the designated constraints aren't met.
func (GetJobPropsResponseValidationError) Cause ¶
func (e GetJobPropsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetJobPropsResponseValidationError) Error ¶
func (e GetJobPropsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetJobPropsResponseValidationError) ErrorName ¶
func (e GetJobPropsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetJobPropsResponseValidationError) Field ¶
func (e GetJobPropsResponseValidationError) Field() string
Field function returns field value.
func (GetJobPropsResponseValidationError) Key ¶
func (e GetJobPropsResponseValidationError) Key() bool
Key function returns key value.
func (GetJobPropsResponseValidationError) Reason ¶
func (e GetJobPropsResponseValidationError) Reason() string
Reason function returns reason value.
type GetPermissionsRequest ¶
type GetPermissionsRequest struct { RoleId uint64 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // contains filtered or unexported fields }
func (*GetPermissionsRequest) Descriptor
deprecated
func (*GetPermissionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPermissionsRequest.ProtoReflect.Descriptor instead.
func (*GetPermissionsRequest) GetRoleId ¶ added in v0.7.0
func (x *GetPermissionsRequest) GetRoleId() uint64
func (*GetPermissionsRequest) ProtoMessage ¶
func (*GetPermissionsRequest) ProtoMessage()
func (*GetPermissionsRequest) ProtoReflect ¶
func (x *GetPermissionsRequest) ProtoReflect() protoreflect.Message
func (*GetPermissionsRequest) Reset ¶
func (x *GetPermissionsRequest) Reset()
func (*GetPermissionsRequest) String ¶
func (x *GetPermissionsRequest) String() string
func (*GetPermissionsRequest) Validate ¶
func (m *GetPermissionsRequest) Validate() error
Validate checks the field values on GetPermissionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetPermissionsRequest) ValidateAll ¶
func (m *GetPermissionsRequest) ValidateAll() error
ValidateAll checks the field values on GetPermissionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPermissionsRequestMultiError, or nil if none found.
type GetPermissionsRequestMultiError ¶
type GetPermissionsRequestMultiError []error
GetPermissionsRequestMultiError is an error wrapping multiple validation errors returned by GetPermissionsRequest.ValidateAll() if the designated constraints aren't met.
func (GetPermissionsRequestMultiError) AllErrors ¶
func (m GetPermissionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPermissionsRequestMultiError) Error ¶
func (m GetPermissionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPermissionsRequestValidationError ¶
type GetPermissionsRequestValidationError struct {
// contains filtered or unexported fields
}
GetPermissionsRequestValidationError is the validation error returned by GetPermissionsRequest.Validate if the designated constraints aren't met.
func (GetPermissionsRequestValidationError) Cause ¶
func (e GetPermissionsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetPermissionsRequestValidationError) Error ¶
func (e GetPermissionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetPermissionsRequestValidationError) ErrorName ¶
func (e GetPermissionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetPermissionsRequestValidationError) Field ¶
func (e GetPermissionsRequestValidationError) Field() string
Field function returns field value.
func (GetPermissionsRequestValidationError) Key ¶
func (e GetPermissionsRequestValidationError) Key() bool
Key function returns key value.
func (GetPermissionsRequestValidationError) Reason ¶
func (e GetPermissionsRequestValidationError) Reason() string
Reason function returns reason value.
type GetPermissionsResponse ¶
type GetPermissionsResponse struct { Permissions []*permissions.Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` Attributes []*permissions.RoleAttribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*GetPermissionsResponse) Descriptor
deprecated
func (*GetPermissionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPermissionsResponse.ProtoReflect.Descriptor instead.
func (*GetPermissionsResponse) GetAttributes ¶
func (x *GetPermissionsResponse) GetAttributes() []*permissions.RoleAttribute
func (*GetPermissionsResponse) GetPermissions ¶
func (x *GetPermissionsResponse) GetPermissions() []*permissions.Permission
func (*GetPermissionsResponse) ProtoMessage ¶
func (*GetPermissionsResponse) ProtoMessage()
func (*GetPermissionsResponse) ProtoReflect ¶
func (x *GetPermissionsResponse) ProtoReflect() protoreflect.Message
func (*GetPermissionsResponse) Reset ¶
func (x *GetPermissionsResponse) Reset()
func (*GetPermissionsResponse) String ¶
func (x *GetPermissionsResponse) String() string
func (*GetPermissionsResponse) Validate ¶
func (m *GetPermissionsResponse) Validate() error
Validate checks the field values on GetPermissionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetPermissionsResponse) ValidateAll ¶
func (m *GetPermissionsResponse) ValidateAll() error
ValidateAll checks the field values on GetPermissionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPermissionsResponseMultiError, or nil if none found.
type GetPermissionsResponseMultiError ¶
type GetPermissionsResponseMultiError []error
GetPermissionsResponseMultiError is an error wrapping multiple validation errors returned by GetPermissionsResponse.ValidateAll() if the designated constraints aren't met.
func (GetPermissionsResponseMultiError) AllErrors ¶
func (m GetPermissionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPermissionsResponseMultiError) Error ¶
func (m GetPermissionsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPermissionsResponseValidationError ¶
type GetPermissionsResponseValidationError struct {
// contains filtered or unexported fields
}
GetPermissionsResponseValidationError is the validation error returned by GetPermissionsResponse.Validate if the designated constraints aren't met.
func (GetPermissionsResponseValidationError) Cause ¶
func (e GetPermissionsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetPermissionsResponseValidationError) Error ¶
func (e GetPermissionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetPermissionsResponseValidationError) ErrorName ¶
func (e GetPermissionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetPermissionsResponseValidationError) Field ¶
func (e GetPermissionsResponseValidationError) Field() string
Field function returns field value.
func (GetPermissionsResponseValidationError) Key ¶
func (e GetPermissionsResponseValidationError) Key() bool
Key function returns key value.
func (GetPermissionsResponseValidationError) Reason ¶
func (e GetPermissionsResponseValidationError) Reason() string
Reason function returns reason value.
type GetRoleRequest ¶
type GetRoleRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetRoleRequest) Descriptor
deprecated
func (*GetRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleRequest.ProtoReflect.Descriptor instead.
func (*GetRoleRequest) GetId ¶
func (x *GetRoleRequest) GetId() uint64
func (*GetRoleRequest) ProtoMessage ¶
func (*GetRoleRequest) ProtoMessage()
func (*GetRoleRequest) ProtoReflect ¶
func (x *GetRoleRequest) ProtoReflect() protoreflect.Message
func (*GetRoleRequest) Reset ¶
func (x *GetRoleRequest) Reset()
func (*GetRoleRequest) String ¶
func (x *GetRoleRequest) String() string
func (*GetRoleRequest) Validate ¶
func (m *GetRoleRequest) Validate() error
Validate checks the field values on GetRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetRoleRequest) ValidateAll ¶
func (m *GetRoleRequest) ValidateAll() error
ValidateAll checks the field values on GetRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRoleRequestMultiError, or nil if none found.
type GetRoleRequestMultiError ¶
type GetRoleRequestMultiError []error
GetRoleRequestMultiError is an error wrapping multiple validation errors returned by GetRoleRequest.ValidateAll() if the designated constraints aren't met.
func (GetRoleRequestMultiError) AllErrors ¶
func (m GetRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetRoleRequestMultiError) Error ¶
func (m GetRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetRoleRequestValidationError ¶
type GetRoleRequestValidationError struct {
// contains filtered or unexported fields
}
GetRoleRequestValidationError is the validation error returned by GetRoleRequest.Validate if the designated constraints aren't met.
func (GetRoleRequestValidationError) Cause ¶
func (e GetRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (GetRoleRequestValidationError) Error ¶
func (e GetRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetRoleRequestValidationError) ErrorName ¶
func (e GetRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetRoleRequestValidationError) Field ¶
func (e GetRoleRequestValidationError) Field() string
Field function returns field value.
func (GetRoleRequestValidationError) Key ¶
func (e GetRoleRequestValidationError) Key() bool
Key function returns key value.
func (GetRoleRequestValidationError) Reason ¶
func (e GetRoleRequestValidationError) Reason() string
Reason function returns reason value.
type GetRoleResponse ¶
type GetRoleResponse struct { Role *permissions.Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*GetRoleResponse) Descriptor
deprecated
func (*GetRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleResponse.ProtoReflect.Descriptor instead.
func (*GetRoleResponse) GetRole ¶
func (x *GetRoleResponse) GetRole() *permissions.Role
func (*GetRoleResponse) ProtoMessage ¶
func (*GetRoleResponse) ProtoMessage()
func (*GetRoleResponse) ProtoReflect ¶
func (x *GetRoleResponse) ProtoReflect() protoreflect.Message
func (*GetRoleResponse) Reset ¶
func (x *GetRoleResponse) Reset()
func (*GetRoleResponse) String ¶
func (x *GetRoleResponse) String() string
func (*GetRoleResponse) Validate ¶
func (m *GetRoleResponse) Validate() error
Validate checks the field values on GetRoleResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetRoleResponse) ValidateAll ¶
func (m *GetRoleResponse) ValidateAll() error
ValidateAll checks the field values on GetRoleResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRoleResponseMultiError, or nil if none found.
type GetRoleResponseMultiError ¶
type GetRoleResponseMultiError []error
GetRoleResponseMultiError is an error wrapping multiple validation errors returned by GetRoleResponse.ValidateAll() if the designated constraints aren't met.
func (GetRoleResponseMultiError) AllErrors ¶
func (m GetRoleResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetRoleResponseMultiError) Error ¶
func (m GetRoleResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetRoleResponseValidationError ¶
type GetRoleResponseValidationError struct {
// contains filtered or unexported fields
}
GetRoleResponseValidationError is the validation error returned by GetRoleResponse.Validate if the designated constraints aren't met.
func (GetRoleResponseValidationError) Cause ¶
func (e GetRoleResponseValidationError) Cause() error
Cause function returns cause value.
func (GetRoleResponseValidationError) Error ¶
func (e GetRoleResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetRoleResponseValidationError) ErrorName ¶
func (e GetRoleResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetRoleResponseValidationError) Field ¶
func (e GetRoleResponseValidationError) Field() string
Field function returns field value.
func (GetRoleResponseValidationError) Key ¶
func (e GetRoleResponseValidationError) Key() bool
Key function returns key value.
func (GetRoleResponseValidationError) Reason ¶
func (e GetRoleResponseValidationError) Reason() string
Reason function returns reason value.
type GetRolesRequest ¶
type GetRolesRequest struct { LowestRank *bool `protobuf:"varint,1,opt,name=lowest_rank,json=lowestRank,proto3,oneof" json:"lowest_rank,omitempty"` // contains filtered or unexported fields }
func (*GetRolesRequest) Descriptor
deprecated
func (*GetRolesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRolesRequest.ProtoReflect.Descriptor instead.
func (*GetRolesRequest) GetLowestRank ¶ added in v0.7.1
func (x *GetRolesRequest) GetLowestRank() bool
func (*GetRolesRequest) ProtoMessage ¶
func (*GetRolesRequest) ProtoMessage()
func (*GetRolesRequest) ProtoReflect ¶
func (x *GetRolesRequest) ProtoReflect() protoreflect.Message
func (*GetRolesRequest) Reset ¶
func (x *GetRolesRequest) Reset()
func (*GetRolesRequest) String ¶
func (x *GetRolesRequest) String() string
func (*GetRolesRequest) Validate ¶
func (m *GetRolesRequest) Validate() error
Validate checks the field values on GetRolesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetRolesRequest) ValidateAll ¶
func (m *GetRolesRequest) ValidateAll() error
ValidateAll checks the field values on GetRolesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRolesRequestMultiError, or nil if none found.
type GetRolesRequestMultiError ¶
type GetRolesRequestMultiError []error
GetRolesRequestMultiError is an error wrapping multiple validation errors returned by GetRolesRequest.ValidateAll() if the designated constraints aren't met.
func (GetRolesRequestMultiError) AllErrors ¶
func (m GetRolesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetRolesRequestMultiError) Error ¶
func (m GetRolesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetRolesRequestValidationError ¶
type GetRolesRequestValidationError struct {
// contains filtered or unexported fields
}
GetRolesRequestValidationError is the validation error returned by GetRolesRequest.Validate if the designated constraints aren't met.
func (GetRolesRequestValidationError) Cause ¶
func (e GetRolesRequestValidationError) Cause() error
Cause function returns cause value.
func (GetRolesRequestValidationError) Error ¶
func (e GetRolesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetRolesRequestValidationError) ErrorName ¶
func (e GetRolesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetRolesRequestValidationError) Field ¶
func (e GetRolesRequestValidationError) Field() string
Field function returns field value.
func (GetRolesRequestValidationError) Key ¶
func (e GetRolesRequestValidationError) Key() bool
Key function returns key value.
func (GetRolesRequestValidationError) Reason ¶
func (e GetRolesRequestValidationError) Reason() string
Reason function returns reason value.
type GetRolesResponse ¶
type GetRolesResponse struct { Roles []*permissions.Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*GetRolesResponse) Descriptor
deprecated
func (*GetRolesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRolesResponse.ProtoReflect.Descriptor instead.
func (*GetRolesResponse) GetRoles ¶
func (x *GetRolesResponse) GetRoles() []*permissions.Role
func (*GetRolesResponse) ProtoMessage ¶
func (*GetRolesResponse) ProtoMessage()
func (*GetRolesResponse) ProtoReflect ¶
func (x *GetRolesResponse) ProtoReflect() protoreflect.Message
func (*GetRolesResponse) Reset ¶
func (x *GetRolesResponse) Reset()
func (*GetRolesResponse) String ¶
func (x *GetRolesResponse) String() string
func (*GetRolesResponse) Validate ¶
func (m *GetRolesResponse) Validate() error
Validate checks the field values on GetRolesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetRolesResponse) ValidateAll ¶
func (m *GetRolesResponse) ValidateAll() error
ValidateAll checks the field values on GetRolesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRolesResponseMultiError, or nil if none found.
type GetRolesResponseMultiError ¶
type GetRolesResponseMultiError []error
GetRolesResponseMultiError is an error wrapping multiple validation errors returned by GetRolesResponse.ValidateAll() if the designated constraints aren't met.
func (GetRolesResponseMultiError) AllErrors ¶
func (m GetRolesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetRolesResponseMultiError) Error ¶
func (m GetRolesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetRolesResponseValidationError ¶
type GetRolesResponseValidationError struct {
// contains filtered or unexported fields
}
GetRolesResponseValidationError is the validation error returned by GetRolesResponse.Validate if the designated constraints aren't met.
func (GetRolesResponseValidationError) Cause ¶
func (e GetRolesResponseValidationError) Cause() error
Cause function returns cause value.
func (GetRolesResponseValidationError) Error ¶
func (e GetRolesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetRolesResponseValidationError) ErrorName ¶
func (e GetRolesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetRolesResponseValidationError) Field ¶
func (e GetRolesResponseValidationError) Field() string
Field function returns field value.
func (GetRolesResponseValidationError) Key ¶
func (e GetRolesResponseValidationError) Key() bool
Key function returns key value.
func (GetRolesResponseValidationError) Reason ¶
func (e GetRolesResponseValidationError) Reason() string
Reason function returns reason value.
type PermItem ¶
type PermItem struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Val bool `protobuf:"varint,2,opt,name=val,proto3" json:"val,omitempty"` // contains filtered or unexported fields }
func (*PermItem) Descriptor
deprecated
func (*PermItem) ProtoMessage ¶
func (*PermItem) ProtoMessage()
func (*PermItem) ProtoReflect ¶
func (x *PermItem) ProtoReflect() protoreflect.Message
func (*PermItem) Validate ¶
Validate checks the field values on PermItem with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PermItem) ValidateAll ¶
ValidateAll checks the field values on PermItem with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PermItemMultiError, or nil if none found.
type PermItemMultiError ¶
type PermItemMultiError []error
PermItemMultiError is an error wrapping multiple validation errors returned by PermItem.ValidateAll() if the designated constraints aren't met.
func (PermItemMultiError) AllErrors ¶
func (m PermItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PermItemMultiError) Error ¶
func (m PermItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PermItemValidationError ¶
type PermItemValidationError struct {
// contains filtered or unexported fields
}
PermItemValidationError is the validation error returned by PermItem.Validate if the designated constraints aren't met.
func (PermItemValidationError) Cause ¶
func (e PermItemValidationError) Cause() error
Cause function returns cause value.
func (PermItemValidationError) Error ¶
func (e PermItemValidationError) Error() string
Error satisfies the builtin error interface
func (PermItemValidationError) ErrorName ¶
func (e PermItemValidationError) ErrorName() string
ErrorName returns error name.
func (PermItemValidationError) Field ¶
func (e PermItemValidationError) Field() string
Field function returns field value.
func (PermItemValidationError) Key ¶
func (e PermItemValidationError) Key() bool
Key function returns key value.
func (PermItemValidationError) Reason ¶
func (e PermItemValidationError) Reason() string
Reason function returns reason value.
type PermsUpdate ¶
type PermsUpdate struct { ToUpdate []*PermItem `protobuf:"bytes,1,rep,name=to_update,json=toUpdate,proto3" json:"to_update,omitempty"` ToRemove []uint64 `protobuf:"varint,2,rep,packed,name=to_remove,json=toRemove,proto3" json:"to_remove,omitempty"` // contains filtered or unexported fields }
func (*PermsUpdate) Descriptor
deprecated
func (*PermsUpdate) Descriptor() ([]byte, []int)
Deprecated: Use PermsUpdate.ProtoReflect.Descriptor instead.
func (*PermsUpdate) GetToRemove ¶
func (x *PermsUpdate) GetToRemove() []uint64
func (*PermsUpdate) GetToUpdate ¶
func (x *PermsUpdate) GetToUpdate() []*PermItem
func (*PermsUpdate) ProtoMessage ¶
func (*PermsUpdate) ProtoMessage()
func (*PermsUpdate) ProtoReflect ¶
func (x *PermsUpdate) ProtoReflect() protoreflect.Message
func (*PermsUpdate) Reset ¶
func (x *PermsUpdate) Reset()
func (*PermsUpdate) String ¶
func (x *PermsUpdate) String() string
func (*PermsUpdate) Validate ¶
func (m *PermsUpdate) Validate() error
Validate checks the field values on PermsUpdate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PermsUpdate) ValidateAll ¶
func (m *PermsUpdate) ValidateAll() error
ValidateAll checks the field values on PermsUpdate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PermsUpdateMultiError, or nil if none found.
type PermsUpdateMultiError ¶
type PermsUpdateMultiError []error
PermsUpdateMultiError is an error wrapping multiple validation errors returned by PermsUpdate.ValidateAll() if the designated constraints aren't met.
func (PermsUpdateMultiError) AllErrors ¶
func (m PermsUpdateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PermsUpdateMultiError) Error ¶
func (m PermsUpdateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PermsUpdateValidationError ¶
type PermsUpdateValidationError struct {
// contains filtered or unexported fields
}
PermsUpdateValidationError is the validation error returned by PermsUpdate.Validate if the designated constraints aren't met.
func (PermsUpdateValidationError) Cause ¶
func (e PermsUpdateValidationError) Cause() error
Cause function returns cause value.
func (PermsUpdateValidationError) Error ¶
func (e PermsUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (PermsUpdateValidationError) ErrorName ¶
func (e PermsUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (PermsUpdateValidationError) Field ¶
func (e PermsUpdateValidationError) Field() string
Field function returns field value.
func (PermsUpdateValidationError) Key ¶
func (e PermsUpdateValidationError) Key() bool
Key function returns key value.
func (PermsUpdateValidationError) Reason ¶
func (e PermsUpdateValidationError) Reason() string
Reason function returns reason value.
type RectorServiceClient ¶
type RectorServiceClient interface { // @perm GetJobProps(ctx context.Context, in *GetJobPropsRequest, opts ...grpc.CallOption) (*GetJobPropsResponse, error) // @perm SetJobProps(ctx context.Context, in *SetJobPropsRequest, opts ...grpc.CallOption) (*SetJobPropsResponse, error) // @perm GetRoles(ctx context.Context, in *GetRolesRequest, opts ...grpc.CallOption) (*GetRolesResponse, error) // @perm: Name=GetRoles GetRole(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*GetRoleResponse, error) // @perm CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*CreateRoleResponse, error) // @perm DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*DeleteRoleResponse, error) // @perm UpdateRolePerms(ctx context.Context, in *UpdateRolePermsRequest, opts ...grpc.CallOption) (*UpdateRolePermsResponse, error) // @perm: Name=GetRoles GetPermissions(ctx context.Context, in *GetPermissionsRequest, opts ...grpc.CallOption) (*GetPermissionsResponse, error) // @perm ViewAuditLog(ctx context.Context, in *ViewAuditLogRequest, opts ...grpc.CallOption) (*ViewAuditLogResponse, error) // @perm: Name=SuperUser UpdateRoleLimits(ctx context.Context, in *UpdateRoleLimitsRequest, opts ...grpc.CallOption) (*UpdateRoleLimitsResponse, error) // @perm: Name=SuperUser CreateOrUpdateLawBook(ctx context.Context, in *CreateOrUpdateLawBookRequest, opts ...grpc.CallOption) (*CreateOrUpdateLawBookResponse, error) // @perm: Name=SuperUser DeleteLawBook(ctx context.Context, in *DeleteLawBookRequest, opts ...grpc.CallOption) (*DeleteLawBookResponse, error) // @perm: Name=SuperUser CreateOrUpdateLaw(ctx context.Context, in *CreateOrUpdateLawRequest, opts ...grpc.CallOption) (*CreateOrUpdateLawResponse, error) // @perm: Name=SuperUser DeleteLaw(ctx context.Context, in *DeleteLawRequest, opts ...grpc.CallOption) (*DeleteLawResponse, error) }
RectorServiceClient is the client API for RectorService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRectorServiceClient ¶
func NewRectorServiceClient(cc grpc.ClientConnInterface) RectorServiceClient
func NewTestRectorServiceClient ¶
func NewTestRectorServiceClient(srv RectorServiceServer) (RectorServiceClient, context.Context, context.CancelFunc)
type RectorServiceServer ¶
type RectorServiceServer interface { // @perm GetJobProps(context.Context, *GetJobPropsRequest) (*GetJobPropsResponse, error) // @perm SetJobProps(context.Context, *SetJobPropsRequest) (*SetJobPropsResponse, error) // @perm GetRoles(context.Context, *GetRolesRequest) (*GetRolesResponse, error) // @perm: Name=GetRoles GetRole(context.Context, *GetRoleRequest) (*GetRoleResponse, error) // @perm CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, error) // @perm DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleResponse, error) // @perm UpdateRolePerms(context.Context, *UpdateRolePermsRequest) (*UpdateRolePermsResponse, error) // @perm: Name=GetRoles GetPermissions(context.Context, *GetPermissionsRequest) (*GetPermissionsResponse, error) // @perm ViewAuditLog(context.Context, *ViewAuditLogRequest) (*ViewAuditLogResponse, error) // @perm: Name=SuperUser UpdateRoleLimits(context.Context, *UpdateRoleLimitsRequest) (*UpdateRoleLimitsResponse, error) // @perm: Name=SuperUser CreateOrUpdateLawBook(context.Context, *CreateOrUpdateLawBookRequest) (*CreateOrUpdateLawBookResponse, error) // @perm: Name=SuperUser DeleteLawBook(context.Context, *DeleteLawBookRequest) (*DeleteLawBookResponse, error) // @perm: Name=SuperUser CreateOrUpdateLaw(context.Context, *CreateOrUpdateLawRequest) (*CreateOrUpdateLawResponse, error) // @perm: Name=SuperUser DeleteLaw(context.Context, *DeleteLawRequest) (*DeleteLawResponse, error) // contains filtered or unexported methods }
RectorServiceServer is the server API for RectorService service. All implementations must embed UnimplementedRectorServiceServer for forward compatibility
type Server ¶
type Server struct { RectorServiceServer // contains filtered or unexported fields }
func NewServer ¶
func NewServer(logger *zap.Logger, db *sql.DB, ps perms.Permissions, aud audit.IAuditer, enricher *mstlystcdata.Enricher, cache *mstlystcdata.Cache) *Server
func (*Server) CreateOrUpdateLaw ¶ added in v0.8.1
func (s *Server) CreateOrUpdateLaw(ctx context.Context, req *CreateOrUpdateLawRequest) (*CreateOrUpdateLawResponse, error)
func (*Server) CreateOrUpdateLawBook ¶ added in v0.8.1
func (s *Server) CreateOrUpdateLawBook(ctx context.Context, req *CreateOrUpdateLawBookRequest) (*CreateOrUpdateLawBookResponse, error)
func (*Server) CreateRole ¶
func (s *Server) CreateRole(ctx context.Context, req *CreateRoleRequest) (*CreateRoleResponse, error)
func (*Server) DeleteLaw ¶ added in v0.8.1
func (s *Server) DeleteLaw(ctx context.Context, req *DeleteLawRequest) (*DeleteLawResponse, error)
func (*Server) DeleteLawBook ¶ added in v0.8.1
func (s *Server) DeleteLawBook(ctx context.Context, req *DeleteLawBookRequest) (*DeleteLawBookResponse, error)
func (*Server) DeleteRole ¶
func (s *Server) DeleteRole(ctx context.Context, req *DeleteRoleRequest) (*DeleteRoleResponse, error)
func (*Server) GetJobProps ¶
func (s *Server) GetJobProps(ctx context.Context, req *GetJobPropsRequest) (*GetJobPropsResponse, error)
func (*Server) GetPermissions ¶
func (s *Server) GetPermissions(ctx context.Context, req *GetPermissionsRequest) (*GetPermissionsResponse, error)
func (*Server) GetPermsRemap ¶
func (*Server) GetRole ¶
func (s *Server) GetRole(ctx context.Context, req *GetRoleRequest) (*GetRoleResponse, error)
func (*Server) GetRoles ¶
func (s *Server) GetRoles(ctx context.Context, req *GetRolesRequest) (*GetRolesResponse, error)
func (*Server) RegisterServer ¶ added in v0.8.0
func (*Server) SetJobProps ¶
func (s *Server) SetJobProps(ctx context.Context, req *SetJobPropsRequest) (*SetJobPropsResponse, error)
func (*Server) UpdateRoleLimits ¶ added in v0.7.0
func (s *Server) UpdateRoleLimits(ctx context.Context, req *UpdateRoleLimitsRequest) (*UpdateRoleLimitsResponse, error)
func (*Server) UpdateRolePerms ¶
func (s *Server) UpdateRolePerms(ctx context.Context, req *UpdateRolePermsRequest) (*UpdateRolePermsResponse, error)
func (*Server) ViewAuditLog ¶
func (s *Server) ViewAuditLog(ctx context.Context, req *ViewAuditLogRequest) (*ViewAuditLogResponse, error)
type SetJobPropsRequest ¶
type SetJobPropsRequest struct { JobProps *users.JobProps `protobuf:"bytes,1,opt,name=job_props,json=jobProps,proto3" json:"job_props,omitempty"` // contains filtered or unexported fields }
func (*SetJobPropsRequest) Descriptor
deprecated
func (*SetJobPropsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetJobPropsRequest.ProtoReflect.Descriptor instead.
func (*SetJobPropsRequest) GetJobProps ¶
func (x *SetJobPropsRequest) GetJobProps() *users.JobProps
func (*SetJobPropsRequest) ProtoMessage ¶
func (*SetJobPropsRequest) ProtoMessage()
func (*SetJobPropsRequest) ProtoReflect ¶
func (x *SetJobPropsRequest) ProtoReflect() protoreflect.Message
func (*SetJobPropsRequest) Reset ¶
func (x *SetJobPropsRequest) Reset()
func (*SetJobPropsRequest) String ¶
func (x *SetJobPropsRequest) String() string
func (*SetJobPropsRequest) Validate ¶
func (m *SetJobPropsRequest) Validate() error
Validate checks the field values on SetJobPropsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SetJobPropsRequest) ValidateAll ¶
func (m *SetJobPropsRequest) ValidateAll() error
ValidateAll checks the field values on SetJobPropsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetJobPropsRequestMultiError, or nil if none found.
type SetJobPropsRequestMultiError ¶
type SetJobPropsRequestMultiError []error
SetJobPropsRequestMultiError is an error wrapping multiple validation errors returned by SetJobPropsRequest.ValidateAll() if the designated constraints aren't met.
func (SetJobPropsRequestMultiError) AllErrors ¶
func (m SetJobPropsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetJobPropsRequestMultiError) Error ¶
func (m SetJobPropsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetJobPropsRequestValidationError ¶
type SetJobPropsRequestValidationError struct {
// contains filtered or unexported fields
}
SetJobPropsRequestValidationError is the validation error returned by SetJobPropsRequest.Validate if the designated constraints aren't met.
func (SetJobPropsRequestValidationError) Cause ¶
func (e SetJobPropsRequestValidationError) Cause() error
Cause function returns cause value.
func (SetJobPropsRequestValidationError) Error ¶
func (e SetJobPropsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SetJobPropsRequestValidationError) ErrorName ¶
func (e SetJobPropsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SetJobPropsRequestValidationError) Field ¶
func (e SetJobPropsRequestValidationError) Field() string
Field function returns field value.
func (SetJobPropsRequestValidationError) Key ¶
func (e SetJobPropsRequestValidationError) Key() bool
Key function returns key value.
func (SetJobPropsRequestValidationError) Reason ¶
func (e SetJobPropsRequestValidationError) Reason() string
Reason function returns reason value.
type SetJobPropsResponse ¶
type SetJobPropsResponse struct {
// contains filtered or unexported fields
}
func (*SetJobPropsResponse) Descriptor
deprecated
func (*SetJobPropsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetJobPropsResponse.ProtoReflect.Descriptor instead.
func (*SetJobPropsResponse) ProtoMessage ¶
func (*SetJobPropsResponse) ProtoMessage()
func (*SetJobPropsResponse) ProtoReflect ¶
func (x *SetJobPropsResponse) ProtoReflect() protoreflect.Message
func (*SetJobPropsResponse) Reset ¶
func (x *SetJobPropsResponse) Reset()
func (*SetJobPropsResponse) String ¶
func (x *SetJobPropsResponse) String() string
func (*SetJobPropsResponse) Validate ¶
func (m *SetJobPropsResponse) Validate() error
Validate checks the field values on SetJobPropsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SetJobPropsResponse) ValidateAll ¶
func (m *SetJobPropsResponse) ValidateAll() error
ValidateAll checks the field values on SetJobPropsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetJobPropsResponseMultiError, or nil if none found.
type SetJobPropsResponseMultiError ¶
type SetJobPropsResponseMultiError []error
SetJobPropsResponseMultiError is an error wrapping multiple validation errors returned by SetJobPropsResponse.ValidateAll() if the designated constraints aren't met.
func (SetJobPropsResponseMultiError) AllErrors ¶
func (m SetJobPropsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetJobPropsResponseMultiError) Error ¶
func (m SetJobPropsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetJobPropsResponseValidationError ¶
type SetJobPropsResponseValidationError struct {
// contains filtered or unexported fields
}
SetJobPropsResponseValidationError is the validation error returned by SetJobPropsResponse.Validate if the designated constraints aren't met.
func (SetJobPropsResponseValidationError) Cause ¶
func (e SetJobPropsResponseValidationError) Cause() error
Cause function returns cause value.
func (SetJobPropsResponseValidationError) Error ¶
func (e SetJobPropsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SetJobPropsResponseValidationError) ErrorName ¶
func (e SetJobPropsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SetJobPropsResponseValidationError) Field ¶
func (e SetJobPropsResponseValidationError) Field() string
Field function returns field value.
func (SetJobPropsResponseValidationError) Key ¶
func (e SetJobPropsResponseValidationError) Key() bool
Key function returns key value.
func (SetJobPropsResponseValidationError) Reason ¶
func (e SetJobPropsResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedRectorServiceServer ¶
type UnimplementedRectorServiceServer struct { }
UnimplementedRectorServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRectorServiceServer) CreateOrUpdateLaw ¶ added in v0.8.1
func (UnimplementedRectorServiceServer) CreateOrUpdateLaw(context.Context, *CreateOrUpdateLawRequest) (*CreateOrUpdateLawResponse, error)
func (UnimplementedRectorServiceServer) CreateOrUpdateLawBook ¶ added in v0.8.1
func (UnimplementedRectorServiceServer) CreateOrUpdateLawBook(context.Context, *CreateOrUpdateLawBookRequest) (*CreateOrUpdateLawBookResponse, error)
func (UnimplementedRectorServiceServer) CreateRole ¶
func (UnimplementedRectorServiceServer) CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, error)
func (UnimplementedRectorServiceServer) DeleteLaw ¶ added in v0.8.1
func (UnimplementedRectorServiceServer) DeleteLaw(context.Context, *DeleteLawRequest) (*DeleteLawResponse, error)
func (UnimplementedRectorServiceServer) DeleteLawBook ¶ added in v0.8.1
func (UnimplementedRectorServiceServer) DeleteLawBook(context.Context, *DeleteLawBookRequest) (*DeleteLawBookResponse, error)
func (UnimplementedRectorServiceServer) DeleteRole ¶
func (UnimplementedRectorServiceServer) DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleResponse, error)
func (UnimplementedRectorServiceServer) GetJobProps ¶
func (UnimplementedRectorServiceServer) GetJobProps(context.Context, *GetJobPropsRequest) (*GetJobPropsResponse, error)
func (UnimplementedRectorServiceServer) GetPermissions ¶
func (UnimplementedRectorServiceServer) GetPermissions(context.Context, *GetPermissionsRequest) (*GetPermissionsResponse, error)
func (UnimplementedRectorServiceServer) GetRole ¶
func (UnimplementedRectorServiceServer) GetRole(context.Context, *GetRoleRequest) (*GetRoleResponse, error)
func (UnimplementedRectorServiceServer) GetRoles ¶
func (UnimplementedRectorServiceServer) GetRoles(context.Context, *GetRolesRequest) (*GetRolesResponse, error)
func (UnimplementedRectorServiceServer) SetJobProps ¶
func (UnimplementedRectorServiceServer) SetJobProps(context.Context, *SetJobPropsRequest) (*SetJobPropsResponse, error)
func (UnimplementedRectorServiceServer) UpdateRoleLimits ¶ added in v0.7.0
func (UnimplementedRectorServiceServer) UpdateRoleLimits(context.Context, *UpdateRoleLimitsRequest) (*UpdateRoleLimitsResponse, error)
func (UnimplementedRectorServiceServer) UpdateRolePerms ¶
func (UnimplementedRectorServiceServer) UpdateRolePerms(context.Context, *UpdateRolePermsRequest) (*UpdateRolePermsResponse, error)
func (UnimplementedRectorServiceServer) ViewAuditLog ¶
func (UnimplementedRectorServiceServer) ViewAuditLog(context.Context, *ViewAuditLogRequest) (*ViewAuditLogResponse, error)
type UnsafeRectorServiceServer ¶
type UnsafeRectorServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRectorServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RectorServiceServer will result in compilation errors.
type UpdateRoleLimitsRequest ¶ added in v0.7.0
type UpdateRoleLimitsRequest struct { RoleId uint64 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` Attrs *AttrsUpdate `protobuf:"bytes,2,opt,name=attrs,proto3" json:"attrs,omitempty"` // contains filtered or unexported fields }
func (*UpdateRoleLimitsRequest) Descriptor
deprecated
added in
v0.7.0
func (*UpdateRoleLimitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoleLimitsRequest.ProtoReflect.Descriptor instead.
func (*UpdateRoleLimitsRequest) GetAttrs ¶ added in v0.7.0
func (x *UpdateRoleLimitsRequest) GetAttrs() *AttrsUpdate
func (*UpdateRoleLimitsRequest) GetRoleId ¶ added in v0.7.0
func (x *UpdateRoleLimitsRequest) GetRoleId() uint64
func (*UpdateRoleLimitsRequest) ProtoMessage ¶ added in v0.7.0
func (*UpdateRoleLimitsRequest) ProtoMessage()
func (*UpdateRoleLimitsRequest) ProtoReflect ¶ added in v0.7.0
func (x *UpdateRoleLimitsRequest) ProtoReflect() protoreflect.Message
func (*UpdateRoleLimitsRequest) Reset ¶ added in v0.7.0
func (x *UpdateRoleLimitsRequest) Reset()
func (*UpdateRoleLimitsRequest) String ¶ added in v0.7.0
func (x *UpdateRoleLimitsRequest) String() string
func (*UpdateRoleLimitsRequest) Validate ¶ added in v0.7.0
func (m *UpdateRoleLimitsRequest) Validate() error
Validate checks the field values on UpdateRoleLimitsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateRoleLimitsRequest) ValidateAll ¶ added in v0.7.0
func (m *UpdateRoleLimitsRequest) ValidateAll() error
ValidateAll checks the field values on UpdateRoleLimitsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRoleLimitsRequestMultiError, or nil if none found.
type UpdateRoleLimitsRequestMultiError ¶ added in v0.7.0
type UpdateRoleLimitsRequestMultiError []error
UpdateRoleLimitsRequestMultiError is an error wrapping multiple validation errors returned by UpdateRoleLimitsRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateRoleLimitsRequestMultiError) AllErrors ¶ added in v0.7.0
func (m UpdateRoleLimitsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRoleLimitsRequestMultiError) Error ¶ added in v0.7.0
func (m UpdateRoleLimitsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRoleLimitsRequestValidationError ¶ added in v0.7.0
type UpdateRoleLimitsRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateRoleLimitsRequestValidationError is the validation error returned by UpdateRoleLimitsRequest.Validate if the designated constraints aren't met.
func (UpdateRoleLimitsRequestValidationError) Cause ¶ added in v0.7.0
func (e UpdateRoleLimitsRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateRoleLimitsRequestValidationError) Error ¶ added in v0.7.0
func (e UpdateRoleLimitsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRoleLimitsRequestValidationError) ErrorName ¶ added in v0.7.0
func (e UpdateRoleLimitsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRoleLimitsRequestValidationError) Field ¶ added in v0.7.0
func (e UpdateRoleLimitsRequestValidationError) Field() string
Field function returns field value.
func (UpdateRoleLimitsRequestValidationError) Key ¶ added in v0.7.0
func (e UpdateRoleLimitsRequestValidationError) Key() bool
Key function returns key value.
func (UpdateRoleLimitsRequestValidationError) Reason ¶ added in v0.7.0
func (e UpdateRoleLimitsRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateRoleLimitsResponse ¶ added in v0.7.0
type UpdateRoleLimitsResponse struct {
// contains filtered or unexported fields
}
func (*UpdateRoleLimitsResponse) Descriptor
deprecated
added in
v0.7.0
func (*UpdateRoleLimitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoleLimitsResponse.ProtoReflect.Descriptor instead.
func (*UpdateRoleLimitsResponse) ProtoMessage ¶ added in v0.7.0
func (*UpdateRoleLimitsResponse) ProtoMessage()
func (*UpdateRoleLimitsResponse) ProtoReflect ¶ added in v0.7.0
func (x *UpdateRoleLimitsResponse) ProtoReflect() protoreflect.Message
func (*UpdateRoleLimitsResponse) Reset ¶ added in v0.7.0
func (x *UpdateRoleLimitsResponse) Reset()
func (*UpdateRoleLimitsResponse) String ¶ added in v0.7.0
func (x *UpdateRoleLimitsResponse) String() string
func (*UpdateRoleLimitsResponse) Validate ¶ added in v0.7.0
func (m *UpdateRoleLimitsResponse) Validate() error
Validate checks the field values on UpdateRoleLimitsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateRoleLimitsResponse) ValidateAll ¶ added in v0.7.0
func (m *UpdateRoleLimitsResponse) ValidateAll() error
ValidateAll checks the field values on UpdateRoleLimitsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRoleLimitsResponseMultiError, or nil if none found.
type UpdateRoleLimitsResponseMultiError ¶ added in v0.7.0
type UpdateRoleLimitsResponseMultiError []error
UpdateRoleLimitsResponseMultiError is an error wrapping multiple validation errors returned by UpdateRoleLimitsResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateRoleLimitsResponseMultiError) AllErrors ¶ added in v0.7.0
func (m UpdateRoleLimitsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRoleLimitsResponseMultiError) Error ¶ added in v0.7.0
func (m UpdateRoleLimitsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRoleLimitsResponseValidationError ¶ added in v0.7.0
type UpdateRoleLimitsResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateRoleLimitsResponseValidationError is the validation error returned by UpdateRoleLimitsResponse.Validate if the designated constraints aren't met.
func (UpdateRoleLimitsResponseValidationError) Cause ¶ added in v0.7.0
func (e UpdateRoleLimitsResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateRoleLimitsResponseValidationError) Error ¶ added in v0.7.0
func (e UpdateRoleLimitsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRoleLimitsResponseValidationError) ErrorName ¶ added in v0.7.0
func (e UpdateRoleLimitsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRoleLimitsResponseValidationError) Field ¶ added in v0.7.0
func (e UpdateRoleLimitsResponseValidationError) Field() string
Field function returns field value.
func (UpdateRoleLimitsResponseValidationError) Key ¶ added in v0.7.0
func (e UpdateRoleLimitsResponseValidationError) Key() bool
Key function returns key value.
func (UpdateRoleLimitsResponseValidationError) Reason ¶ added in v0.7.0
func (e UpdateRoleLimitsResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateRolePermsRequest ¶
type UpdateRolePermsRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Perms *PermsUpdate `protobuf:"bytes,2,opt,name=perms,proto3,oneof" json:"perms,omitempty"` Attrs *AttrsUpdate `protobuf:"bytes,3,opt,name=attrs,proto3,oneof" json:"attrs,omitempty"` // contains filtered or unexported fields }
func (*UpdateRolePermsRequest) Descriptor
deprecated
func (*UpdateRolePermsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRolePermsRequest.ProtoReflect.Descriptor instead.
func (*UpdateRolePermsRequest) GetAttrs ¶
func (x *UpdateRolePermsRequest) GetAttrs() *AttrsUpdate
func (*UpdateRolePermsRequest) GetId ¶
func (x *UpdateRolePermsRequest) GetId() uint64
func (*UpdateRolePermsRequest) GetPerms ¶
func (x *UpdateRolePermsRequest) GetPerms() *PermsUpdate
func (*UpdateRolePermsRequest) ProtoMessage ¶
func (*UpdateRolePermsRequest) ProtoMessage()
func (*UpdateRolePermsRequest) ProtoReflect ¶
func (x *UpdateRolePermsRequest) ProtoReflect() protoreflect.Message
func (*UpdateRolePermsRequest) Reset ¶
func (x *UpdateRolePermsRequest) Reset()
func (*UpdateRolePermsRequest) String ¶
func (x *UpdateRolePermsRequest) String() string
func (*UpdateRolePermsRequest) Validate ¶
func (m *UpdateRolePermsRequest) Validate() error
Validate checks the field values on UpdateRolePermsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateRolePermsRequest) ValidateAll ¶
func (m *UpdateRolePermsRequest) ValidateAll() error
ValidateAll checks the field values on UpdateRolePermsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRolePermsRequestMultiError, or nil if none found.
type UpdateRolePermsRequestMultiError ¶
type UpdateRolePermsRequestMultiError []error
UpdateRolePermsRequestMultiError is an error wrapping multiple validation errors returned by UpdateRolePermsRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateRolePermsRequestMultiError) AllErrors ¶
func (m UpdateRolePermsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRolePermsRequestMultiError) Error ¶
func (m UpdateRolePermsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRolePermsRequestValidationError ¶
type UpdateRolePermsRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateRolePermsRequestValidationError is the validation error returned by UpdateRolePermsRequest.Validate if the designated constraints aren't met.
func (UpdateRolePermsRequestValidationError) Cause ¶
func (e UpdateRolePermsRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateRolePermsRequestValidationError) Error ¶
func (e UpdateRolePermsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRolePermsRequestValidationError) ErrorName ¶
func (e UpdateRolePermsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRolePermsRequestValidationError) Field ¶
func (e UpdateRolePermsRequestValidationError) Field() string
Field function returns field value.
func (UpdateRolePermsRequestValidationError) Key ¶
func (e UpdateRolePermsRequestValidationError) Key() bool
Key function returns key value.
func (UpdateRolePermsRequestValidationError) Reason ¶
func (e UpdateRolePermsRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateRolePermsResponse ¶
type UpdateRolePermsResponse struct {
// contains filtered or unexported fields
}
func (*UpdateRolePermsResponse) Descriptor
deprecated
func (*UpdateRolePermsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRolePermsResponse.ProtoReflect.Descriptor instead.
func (*UpdateRolePermsResponse) ProtoMessage ¶
func (*UpdateRolePermsResponse) ProtoMessage()
func (*UpdateRolePermsResponse) ProtoReflect ¶
func (x *UpdateRolePermsResponse) ProtoReflect() protoreflect.Message
func (*UpdateRolePermsResponse) Reset ¶
func (x *UpdateRolePermsResponse) Reset()
func (*UpdateRolePermsResponse) String ¶
func (x *UpdateRolePermsResponse) String() string
func (*UpdateRolePermsResponse) Validate ¶
func (m *UpdateRolePermsResponse) Validate() error
Validate checks the field values on UpdateRolePermsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateRolePermsResponse) ValidateAll ¶
func (m *UpdateRolePermsResponse) ValidateAll() error
ValidateAll checks the field values on UpdateRolePermsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRolePermsResponseMultiError, or nil if none found.
type UpdateRolePermsResponseMultiError ¶
type UpdateRolePermsResponseMultiError []error
UpdateRolePermsResponseMultiError is an error wrapping multiple validation errors returned by UpdateRolePermsResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateRolePermsResponseMultiError) AllErrors ¶
func (m UpdateRolePermsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRolePermsResponseMultiError) Error ¶
func (m UpdateRolePermsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRolePermsResponseValidationError ¶
type UpdateRolePermsResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateRolePermsResponseValidationError is the validation error returned by UpdateRolePermsResponse.Validate if the designated constraints aren't met.
func (UpdateRolePermsResponseValidationError) Cause ¶
func (e UpdateRolePermsResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateRolePermsResponseValidationError) Error ¶
func (e UpdateRolePermsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRolePermsResponseValidationError) ErrorName ¶
func (e UpdateRolePermsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRolePermsResponseValidationError) Field ¶
func (e UpdateRolePermsResponseValidationError) Field() string
Field function returns field value.
func (UpdateRolePermsResponseValidationError) Key ¶
func (e UpdateRolePermsResponseValidationError) Key() bool
Key function returns key value.
func (UpdateRolePermsResponseValidationError) Reason ¶
func (e UpdateRolePermsResponseValidationError) Reason() string
Reason function returns reason value.
type ViewAuditLogRequest ¶
type ViewAuditLogRequest struct { Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` UserIds []int32 `protobuf:"varint,2,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` From *timestamp.Timestamp `protobuf:"bytes,3,opt,name=from,proto3,oneof" json:"from,omitempty"` To *timestamp.Timestamp `protobuf:"bytes,4,opt,name=to,proto3,oneof" json:"to,omitempty"` Service *string `protobuf:"bytes,5,opt,name=service,proto3,oneof" json:"service,omitempty"` Method *string `protobuf:"bytes,6,opt,name=method,proto3,oneof" json:"method,omitempty"` Search *string `protobuf:"bytes,7,opt,name=search,proto3,oneof" json:"search,omitempty"` // contains filtered or unexported fields }
func (*ViewAuditLogRequest) Descriptor
deprecated
func (*ViewAuditLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use ViewAuditLogRequest.ProtoReflect.Descriptor instead.
func (*ViewAuditLogRequest) GetFrom ¶
func (x *ViewAuditLogRequest) GetFrom() *timestamp.Timestamp
func (*ViewAuditLogRequest) GetMethod ¶ added in v0.6.5
func (x *ViewAuditLogRequest) GetMethod() string
func (*ViewAuditLogRequest) GetPagination ¶
func (x *ViewAuditLogRequest) GetPagination() *database.PaginationRequest
func (*ViewAuditLogRequest) GetSearch ¶ added in v0.6.5
func (x *ViewAuditLogRequest) GetSearch() string
func (*ViewAuditLogRequest) GetService ¶ added in v0.6.5
func (x *ViewAuditLogRequest) GetService() string
func (*ViewAuditLogRequest) GetTo ¶
func (x *ViewAuditLogRequest) GetTo() *timestamp.Timestamp
func (*ViewAuditLogRequest) GetUserIds ¶
func (x *ViewAuditLogRequest) GetUserIds() []int32
func (*ViewAuditLogRequest) ProtoMessage ¶
func (*ViewAuditLogRequest) ProtoMessage()
func (*ViewAuditLogRequest) ProtoReflect ¶
func (x *ViewAuditLogRequest) ProtoReflect() protoreflect.Message
func (*ViewAuditLogRequest) Reset ¶
func (x *ViewAuditLogRequest) Reset()
func (*ViewAuditLogRequest) String ¶
func (x *ViewAuditLogRequest) String() string
func (*ViewAuditLogRequest) Validate ¶
func (m *ViewAuditLogRequest) Validate() error
Validate checks the field values on ViewAuditLogRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ViewAuditLogRequest) ValidateAll ¶
func (m *ViewAuditLogRequest) ValidateAll() error
ValidateAll checks the field values on ViewAuditLogRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ViewAuditLogRequestMultiError, or nil if none found.
type ViewAuditLogRequestMultiError ¶
type ViewAuditLogRequestMultiError []error
ViewAuditLogRequestMultiError is an error wrapping multiple validation errors returned by ViewAuditLogRequest.ValidateAll() if the designated constraints aren't met.
func (ViewAuditLogRequestMultiError) AllErrors ¶
func (m ViewAuditLogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ViewAuditLogRequestMultiError) Error ¶
func (m ViewAuditLogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ViewAuditLogRequestValidationError ¶
type ViewAuditLogRequestValidationError struct {
// contains filtered or unexported fields
}
ViewAuditLogRequestValidationError is the validation error returned by ViewAuditLogRequest.Validate if the designated constraints aren't met.
func (ViewAuditLogRequestValidationError) Cause ¶
func (e ViewAuditLogRequestValidationError) Cause() error
Cause function returns cause value.
func (ViewAuditLogRequestValidationError) Error ¶
func (e ViewAuditLogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ViewAuditLogRequestValidationError) ErrorName ¶
func (e ViewAuditLogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ViewAuditLogRequestValidationError) Field ¶
func (e ViewAuditLogRequestValidationError) Field() string
Field function returns field value.
func (ViewAuditLogRequestValidationError) Key ¶
func (e ViewAuditLogRequestValidationError) Key() bool
Key function returns key value.
func (ViewAuditLogRequestValidationError) Reason ¶
func (e ViewAuditLogRequestValidationError) Reason() string
Reason function returns reason value.
type ViewAuditLogResponse ¶
type ViewAuditLogResponse struct { Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Logs []*rector.AuditEntry `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` // contains filtered or unexported fields }
func (*ViewAuditLogResponse) Descriptor
deprecated
func (*ViewAuditLogResponse) Descriptor() ([]byte, []int)
Deprecated: Use ViewAuditLogResponse.ProtoReflect.Descriptor instead.
func (*ViewAuditLogResponse) GetLogs ¶
func (x *ViewAuditLogResponse) GetLogs() []*rector.AuditEntry
func (*ViewAuditLogResponse) GetPagination ¶
func (x *ViewAuditLogResponse) GetPagination() *database.PaginationResponse
func (*ViewAuditLogResponse) ProtoMessage ¶
func (*ViewAuditLogResponse) ProtoMessage()
func (*ViewAuditLogResponse) ProtoReflect ¶
func (x *ViewAuditLogResponse) ProtoReflect() protoreflect.Message
func (*ViewAuditLogResponse) Reset ¶
func (x *ViewAuditLogResponse) Reset()
func (*ViewAuditLogResponse) String ¶
func (x *ViewAuditLogResponse) String() string
func (*ViewAuditLogResponse) Validate ¶
func (m *ViewAuditLogResponse) Validate() error
Validate checks the field values on ViewAuditLogResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ViewAuditLogResponse) ValidateAll ¶
func (m *ViewAuditLogResponse) ValidateAll() error
ValidateAll checks the field values on ViewAuditLogResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ViewAuditLogResponseMultiError, or nil if none found.
type ViewAuditLogResponseMultiError ¶
type ViewAuditLogResponseMultiError []error
ViewAuditLogResponseMultiError is an error wrapping multiple validation errors returned by ViewAuditLogResponse.ValidateAll() if the designated constraints aren't met.
func (ViewAuditLogResponseMultiError) AllErrors ¶
func (m ViewAuditLogResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ViewAuditLogResponseMultiError) Error ¶
func (m ViewAuditLogResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ViewAuditLogResponseValidationError ¶
type ViewAuditLogResponseValidationError struct {
// contains filtered or unexported fields
}
ViewAuditLogResponseValidationError is the validation error returned by ViewAuditLogResponse.Validate if the designated constraints aren't met.
func (ViewAuditLogResponseValidationError) Cause ¶
func (e ViewAuditLogResponseValidationError) Cause() error
Cause function returns cause value.
func (ViewAuditLogResponseValidationError) Error ¶
func (e ViewAuditLogResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ViewAuditLogResponseValidationError) ErrorName ¶
func (e ViewAuditLogResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ViewAuditLogResponseValidationError) Field ¶
func (e ViewAuditLogResponseValidationError) Field() string
Field function returns field value.
func (ViewAuditLogResponseValidationError) Key ¶
func (e ViewAuditLogResponseValidationError) Key() bool
Key function returns key value.
func (ViewAuditLogResponseValidationError) Reason ¶
func (e ViewAuditLogResponseValidationError) Reason() string
Reason function returns reason value.