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 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 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() *jobs.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 (*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 (*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) CreateRole(ctx context.Context, req *CreateRoleRequest) (*CreateRoleResponse, 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) SetJobProps(ctx context.Context, req *SetJobPropsRequest) (*SetJobPropsResponse, 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() *jobs.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) CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, 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) UpdateRolePerms(context.Context, *UpdateRolePermsRequest) (*UpdateRolePermsResponse, error)
- func (UnimplementedRectorServiceServer) ViewAuditLog(context.Context, *ViewAuditLogRequest) (*ViewAuditLogResponse, error)
- type UnsafeRectorServiceServer
- 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) GetPagination() *database.PaginationRequest
- 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" RectorServiceGetPermissionsPerm perms.Name = "GetPermissions" RectorServiceGetPermissionsJobsPermField perms.Key = "Jobs" RectorServiceGetRolesPerm perms.Name = "GetRoles" RectorServiceSetJobPropsPerm perms.Name = "SetJobProps" RectorServiceUpdateRolePermsPerm perms.Name = "UpdateRolePerms" RectorServiceViewAuditLogPerm perms.Name = "ViewAuditLog" )
const AuditLogPageSize = 30
Variables ¶
var ( InvalidRequestErr = status.Error(codes.InvalidArgument, "Invalid role action requested!") NoPermissionErr = status.Error(codes.PermissionDenied, "No permission to create/change/delete role!") RoleAlreadyExistsErr = status.Error(codes.InvalidArgument, "Role already exists!") OwnRoleDeletionErr = status.Error(codes.InvalidArgument, "Can't delete your own role!") )
var File_services_rector_rector_proto protoreflect.FileDescriptor
var PermsRemap = map[string]string{
"RectorService/GetRole": "RectorService/GetRoles",
}
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, }, }, 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 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 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 *jobs.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() *jobs.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 {
// contains filtered or unexported fields
}
func (*GetPermissionsRequest) Descriptor
deprecated
func (*GetPermissionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPermissionsRequest.ProtoReflect.Descriptor instead.
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 {
// contains filtered or unexported fields
}
func (*GetRolesRequest) Descriptor
deprecated
func (*GetRolesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRolesRequest.ProtoReflect.Descriptor instead.
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: Attrs=Jobs/JobList:"config.C.Game.Livemap.Jobs" GetPermissions(ctx context.Context, in *GetPermissionsRequest, opts ...grpc.CallOption) (*GetPermissionsResponse, error) // @perm ViewAuditLog(ctx context.Context, in *ViewAuditLogRequest, opts ...grpc.CallOption) (*ViewAuditLogResponse, 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: Attrs=Jobs/JobList:"config.C.Game.Livemap.Jobs" GetPermissions(context.Context, *GetPermissionsRequest) (*GetPermissionsResponse, error) // @perm ViewAuditLog(context.Context, *ViewAuditLogRequest) (*ViewAuditLogResponse, 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 (*Server) CreateRole ¶
func (s *Server) CreateRole(ctx context.Context, req *CreateRoleRequest) (*CreateRoleResponse, 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) SetJobProps ¶
func (s *Server) SetJobProps(ctx context.Context, req *SetJobPropsRequest) (*SetJobPropsResponse, 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 *jobs.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() *jobs.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) CreateRole ¶
func (UnimplementedRectorServiceServer) CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, 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) 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 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"` // 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) GetPagination ¶
func (x *ViewAuditLogRequest) GetPagination() *database.PaginationRequest
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.