roleentity

package
v0.0.0-...-d36d6b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
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

View Source
var File_api_roleentity_proto_roleentity_proto protoreflect.FileDescriptor
View Source
var File_api_roleentity_proto_roleentity_service_proto protoreflect.FileDescriptor
View Source
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

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

Cause function returns cause value.

func (CreateRoleEntityReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateRoleEntityReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateRoleEntityReplyValidationError) Field

Field function returns field value.

func (CreateRoleEntityReplyValidationError) Key

Key function returns key value.

func (CreateRoleEntityReplyValidationError) Reason

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

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

Cause function returns cause value.

func (CreateRoleEntityRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateRoleEntityRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateRoleEntityRequestValidationError) Field

Field function returns field value.

func (CreateRoleEntityRequestValidationError) Key

Key function returns key value.

func (CreateRoleEntityRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteRoleEntityReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteRoleEntityReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteRoleEntityReplyValidationError) Field

Field function returns field value.

func (DeleteRoleEntityReplyValidationError) Key

Key function returns key value.

func (DeleteRoleEntityReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteRoleEntityRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteRoleEntityRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteRoleEntityRequestValidationError) Field

Field function returns field value.

func (DeleteRoleEntityRequestValidationError) Key

Key function returns key value.

func (DeleteRoleEntityRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (ListRoleEntityReplyValidationError) Error

Error satisfies the builtin error interface

func (ListRoleEntityReplyValidationError) ErrorName

ErrorName returns error name.

func (ListRoleEntityReplyValidationError) Field

Field function returns field value.

func (ListRoleEntityReplyValidationError) Key

Key function returns key value.

func (ListRoleEntityReplyValidationError) Reason

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

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

Cause function returns cause value.

func (ListRoleEntityReply_AppValidationError) Error

Error satisfies the builtin error interface

func (ListRoleEntityReply_AppValidationError) ErrorName

ErrorName returns error name.

func (ListRoleEntityReply_AppValidationError) Field

Field function returns field value.

func (ListRoleEntityReply_AppValidationError) Key

Key function returns key value.

func (ListRoleEntityReply_AppValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (ListRoleEntityReply_DataValidationError) Error

Error satisfies the builtin error interface

func (ListRoleEntityReply_DataValidationError) ErrorName

ErrorName returns error name.

func (ListRoleEntityReply_DataValidationError) Field

Field function returns field value.

func (ListRoleEntityReply_DataValidationError) Key

Key function returns key value.

func (ListRoleEntityReply_DataValidationError) Reason

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 (*ListRoleEntityReply_Entity) GetComment

func (x *ListRoleEntityReply_Entity) GetComment() string

func (*ListRoleEntityReply_Entity) GetId

func (*ListRoleEntityReply_Entity) GetName

func (x *ListRoleEntityReply_Entity) GetName() string

func (*ListRoleEntityReply_Entity) ProtoMessage

func (*ListRoleEntityReply_Entity) ProtoMessage()

func (*ListRoleEntityReply_Entity) ProtoReflect

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

AllErrors returns a list of validation violation errors.

func (ListRoleEntityReply_EntityMultiError) Error

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

Cause function returns cause value.

func (ListRoleEntityReply_EntityValidationError) Error

Error satisfies the builtin error interface

func (ListRoleEntityReply_EntityValidationError) ErrorName

ErrorName returns error name.

func (ListRoleEntityReply_EntityValidationError) Field

Field function returns field value.

func (ListRoleEntityReply_EntityValidationError) Key

Key function returns key value.

func (ListRoleEntityReply_EntityValidationError) Reason

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

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

Cause function returns cause value.

func (ListRoleEntityRequestValidationError) Error

Error satisfies the builtin error interface

func (ListRoleEntityRequestValidationError) ErrorName

ErrorName returns error name.

func (ListRoleEntityRequestValidationError) Field

Field function returns field value.

func (ListRoleEntityRequestValidationError) Key

Key function returns key value.

func (ListRoleEntityRequestValidationError) Reason

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 (*RoleEntityHTTPClientImpl) DeleteRoleEntity

func (*RoleEntityHTTPClientImpl) ListRoleEntity

func (*RoleEntityHTTPClientImpl) UpdateRoleEntity

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) DeleteRoleEntity

func (UnimplementedRoleEntityServer) ListRoleEntity

func (UnimplementedRoleEntityServer) UpdateRoleEntity

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

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

Cause function returns cause value.

func (UpdateRoleEntityReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateRoleEntityReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateRoleEntityReplyValidationError) Field

Field function returns field value.

func (UpdateRoleEntityReplyValidationError) Key

Key function returns key value.

func (UpdateRoleEntityReplyValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateRoleEntityRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateRoleEntityRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateRoleEntityRequestValidationError) Field

Field function returns field value.

func (UpdateRoleEntityRequestValidationError) Key

Key function returns key value.

func (UpdateRoleEntityRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL