Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterRoleEntityHTTPServer(s *http.Server, srv RoleEntityHTTPServer)
- func RegisterRoleEntityServer(s grpc.ServiceRegistrar, srv RoleEntityServer)
- type CreateRoleEntityReply
- func (*CreateRoleEntityReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoleEntityReply) GetId() uint32
- func (*CreateRoleEntityReply) ProtoMessage()
- func (x *CreateRoleEntityReply) ProtoReflect() protoreflect.Message
- func (x *CreateRoleEntityReply) Reset()
- func (x *CreateRoleEntityReply) String() string
- func (m *CreateRoleEntityReply) Validate() error
- func (m *CreateRoleEntityReply) ValidateAll() error
- type CreateRoleEntityReplyMultiError
- type CreateRoleEntityReplyValidationError
- func (e CreateRoleEntityReplyValidationError) Cause() error
- func (e CreateRoleEntityReplyValidationError) Error() string
- func (e CreateRoleEntityReplyValidationError) ErrorName() string
- func (e CreateRoleEntityReplyValidationError) Field() string
- func (e CreateRoleEntityReplyValidationError) Key() bool
- func (e CreateRoleEntityReplyValidationError) Reason() string
- type CreateRoleEntityRequest
- func (*CreateRoleEntityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoleEntityRequest) GetAction() string
- func (x *CreateRoleEntityRequest) GetDepts() []uint32
- func (x *CreateRoleEntityRequest) GetEntityId() uint32
- func (x *CreateRoleEntityRequest) GetFields() []uint32
- func (x *CreateRoleEntityRequest) GetRoleId() uint32
- func (x *CreateRoleEntityRequest) GetRules() []uint32
- func (x *CreateRoleEntityRequest) GetScope() string
- func (*CreateRoleEntityRequest) ProtoMessage()
- func (x *CreateRoleEntityRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRoleEntityRequest) Reset()
- func (x *CreateRoleEntityRequest) String() string
- func (m *CreateRoleEntityRequest) Validate() error
- func (m *CreateRoleEntityRequest) ValidateAll() error
- type CreateRoleEntityRequestMultiError
- type CreateRoleEntityRequestValidationError
- func (e CreateRoleEntityRequestValidationError) Cause() error
- func (e CreateRoleEntityRequestValidationError) Error() string
- func (e CreateRoleEntityRequestValidationError) ErrorName() string
- func (e CreateRoleEntityRequestValidationError) Field() string
- func (e CreateRoleEntityRequestValidationError) Key() bool
- func (e CreateRoleEntityRequestValidationError) Reason() string
- type DeleteRoleEntityReply
- func (*DeleteRoleEntityReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteRoleEntityReply) ProtoMessage()
- func (x *DeleteRoleEntityReply) ProtoReflect() protoreflect.Message
- func (x *DeleteRoleEntityReply) Reset()
- func (x *DeleteRoleEntityReply) String() string
- func (m *DeleteRoleEntityReply) Validate() error
- func (m *DeleteRoleEntityReply) ValidateAll() error
- type DeleteRoleEntityReplyMultiError
- type DeleteRoleEntityReplyValidationError
- func (e DeleteRoleEntityReplyValidationError) Cause() error
- func (e DeleteRoleEntityReplyValidationError) Error() string
- func (e DeleteRoleEntityReplyValidationError) ErrorName() string
- func (e DeleteRoleEntityReplyValidationError) Field() string
- func (e DeleteRoleEntityReplyValidationError) Key() bool
- func (e DeleteRoleEntityReplyValidationError) Reason() string
- type DeleteRoleEntityRequest
- func (*DeleteRoleEntityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRoleEntityRequest) GetId() uint32
- func (*DeleteRoleEntityRequest) ProtoMessage()
- func (x *DeleteRoleEntityRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRoleEntityRequest) Reset()
- func (x *DeleteRoleEntityRequest) String() string
- func (m *DeleteRoleEntityRequest) Validate() error
- func (m *DeleteRoleEntityRequest) ValidateAll() error
- type DeleteRoleEntityRequestMultiError
- type DeleteRoleEntityRequestValidationError
- func (e DeleteRoleEntityRequestValidationError) Cause() error
- func (e DeleteRoleEntityRequestValidationError) Error() string
- func (e DeleteRoleEntityRequestValidationError) ErrorName() string
- func (e DeleteRoleEntityRequestValidationError) Field() string
- func (e DeleteRoleEntityRequestValidationError) Key() bool
- func (e DeleteRoleEntityRequestValidationError) Reason() string
- type ListRoleEntityReply
- func (*ListRoleEntityReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoleEntityReply) GetList() []*ListRoleEntityReply_Data
- func (x *ListRoleEntityReply) GetTotal() uint32
- func (*ListRoleEntityReply) ProtoMessage()
- func (x *ListRoleEntityReply) ProtoReflect() protoreflect.Message
- func (x *ListRoleEntityReply) Reset()
- func (x *ListRoleEntityReply) String() string
- func (m *ListRoleEntityReply) Validate() error
- func (m *ListRoleEntityReply) ValidateAll() error
- type ListRoleEntityReplyMultiError
- type ListRoleEntityReplyValidationError
- func (e ListRoleEntityReplyValidationError) Cause() error
- func (e ListRoleEntityReplyValidationError) Error() string
- func (e ListRoleEntityReplyValidationError) ErrorName() string
- func (e ListRoleEntityReplyValidationError) Field() string
- func (e ListRoleEntityReplyValidationError) Key() bool
- func (e ListRoleEntityReplyValidationError) Reason() string
- type ListRoleEntityReply_App
- func (*ListRoleEntityReply_App) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoleEntityReply_App) GetId() uint32
- func (x *ListRoleEntityReply_App) GetName() string
- func (*ListRoleEntityReply_App) ProtoMessage()
- func (x *ListRoleEntityReply_App) ProtoReflect() protoreflect.Message
- func (x *ListRoleEntityReply_App) Reset()
- func (x *ListRoleEntityReply_App) String() string
- func (m *ListRoleEntityReply_App) Validate() error
- func (m *ListRoleEntityReply_App) ValidateAll() error
- type ListRoleEntityReply_AppMultiError
- type ListRoleEntityReply_AppValidationError
- func (e ListRoleEntityReply_AppValidationError) Cause() error
- func (e ListRoleEntityReply_AppValidationError) Error() string
- func (e ListRoleEntityReply_AppValidationError) ErrorName() string
- func (e ListRoleEntityReply_AppValidationError) Field() string
- func (e ListRoleEntityReply_AppValidationError) Key() bool
- func (e ListRoleEntityReply_AppValidationError) Reason() string
- type ListRoleEntityReply_Data
- func (*ListRoleEntityReply_Data) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoleEntityReply_Data) GetAction() string
- func (x *ListRoleEntityReply_Data) GetCreatedAt() uint32
- func (x *ListRoleEntityReply_Data) GetDepts() []uint32
- func (x *ListRoleEntityReply_Data) GetEntity() *ListRoleEntityReply_Entity
- func (x *ListRoleEntityReply_Data) GetEntityId() uint32
- func (x *ListRoleEntityReply_Data) GetFields() []uint32
- func (x *ListRoleEntityReply_Data) GetId() uint32
- func (x *ListRoleEntityReply_Data) GetRoleId() uint32
- func (x *ListRoleEntityReply_Data) GetRules() []uint32
- func (x *ListRoleEntityReply_Data) GetScope() string
- func (x *ListRoleEntityReply_Data) GetUpdatedAt() uint32
- func (*ListRoleEntityReply_Data) ProtoMessage()
- func (x *ListRoleEntityReply_Data) ProtoReflect() protoreflect.Message
- func (x *ListRoleEntityReply_Data) Reset()
- func (x *ListRoleEntityReply_Data) String() string
- func (m *ListRoleEntityReply_Data) Validate() error
- func (m *ListRoleEntityReply_Data) ValidateAll() error
- type ListRoleEntityReply_DataMultiError
- type ListRoleEntityReply_DataValidationError
- func (e ListRoleEntityReply_DataValidationError) Cause() error
- func (e ListRoleEntityReply_DataValidationError) Error() string
- func (e ListRoleEntityReply_DataValidationError) ErrorName() string
- func (e ListRoleEntityReply_DataValidationError) Field() string
- func (e ListRoleEntityReply_DataValidationError) Key() bool
- func (e ListRoleEntityReply_DataValidationError) Reason() string
- type ListRoleEntityReply_Entity
- func (*ListRoleEntityReply_Entity) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoleEntityReply_Entity) GetApp() *ListRoleEntityReply_App
- func (x *ListRoleEntityReply_Entity) GetComment() string
- func (x *ListRoleEntityReply_Entity) GetId() uint32
- func (x *ListRoleEntityReply_Entity) GetName() string
- func (*ListRoleEntityReply_Entity) ProtoMessage()
- func (x *ListRoleEntityReply_Entity) ProtoReflect() protoreflect.Message
- func (x *ListRoleEntityReply_Entity) Reset()
- func (x *ListRoleEntityReply_Entity) String() string
- func (m *ListRoleEntityReply_Entity) Validate() error
- func (m *ListRoleEntityReply_Entity) ValidateAll() error
- type ListRoleEntityReply_EntityMultiError
- type ListRoleEntityReply_EntityValidationError
- func (e ListRoleEntityReply_EntityValidationError) Cause() error
- func (e ListRoleEntityReply_EntityValidationError) Error() string
- func (e ListRoleEntityReply_EntityValidationError) ErrorName() string
- func (e ListRoleEntityReply_EntityValidationError) Field() string
- func (e ListRoleEntityReply_EntityValidationError) Key() bool
- func (e ListRoleEntityReply_EntityValidationError) Reason() string
- type ListRoleEntityRequest
- func (*ListRoleEntityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoleEntityRequest) GetEntityId() uint32
- func (x *ListRoleEntityRequest) GetPage() uint32
- func (x *ListRoleEntityRequest) GetPageSize() uint32
- func (x *ListRoleEntityRequest) GetRoleId() uint32
- func (*ListRoleEntityRequest) ProtoMessage()
- func (x *ListRoleEntityRequest) ProtoReflect() protoreflect.Message
- func (x *ListRoleEntityRequest) Reset()
- func (x *ListRoleEntityRequest) String() string
- func (m *ListRoleEntityRequest) Validate() error
- func (m *ListRoleEntityRequest) ValidateAll() error
- type ListRoleEntityRequestMultiError
- type ListRoleEntityRequestValidationError
- func (e ListRoleEntityRequestValidationError) Cause() error
- func (e ListRoleEntityRequestValidationError) Error() string
- func (e ListRoleEntityRequestValidationError) ErrorName() string
- func (e ListRoleEntityRequestValidationError) Field() string
- func (e ListRoleEntityRequestValidationError) Key() bool
- func (e ListRoleEntityRequestValidationError) Reason() string
- type RoleEntityClient
- type RoleEntityHTTPClient
- type RoleEntityHTTPClientImpl
- func (c *RoleEntityHTTPClientImpl) CreateRoleEntity(ctx context.Context, in *CreateRoleEntityRequest, opts ...http.CallOption) (*CreateRoleEntityReply, error)
- func (c *RoleEntityHTTPClientImpl) DeleteRoleEntity(ctx context.Context, in *DeleteRoleEntityRequest, opts ...http.CallOption) (*DeleteRoleEntityReply, error)
- func (c *RoleEntityHTTPClientImpl) ListRoleEntity(ctx context.Context, in *ListRoleEntityRequest, opts ...http.CallOption) (*ListRoleEntityReply, error)
- func (c *RoleEntityHTTPClientImpl) UpdateRoleEntity(ctx context.Context, in *UpdateRoleEntityRequest, opts ...http.CallOption) (*UpdateRoleEntityReply, error)
- type RoleEntityHTTPServer
- type RoleEntityServer
- type UnimplementedRoleEntityServer
- func (UnimplementedRoleEntityServer) CreateRoleEntity(context.Context, *CreateRoleEntityRequest) (*CreateRoleEntityReply, error)
- func (UnimplementedRoleEntityServer) DeleteRoleEntity(context.Context, *DeleteRoleEntityRequest) (*DeleteRoleEntityReply, error)
- func (UnimplementedRoleEntityServer) ListRoleEntity(context.Context, *ListRoleEntityRequest) (*ListRoleEntityReply, error)
- func (UnimplementedRoleEntityServer) UpdateRoleEntity(context.Context, *UpdateRoleEntityRequest) (*UpdateRoleEntityReply, error)
- type UnsafeRoleEntityServer
- type UpdateRoleEntityReply
- func (*UpdateRoleEntityReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateRoleEntityReply) ProtoMessage()
- func (x *UpdateRoleEntityReply) ProtoReflect() protoreflect.Message
- func (x *UpdateRoleEntityReply) Reset()
- func (x *UpdateRoleEntityReply) String() string
- func (m *UpdateRoleEntityReply) Validate() error
- func (m *UpdateRoleEntityReply) ValidateAll() error
- type UpdateRoleEntityReplyMultiError
- type UpdateRoleEntityReplyValidationError
- func (e UpdateRoleEntityReplyValidationError) Cause() error
- func (e UpdateRoleEntityReplyValidationError) Error() string
- func (e UpdateRoleEntityReplyValidationError) ErrorName() string
- func (e UpdateRoleEntityReplyValidationError) Field() string
- func (e UpdateRoleEntityReplyValidationError) Key() bool
- func (e UpdateRoleEntityReplyValidationError) Reason() string
- type UpdateRoleEntityRequest
- func (*UpdateRoleEntityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoleEntityRequest) GetAction() string
- func (x *UpdateRoleEntityRequest) GetDepts() []uint32
- func (x *UpdateRoleEntityRequest) GetEntityId() uint32
- func (x *UpdateRoleEntityRequest) GetFields() []uint32
- func (x *UpdateRoleEntityRequest) GetId() uint32
- func (x *UpdateRoleEntityRequest) GetRoleId() uint32
- func (x *UpdateRoleEntityRequest) GetRules() []uint32
- func (x *UpdateRoleEntityRequest) GetScope() string
- func (*UpdateRoleEntityRequest) ProtoMessage()
- func (x *UpdateRoleEntityRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRoleEntityRequest) Reset()
- func (x *UpdateRoleEntityRequest) String() string
- func (m *UpdateRoleEntityRequest) Validate() error
- func (m *UpdateRoleEntityRequest) ValidateAll() error
- type UpdateRoleEntityRequestMultiError
- type UpdateRoleEntityRequestValidationError
- func (e UpdateRoleEntityRequestValidationError) Cause() error
- func (e UpdateRoleEntityRequestValidationError) Error() string
- func (e UpdateRoleEntityRequestValidationError) ErrorName() string
- func (e UpdateRoleEntityRequestValidationError) Field() string
- func (e UpdateRoleEntityRequestValidationError) Key() bool
- func (e UpdateRoleEntityRequestValidationError) Reason() string
Constants ¶
const ( RoleEntity_ListRoleEntity_FullMethodName = "/manager.api.roleentity.RoleEntity/ListRoleEntity" RoleEntity_CreateRoleEntity_FullMethodName = "/manager.api.roleentity.RoleEntity/CreateRoleEntity" RoleEntity_UpdateRoleEntity_FullMethodName = "/manager.api.roleentity.RoleEntity/UpdateRoleEntity" RoleEntity_DeleteRoleEntity_FullMethodName = "/manager.api.roleentity.RoleEntity/DeleteRoleEntity" )
const ( OperationRoleEntityCreateRoleEntity = "/manager.api.roleentity.RoleEntity/CreateRoleEntity" OperationRoleEntityDeleteRoleEntity = "/manager.api.roleentity.RoleEntity/DeleteRoleEntity" OperationRoleEntityListRoleEntity = "/manager.api.roleentity.RoleEntity/ListRoleEntity" OperationRoleEntityUpdateRoleEntity = "/manager.api.roleentity.RoleEntity/UpdateRoleEntity" )
Variables ¶
var File_api_roleentity_proto_roleentity_proto protoreflect.FileDescriptor
var File_api_roleentity_proto_roleentity_service_proto protoreflect.FileDescriptor
var RoleEntity_ServiceDesc = grpc.ServiceDesc{ ServiceName: "manager.api.roleentity.RoleEntity", HandlerType: (*RoleEntityServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListRoleEntity", Handler: _RoleEntity_ListRoleEntity_Handler, }, { MethodName: "CreateRoleEntity", Handler: _RoleEntity_CreateRoleEntity_Handler, }, { MethodName: "UpdateRoleEntity", Handler: _RoleEntity_UpdateRoleEntity_Handler, }, { MethodName: "DeleteRoleEntity", Handler: _RoleEntity_DeleteRoleEntity_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/roleentity/proto/roleentity_service.proto", }
RoleEntity_ServiceDesc is the grpc.ServiceDesc for RoleEntity service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRoleEntityHTTPServer ¶
func RegisterRoleEntityHTTPServer(s *http.Server, srv RoleEntityHTTPServer)
func RegisterRoleEntityServer ¶
func RegisterRoleEntityServer(s grpc.ServiceRegistrar, srv RoleEntityServer)
Types ¶
type CreateRoleEntityReply ¶
type CreateRoleEntityReply struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateRoleEntityReply) Descriptor
deprecated
func (*CreateRoleEntityReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleEntityReply.ProtoReflect.Descriptor instead.
func (*CreateRoleEntityReply) GetId ¶
func (x *CreateRoleEntityReply) GetId() uint32
func (*CreateRoleEntityReply) ProtoMessage ¶
func (*CreateRoleEntityReply) ProtoMessage()
func (*CreateRoleEntityReply) ProtoReflect ¶
func (x *CreateRoleEntityReply) ProtoReflect() protoreflect.Message
func (*CreateRoleEntityReply) Reset ¶
func (x *CreateRoleEntityReply) Reset()
func (*CreateRoleEntityReply) String ¶
func (x *CreateRoleEntityReply) String() string
func (*CreateRoleEntityReply) Validate ¶
func (m *CreateRoleEntityReply) Validate() error
Validate checks the field values on CreateRoleEntityReply 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 (*CreateRoleEntityReply) ValidateAll ¶
func (m *CreateRoleEntityReply) ValidateAll() error
ValidateAll checks the field values on CreateRoleEntityReply 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 CreateRoleEntityReplyMultiError, or nil if none found.
type CreateRoleEntityReplyMultiError ¶
type CreateRoleEntityReplyMultiError []error
CreateRoleEntityReplyMultiError is an error wrapping multiple validation errors returned by CreateRoleEntityReply.ValidateAll() if the designated constraints aren't met.
func (CreateRoleEntityReplyMultiError) AllErrors ¶
func (m CreateRoleEntityReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRoleEntityReplyMultiError) Error ¶
func (m CreateRoleEntityReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateRoleEntityReplyValidationError ¶
type CreateRoleEntityReplyValidationError struct {
// contains filtered or unexported fields
}
CreateRoleEntityReplyValidationError is the validation error returned by CreateRoleEntityReply.Validate if the designated constraints aren't met.
func (CreateRoleEntityReplyValidationError) Cause ¶
func (e CreateRoleEntityReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateRoleEntityReplyValidationError) Error ¶
func (e CreateRoleEntityReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRoleEntityReplyValidationError) ErrorName ¶
func (e CreateRoleEntityReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRoleEntityReplyValidationError) Field ¶
func (e CreateRoleEntityReplyValidationError) Field() string
Field function returns field value.
func (CreateRoleEntityReplyValidationError) Key ¶
func (e CreateRoleEntityReplyValidationError) Key() bool
Key function returns key value.
func (CreateRoleEntityReplyValidationError) Reason ¶
func (e CreateRoleEntityReplyValidationError) Reason() string
Reason function returns reason value.
type CreateRoleEntityRequest ¶
type CreateRoleEntityRequest struct {
RoleId uint32 `protobuf:"varint,1,opt,name=roleId,proto3" json:"roleId,omitempty"`
EntityId uint32 `protobuf:"varint,2,opt,name=entityId,proto3" json:"entityId,omitempty"`
Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
Scope string `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
Fields []uint32 `protobuf:"varint,5,rep,packed,name=fields,proto3" json:"fields,omitempty"`
Rules []uint32 `protobuf:"varint,6,rep,packed,name=rules,proto3" json:"rules,omitempty"`
Depts []uint32 `protobuf:"varint,7,rep,packed,name=depts,proto3" json:"depts,omitempty"`
// contains filtered or unexported fields
}
func (*CreateRoleEntityRequest) Descriptor
deprecated
func (*CreateRoleEntityRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleEntityRequest.ProtoReflect.Descriptor instead.
func (*CreateRoleEntityRequest) GetAction ¶
func (x *CreateRoleEntityRequest) GetAction() string
func (*CreateRoleEntityRequest) GetDepts ¶
func (x *CreateRoleEntityRequest) GetDepts() []uint32
func (*CreateRoleEntityRequest) GetEntityId ¶
func (x *CreateRoleEntityRequest) GetEntityId() uint32
func (*CreateRoleEntityRequest) GetFields ¶
func (x *CreateRoleEntityRequest) GetFields() []uint32
func (*CreateRoleEntityRequest) GetRoleId ¶
func (x *CreateRoleEntityRequest) GetRoleId() uint32
func (*CreateRoleEntityRequest) GetRules ¶
func (x *CreateRoleEntityRequest) GetRules() []uint32
func (*CreateRoleEntityRequest) GetScope ¶
func (x *CreateRoleEntityRequest) GetScope() string
func (*CreateRoleEntityRequest) ProtoMessage ¶
func (*CreateRoleEntityRequest) ProtoMessage()
func (*CreateRoleEntityRequest) ProtoReflect ¶
func (x *CreateRoleEntityRequest) ProtoReflect() protoreflect.Message
func (*CreateRoleEntityRequest) Reset ¶
func (x *CreateRoleEntityRequest) Reset()
func (*CreateRoleEntityRequest) String ¶
func (x *CreateRoleEntityRequest) String() string
func (*CreateRoleEntityRequest) Validate ¶
func (m *CreateRoleEntityRequest) Validate() error
Validate checks the field values on CreateRoleEntityRequest 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 (*CreateRoleEntityRequest) ValidateAll ¶
func (m *CreateRoleEntityRequest) ValidateAll() error
ValidateAll checks the field values on CreateRoleEntityRequest 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 CreateRoleEntityRequestMultiError, or nil if none found.
type CreateRoleEntityRequestMultiError ¶
type CreateRoleEntityRequestMultiError []error
CreateRoleEntityRequestMultiError is an error wrapping multiple validation errors returned by CreateRoleEntityRequest.ValidateAll() if the designated constraints aren't met.
func (CreateRoleEntityRequestMultiError) AllErrors ¶
func (m CreateRoleEntityRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRoleEntityRequestMultiError) Error ¶
func (m CreateRoleEntityRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateRoleEntityRequestValidationError ¶
type CreateRoleEntityRequestValidationError struct {
// contains filtered or unexported fields
}
CreateRoleEntityRequestValidationError is the validation error returned by CreateRoleEntityRequest.Validate if the designated constraints aren't met.
func (CreateRoleEntityRequestValidationError) Cause ¶
func (e CreateRoleEntityRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateRoleEntityRequestValidationError) Error ¶
func (e CreateRoleEntityRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRoleEntityRequestValidationError) ErrorName ¶
func (e CreateRoleEntityRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRoleEntityRequestValidationError) Field ¶
func (e CreateRoleEntityRequestValidationError) Field() string
Field function returns field value.
func (CreateRoleEntityRequestValidationError) Key ¶
func (e CreateRoleEntityRequestValidationError) Key() bool
Key function returns key value.
func (CreateRoleEntityRequestValidationError) Reason ¶
func (e CreateRoleEntityRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteRoleEntityReply ¶
type DeleteRoleEntityReply struct {
// contains filtered or unexported fields
}
func (*DeleteRoleEntityReply) Descriptor
deprecated
func (*DeleteRoleEntityReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleEntityReply.ProtoReflect.Descriptor instead.
func (*DeleteRoleEntityReply) ProtoMessage ¶
func (*DeleteRoleEntityReply) ProtoMessage()
func (*DeleteRoleEntityReply) ProtoReflect ¶
func (x *DeleteRoleEntityReply) ProtoReflect() protoreflect.Message
func (*DeleteRoleEntityReply) Reset ¶
func (x *DeleteRoleEntityReply) Reset()
func (*DeleteRoleEntityReply) String ¶
func (x *DeleteRoleEntityReply) String() string
func (*DeleteRoleEntityReply) Validate ¶
func (m *DeleteRoleEntityReply) Validate() error
Validate checks the field values on DeleteRoleEntityReply 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 (*DeleteRoleEntityReply) ValidateAll ¶
func (m *DeleteRoleEntityReply) ValidateAll() error
ValidateAll checks the field values on DeleteRoleEntityReply 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 DeleteRoleEntityReplyMultiError, or nil if none found.
type DeleteRoleEntityReplyMultiError ¶
type DeleteRoleEntityReplyMultiError []error
DeleteRoleEntityReplyMultiError is an error wrapping multiple validation errors returned by DeleteRoleEntityReply.ValidateAll() if the designated constraints aren't met.
func (DeleteRoleEntityReplyMultiError) AllErrors ¶
func (m DeleteRoleEntityReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRoleEntityReplyMultiError) Error ¶
func (m DeleteRoleEntityReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRoleEntityReplyValidationError ¶
type DeleteRoleEntityReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteRoleEntityReplyValidationError is the validation error returned by DeleteRoleEntityReply.Validate if the designated constraints aren't met.
func (DeleteRoleEntityReplyValidationError) Cause ¶
func (e DeleteRoleEntityReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteRoleEntityReplyValidationError) Error ¶
func (e DeleteRoleEntityReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRoleEntityReplyValidationError) ErrorName ¶
func (e DeleteRoleEntityReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRoleEntityReplyValidationError) Field ¶
func (e DeleteRoleEntityReplyValidationError) Field() string
Field function returns field value.
func (DeleteRoleEntityReplyValidationError) Key ¶
func (e DeleteRoleEntityReplyValidationError) Key() bool
Key function returns key value.
func (DeleteRoleEntityReplyValidationError) Reason ¶
func (e DeleteRoleEntityReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteRoleEntityRequest ¶
type DeleteRoleEntityRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteRoleEntityRequest) Descriptor
deprecated
func (*DeleteRoleEntityRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleEntityRequest.ProtoReflect.Descriptor instead.
func (*DeleteRoleEntityRequest) GetId ¶
func (x *DeleteRoleEntityRequest) GetId() uint32
func (*DeleteRoleEntityRequest) ProtoMessage ¶
func (*DeleteRoleEntityRequest) ProtoMessage()
func (*DeleteRoleEntityRequest) ProtoReflect ¶
func (x *DeleteRoleEntityRequest) ProtoReflect() protoreflect.Message
func (*DeleteRoleEntityRequest) Reset ¶
func (x *DeleteRoleEntityRequest) Reset()
func (*DeleteRoleEntityRequest) String ¶
func (x *DeleteRoleEntityRequest) String() string
func (*DeleteRoleEntityRequest) Validate ¶
func (m *DeleteRoleEntityRequest) Validate() error
Validate checks the field values on DeleteRoleEntityRequest 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 (*DeleteRoleEntityRequest) ValidateAll ¶
func (m *DeleteRoleEntityRequest) ValidateAll() error
ValidateAll checks the field values on DeleteRoleEntityRequest 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 DeleteRoleEntityRequestMultiError, or nil if none found.
type DeleteRoleEntityRequestMultiError ¶
type DeleteRoleEntityRequestMultiError []error
DeleteRoleEntityRequestMultiError is an error wrapping multiple validation errors returned by DeleteRoleEntityRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteRoleEntityRequestMultiError) AllErrors ¶
func (m DeleteRoleEntityRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRoleEntityRequestMultiError) Error ¶
func (m DeleteRoleEntityRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRoleEntityRequestValidationError ¶
type DeleteRoleEntityRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteRoleEntityRequestValidationError is the validation error returned by DeleteRoleEntityRequest.Validate if the designated constraints aren't met.
func (DeleteRoleEntityRequestValidationError) Cause ¶
func (e DeleteRoleEntityRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteRoleEntityRequestValidationError) Error ¶
func (e DeleteRoleEntityRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRoleEntityRequestValidationError) ErrorName ¶
func (e DeleteRoleEntityRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRoleEntityRequestValidationError) Field ¶
func (e DeleteRoleEntityRequestValidationError) Field() string
Field function returns field value.
func (DeleteRoleEntityRequestValidationError) Key ¶
func (e DeleteRoleEntityRequestValidationError) Key() bool
Key function returns key value.
func (DeleteRoleEntityRequestValidationError) Reason ¶
func (e DeleteRoleEntityRequestValidationError) Reason() string
Reason function returns reason value.
type ListRoleEntityReply ¶
type ListRoleEntityReply struct {
List []*ListRoleEntityReply_Data `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
Total uint32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*ListRoleEntityReply) Descriptor
deprecated
func (*ListRoleEntityReply) Descriptor() ([]byte, []int)
Deprecated: Use ListRoleEntityReply.ProtoReflect.Descriptor instead.
func (*ListRoleEntityReply) GetList ¶
func (x *ListRoleEntityReply) GetList() []*ListRoleEntityReply_Data
func (*ListRoleEntityReply) GetTotal ¶
func (x *ListRoleEntityReply) GetTotal() uint32
func (*ListRoleEntityReply) ProtoMessage ¶
func (*ListRoleEntityReply) ProtoMessage()
func (*ListRoleEntityReply) ProtoReflect ¶
func (x *ListRoleEntityReply) ProtoReflect() protoreflect.Message
func (*ListRoleEntityReply) Reset ¶
func (x *ListRoleEntityReply) Reset()
func (*ListRoleEntityReply) String ¶
func (x *ListRoleEntityReply) String() string
func (*ListRoleEntityReply) Validate ¶
func (m *ListRoleEntityReply) Validate() error
Validate checks the field values on ListRoleEntityReply 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 (*ListRoleEntityReply) ValidateAll ¶
func (m *ListRoleEntityReply) ValidateAll() error
ValidateAll checks the field values on ListRoleEntityReply 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 ListRoleEntityReplyMultiError, or nil if none found.
type ListRoleEntityReplyMultiError ¶
type ListRoleEntityReplyMultiError []error
ListRoleEntityReplyMultiError is an error wrapping multiple validation errors returned by ListRoleEntityReply.ValidateAll() if the designated constraints aren't met.
func (ListRoleEntityReplyMultiError) AllErrors ¶
func (m ListRoleEntityReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRoleEntityReplyMultiError) Error ¶
func (m ListRoleEntityReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRoleEntityReplyValidationError ¶
type ListRoleEntityReplyValidationError struct {
// contains filtered or unexported fields
}
ListRoleEntityReplyValidationError is the validation error returned by ListRoleEntityReply.Validate if the designated constraints aren't met.
func (ListRoleEntityReplyValidationError) Cause ¶
func (e ListRoleEntityReplyValidationError) Cause() error
Cause function returns cause value.
func (ListRoleEntityReplyValidationError) Error ¶
func (e ListRoleEntityReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListRoleEntityReplyValidationError) ErrorName ¶
func (e ListRoleEntityReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListRoleEntityReplyValidationError) Field ¶
func (e ListRoleEntityReplyValidationError) Field() string
Field function returns field value.
func (ListRoleEntityReplyValidationError) Key ¶
func (e ListRoleEntityReplyValidationError) Key() bool
Key function returns key value.
func (ListRoleEntityReplyValidationError) Reason ¶
func (e ListRoleEntityReplyValidationError) Reason() string
Reason function returns reason value.
type ListRoleEntityReply_App ¶
type ListRoleEntityReply_App struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*ListRoleEntityReply_App) Descriptor
deprecated
func (*ListRoleEntityReply_App) Descriptor() ([]byte, []int)
Deprecated: Use ListRoleEntityReply_App.ProtoReflect.Descriptor instead.
func (*ListRoleEntityReply_App) GetId ¶
func (x *ListRoleEntityReply_App) GetId() uint32
func (*ListRoleEntityReply_App) GetName ¶
func (x *ListRoleEntityReply_App) GetName() string
func (*ListRoleEntityReply_App) ProtoMessage ¶
func (*ListRoleEntityReply_App) ProtoMessage()
func (*ListRoleEntityReply_App) ProtoReflect ¶
func (x *ListRoleEntityReply_App) ProtoReflect() protoreflect.Message
func (*ListRoleEntityReply_App) Reset ¶
func (x *ListRoleEntityReply_App) Reset()
func (*ListRoleEntityReply_App) String ¶
func (x *ListRoleEntityReply_App) String() string
func (*ListRoleEntityReply_App) Validate ¶
func (m *ListRoleEntityReply_App) Validate() error
Validate checks the field values on ListRoleEntityReply_App 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 (*ListRoleEntityReply_App) ValidateAll ¶
func (m *ListRoleEntityReply_App) ValidateAll() error
ValidateAll checks the field values on ListRoleEntityReply_App 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 ListRoleEntityReply_AppMultiError, or nil if none found.
type ListRoleEntityReply_AppMultiError ¶
type ListRoleEntityReply_AppMultiError []error
ListRoleEntityReply_AppMultiError is an error wrapping multiple validation errors returned by ListRoleEntityReply_App.ValidateAll() if the designated constraints aren't met.
func (ListRoleEntityReply_AppMultiError) AllErrors ¶
func (m ListRoleEntityReply_AppMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRoleEntityReply_AppMultiError) Error ¶
func (m ListRoleEntityReply_AppMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRoleEntityReply_AppValidationError ¶
type ListRoleEntityReply_AppValidationError struct {
// contains filtered or unexported fields
}
ListRoleEntityReply_AppValidationError is the validation error returned by ListRoleEntityReply_App.Validate if the designated constraints aren't met.
func (ListRoleEntityReply_AppValidationError) Cause ¶
func (e ListRoleEntityReply_AppValidationError) Cause() error
Cause function returns cause value.
func (ListRoleEntityReply_AppValidationError) Error ¶
func (e ListRoleEntityReply_AppValidationError) Error() string
Error satisfies the builtin error interface
func (ListRoleEntityReply_AppValidationError) ErrorName ¶
func (e ListRoleEntityReply_AppValidationError) ErrorName() string
ErrorName returns error name.
func (ListRoleEntityReply_AppValidationError) Field ¶
func (e ListRoleEntityReply_AppValidationError) Field() string
Field function returns field value.
func (ListRoleEntityReply_AppValidationError) Key ¶
func (e ListRoleEntityReply_AppValidationError) Key() bool
Key function returns key value.
func (ListRoleEntityReply_AppValidationError) Reason ¶
func (e ListRoleEntityReply_AppValidationError) Reason() string
Reason function returns reason value.
type ListRoleEntityReply_Data ¶
type ListRoleEntityReply_Data struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
RoleId uint32 `protobuf:"varint,2,opt,name=roleId,proto3" json:"roleId,omitempty"`
EntityId uint32 `protobuf:"varint,3,opt,name=entityId,proto3" json:"entityId,omitempty"`
Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
Scope string `protobuf:"bytes,5,opt,name=scope,proto3" json:"scope,omitempty"`
Fields []uint32 `protobuf:"varint,6,rep,packed,name=fields,proto3" json:"fields,omitempty"`
Rules []uint32 `protobuf:"varint,7,rep,packed,name=rules,proto3" json:"rules,omitempty"`
Depts []uint32 `protobuf:"varint,9,rep,packed,name=depts,proto3" json:"depts,omitempty"`
CreatedAt uint32 `protobuf:"varint,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
UpdatedAt uint32 `protobuf:"varint,11,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
Entity *ListRoleEntityReply_Entity `protobuf:"bytes,12,opt,name=entity,proto3" json:"entity,omitempty"`
// contains filtered or unexported fields
}
func (*ListRoleEntityReply_Data) Descriptor
deprecated
func (*ListRoleEntityReply_Data) Descriptor() ([]byte, []int)
Deprecated: Use ListRoleEntityReply_Data.ProtoReflect.Descriptor instead.
func (*ListRoleEntityReply_Data) GetAction ¶
func (x *ListRoleEntityReply_Data) GetAction() string
func (*ListRoleEntityReply_Data) GetCreatedAt ¶
func (x *ListRoleEntityReply_Data) GetCreatedAt() uint32
func (*ListRoleEntityReply_Data) GetDepts ¶
func (x *ListRoleEntityReply_Data) GetDepts() []uint32
func (*ListRoleEntityReply_Data) GetEntity ¶
func (x *ListRoleEntityReply_Data) GetEntity() *ListRoleEntityReply_Entity
func (*ListRoleEntityReply_Data) GetEntityId ¶
func (x *ListRoleEntityReply_Data) GetEntityId() uint32
func (*ListRoleEntityReply_Data) GetFields ¶
func (x *ListRoleEntityReply_Data) GetFields() []uint32
func (*ListRoleEntityReply_Data) GetId ¶
func (x *ListRoleEntityReply_Data) GetId() uint32
func (*ListRoleEntityReply_Data) GetRoleId ¶
func (x *ListRoleEntityReply_Data) GetRoleId() uint32
func (*ListRoleEntityReply_Data) GetRules ¶
func (x *ListRoleEntityReply_Data) GetRules() []uint32
func (*ListRoleEntityReply_Data) GetScope ¶
func (x *ListRoleEntityReply_Data) GetScope() string
func (*ListRoleEntityReply_Data) GetUpdatedAt ¶
func (x *ListRoleEntityReply_Data) GetUpdatedAt() uint32
func (*ListRoleEntityReply_Data) ProtoMessage ¶
func (*ListRoleEntityReply_Data) ProtoMessage()
func (*ListRoleEntityReply_Data) ProtoReflect ¶
func (x *ListRoleEntityReply_Data) ProtoReflect() protoreflect.Message
func (*ListRoleEntityReply_Data) Reset ¶
func (x *ListRoleEntityReply_Data) Reset()
func (*ListRoleEntityReply_Data) String ¶
func (x *ListRoleEntityReply_Data) String() string
func (*ListRoleEntityReply_Data) Validate ¶
func (m *ListRoleEntityReply_Data) Validate() error
Validate checks the field values on ListRoleEntityReply_Data 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 (*ListRoleEntityReply_Data) ValidateAll ¶
func (m *ListRoleEntityReply_Data) ValidateAll() error
ValidateAll checks the field values on ListRoleEntityReply_Data 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 ListRoleEntityReply_DataMultiError, or nil if none found.
type ListRoleEntityReply_DataMultiError ¶
type ListRoleEntityReply_DataMultiError []error
ListRoleEntityReply_DataMultiError is an error wrapping multiple validation errors returned by ListRoleEntityReply_Data.ValidateAll() if the designated constraints aren't met.
func (ListRoleEntityReply_DataMultiError) AllErrors ¶
func (m ListRoleEntityReply_DataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRoleEntityReply_DataMultiError) Error ¶
func (m ListRoleEntityReply_DataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRoleEntityReply_DataValidationError ¶
type ListRoleEntityReply_DataValidationError struct {
// contains filtered or unexported fields
}
ListRoleEntityReply_DataValidationError is the validation error returned by ListRoleEntityReply_Data.Validate if the designated constraints aren't met.
func (ListRoleEntityReply_DataValidationError) Cause ¶
func (e ListRoleEntityReply_DataValidationError) Cause() error
Cause function returns cause value.
func (ListRoleEntityReply_DataValidationError) Error ¶
func (e ListRoleEntityReply_DataValidationError) Error() string
Error satisfies the builtin error interface
func (ListRoleEntityReply_DataValidationError) ErrorName ¶
func (e ListRoleEntityReply_DataValidationError) ErrorName() string
ErrorName returns error name.
func (ListRoleEntityReply_DataValidationError) Field ¶
func (e ListRoleEntityReply_DataValidationError) Field() string
Field function returns field value.
func (ListRoleEntityReply_DataValidationError) Key ¶
func (e ListRoleEntityReply_DataValidationError) Key() bool
Key function returns key value.
func (ListRoleEntityReply_DataValidationError) Reason ¶
func (e ListRoleEntityReply_DataValidationError) Reason() string
Reason function returns reason value.
type ListRoleEntityReply_Entity ¶
type ListRoleEntityReply_Entity struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
App *ListRoleEntityReply_App `protobuf:"bytes,4,opt,name=app,proto3" json:"app,omitempty"`
// contains filtered or unexported fields
}
func (*ListRoleEntityReply_Entity) Descriptor
deprecated
func (*ListRoleEntityReply_Entity) Descriptor() ([]byte, []int)
Deprecated: Use ListRoleEntityReply_Entity.ProtoReflect.Descriptor instead.
func (*ListRoleEntityReply_Entity) GetApp ¶
func (x *ListRoleEntityReply_Entity) GetApp() *ListRoleEntityReply_App
func (*ListRoleEntityReply_Entity) GetComment ¶
func (x *ListRoleEntityReply_Entity) GetComment() string
func (*ListRoleEntityReply_Entity) GetId ¶
func (x *ListRoleEntityReply_Entity) GetId() uint32
func (*ListRoleEntityReply_Entity) GetName ¶
func (x *ListRoleEntityReply_Entity) GetName() string
func (*ListRoleEntityReply_Entity) ProtoMessage ¶
func (*ListRoleEntityReply_Entity) ProtoMessage()
func (*ListRoleEntityReply_Entity) ProtoReflect ¶
func (x *ListRoleEntityReply_Entity) ProtoReflect() protoreflect.Message
func (*ListRoleEntityReply_Entity) Reset ¶
func (x *ListRoleEntityReply_Entity) Reset()
func (*ListRoleEntityReply_Entity) String ¶
func (x *ListRoleEntityReply_Entity) String() string
func (*ListRoleEntityReply_Entity) Validate ¶
func (m *ListRoleEntityReply_Entity) Validate() error
Validate checks the field values on ListRoleEntityReply_Entity 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 (*ListRoleEntityReply_Entity) ValidateAll ¶
func (m *ListRoleEntityReply_Entity) ValidateAll() error
ValidateAll checks the field values on ListRoleEntityReply_Entity 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 ListRoleEntityReply_EntityMultiError, or nil if none found.
type ListRoleEntityReply_EntityMultiError ¶
type ListRoleEntityReply_EntityMultiError []error
ListRoleEntityReply_EntityMultiError is an error wrapping multiple validation errors returned by ListRoleEntityReply_Entity.ValidateAll() if the designated constraints aren't met.
func (ListRoleEntityReply_EntityMultiError) AllErrors ¶
func (m ListRoleEntityReply_EntityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRoleEntityReply_EntityMultiError) Error ¶
func (m ListRoleEntityReply_EntityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRoleEntityReply_EntityValidationError ¶
type ListRoleEntityReply_EntityValidationError struct {
// contains filtered or unexported fields
}
ListRoleEntityReply_EntityValidationError is the validation error returned by ListRoleEntityReply_Entity.Validate if the designated constraints aren't met.
func (ListRoleEntityReply_EntityValidationError) Cause ¶
func (e ListRoleEntityReply_EntityValidationError) Cause() error
Cause function returns cause value.
func (ListRoleEntityReply_EntityValidationError) Error ¶
func (e ListRoleEntityReply_EntityValidationError) Error() string
Error satisfies the builtin error interface
func (ListRoleEntityReply_EntityValidationError) ErrorName ¶
func (e ListRoleEntityReply_EntityValidationError) ErrorName() string
ErrorName returns error name.
func (ListRoleEntityReply_EntityValidationError) Field ¶
func (e ListRoleEntityReply_EntityValidationError) Field() string
Field function returns field value.
func (ListRoleEntityReply_EntityValidationError) Key ¶
func (e ListRoleEntityReply_EntityValidationError) Key() bool
Key function returns key value.
func (ListRoleEntityReply_EntityValidationError) Reason ¶
func (e ListRoleEntityReply_EntityValidationError) Reason() string
Reason function returns reason value.
type ListRoleEntityRequest ¶
type ListRoleEntityRequest struct {
Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
PageSize uint32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
RoleId uint32 `protobuf:"varint,3,opt,name=roleId,proto3" json:"roleId,omitempty"`
EntityId *uint32 `protobuf:"varint,4,opt,name=entityId,proto3,oneof" json:"entityId,omitempty"`
// contains filtered or unexported fields
}
func (*ListRoleEntityRequest) Descriptor
deprecated
func (*ListRoleEntityRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRoleEntityRequest.ProtoReflect.Descriptor instead.
func (*ListRoleEntityRequest) GetEntityId ¶
func (x *ListRoleEntityRequest) GetEntityId() uint32
func (*ListRoleEntityRequest) GetPage ¶
func (x *ListRoleEntityRequest) GetPage() uint32
func (*ListRoleEntityRequest) GetPageSize ¶
func (x *ListRoleEntityRequest) GetPageSize() uint32
func (*ListRoleEntityRequest) GetRoleId ¶
func (x *ListRoleEntityRequest) GetRoleId() uint32
func (*ListRoleEntityRequest) ProtoMessage ¶
func (*ListRoleEntityRequest) ProtoMessage()
func (*ListRoleEntityRequest) ProtoReflect ¶
func (x *ListRoleEntityRequest) ProtoReflect() protoreflect.Message
func (*ListRoleEntityRequest) Reset ¶
func (x *ListRoleEntityRequest) Reset()
func (*ListRoleEntityRequest) String ¶
func (x *ListRoleEntityRequest) String() string
func (*ListRoleEntityRequest) Validate ¶
func (m *ListRoleEntityRequest) Validate() error
Validate checks the field values on ListRoleEntityRequest 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 (*ListRoleEntityRequest) ValidateAll ¶
func (m *ListRoleEntityRequest) ValidateAll() error
ValidateAll checks the field values on ListRoleEntityRequest 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 ListRoleEntityRequestMultiError, or nil if none found.
type ListRoleEntityRequestMultiError ¶
type ListRoleEntityRequestMultiError []error
ListRoleEntityRequestMultiError is an error wrapping multiple validation errors returned by ListRoleEntityRequest.ValidateAll() if the designated constraints aren't met.
func (ListRoleEntityRequestMultiError) AllErrors ¶
func (m ListRoleEntityRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRoleEntityRequestMultiError) Error ¶
func (m ListRoleEntityRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRoleEntityRequestValidationError ¶
type ListRoleEntityRequestValidationError struct {
// contains filtered or unexported fields
}
ListRoleEntityRequestValidationError is the validation error returned by ListRoleEntityRequest.Validate if the designated constraints aren't met.
func (ListRoleEntityRequestValidationError) Cause ¶
func (e ListRoleEntityRequestValidationError) Cause() error
Cause function returns cause value.
func (ListRoleEntityRequestValidationError) Error ¶
func (e ListRoleEntityRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListRoleEntityRequestValidationError) ErrorName ¶
func (e ListRoleEntityRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListRoleEntityRequestValidationError) Field ¶
func (e ListRoleEntityRequestValidationError) Field() string
Field function returns field value.
func (ListRoleEntityRequestValidationError) Key ¶
func (e ListRoleEntityRequestValidationError) Key() bool
Key function returns key value.
func (ListRoleEntityRequestValidationError) Reason ¶
func (e ListRoleEntityRequestValidationError) Reason() string
Reason function returns reason value.
type RoleEntityClient ¶
type RoleEntityClient interface {
// ListRoleEntity获取角色数据列表
ListRoleEntity(ctx context.Context, in *ListRoleEntityRequest, opts ...grpc.CallOption) (*ListRoleEntityReply, error)
// CreateRoleEntity 创建角色数据信息
CreateRoleEntity(ctx context.Context, in *CreateRoleEntityRequest, opts ...grpc.CallOption) (*CreateRoleEntityReply, error)
// CreateRoleEntity 创建角色数据信息
UpdateRoleEntity(ctx context.Context, in *UpdateRoleEntityRequest, opts ...grpc.CallOption) (*UpdateRoleEntityReply, error)
// DeleteRoleEntity 删除角色数据信息
DeleteRoleEntity(ctx context.Context, in *DeleteRoleEntityRequest, opts ...grpc.CallOption) (*DeleteRoleEntityReply, error)
}
RoleEntityClient is the client API for RoleEntity 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 NewRoleEntityClient ¶
func NewRoleEntityClient(cc grpc.ClientConnInterface) RoleEntityClient
type RoleEntityHTTPClient ¶
type RoleEntityHTTPClient interface {
CreateRoleEntity(ctx context.Context, req *CreateRoleEntityRequest, opts ...http.CallOption) (rsp *CreateRoleEntityReply, err error)
DeleteRoleEntity(ctx context.Context, req *DeleteRoleEntityRequest, opts ...http.CallOption) (rsp *DeleteRoleEntityReply, err error)
ListRoleEntity(ctx context.Context, req *ListRoleEntityRequest, opts ...http.CallOption) (rsp *ListRoleEntityReply, err error)
UpdateRoleEntity(ctx context.Context, req *UpdateRoleEntityRequest, opts ...http.CallOption) (rsp *UpdateRoleEntityReply, err error)
}
func NewRoleEntityHTTPClient ¶
func NewRoleEntityHTTPClient(client *http.Client) RoleEntityHTTPClient
type RoleEntityHTTPClientImpl ¶
type RoleEntityHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*RoleEntityHTTPClientImpl) CreateRoleEntity ¶
func (c *RoleEntityHTTPClientImpl) CreateRoleEntity(ctx context.Context, in *CreateRoleEntityRequest, opts ...http.CallOption) (*CreateRoleEntityReply, error)
func (*RoleEntityHTTPClientImpl) DeleteRoleEntity ¶
func (c *RoleEntityHTTPClientImpl) DeleteRoleEntity(ctx context.Context, in *DeleteRoleEntityRequest, opts ...http.CallOption) (*DeleteRoleEntityReply, error)
func (*RoleEntityHTTPClientImpl) ListRoleEntity ¶
func (c *RoleEntityHTTPClientImpl) ListRoleEntity(ctx context.Context, in *ListRoleEntityRequest, opts ...http.CallOption) (*ListRoleEntityReply, error)
func (*RoleEntityHTTPClientImpl) UpdateRoleEntity ¶
func (c *RoleEntityHTTPClientImpl) UpdateRoleEntity(ctx context.Context, in *UpdateRoleEntityRequest, opts ...http.CallOption) (*UpdateRoleEntityReply, error)
type RoleEntityHTTPServer ¶
type RoleEntityHTTPServer interface {
// CreateRoleEntity CreateRoleEntity 创建角色数据信息
CreateRoleEntity(context.Context, *CreateRoleEntityRequest) (*CreateRoleEntityReply, error)
// DeleteRoleEntity DeleteRoleEntity 删除角色数据信息
DeleteRoleEntity(context.Context, *DeleteRoleEntityRequest) (*DeleteRoleEntityReply, error)
// ListRoleEntity ListRoleEntity获取角色数据列表
ListRoleEntity(context.Context, *ListRoleEntityRequest) (*ListRoleEntityReply, error)
// UpdateRoleEntity CreateRoleEntity 创建角色数据信息
UpdateRoleEntity(context.Context, *UpdateRoleEntityRequest) (*UpdateRoleEntityReply, error)
}
type RoleEntityServer ¶
type RoleEntityServer interface {
// ListRoleEntity获取角色数据列表
ListRoleEntity(context.Context, *ListRoleEntityRequest) (*ListRoleEntityReply, error)
// CreateRoleEntity 创建角色数据信息
CreateRoleEntity(context.Context, *CreateRoleEntityRequest) (*CreateRoleEntityReply, error)
// CreateRoleEntity 创建角色数据信息
UpdateRoleEntity(context.Context, *UpdateRoleEntityRequest) (*UpdateRoleEntityReply, error)
// DeleteRoleEntity 删除角色数据信息
DeleteRoleEntity(context.Context, *DeleteRoleEntityRequest) (*DeleteRoleEntityReply, error)
// contains filtered or unexported methods
}
RoleEntityServer is the server API for RoleEntity service. All implementations must embed UnimplementedRoleEntityServer for forward compatibility
type UnimplementedRoleEntityServer ¶
type UnimplementedRoleEntityServer struct{}
UnimplementedRoleEntityServer must be embedded to have forward compatible implementations.
func (UnimplementedRoleEntityServer) CreateRoleEntity ¶
func (UnimplementedRoleEntityServer) CreateRoleEntity(context.Context, *CreateRoleEntityRequest) (*CreateRoleEntityReply, error)
func (UnimplementedRoleEntityServer) DeleteRoleEntity ¶
func (UnimplementedRoleEntityServer) DeleteRoleEntity(context.Context, *DeleteRoleEntityRequest) (*DeleteRoleEntityReply, error)
func (UnimplementedRoleEntityServer) ListRoleEntity ¶
func (UnimplementedRoleEntityServer) ListRoleEntity(context.Context, *ListRoleEntityRequest) (*ListRoleEntityReply, error)
func (UnimplementedRoleEntityServer) UpdateRoleEntity ¶
func (UnimplementedRoleEntityServer) UpdateRoleEntity(context.Context, *UpdateRoleEntityRequest) (*UpdateRoleEntityReply, error)
type UnsafeRoleEntityServer ¶
type UnsafeRoleEntityServer interface {
// contains filtered or unexported methods
}
UnsafeRoleEntityServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RoleEntityServer will result in compilation errors.
type UpdateRoleEntityReply ¶
type UpdateRoleEntityReply struct {
// contains filtered or unexported fields
}
func (*UpdateRoleEntityReply) Descriptor
deprecated
func (*UpdateRoleEntityReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoleEntityReply.ProtoReflect.Descriptor instead.
func (*UpdateRoleEntityReply) ProtoMessage ¶
func (*UpdateRoleEntityReply) ProtoMessage()
func (*UpdateRoleEntityReply) ProtoReflect ¶
func (x *UpdateRoleEntityReply) ProtoReflect() protoreflect.Message
func (*UpdateRoleEntityReply) Reset ¶
func (x *UpdateRoleEntityReply) Reset()
func (*UpdateRoleEntityReply) String ¶
func (x *UpdateRoleEntityReply) String() string
func (*UpdateRoleEntityReply) Validate ¶
func (m *UpdateRoleEntityReply) Validate() error
Validate checks the field values on UpdateRoleEntityReply 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 (*UpdateRoleEntityReply) ValidateAll ¶
func (m *UpdateRoleEntityReply) ValidateAll() error
ValidateAll checks the field values on UpdateRoleEntityReply 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 UpdateRoleEntityReplyMultiError, or nil if none found.
type UpdateRoleEntityReplyMultiError ¶
type UpdateRoleEntityReplyMultiError []error
UpdateRoleEntityReplyMultiError is an error wrapping multiple validation errors returned by UpdateRoleEntityReply.ValidateAll() if the designated constraints aren't met.
func (UpdateRoleEntityReplyMultiError) AllErrors ¶
func (m UpdateRoleEntityReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRoleEntityReplyMultiError) Error ¶
func (m UpdateRoleEntityReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRoleEntityReplyValidationError ¶
type UpdateRoleEntityReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateRoleEntityReplyValidationError is the validation error returned by UpdateRoleEntityReply.Validate if the designated constraints aren't met.
func (UpdateRoleEntityReplyValidationError) Cause ¶
func (e UpdateRoleEntityReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateRoleEntityReplyValidationError) Error ¶
func (e UpdateRoleEntityReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRoleEntityReplyValidationError) ErrorName ¶
func (e UpdateRoleEntityReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRoleEntityReplyValidationError) Field ¶
func (e UpdateRoleEntityReplyValidationError) Field() string
Field function returns field value.
func (UpdateRoleEntityReplyValidationError) Key ¶
func (e UpdateRoleEntityReplyValidationError) Key() bool
Key function returns key value.
func (UpdateRoleEntityReplyValidationError) Reason ¶
func (e UpdateRoleEntityReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateRoleEntityRequest ¶
type UpdateRoleEntityRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
RoleId *uint32 `protobuf:"varint,2,opt,name=roleId,proto3,oneof" json:"roleId,omitempty"`
EntityId *uint32 `protobuf:"varint,3,opt,name=entityId,proto3,oneof" json:"entityId,omitempty"`
Action *string `protobuf:"bytes,4,opt,name=action,proto3,oneof" json:"action,omitempty"`
Scope *string `protobuf:"bytes,5,opt,name=scope,proto3,oneof" json:"scope,omitempty"`
Fields []uint32 `protobuf:"varint,6,rep,packed,name=fields,proto3" json:"fields,omitempty"`
Rules []uint32 `protobuf:"varint,7,rep,packed,name=rules,proto3" json:"rules,omitempty"`
Depts []uint32 `protobuf:"varint,8,rep,packed,name=depts,proto3" json:"depts,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateRoleEntityRequest) Descriptor
deprecated
func (*UpdateRoleEntityRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoleEntityRequest.ProtoReflect.Descriptor instead.
func (*UpdateRoleEntityRequest) GetAction ¶
func (x *UpdateRoleEntityRequest) GetAction() string
func (*UpdateRoleEntityRequest) GetDepts ¶
func (x *UpdateRoleEntityRequest) GetDepts() []uint32
func (*UpdateRoleEntityRequest) GetEntityId ¶
func (x *UpdateRoleEntityRequest) GetEntityId() uint32
func (*UpdateRoleEntityRequest) GetFields ¶
func (x *UpdateRoleEntityRequest) GetFields() []uint32
func (*UpdateRoleEntityRequest) GetId ¶
func (x *UpdateRoleEntityRequest) GetId() uint32
func (*UpdateRoleEntityRequest) GetRoleId ¶
func (x *UpdateRoleEntityRequest) GetRoleId() uint32
func (*UpdateRoleEntityRequest) GetRules ¶
func (x *UpdateRoleEntityRequest) GetRules() []uint32
func (*UpdateRoleEntityRequest) GetScope ¶
func (x *UpdateRoleEntityRequest) GetScope() string
func (*UpdateRoleEntityRequest) ProtoMessage ¶
func (*UpdateRoleEntityRequest) ProtoMessage()
func (*UpdateRoleEntityRequest) ProtoReflect ¶
func (x *UpdateRoleEntityRequest) ProtoReflect() protoreflect.Message
func (*UpdateRoleEntityRequest) Reset ¶
func (x *UpdateRoleEntityRequest) Reset()
func (*UpdateRoleEntityRequest) String ¶
func (x *UpdateRoleEntityRequest) String() string
func (*UpdateRoleEntityRequest) Validate ¶
func (m *UpdateRoleEntityRequest) Validate() error
Validate checks the field values on UpdateRoleEntityRequest 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 (*UpdateRoleEntityRequest) ValidateAll ¶
func (m *UpdateRoleEntityRequest) ValidateAll() error
ValidateAll checks the field values on UpdateRoleEntityRequest 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 UpdateRoleEntityRequestMultiError, or nil if none found.
type UpdateRoleEntityRequestMultiError ¶
type UpdateRoleEntityRequestMultiError []error
UpdateRoleEntityRequestMultiError is an error wrapping multiple validation errors returned by UpdateRoleEntityRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateRoleEntityRequestMultiError) AllErrors ¶
func (m UpdateRoleEntityRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRoleEntityRequestMultiError) Error ¶
func (m UpdateRoleEntityRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRoleEntityRequestValidationError ¶
type UpdateRoleEntityRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateRoleEntityRequestValidationError is the validation error returned by UpdateRoleEntityRequest.Validate if the designated constraints aren't met.
func (UpdateRoleEntityRequestValidationError) Cause ¶
func (e UpdateRoleEntityRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateRoleEntityRequestValidationError) Error ¶
func (e UpdateRoleEntityRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRoleEntityRequestValidationError) ErrorName ¶
func (e UpdateRoleEntityRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRoleEntityRequestValidationError) Field ¶
func (e UpdateRoleEntityRequestValidationError) Field() string
Field function returns field value.
func (UpdateRoleEntityRequestValidationError) Key ¶
func (e UpdateRoleEntityRequestValidationError) Key() bool
Key function returns key value.
func (UpdateRoleEntityRequestValidationError) Reason ¶
func (e UpdateRoleEntityRequestValidationError) Reason() string
Reason function returns reason value.