Documentation
¶
Index ¶
- Constants
- Variables
- func ErrorAddressNoiEmpty(format string, args ...interface{}) *errors.Error
- func ErrorCartePlatformNode(format string, args ...interface{}) *errors.Error
- func ErrorMasterNodeMustIncludeServerInformation(format string, args ...interface{}) *errors.Error
- func ErrorNodeContainsChildNodesUnderIt(format string, args ...interface{}) *errors.Error
- func ErrorNodeIsExistError(format string, args ...interface{}) *errors.Error
- func ErrorNodeNotFound(format string, args ...interface{}) *errors.Error
- func ErrorProxyNodeMustSpecifyTheMasterNode(format string, args ...interface{}) *errors.Error
- func ErrorResetKeyError(format string, args ...interface{}) *errors.Error
- func ErrorSetDefaultNodeError(format string, args ...interface{}) *errors.Error
- func ErrorTheEndTimeCannotBeLessThanTheStartTime(format string, args ...interface{}) *errors.Error
- func ErrorTimeControlledNodesMustSpecifyTime(format string, args ...interface{}) *errors.Error
- func IsAddressNoiEmpty(err error) bool
- func IsCartePlatformNode(err error) bool
- func IsMasterNodeMustIncludeServerInformation(err error) bool
- func IsNodeContainsChildNodesUnderIt(err error) bool
- func IsNodeIsExistError(err error) bool
- func IsNodeNotFound(err error) bool
- func IsProxyNodeMustSpecifyTheMasterNode(err error) bool
- func IsResetKeyError(err error) bool
- func IsSetDefaultNodeError(err error) bool
- func IsTheEndTimeCannotBeLessThanTheStartTime(err error) bool
- func IsTimeControlledNodesMustSpecifyTime(err error) bool
- func RegisterNodeServer(s grpc.ServiceRegistrar, srv NodeServer)
- func RegisterPlatformNodeServer(s grpc.ServiceRegistrar, srv PlatformNodeServer)
- type AddNodeReply
- func (*AddNodeReply) Descriptor() ([]byte, []int)deprecated
- func (x *AddNodeReply) GetNodeId() string
- func (*AddNodeReply) ProtoMessage()
- func (x *AddNodeReply) ProtoReflect() protoreflect.Message
- func (x *AddNodeReply) Reset()
- func (x *AddNodeReply) String() string
- func (m *AddNodeReply) Validate() error
- func (m *AddNodeReply) ValidateAll() error
- type AddNodeReplyMultiError
- type AddNodeReplyValidationError
- func (e AddNodeReplyValidationError) Cause() error
- func (e AddNodeReplyValidationError) Error() string
- func (e AddNodeReplyValidationError) ErrorName() string
- func (e AddNodeReplyValidationError) Field() string
- func (e AddNodeReplyValidationError) Key() bool
- func (e AddNodeReplyValidationError) Reason() string
- type AddNodeReq
- func (*AddNodeReq) Descriptor() ([]byte, []int)deprecated
- func (x *AddNodeReq) GetAvAppid() string
- func (x *AddNodeReq) GetAvSecret() string
- func (x *AddNodeReq) GetCode() string
- func (x *AddNodeReq) GetImApiUrl() string
- func (x *AddNodeReq) GetImWsUrl() string
- func (x *AddNodeReq) GetLogo() string
- func (x *AddNodeReq) GetManageApi() string
- func (x *AddNodeReq) GetMasterApi() string
- func (x *AddNodeReq) GetMasterNodeId() string
- func (x *AddNodeReq) GetName() string
- func (x *AddNodeReq) GetNodeType() NodeType
- func (x *AddNodeReq) GetPromotionCode() string
- func (x *AddNodeReq) GetVersion() string
- func (*AddNodeReq) ProtoMessage()
- func (x *AddNodeReq) ProtoReflect() protoreflect.Message
- func (x *AddNodeReq) Reset()
- func (x *AddNodeReq) String() string
- func (m *AddNodeReq) Validate() error
- func (m *AddNodeReq) ValidateAll() error
- type AddNodeReqMultiError
- type AddNodeReqValidationError
- type AddPlatformNodeReply
- func (*AddPlatformNodeReply) Descriptor() ([]byte, []int)deprecated
- func (x *AddPlatformNodeReply) GetNodeId() string
- func (*AddPlatformNodeReply) ProtoMessage()
- func (x *AddPlatformNodeReply) ProtoReflect() protoreflect.Message
- func (x *AddPlatformNodeReply) Reset()
- func (x *AddPlatformNodeReply) String() string
- func (m *AddPlatformNodeReply) Validate() error
- func (m *AddPlatformNodeReply) ValidateAll() error
- type AddPlatformNodeReplyMultiError
- type AddPlatformNodeReplyValidationError
- func (e AddPlatformNodeReplyValidationError) Cause() error
- func (e AddPlatformNodeReplyValidationError) Error() string
- func (e AddPlatformNodeReplyValidationError) ErrorName() string
- func (e AddPlatformNodeReplyValidationError) Field() string
- func (e AddPlatformNodeReplyValidationError) Key() bool
- func (e AddPlatformNodeReplyValidationError) Reason() string
- type AddPlatformNodeReq
- func (*AddPlatformNodeReq) Descriptor() ([]byte, []int)deprecated
- func (x *AddPlatformNodeReq) GetAddress() string
- func (x *AddPlatformNodeReq) GetWeight() int32
- func (*AddPlatformNodeReq) ProtoMessage()
- func (x *AddPlatformNodeReq) ProtoReflect() protoreflect.Message
- func (x *AddPlatformNodeReq) Reset()
- func (x *AddPlatformNodeReq) String() string
- func (m *AddPlatformNodeReq) Validate() error
- func (m *AddPlatformNodeReq) ValidateAll() error
- type AddPlatformNodeReqMultiError
- type AddPlatformNodeReqValidationError
- func (e AddPlatformNodeReqValidationError) Cause() error
- func (e AddPlatformNodeReqValidationError) Error() string
- func (e AddPlatformNodeReqValidationError) ErrorName() string
- func (e AddPlatformNodeReqValidationError) Field() string
- func (e AddPlatformNodeReqValidationError) Key() bool
- func (e AddPlatformNodeReqValidationError) Reason() string
- type DelPlatformNodeReply
- func (*DelPlatformNodeReply) Descriptor() ([]byte, []int)deprecated
- func (*DelPlatformNodeReply) ProtoMessage()
- func (x *DelPlatformNodeReply) ProtoReflect() protoreflect.Message
- func (x *DelPlatformNodeReply) Reset()
- func (x *DelPlatformNodeReply) String() string
- func (m *DelPlatformNodeReply) Validate() error
- func (m *DelPlatformNodeReply) ValidateAll() error
- type DelPlatformNodeReplyMultiError
- type DelPlatformNodeReplyValidationError
- func (e DelPlatformNodeReplyValidationError) Cause() error
- func (e DelPlatformNodeReplyValidationError) Error() string
- func (e DelPlatformNodeReplyValidationError) ErrorName() string
- func (e DelPlatformNodeReplyValidationError) Field() string
- func (e DelPlatformNodeReplyValidationError) Key() bool
- func (e DelPlatformNodeReplyValidationError) Reason() string
- type DelPlatformNodeReq
- func (*DelPlatformNodeReq) Descriptor() ([]byte, []int)deprecated
- func (x *DelPlatformNodeReq) GetId() int32
- func (*DelPlatformNodeReq) ProtoMessage()
- func (x *DelPlatformNodeReq) ProtoReflect() protoreflect.Message
- func (x *DelPlatformNodeReq) Reset()
- func (x *DelPlatformNodeReq) String() string
- func (m *DelPlatformNodeReq) Validate() error
- func (m *DelPlatformNodeReq) ValidateAll() error
- type DelPlatformNodeReqMultiError
- type DelPlatformNodeReqValidationError
- func (e DelPlatformNodeReqValidationError) Cause() error
- func (e DelPlatformNodeReqValidationError) Error() string
- func (e DelPlatformNodeReqValidationError) ErrorName() string
- func (e DelPlatformNodeReqValidationError) Field() string
- func (e DelPlatformNodeReqValidationError) Key() bool
- func (e DelPlatformNodeReqValidationError) Reason() string
- type DelReply
- type DelReplyMultiError
- type DelReplyValidationError
- type DelReq
- func (*DelReq) Descriptor() ([]byte, []int)deprecated
- func (x *DelReq) GetNodeId() string
- func (*DelReq) ProtoMessage()
- func (x *DelReq) ProtoReflect() protoreflect.Message
- func (x *DelReq) Reset()
- func (x *DelReq) String() string
- func (m *DelReq) Validate() error
- func (m *DelReq) ValidateAll() error
- type DelReqMultiError
- type DelReqValidationError
- type DistributeInfoReply
- func (*DistributeInfoReply) Descriptor() ([]byte, []int)deprecated
- func (x *DistributeInfoReply) GetData() *v2.TenantDistributeInfo
- func (x *DistributeInfoReply) GetInfo() *NodeDetails
- func (x *DistributeInfoReply) GetNodeType() NodeType
- func (*DistributeInfoReply) ProtoMessage()
- func (x *DistributeInfoReply) ProtoReflect() protoreflect.Message
- func (x *DistributeInfoReply) Reset()
- func (x *DistributeInfoReply) String() string
- func (m *DistributeInfoReply) Validate() error
- func (m *DistributeInfoReply) ValidateAll() error
- type DistributeInfoReplyMultiError
- type DistributeInfoReplyValidationError
- func (e DistributeInfoReplyValidationError) Cause() error
- func (e DistributeInfoReplyValidationError) Error() string
- func (e DistributeInfoReplyValidationError) ErrorName() string
- func (e DistributeInfoReplyValidationError) Field() string
- func (e DistributeInfoReplyValidationError) Key() bool
- func (e DistributeInfoReplyValidationError) Reason() string
- type EditPlatformNodeReply
- func (*EditPlatformNodeReply) Descriptor() ([]byte, []int)deprecated
- func (*EditPlatformNodeReply) ProtoMessage()
- func (x *EditPlatformNodeReply) ProtoReflect() protoreflect.Message
- func (x *EditPlatformNodeReply) Reset()
- func (x *EditPlatformNodeReply) String() string
- func (m *EditPlatformNodeReply) Validate() error
- func (m *EditPlatformNodeReply) ValidateAll() error
- type EditPlatformNodeReplyMultiError
- type EditPlatformNodeReplyValidationError
- func (e EditPlatformNodeReplyValidationError) Cause() error
- func (e EditPlatformNodeReplyValidationError) Error() string
- func (e EditPlatformNodeReplyValidationError) ErrorName() string
- func (e EditPlatformNodeReplyValidationError) Field() string
- func (e EditPlatformNodeReplyValidationError) Key() bool
- func (e EditPlatformNodeReplyValidationError) Reason() string
- type EditPlatformNodeReq
- func (*EditPlatformNodeReq) Descriptor() ([]byte, []int)deprecated
- func (x *EditPlatformNodeReq) GetAddress() string
- func (x *EditPlatformNodeReq) GetId() int32
- func (x *EditPlatformNodeReq) GetWeight() int32
- func (*EditPlatformNodeReq) ProtoMessage()
- func (x *EditPlatformNodeReq) ProtoReflect() protoreflect.Message
- func (x *EditPlatformNodeReq) Reset()
- func (x *EditPlatformNodeReq) String() string
- func (m *EditPlatformNodeReq) Validate() error
- func (m *EditPlatformNodeReq) ValidateAll() error
- type EditPlatformNodeReqMultiError
- type EditPlatformNodeReqValidationError
- func (e EditPlatformNodeReqValidationError) Cause() error
- func (e EditPlatformNodeReqValidationError) Error() string
- func (e EditPlatformNodeReqValidationError) ErrorName() string
- func (e EditPlatformNodeReqValidationError) Field() string
- func (e EditPlatformNodeReqValidationError) Key() bool
- func (e EditPlatformNodeReqValidationError) Reason() string
- type EditReply
- type EditReplyMultiError
- type EditReplyValidationError
- type EditReq
- func (*EditReq) Descriptor() ([]byte, []int)deprecated
- func (x *EditReq) GetAvAppid() string
- func (x *EditReq) GetAvSecret() string
- func (x *EditReq) GetCode() string
- func (x *EditReq) GetImApiUrl() string
- func (x *EditReq) GetImWsUrl() string
- func (x *EditReq) GetLogo() string
- func (x *EditReq) GetMasterApi() string
- func (x *EditReq) GetName() string
- func (x *EditReq) GetNodeId() string
- func (x *EditReq) GetPromotionCode() string
- func (x *EditReq) GetSort() int32
- func (x *EditReq) GetVersion() string
- func (*EditReq) ProtoMessage()
- func (x *EditReq) ProtoReflect() protoreflect.Message
- func (x *EditReq) Reset()
- func (x *EditReq) String() string
- func (m *EditReq) Validate() error
- func (m *EditReq) ValidateAll() error
- type EditReqMultiError
- type EditReqValidationError
- type EditStatusReply
- func (*EditStatusReply) Descriptor() ([]byte, []int)deprecated
- func (*EditStatusReply) ProtoMessage()
- func (x *EditStatusReply) ProtoReflect() protoreflect.Message
- func (x *EditStatusReply) Reset()
- func (x *EditStatusReply) String() string
- func (m *EditStatusReply) Validate() error
- func (m *EditStatusReply) ValidateAll() error
- type EditStatusReplyMultiError
- type EditStatusReplyValidationError
- func (e EditStatusReplyValidationError) Cause() error
- func (e EditStatusReplyValidationError) Error() string
- func (e EditStatusReplyValidationError) ErrorName() string
- func (e EditStatusReplyValidationError) Field() string
- func (e EditStatusReplyValidationError) Key() bool
- func (e EditStatusReplyValidationError) Reason() string
- type EditStatusReq
- func (*EditStatusReq) Descriptor() ([]byte, []int)deprecated
- func (x *EditStatusReq) GetEndTime() int64
- func (x *EditStatusReq) GetNodeId() string
- func (x *EditStatusReq) GetStartTime() int64
- func (x *EditStatusReq) GetStatus() NodeStatus
- func (*EditStatusReq) ProtoMessage()
- func (x *EditStatusReq) ProtoReflect() protoreflect.Message
- func (x *EditStatusReq) Reset()
- func (x *EditStatusReq) String() string
- func (m *EditStatusReq) Validate() error
- func (m *EditStatusReq) ValidateAll() error
- type EditStatusReqMultiError
- type EditStatusReqValidationError
- func (e EditStatusReqValidationError) Cause() error
- func (e EditStatusReqValidationError) Error() string
- func (e EditStatusReqValidationError) ErrorName() string
- func (e EditStatusReqValidationError) Field() string
- func (e EditStatusReqValidationError) Key() bool
- func (e EditStatusReqValidationError) Reason() string
- type ErrorNodeReason
- func (ErrorNodeReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorNodeReason) Enum() *ErrorNodeReason
- func (ErrorNodeReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorNodeReason) Number() protoreflect.EnumNumber
- func (x ErrorNodeReason) String() string
- func (ErrorNodeReason) Type() protoreflect.EnumType
- type ErrorPlatFormNodeReason
- func (ErrorPlatFormNodeReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorPlatFormNodeReason) Enum() *ErrorPlatFormNodeReason
- func (ErrorPlatFormNodeReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorPlatFormNodeReason) Number() protoreflect.EnumNumber
- func (x ErrorPlatFormNodeReason) String() string
- func (ErrorPlatFormNodeReason) Type() protoreflect.EnumType
- type EscalationReply
- func (*EscalationReply) Descriptor() ([]byte, []int)deprecated
- func (x *EscalationReply) GetData() *v2.SingedMsg
- func (*EscalationReply) ProtoMessage()
- func (x *EscalationReply) ProtoReflect() protoreflect.Message
- func (x *EscalationReply) Reset()
- func (x *EscalationReply) String() string
- func (m *EscalationReply) Validate() error
- func (m *EscalationReply) ValidateAll() error
- type EscalationReplyMultiError
- type EscalationReplyValidationError
- func (e EscalationReplyValidationError) Cause() error
- func (e EscalationReplyValidationError) Error() string
- func (e EscalationReplyValidationError) ErrorName() string
- func (e EscalationReplyValidationError) Field() string
- func (e EscalationReplyValidationError) Key() bool
- func (e EscalationReplyValidationError) Reason() string
- type EscalationReq
- func (*EscalationReq) Descriptor() ([]byte, []int)deprecated
- func (x *EscalationReq) GetData() *v2.SingedMsg
- func (x *EscalationReq) GetTenantId() string
- func (*EscalationReq) ProtoMessage()
- func (x *EscalationReq) ProtoReflect() protoreflect.Message
- func (x *EscalationReq) Reset()
- func (x *EscalationReq) String() string
- func (m *EscalationReq) Validate() error
- func (m *EscalationReq) ValidateAll() error
- type EscalationReqMultiError
- type EscalationReqValidationError
- func (e EscalationReqValidationError) Cause() error
- func (e EscalationReqValidationError) Error() string
- func (e EscalationReqValidationError) ErrorName() string
- func (e EscalationReqValidationError) Field() string
- func (e EscalationReqValidationError) Key() bool
- func (e EscalationReqValidationError) Reason() string
- type GetAllAddressReply
- func (*GetAllAddressReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllAddressReply) GetList() []string
- func (*GetAllAddressReply) ProtoMessage()
- func (x *GetAllAddressReply) ProtoReflect() protoreflect.Message
- func (x *GetAllAddressReply) Reset()
- func (x *GetAllAddressReply) String() string
- func (m *GetAllAddressReply) Validate() error
- func (m *GetAllAddressReply) ValidateAll() error
- type GetAllAddressReplyMultiError
- type GetAllAddressReplyValidationError
- func (e GetAllAddressReplyValidationError) Cause() error
- func (e GetAllAddressReplyValidationError) Error() string
- func (e GetAllAddressReplyValidationError) ErrorName() string
- func (e GetAllAddressReplyValidationError) Field() string
- func (e GetAllAddressReplyValidationError) Key() bool
- func (e GetAllAddressReplyValidationError) Reason() string
- type GetAllAddressReq
- func (*GetAllAddressReq) Descriptor() ([]byte, []int)deprecated
- func (*GetAllAddressReq) ProtoMessage()
- func (x *GetAllAddressReq) ProtoReflect() protoreflect.Message
- func (x *GetAllAddressReq) Reset()
- func (x *GetAllAddressReq) String() string
- func (m *GetAllAddressReq) Validate() error
- func (m *GetAllAddressReq) ValidateAll() error
- type GetAllAddressReqMultiError
- type GetAllAddressReqValidationError
- func (e GetAllAddressReqValidationError) Cause() error
- func (e GetAllAddressReqValidationError) Error() string
- func (e GetAllAddressReqValidationError) ErrorName() string
- func (e GetAllAddressReqValidationError) Field() string
- func (e GetAllAddressReqValidationError) Key() bool
- func (e GetAllAddressReqValidationError) Reason() string
- type GetAllListReply
- func (*GetAllListReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllListReply) GetList() []*v2.NodeBase
- func (*GetAllListReply) ProtoMessage()
- func (x *GetAllListReply) ProtoReflect() protoreflect.Message
- func (x *GetAllListReply) Reset()
- func (x *GetAllListReply) String() string
- func (m *GetAllListReply) Validate() error
- func (m *GetAllListReply) ValidateAll() error
- type GetAllListReplyMultiError
- type GetAllListReplyValidationError
- func (e GetAllListReplyValidationError) Cause() error
- func (e GetAllListReplyValidationError) Error() string
- func (e GetAllListReplyValidationError) ErrorName() string
- func (e GetAllListReplyValidationError) Field() string
- func (e GetAllListReplyValidationError) Key() bool
- func (e GetAllListReplyValidationError) Reason() string
- type GetAllListReq
- func (*GetAllListReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllListReq) GetCode() string
- func (x *GetAllListReq) GetName() string
- func (x *GetAllListReq) GetStatus() NodeStatus
- func (x *GetAllListReq) GetVersion() string
- func (*GetAllListReq) ProtoMessage()
- func (x *GetAllListReq) ProtoReflect() protoreflect.Message
- func (x *GetAllListReq) Reset()
- func (x *GetAllListReq) String() string
- func (m *GetAllListReq) Validate() error
- func (m *GetAllListReq) ValidateAll() error
- type GetAllListReqMultiError
- type GetAllListReqValidationError
- func (e GetAllListReqValidationError) Cause() error
- func (e GetAllListReqValidationError) Error() string
- func (e GetAllListReqValidationError) ErrorName() string
- func (e GetAllListReqValidationError) Field() string
- func (e GetAllListReqValidationError) Key() bool
- func (e GetAllListReqValidationError) Reason() string
- type GetAllMasterListReply
- func (*GetAllMasterListReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllMasterListReply) GetList() []*v2.NodeBase
- func (*GetAllMasterListReply) ProtoMessage()
- func (x *GetAllMasterListReply) ProtoReflect() protoreflect.Message
- func (x *GetAllMasterListReply) Reset()
- func (x *GetAllMasterListReply) String() string
- func (m *GetAllMasterListReply) Validate() error
- func (m *GetAllMasterListReply) ValidateAll() error
- type GetAllMasterListReplyMultiError
- type GetAllMasterListReplyValidationError
- func (e GetAllMasterListReplyValidationError) Cause() error
- func (e GetAllMasterListReplyValidationError) Error() string
- func (e GetAllMasterListReplyValidationError) ErrorName() string
- func (e GetAllMasterListReplyValidationError) Field() string
- func (e GetAllMasterListReplyValidationError) Key() bool
- func (e GetAllMasterListReplyValidationError) Reason() string
- type GetAllMasterListReq
- func (*GetAllMasterListReq) Descriptor() ([]byte, []int)deprecated
- func (*GetAllMasterListReq) ProtoMessage()
- func (x *GetAllMasterListReq) ProtoReflect() protoreflect.Message
- func (x *GetAllMasterListReq) Reset()
- func (x *GetAllMasterListReq) String() string
- func (m *GetAllMasterListReq) Validate() error
- func (m *GetAllMasterListReq) ValidateAll() error
- type GetAllMasterListReqMultiError
- type GetAllMasterListReqValidationError
- func (e GetAllMasterListReqValidationError) Cause() error
- func (e GetAllMasterListReqValidationError) Error() string
- func (e GetAllMasterListReqValidationError) ErrorName() string
- func (e GetAllMasterListReqValidationError) Field() string
- func (e GetAllMasterListReqValidationError) Key() bool
- func (e GetAllMasterListReqValidationError) Reason() string
- type GetDefNodeNodeReply
- func (*GetDefNodeNodeReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetDefNodeNodeReply) GetData() *v2.NodeBase
- func (*GetDefNodeNodeReply) ProtoMessage()
- func (x *GetDefNodeNodeReply) ProtoReflect() protoreflect.Message
- func (x *GetDefNodeNodeReply) Reset()
- func (x *GetDefNodeNodeReply) String() string
- func (m *GetDefNodeNodeReply) Validate() error
- func (m *GetDefNodeNodeReply) ValidateAll() error
- type GetDefNodeNodeReplyMultiError
- type GetDefNodeNodeReplyValidationError
- func (e GetDefNodeNodeReplyValidationError) Cause() error
- func (e GetDefNodeNodeReplyValidationError) Error() string
- func (e GetDefNodeNodeReplyValidationError) ErrorName() string
- func (e GetDefNodeNodeReplyValidationError) Field() string
- func (e GetDefNodeNodeReplyValidationError) Key() bool
- func (e GetDefNodeNodeReplyValidationError) Reason() string
- type GetDefNodeNodeReq
- func (*GetDefNodeNodeReq) Descriptor() ([]byte, []int)deprecated
- func (*GetDefNodeNodeReq) ProtoMessage()
- func (x *GetDefNodeNodeReq) ProtoReflect() protoreflect.Message
- func (x *GetDefNodeNodeReq) Reset()
- func (x *GetDefNodeNodeReq) String() string
- func (m *GetDefNodeNodeReq) Validate() error
- func (m *GetDefNodeNodeReq) ValidateAll() error
- type GetDefNodeNodeReqMultiError
- type GetDefNodeNodeReqValidationError
- func (e GetDefNodeNodeReqValidationError) Cause() error
- func (e GetDefNodeNodeReqValidationError) Error() string
- func (e GetDefNodeNodeReqValidationError) ErrorName() string
- func (e GetDefNodeNodeReqValidationError) Field() string
- func (e GetDefNodeNodeReqValidationError) Key() bool
- func (e GetDefNodeNodeReqValidationError) Reason() string
- type GetDistributeInfoReq
- func (*GetDistributeInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetDistributeInfoReq) GetNodeId() string
- func (*GetDistributeInfoReq) ProtoMessage()
- func (x *GetDistributeInfoReq) ProtoReflect() protoreflect.Message
- func (x *GetDistributeInfoReq) Reset()
- func (x *GetDistributeInfoReq) String() string
- func (m *GetDistributeInfoReq) Validate() error
- func (m *GetDistributeInfoReq) ValidateAll() error
- type GetDistributeInfoReqMultiError
- type GetDistributeInfoReqValidationError
- func (e GetDistributeInfoReqValidationError) Cause() error
- func (e GetDistributeInfoReqValidationError) Error() string
- func (e GetDistributeInfoReqValidationError) ErrorName() string
- func (e GetDistributeInfoReqValidationError) Field() string
- func (e GetDistributeInfoReqValidationError) Key() bool
- func (e GetDistributeInfoReqValidationError) Reason() string
- type GetInfoReply
- func (*GetInfoReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetInfoReply) GetData() *NodeDetails
- func (*GetInfoReply) ProtoMessage()
- func (x *GetInfoReply) ProtoReflect() protoreflect.Message
- func (x *GetInfoReply) Reset()
- func (x *GetInfoReply) String() string
- func (m *GetInfoReply) Validate() error
- func (m *GetInfoReply) ValidateAll() error
- type GetInfoReplyMultiError
- type GetInfoReplyValidationError
- func (e GetInfoReplyValidationError) Cause() error
- func (e GetInfoReplyValidationError) Error() string
- func (e GetInfoReplyValidationError) ErrorName() string
- func (e GetInfoReplyValidationError) Field() string
- func (e GetInfoReplyValidationError) Key() bool
- func (e GetInfoReplyValidationError) Reason() string
- type GetInfoReq
- func (*GetInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetInfoReq) GetNodeId() string
- func (*GetInfoReq) ProtoMessage()
- func (x *GetInfoReq) ProtoReflect() protoreflect.Message
- func (x *GetInfoReq) Reset()
- func (x *GetInfoReq) String() string
- func (m *GetInfoReq) Validate() error
- func (m *GetInfoReq) ValidateAll() error
- type GetInfoReqMultiError
- type GetInfoReqValidationError
- type GetListPlatformNodeReply
- func (*GetListPlatformNodeReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetListPlatformNodeReply) GetList() []*PlatformNodeInfo
- func (*GetListPlatformNodeReply) ProtoMessage()
- func (x *GetListPlatformNodeReply) ProtoReflect() protoreflect.Message
- func (x *GetListPlatformNodeReply) Reset()
- func (x *GetListPlatformNodeReply) String() string
- func (m *GetListPlatformNodeReply) Validate() error
- func (m *GetListPlatformNodeReply) ValidateAll() error
- type GetListPlatformNodeReplyMultiError
- type GetListPlatformNodeReplyValidationError
- func (e GetListPlatformNodeReplyValidationError) Cause() error
- func (e GetListPlatformNodeReplyValidationError) Error() string
- func (e GetListPlatformNodeReplyValidationError) ErrorName() string
- func (e GetListPlatformNodeReplyValidationError) Field() string
- func (e GetListPlatformNodeReplyValidationError) Key() bool
- func (e GetListPlatformNodeReplyValidationError) Reason() string
- type GetListReply
- func (*GetListReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetListReply) GetList() []*NodeDetails
- func (x *GetListReply) GetTotal() int64
- func (*GetListReply) ProtoMessage()
- func (x *GetListReply) ProtoReflect() protoreflect.Message
- func (x *GetListReply) Reset()
- func (x *GetListReply) String() string
- func (m *GetListReply) Validate() error
- func (m *GetListReply) ValidateAll() error
- type GetListReplyMultiError
- type GetListReplyValidationError
- func (e GetListReplyValidationError) Cause() error
- func (e GetListReplyValidationError) Error() string
- func (e GetListReplyValidationError) ErrorName() string
- func (e GetListReplyValidationError) Field() string
- func (e GetListReplyValidationError) Key() bool
- func (e GetListReplyValidationError) Reason() string
- type GetListReq
- func (*GetListReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetListReq) GetCode() string
- func (x *GetListReq) GetName() string
- func (x *GetListReq) GetPage() *v2.Pagination
- func (x *GetListReq) GetStatus() NodeStatus
- func (x *GetListReq) GetVersion() string
- func (*GetListReq) ProtoMessage()
- func (x *GetListReq) ProtoReflect() protoreflect.Message
- func (x *GetListReq) Reset()
- func (x *GetListReq) String() string
- func (m *GetListReq) Validate() error
- func (m *GetListReq) ValidateAll() error
- type GetListReqMultiError
- type GetListReqValidationError
- type GetMasterInfoReply
- func (*GetMasterInfoReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetMasterInfoReply) GetData() *v2.NodeMasterSyncInfo
- func (*GetMasterInfoReply) ProtoMessage()
- func (x *GetMasterInfoReply) ProtoReflect() protoreflect.Message
- func (x *GetMasterInfoReply) Reset()
- func (x *GetMasterInfoReply) String() string
- func (m *GetMasterInfoReply) Validate() error
- func (m *GetMasterInfoReply) ValidateAll() error
- type GetMasterInfoReplyMultiError
- type GetMasterInfoReplyValidationError
- func (e GetMasterInfoReplyValidationError) Cause() error
- func (e GetMasterInfoReplyValidationError) Error() string
- func (e GetMasterInfoReplyValidationError) ErrorName() string
- func (e GetMasterInfoReplyValidationError) Field() string
- func (e GetMasterInfoReplyValidationError) Key() bool
- func (e GetMasterInfoReplyValidationError) Reason() string
- type GetMasterInfoReq
- func (*GetMasterInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetMasterInfoReq) GetNodeId() string
- func (*GetMasterInfoReq) ProtoMessage()
- func (x *GetMasterInfoReq) ProtoReflect() protoreflect.Message
- func (x *GetMasterInfoReq) Reset()
- func (x *GetMasterInfoReq) String() string
- func (m *GetMasterInfoReq) Validate() error
- func (m *GetMasterInfoReq) ValidateAll() error
- type GetMasterInfoReqMultiError
- type GetMasterInfoReqValidationError
- func (e GetMasterInfoReqValidationError) Cause() error
- func (e GetMasterInfoReqValidationError) Error() string
- func (e GetMasterInfoReqValidationError) ErrorName() string
- func (e GetMasterInfoReqValidationError) Field() string
- func (e GetMasterInfoReqValidationError) Key() bool
- func (e GetMasterInfoReqValidationError) Reason() string
- type GetMasterNodeDetailsReply
- func (*GetMasterNodeDetailsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetMasterNodeDetailsReply) GetInfo() *NodeDetails
- func (*GetMasterNodeDetailsReply) ProtoMessage()
- func (x *GetMasterNodeDetailsReply) ProtoReflect() protoreflect.Message
- func (x *GetMasterNodeDetailsReply) Reset()
- func (x *GetMasterNodeDetailsReply) String() string
- func (m *GetMasterNodeDetailsReply) Validate() error
- func (m *GetMasterNodeDetailsReply) ValidateAll() error
- type GetMasterNodeDetailsReplyMultiError
- type GetMasterNodeDetailsReplyValidationError
- func (e GetMasterNodeDetailsReplyValidationError) Cause() error
- func (e GetMasterNodeDetailsReplyValidationError) Error() string
- func (e GetMasterNodeDetailsReplyValidationError) ErrorName() string
- func (e GetMasterNodeDetailsReplyValidationError) Field() string
- func (e GetMasterNodeDetailsReplyValidationError) Key() bool
- func (e GetMasterNodeDetailsReplyValidationError) Reason() string
- type GetMasterNodeDetailsReq
- func (*GetMasterNodeDetailsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetMasterNodeDetailsReq) GetNodeId() string
- func (*GetMasterNodeDetailsReq) ProtoMessage()
- func (x *GetMasterNodeDetailsReq) ProtoReflect() protoreflect.Message
- func (x *GetMasterNodeDetailsReq) Reset()
- func (x *GetMasterNodeDetailsReq) String() string
- func (m *GetMasterNodeDetailsReq) Validate() error
- func (m *GetMasterNodeDetailsReq) ValidateAll() error
- type GetMasterNodeDetailsReqMultiError
- type GetMasterNodeDetailsReqValidationError
- func (e GetMasterNodeDetailsReqValidationError) Cause() error
- func (e GetMasterNodeDetailsReqValidationError) Error() string
- func (e GetMasterNodeDetailsReqValidationError) ErrorName() string
- func (e GetMasterNodeDetailsReqValidationError) Field() string
- func (e GetMasterNodeDetailsReqValidationError) Key() bool
- func (e GetMasterNodeDetailsReqValidationError) Reason() string
- type GetMasterSyncInfoReply
- func (*GetMasterSyncInfoReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetMasterSyncInfoReply) GetData() *v2.SingedMsg
- func (*GetMasterSyncInfoReply) ProtoMessage()
- func (x *GetMasterSyncInfoReply) ProtoReflect() protoreflect.Message
- func (x *GetMasterSyncInfoReply) Reset()
- func (x *GetMasterSyncInfoReply) String() string
- func (m *GetMasterSyncInfoReply) Validate() error
- func (m *GetMasterSyncInfoReply) ValidateAll() error
- type GetMasterSyncInfoReplyMultiError
- type GetMasterSyncInfoReplyValidationError
- func (e GetMasterSyncInfoReplyValidationError) Cause() error
- func (e GetMasterSyncInfoReplyValidationError) Error() string
- func (e GetMasterSyncInfoReplyValidationError) ErrorName() string
- func (e GetMasterSyncInfoReplyValidationError) Field() string
- func (e GetMasterSyncInfoReplyValidationError) Key() bool
- func (e GetMasterSyncInfoReplyValidationError) Reason() string
- type GetMasterSyncInfoReq
- func (*GetMasterSyncInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetMasterSyncInfoReq) GetData() string
- func (*GetMasterSyncInfoReq) ProtoMessage()
- func (x *GetMasterSyncInfoReq) ProtoReflect() protoreflect.Message
- func (x *GetMasterSyncInfoReq) Reset()
- func (x *GetMasterSyncInfoReq) String() string
- func (m *GetMasterSyncInfoReq) Validate() error
- func (m *GetMasterSyncInfoReq) ValidateAll() error
- type GetMasterSyncInfoReqMultiError
- type GetMasterSyncInfoReqValidationError
- func (e GetMasterSyncInfoReqValidationError) Cause() error
- func (e GetMasterSyncInfoReqValidationError) Error() string
- func (e GetMasterSyncInfoReqValidationError) ErrorName() string
- func (e GetMasterSyncInfoReqValidationError) Field() string
- func (e GetMasterSyncInfoReqValidationError) Key() bool
- func (e GetMasterSyncInfoReqValidationError) Reason() string
- type GetNodeByCodeReply
- func (*GetNodeByCodeReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeByCodeReply) GetData() *v2.NodeBase
- func (*GetNodeByCodeReply) ProtoMessage()
- func (x *GetNodeByCodeReply) ProtoReflect() protoreflect.Message
- func (x *GetNodeByCodeReply) Reset()
- func (x *GetNodeByCodeReply) String() string
- func (m *GetNodeByCodeReply) Validate() error
- func (m *GetNodeByCodeReply) ValidateAll() error
- type GetNodeByCodeReplyMultiError
- type GetNodeByCodeReplyValidationError
- func (e GetNodeByCodeReplyValidationError) Cause() error
- func (e GetNodeByCodeReplyValidationError) Error() string
- func (e GetNodeByCodeReplyValidationError) ErrorName() string
- func (e GetNodeByCodeReplyValidationError) Field() string
- func (e GetNodeByCodeReplyValidationError) Key() bool
- func (e GetNodeByCodeReplyValidationError) Reason() string
- type GetNodeByCodeReq
- func (*GetNodeByCodeReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeByCodeReq) GetCode() string
- func (*GetNodeByCodeReq) ProtoMessage()
- func (x *GetNodeByCodeReq) ProtoReflect() protoreflect.Message
- func (x *GetNodeByCodeReq) Reset()
- func (x *GetNodeByCodeReq) String() string
- func (m *GetNodeByCodeReq) Validate() error
- func (m *GetNodeByCodeReq) ValidateAll() error
- type GetNodeByCodeReqMultiError
- type GetNodeByCodeReqValidationError
- func (e GetNodeByCodeReqValidationError) Cause() error
- func (e GetNodeByCodeReqValidationError) Error() string
- func (e GetNodeByCodeReqValidationError) ErrorName() string
- func (e GetNodeByCodeReqValidationError) Field() string
- func (e GetNodeByCodeReqValidationError) Key() bool
- func (e GetNodeByCodeReqValidationError) Reason() string
- type GetNodeByIDReply
- func (*GetNodeByIDReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeByIDReply) GetList() []*v2.NodeBase
- func (*GetNodeByIDReply) ProtoMessage()
- func (x *GetNodeByIDReply) ProtoReflect() protoreflect.Message
- func (x *GetNodeByIDReply) Reset()
- func (x *GetNodeByIDReply) String() string
- func (m *GetNodeByIDReply) Validate() error
- func (m *GetNodeByIDReply) ValidateAll() error
- type GetNodeByIDReplyMultiError
- type GetNodeByIDReplyValidationError
- func (e GetNodeByIDReplyValidationError) Cause() error
- func (e GetNodeByIDReplyValidationError) Error() string
- func (e GetNodeByIDReplyValidationError) ErrorName() string
- func (e GetNodeByIDReplyValidationError) Field() string
- func (e GetNodeByIDReplyValidationError) Key() bool
- func (e GetNodeByIDReplyValidationError) Reason() string
- type GetNodeByIDReq
- func (*GetNodeByIDReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeByIDReq) GetNodeId() []string
- func (*GetNodeByIDReq) ProtoMessage()
- func (x *GetNodeByIDReq) ProtoReflect() protoreflect.Message
- func (x *GetNodeByIDReq) Reset()
- func (x *GetNodeByIDReq) String() string
- func (m *GetNodeByIDReq) Validate() error
- func (m *GetNodeByIDReq) ValidateAll() error
- type GetNodeByIDReqMultiError
- type GetNodeByIDReqValidationError
- func (e GetNodeByIDReqValidationError) Cause() error
- func (e GetNodeByIDReqValidationError) Error() string
- func (e GetNodeByIDReqValidationError) ErrorName() string
- func (e GetNodeByIDReqValidationError) Field() string
- func (e GetNodeByIDReqValidationError) Key() bool
- func (e GetNodeByIDReqValidationError) Reason() string
- type GetNodesAndManagersReply
- func (*GetNodesAndManagersReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodesAndManagersReply) GetDefNodeName() string
- func (x *GetNodesAndManagersReply) GetManagers() []string
- func (x *GetNodesAndManagersReply) GetNodes() []*v2.NodeBase
- func (*GetNodesAndManagersReply) ProtoMessage()
- func (x *GetNodesAndManagersReply) ProtoReflect() protoreflect.Message
- func (x *GetNodesAndManagersReply) Reset()
- func (x *GetNodesAndManagersReply) String() string
- func (m *GetNodesAndManagersReply) Validate() error
- func (m *GetNodesAndManagersReply) ValidateAll() error
- type GetNodesAndManagersReplyMultiError
- type GetNodesAndManagersReplyValidationError
- func (e GetNodesAndManagersReplyValidationError) Cause() error
- func (e GetNodesAndManagersReplyValidationError) Error() string
- func (e GetNodesAndManagersReplyValidationError) ErrorName() string
- func (e GetNodesAndManagersReplyValidationError) Field() string
- func (e GetNodesAndManagersReplyValidationError) Key() bool
- func (e GetNodesAndManagersReplyValidationError) Reason() string
- type GetNodesAndManagersReq
- func (*GetNodesAndManagersReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodesAndManagersReq) GetCode() string
- func (x *GetNodesAndManagersReq) GetVersion() string
- func (*GetNodesAndManagersReq) ProtoMessage()
- func (x *GetNodesAndManagersReq) ProtoReflect() protoreflect.Message
- func (x *GetNodesAndManagersReq) Reset()
- func (x *GetNodesAndManagersReq) String() string
- func (m *GetNodesAndManagersReq) Validate() error
- func (m *GetNodesAndManagersReq) ValidateAll() error
- type GetNodesAndManagersReqMultiError
- type GetNodesAndManagersReqValidationError
- func (e GetNodesAndManagersReqValidationError) Cause() error
- func (e GetNodesAndManagersReqValidationError) Error() string
- func (e GetNodesAndManagersReqValidationError) ErrorName() string
- func (e GetNodesAndManagersReqValidationError) Field() string
- func (e GetNodesAndManagersReqValidationError) Key() bool
- func (e GetNodesAndManagersReqValidationError) Reason() string
- type GetPlatformNodeListReq
- func (*GetPlatformNodeListReq) Descriptor() ([]byte, []int)deprecated
- func (*GetPlatformNodeListReq) ProtoMessage()
- func (x *GetPlatformNodeListReq) ProtoReflect() protoreflect.Message
- func (x *GetPlatformNodeListReq) Reset()
- func (x *GetPlatformNodeListReq) String() string
- func (m *GetPlatformNodeListReq) Validate() error
- func (m *GetPlatformNodeListReq) ValidateAll() error
- type GetPlatformNodeListReqMultiError
- type GetPlatformNodeListReqValidationError
- func (e GetPlatformNodeListReqValidationError) Cause() error
- func (e GetPlatformNodeListReqValidationError) Error() string
- func (e GetPlatformNodeListReqValidationError) ErrorName() string
- func (e GetPlatformNodeListReqValidationError) Field() string
- func (e GetPlatformNodeListReqValidationError) Key() bool
- func (e GetPlatformNodeListReqValidationError) Reason() string
- type NodeAndManager
- func (*NodeAndManager) Descriptor() ([]byte, []int)deprecated
- func (x *NodeAndManager) GetManagers() []string
- func (x *NodeAndManager) GetNode() *v2.NodeBase
- func (*NodeAndManager) ProtoMessage()
- func (x *NodeAndManager) ProtoReflect() protoreflect.Message
- func (x *NodeAndManager) Reset()
- func (x *NodeAndManager) String() string
- func (m *NodeAndManager) Validate() error
- func (m *NodeAndManager) ValidateAll() error
- type NodeAndManagerMultiError
- type NodeAndManagerValidationError
- func (e NodeAndManagerValidationError) Cause() error
- func (e NodeAndManagerValidationError) Error() string
- func (e NodeAndManagerValidationError) ErrorName() string
- func (e NodeAndManagerValidationError) Field() string
- func (e NodeAndManagerValidationError) Key() bool
- func (e NodeAndManagerValidationError) Reason() string
- type NodeClient
- type NodeDetails
- func (*NodeDetails) Descriptor() ([]byte, []int)deprecated
- func (x *NodeDetails) GetBase() *v2.NodeBase
- func (x *NodeDetails) GetPriKey() string
- func (x *NodeDetails) GetPubKey() string
- func (*NodeDetails) ProtoMessage()
- func (x *NodeDetails) ProtoReflect() protoreflect.Message
- func (x *NodeDetails) Reset()
- func (x *NodeDetails) String() string
- func (m *NodeDetails) Validate() error
- func (m *NodeDetails) ValidateAll() error
- type NodeDetailsMultiError
- type NodeDetailsValidationError
- func (e NodeDetailsValidationError) Cause() error
- func (e NodeDetailsValidationError) Error() string
- func (e NodeDetailsValidationError) ErrorName() string
- func (e NodeDetailsValidationError) Field() string
- func (e NodeDetailsValidationError) Key() bool
- func (e NodeDetailsValidationError) Reason() string
- type NodeServer
- type NodeStatus
- type NodeType
- type PlatformNodeClient
- type PlatformNodeInfo
- func (*PlatformNodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PlatformNodeInfo) GetAddress() string
- func (x *PlatformNodeInfo) GetId() int32
- func (x *PlatformNodeInfo) GetWeight() int32
- func (*PlatformNodeInfo) ProtoMessage()
- func (x *PlatformNodeInfo) ProtoReflect() protoreflect.Message
- func (x *PlatformNodeInfo) Reset()
- func (x *PlatformNodeInfo) String() string
- func (m *PlatformNodeInfo) Validate() error
- func (m *PlatformNodeInfo) ValidateAll() error
- type PlatformNodeInfoMultiError
- type PlatformNodeInfoValidationError
- func (e PlatformNodeInfoValidationError) Cause() error
- func (e PlatformNodeInfoValidationError) Error() string
- func (e PlatformNodeInfoValidationError) ErrorName() string
- func (e PlatformNodeInfoValidationError) Field() string
- func (e PlatformNodeInfoValidationError) Key() bool
- func (e PlatformNodeInfoValidationError) Reason() string
- type PlatformNodeServer
- type ResetKeyReply
- func (*ResetKeyReply) Descriptor() ([]byte, []int)deprecated
- func (*ResetKeyReply) ProtoMessage()
- func (x *ResetKeyReply) ProtoReflect() protoreflect.Message
- func (x *ResetKeyReply) Reset()
- func (x *ResetKeyReply) String() string
- func (m *ResetKeyReply) Validate() error
- func (m *ResetKeyReply) ValidateAll() error
- type ResetKeyReplyMultiError
- type ResetKeyReplyValidationError
- func (e ResetKeyReplyValidationError) Cause() error
- func (e ResetKeyReplyValidationError) Error() string
- func (e ResetKeyReplyValidationError) ErrorName() string
- func (e ResetKeyReplyValidationError) Field() string
- func (e ResetKeyReplyValidationError) Key() bool
- func (e ResetKeyReplyValidationError) Reason() string
- type ResetKeyReq
- func (*ResetKeyReq) Descriptor() ([]byte, []int)deprecated
- func (x *ResetKeyReq) GetNodeId() string
- func (*ResetKeyReq) ProtoMessage()
- func (x *ResetKeyReq) ProtoReflect() protoreflect.Message
- func (x *ResetKeyReq) Reset()
- func (x *ResetKeyReq) String() string
- func (m *ResetKeyReq) Validate() error
- func (m *ResetKeyReq) ValidateAll() error
- type ResetKeyReqMultiError
- type ResetKeyReqValidationError
- func (e ResetKeyReqValidationError) Cause() error
- func (e ResetKeyReqValidationError) Error() string
- func (e ResetKeyReqValidationError) ErrorName() string
- func (e ResetKeyReqValidationError) Field() string
- func (e ResetKeyReqValidationError) Key() bool
- func (e ResetKeyReqValidationError) Reason() string
- type SetDefNodeNodeReply
- func (*SetDefNodeNodeReply) Descriptor() ([]byte, []int)deprecated
- func (*SetDefNodeNodeReply) ProtoMessage()
- func (x *SetDefNodeNodeReply) ProtoReflect() protoreflect.Message
- func (x *SetDefNodeNodeReply) Reset()
- func (x *SetDefNodeNodeReply) String() string
- func (m *SetDefNodeNodeReply) Validate() error
- func (m *SetDefNodeNodeReply) ValidateAll() error
- type SetDefNodeNodeReplyMultiError
- type SetDefNodeNodeReplyValidationError
- func (e SetDefNodeNodeReplyValidationError) Cause() error
- func (e SetDefNodeNodeReplyValidationError) Error() string
- func (e SetDefNodeNodeReplyValidationError) ErrorName() string
- func (e SetDefNodeNodeReplyValidationError) Field() string
- func (e SetDefNodeNodeReplyValidationError) Key() bool
- func (e SetDefNodeNodeReplyValidationError) Reason() string
- type SetDefNodeNodeReq
- func (*SetDefNodeNodeReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetDefNodeNodeReq) GetNodeId() string
- func (*SetDefNodeNodeReq) ProtoMessage()
- func (x *SetDefNodeNodeReq) ProtoReflect() protoreflect.Message
- func (x *SetDefNodeNodeReq) Reset()
- func (x *SetDefNodeNodeReq) String() string
- func (m *SetDefNodeNodeReq) Validate() error
- func (m *SetDefNodeNodeReq) ValidateAll() error
- type SetDefNodeNodeReqMultiError
- type SetDefNodeNodeReqValidationError
- func (e SetDefNodeNodeReqValidationError) Cause() error
- func (e SetDefNodeNodeReqValidationError) Error() string
- func (e SetDefNodeNodeReqValidationError) ErrorName() string
- func (e SetDefNodeNodeReqValidationError) Field() string
- func (e SetDefNodeNodeReqValidationError) Key() bool
- func (e SetDefNodeNodeReqValidationError) Reason() string
- type UnimplementedNodeServer
- func (UnimplementedNodeServer) Add(context.Context, *AddNodeReq) (*AddNodeReply, error)
- func (UnimplementedNodeServer) Del(context.Context, *DelReq) (*DelReply, error)
- func (UnimplementedNodeServer) Edit(context.Context, *EditReq) (*EditReply, error)
- func (UnimplementedNodeServer) EditStatus(context.Context, *EditStatusReq) (*EditStatusReply, error)
- func (UnimplementedNodeServer) Escalation(context.Context, *EscalationReq) (*EscalationReply, error)
- func (UnimplementedNodeServer) GetAllList(context.Context, *GetAllListReq) (*GetAllListReply, error)
- func (UnimplementedNodeServer) GetAllMasterList(context.Context, *GetAllMasterListReq) (*GetAllMasterListReply, error)
- func (UnimplementedNodeServer) GetDefNodeNode(context.Context, *GetDefNodeNodeReq) (*GetDefNodeNodeReply, error)
- func (UnimplementedNodeServer) GetDistributeInfo(context.Context, *GetDistributeInfoReq) (*DistributeInfoReply, error)
- func (UnimplementedNodeServer) GetInfo(context.Context, *GetInfoReq) (*GetInfoReply, error)
- func (UnimplementedNodeServer) GetInfoAndManager(context.Context, *GetNodeByCodeReq) (*NodeAndManager, error)
- func (UnimplementedNodeServer) GetList(context.Context, *GetListReq) (*GetListReply, error)
- func (UnimplementedNodeServer) GetMasterInfo(context.Context, *GetMasterInfoReq) (*GetMasterInfoReply, error)
- func (UnimplementedNodeServer) GetMasterNodeDetails(context.Context, *GetMasterNodeDetailsReq) (*GetMasterNodeDetailsReply, error)
- func (UnimplementedNodeServer) GetMasterSyncInfo(context.Context, *GetMasterSyncInfoReq) (*GetMasterSyncInfoReply, error)
- func (UnimplementedNodeServer) GetNodeByCode(context.Context, *GetNodeByCodeReq) (*GetNodeByCodeReply, error)
- func (UnimplementedNodeServer) GetNodeByID(context.Context, *GetNodeByIDReq) (*GetNodeByIDReply, error)
- func (UnimplementedNodeServer) GetNodesAndManagers(context.Context, *GetNodesAndManagersReq) (*GetNodesAndManagersReply, error)
- func (UnimplementedNodeServer) ResetKey(context.Context, *ResetKeyReq) (*ResetKeyReply, error)
- func (UnimplementedNodeServer) SetDefNodeNode(context.Context, *SetDefNodeNodeReq) (*SetDefNodeNodeReply, error)
- type UnimplementedPlatformNodeServer
- func (UnimplementedPlatformNodeServer) Add(context.Context, *AddPlatformNodeReq) (*AddPlatformNodeReply, error)
- func (UnimplementedPlatformNodeServer) Del(context.Context, *DelPlatformNodeReq) (*DelPlatformNodeReply, error)
- func (UnimplementedPlatformNodeServer) Edit(context.Context, *EditPlatformNodeReq) (*EditPlatformNodeReply, error)
- func (UnimplementedPlatformNodeServer) GetAllAddress(context.Context, *GetAllAddressReq) (*GetAllAddressReply, error)
- func (UnimplementedPlatformNodeServer) GetList(context.Context, *GetPlatformNodeListReq) (*GetListPlatformNodeReply, error)
- type UnsafeNodeServer
- type UnsafePlatformNodeServer
Constants ¶
const ( Node_Add_FullMethodName = "/api.platform.node.v2.Node/Add" Node_Del_FullMethodName = "/api.platform.node.v2.Node/Del" Node_Edit_FullMethodName = "/api.platform.node.v2.Node/Edit" Node_EditStatus_FullMethodName = "/api.platform.node.v2.Node/EditStatus" Node_ResetKey_FullMethodName = "/api.platform.node.v2.Node/ResetKey" Node_GetInfo_FullMethodName = "/api.platform.node.v2.Node/GetInfo" Node_GetNodeByCode_FullMethodName = "/api.platform.node.v2.Node/GetNodeByCode" Node_GetList_FullMethodName = "/api.platform.node.v2.Node/GetList" Node_GetAllList_FullMethodName = "/api.platform.node.v2.Node/GetAllList" Node_GetDefNodeNode_FullMethodName = "/api.platform.node.v2.Node/GetDefNodeNode" Node_SetDefNodeNode_FullMethodName = "/api.platform.node.v2.Node/SetDefNodeNode" Node_GetMasterSyncInfo_FullMethodName = "/api.platform.node.v2.Node/GetMasterSyncInfo" Node_GetMasterInfo_FullMethodName = "/api.platform.node.v2.Node/GetMasterInfo" Node_GetDistributeInfo_FullMethodName = "/api.platform.node.v2.Node/GetDistributeInfo" Node_Escalation_FullMethodName = "/api.platform.node.v2.Node/Escalation" Node_GetMasterNodeDetails_FullMethodName = "/api.platform.node.v2.Node/GetMasterNodeDetails" Node_GetInfoAndManager_FullMethodName = "/api.platform.node.v2.Node/GetInfoAndManager" Node_GetNodesAndManagers_FullMethodName = "/api.platform.node.v2.Node/GetNodesAndManagers" Node_GetAllMasterList_FullMethodName = "/api.platform.node.v2.Node/GetAllMasterList" Node_GetNodeByID_FullMethodName = "/api.platform.node.v2.Node/GetNodeByID" )
const ( PlatformNode_Add_FullMethodName = "/api.platform.node.v2.PlatformNode/Add" PlatformNode_Del_FullMethodName = "/api.platform.node.v2.PlatformNode/Del" PlatformNode_Edit_FullMethodName = "/api.platform.node.v2.PlatformNode/Edit" PlatformNode_GetList_FullMethodName = "/api.platform.node.v2.PlatformNode/GetList" PlatformNode_GetAllAddress_FullMethodName = "/api.platform.node.v2.PlatformNode/GetAllAddress" )
Variables ¶
var ( NodeType_name = map[int32]string{ 0: "IndependentNode", 1: "ProxyNode", } NodeType_value = map[string]int32{ "IndependentNode": 0, "ProxyNode": 1, } )
Enum value maps for NodeType.
var ( NodeStatus_name = map[int32]string{ 0: "Unknown", 1: "Enable", 2: "Deactivate", 3: "TimeLimit", } NodeStatus_value = map[string]int32{ "Unknown": 0, "Enable": 1, "Deactivate": 2, "TimeLimit": 3, } )
Enum value maps for NodeStatus.
var ( ErrorNodeReason_name = map[int32]string{ 0: "NODE_NOT_FOUND", 1: "MASTER_NODE_MUST_INCLUDE_SERVER_INFORMATION", 3: "PROXY_NODE_MUST_SPECIFY_THE_MASTER_NODE", 4: "TIME_CONTROLLED_NODES_MUST_SPECIFY_TIME", 5: "THE_END_TIME_CANNOT_BE_LESS_THAN_THE_START_TIME", 6: "NODE_CONTAINS_CHILD_NODES_UNDER_IT", 7: "NODE_IS_EXIST_ERROR", 8: "RESET_KEY_ERROR", 9: "SET_DEFAULT_NODE_ERROR", } ErrorNodeReason_value = map[string]int32{ "NODE_NOT_FOUND": 0, "MASTER_NODE_MUST_INCLUDE_SERVER_INFORMATION": 1, "PROXY_NODE_MUST_SPECIFY_THE_MASTER_NODE": 3, "TIME_CONTROLLED_NODES_MUST_SPECIFY_TIME": 4, "THE_END_TIME_CANNOT_BE_LESS_THAN_THE_START_TIME": 5, "NODE_CONTAINS_CHILD_NODES_UNDER_IT": 6, "NODE_IS_EXIST_ERROR": 7, "RESET_KEY_ERROR": 8, "SET_DEFAULT_NODE_ERROR": 9, } )
Enum value maps for ErrorNodeReason.
var ( ErrorPlatFormNodeReason_name = map[int32]string{ 0: "ADDRESS_NOI_EMPTY", 1: "CARTE_PLATFORM_NODE", } ErrorPlatFormNodeReason_value = map[string]int32{ "ADDRESS_NOI_EMPTY": 0, "CARTE_PLATFORM_NODE": 1, } )
Enum value maps for ErrorPlatFormNodeReason.
var File_api_platform_node_v2_node_error_proto protoreflect.FileDescriptor
var File_api_platform_node_v2_platform_node_error_proto protoreflect.FileDescriptor
var File_platform_node_v2_node_proto protoreflect.FileDescriptor
var File_platform_node_v2_platform_node_proto protoreflect.FileDescriptor
var Node_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.platform.node.v2.Node", HandlerType: (*NodeServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Add", Handler: _Node_Add_Handler, }, { MethodName: "Del", Handler: _Node_Del_Handler, }, { MethodName: "Edit", Handler: _Node_Edit_Handler, }, { MethodName: "EditStatus", Handler: _Node_EditStatus_Handler, }, { MethodName: "ResetKey", Handler: _Node_ResetKey_Handler, }, { MethodName: "GetInfo", Handler: _Node_GetInfo_Handler, }, { MethodName: "GetNodeByCode", Handler: _Node_GetNodeByCode_Handler, }, { MethodName: "GetList", Handler: _Node_GetList_Handler, }, { MethodName: "GetAllList", Handler: _Node_GetAllList_Handler, }, { MethodName: "GetDefNodeNode", Handler: _Node_GetDefNodeNode_Handler, }, { MethodName: "SetDefNodeNode", Handler: _Node_SetDefNodeNode_Handler, }, { MethodName: "GetMasterSyncInfo", Handler: _Node_GetMasterSyncInfo_Handler, }, { MethodName: "GetMasterInfo", Handler: _Node_GetMasterInfo_Handler, }, { MethodName: "GetDistributeInfo", Handler: _Node_GetDistributeInfo_Handler, }, { MethodName: "Escalation", Handler: _Node_Escalation_Handler, }, { MethodName: "GetMasterNodeDetails", Handler: _Node_GetMasterNodeDetails_Handler, }, { MethodName: "GetInfoAndManager", Handler: _Node_GetInfoAndManager_Handler, }, { MethodName: "GetNodesAndManagers", Handler: _Node_GetNodesAndManagers_Handler, }, { MethodName: "GetAllMasterList", Handler: _Node_GetAllMasterList_Handler, }, { MethodName: "GetNodeByID", Handler: _Node_GetNodeByID_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "platform/node/v2/node.proto", }
Node_ServiceDesc is the grpc.ServiceDesc for Node service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PlatformNode_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.platform.node.v2.PlatformNode", HandlerType: (*PlatformNodeServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Add", Handler: _PlatformNode_Add_Handler, }, { MethodName: "Del", Handler: _PlatformNode_Del_Handler, }, { MethodName: "Edit", Handler: _PlatformNode_Edit_Handler, }, { MethodName: "GetList", Handler: _PlatformNode_GetList_Handler, }, { MethodName: "GetAllAddress", Handler: _PlatformNode_GetAllAddress_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "platform/node/v2/platform_node.proto", }
PlatformNode_ServiceDesc is the grpc.ServiceDesc for PlatformNode service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func ErrorAddressNoiEmpty ¶
地址不能为空
func ErrorCartePlatformNode ¶
地址不能为空
func ErrorMasterNodeMustIncludeServerInformation ¶
主节点必须包含服务器信息
func ErrorNodeContainsChildNodesUnderIt ¶
节点下包含可用的代理节点无法删除
func ErrorNodeIsExistError ¶
节点已存在
func ErrorNodeNotFound ¶
节点信息未找到
func ErrorProxyNodeMustSpecifyTheMasterNode ¶
代理节点必须指定主节点
func ErrorResetKeyError ¶
c重置密钥失败
func ErrorSetDefaultNodeError ¶
设置默认节点失败
func ErrorTheEndTimeCannotBeLessThanTheStartTime ¶
结束时间不能小于开始时间
func ErrorTimeControlledNodesMustSpecifyTime ¶
受时间控制的节点必须指定时间
func IsMasterNodeMustIncludeServerInformation ¶
主节点必须包含服务器信息
func IsNodeContainsChildNodesUnderIt ¶
节点下包含可用的代理节点无法删除
func IsProxyNodeMustSpecifyTheMasterNode ¶
代理节点必须指定主节点
func IsTheEndTimeCannotBeLessThanTheStartTime ¶
结束时间不能小于开始时间
func IsTimeControlledNodesMustSpecifyTime ¶
受时间控制的节点必须指定时间
func RegisterNodeServer ¶
func RegisterNodeServer(s grpc.ServiceRegistrar, srv NodeServer)
func RegisterPlatformNodeServer ¶
func RegisterPlatformNodeServer(s grpc.ServiceRegistrar, srv PlatformNodeServer)
Types ¶
type AddNodeReply ¶
type AddNodeReply struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // contains filtered or unexported fields }
func (*AddNodeReply) Descriptor
deprecated
func (*AddNodeReply) Descriptor() ([]byte, []int)
Deprecated: Use AddNodeReply.ProtoReflect.Descriptor instead.
func (*AddNodeReply) GetNodeId ¶
func (x *AddNodeReply) GetNodeId() string
func (*AddNodeReply) ProtoMessage ¶
func (*AddNodeReply) ProtoMessage()
func (*AddNodeReply) ProtoReflect ¶
func (x *AddNodeReply) ProtoReflect() protoreflect.Message
func (*AddNodeReply) Reset ¶
func (x *AddNodeReply) Reset()
func (*AddNodeReply) String ¶
func (x *AddNodeReply) String() string
func (*AddNodeReply) Validate ¶
func (m *AddNodeReply) Validate() error
Validate checks the field values on AddNodeReply 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 (*AddNodeReply) ValidateAll ¶
func (m *AddNodeReply) ValidateAll() error
ValidateAll checks the field values on AddNodeReply 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 AddNodeReplyMultiError, or nil if none found.
type AddNodeReplyMultiError ¶
type AddNodeReplyMultiError []error
AddNodeReplyMultiError is an error wrapping multiple validation errors returned by AddNodeReply.ValidateAll() if the designated constraints aren't met.
func (AddNodeReplyMultiError) AllErrors ¶
func (m AddNodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddNodeReplyMultiError) Error ¶
func (m AddNodeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddNodeReplyValidationError ¶
type AddNodeReplyValidationError struct {
// contains filtered or unexported fields
}
AddNodeReplyValidationError is the validation error returned by AddNodeReply.Validate if the designated constraints aren't met.
func (AddNodeReplyValidationError) Cause ¶
func (e AddNodeReplyValidationError) Cause() error
Cause function returns cause value.
func (AddNodeReplyValidationError) Error ¶
func (e AddNodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (AddNodeReplyValidationError) ErrorName ¶
func (e AddNodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (AddNodeReplyValidationError) Field ¶
func (e AddNodeReplyValidationError) Field() string
Field function returns field value.
func (AddNodeReplyValidationError) Key ¶
func (e AddNodeReplyValidationError) Key() bool
Key function returns key value.
func (AddNodeReplyValidationError) Reason ¶
func (e AddNodeReplyValidationError) Reason() string
Reason function returns reason value.
type AddNodeReq ¶
type AddNodeReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` //节点名称 MasterApi string `protobuf:"bytes,2,opt,name=masterApi,proto3" json:"masterApi,omitempty"` //受控节点地址 Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` //邀请码 ImApiUrl string `protobuf:"bytes,4,opt,name=imApiUrl,proto3" json:"imApiUrl,omitempty"` //客户imapi域名地址,兼容2.0 ImWsUrl string `protobuf:"bytes,5,opt,name=imWsUrl,proto3" json:"imWsUrl,omitempty"` //ws 地址 AvAppid string `protobuf:"bytes,6,opt,name=avAppid,proto3" json:"avAppid,omitempty"` // 腾讯音视频app id AvSecret string `protobuf:"bytes,7,opt,name=avSecret,proto3" json:"avSecret,omitempty"` // 腾讯音视频密钥 Logo string `protobuf:"bytes,8,opt,name=logo,proto3" json:"logo,omitempty"` // 服务的logo Version string `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"` //版本 NodeType NodeType `protobuf:"varint,10,opt,name=nodeType,proto3,enum=api.platform.node.v2.NodeType" json:"nodeType,omitempty"` // 节点类型 0:独立节点 2 :租户节点 MasterNodeId string `protobuf:"bytes,11,opt,name=masterNodeId,proto3" json:"masterNodeId,omitempty"` // 主几点id// 当为租户节点时 PromotionCode string `protobuf:"bytes,12,opt,name=promotionCode,proto3" json:"promotionCode,omitempty"` //租户邀请码 ManageApi string `protobuf:"bytes,13,opt,name=manageApi,proto3" json:"manageApi,omitempty"` // 管理节点地址 // contains filtered or unexported fields }
新加节点 -------------------------------------------
func (*AddNodeReq) Descriptor
deprecated
func (*AddNodeReq) Descriptor() ([]byte, []int)
Deprecated: Use AddNodeReq.ProtoReflect.Descriptor instead.
func (*AddNodeReq) GetAvAppid ¶
func (x *AddNodeReq) GetAvAppid() string
func (*AddNodeReq) GetAvSecret ¶
func (x *AddNodeReq) GetAvSecret() string
func (*AddNodeReq) GetCode ¶
func (x *AddNodeReq) GetCode() string
func (*AddNodeReq) GetImApiUrl ¶
func (x *AddNodeReq) GetImApiUrl() string
func (*AddNodeReq) GetImWsUrl ¶
func (x *AddNodeReq) GetImWsUrl() string
func (*AddNodeReq) GetLogo ¶
func (x *AddNodeReq) GetLogo() string
func (*AddNodeReq) GetManageApi ¶
func (x *AddNodeReq) GetManageApi() string
func (*AddNodeReq) GetMasterApi ¶
func (x *AddNodeReq) GetMasterApi() string
func (*AddNodeReq) GetMasterNodeId ¶
func (x *AddNodeReq) GetMasterNodeId() string
func (*AddNodeReq) GetName ¶
func (x *AddNodeReq) GetName() string
func (*AddNodeReq) GetNodeType ¶
func (x *AddNodeReq) GetNodeType() NodeType
func (*AddNodeReq) GetPromotionCode ¶
func (x *AddNodeReq) GetPromotionCode() string
func (*AddNodeReq) GetVersion ¶
func (x *AddNodeReq) GetVersion() string
func (*AddNodeReq) ProtoMessage ¶
func (*AddNodeReq) ProtoMessage()
func (*AddNodeReq) ProtoReflect ¶
func (x *AddNodeReq) ProtoReflect() protoreflect.Message
func (*AddNodeReq) Reset ¶
func (x *AddNodeReq) Reset()
func (*AddNodeReq) String ¶
func (x *AddNodeReq) String() string
func (*AddNodeReq) Validate ¶
func (m *AddNodeReq) Validate() error
Validate checks the field values on AddNodeReq 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 (*AddNodeReq) ValidateAll ¶
func (m *AddNodeReq) ValidateAll() error
ValidateAll checks the field values on AddNodeReq 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 AddNodeReqMultiError, or nil if none found.
type AddNodeReqMultiError ¶
type AddNodeReqMultiError []error
AddNodeReqMultiError is an error wrapping multiple validation errors returned by AddNodeReq.ValidateAll() if the designated constraints aren't met.
func (AddNodeReqMultiError) AllErrors ¶
func (m AddNodeReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddNodeReqMultiError) Error ¶
func (m AddNodeReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddNodeReqValidationError ¶
type AddNodeReqValidationError struct {
// contains filtered or unexported fields
}
AddNodeReqValidationError is the validation error returned by AddNodeReq.Validate if the designated constraints aren't met.
func (AddNodeReqValidationError) Cause ¶
func (e AddNodeReqValidationError) Cause() error
Cause function returns cause value.
func (AddNodeReqValidationError) Error ¶
func (e AddNodeReqValidationError) Error() string
Error satisfies the builtin error interface
func (AddNodeReqValidationError) ErrorName ¶
func (e AddNodeReqValidationError) ErrorName() string
ErrorName returns error name.
func (AddNodeReqValidationError) Field ¶
func (e AddNodeReqValidationError) Field() string
Field function returns field value.
func (AddNodeReqValidationError) Key ¶
func (e AddNodeReqValidationError) Key() bool
Key function returns key value.
func (AddNodeReqValidationError) Reason ¶
func (e AddNodeReqValidationError) Reason() string
Reason function returns reason value.
type AddPlatformNodeReply ¶
type AddPlatformNodeReply struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // contains filtered or unexported fields }
func (*AddPlatformNodeReply) Descriptor
deprecated
func (*AddPlatformNodeReply) Descriptor() ([]byte, []int)
Deprecated: Use AddPlatformNodeReply.ProtoReflect.Descriptor instead.
func (*AddPlatformNodeReply) GetNodeId ¶
func (x *AddPlatformNodeReply) GetNodeId() string
func (*AddPlatformNodeReply) ProtoMessage ¶
func (*AddPlatformNodeReply) ProtoMessage()
func (*AddPlatformNodeReply) ProtoReflect ¶
func (x *AddPlatformNodeReply) ProtoReflect() protoreflect.Message
func (*AddPlatformNodeReply) Reset ¶
func (x *AddPlatformNodeReply) Reset()
func (*AddPlatformNodeReply) String ¶
func (x *AddPlatformNodeReply) String() string
func (*AddPlatformNodeReply) Validate ¶
func (m *AddPlatformNodeReply) Validate() error
Validate checks the field values on AddPlatformNodeReply 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 (*AddPlatformNodeReply) ValidateAll ¶
func (m *AddPlatformNodeReply) ValidateAll() error
ValidateAll checks the field values on AddPlatformNodeReply 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 AddPlatformNodeReplyMultiError, or nil if none found.
type AddPlatformNodeReplyMultiError ¶
type AddPlatformNodeReplyMultiError []error
AddPlatformNodeReplyMultiError is an error wrapping multiple validation errors returned by AddPlatformNodeReply.ValidateAll() if the designated constraints aren't met.
func (AddPlatformNodeReplyMultiError) AllErrors ¶
func (m AddPlatformNodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddPlatformNodeReplyMultiError) Error ¶
func (m AddPlatformNodeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddPlatformNodeReplyValidationError ¶
type AddPlatformNodeReplyValidationError struct {
// contains filtered or unexported fields
}
AddPlatformNodeReplyValidationError is the validation error returned by AddPlatformNodeReply.Validate if the designated constraints aren't met.
func (AddPlatformNodeReplyValidationError) Cause ¶
func (e AddPlatformNodeReplyValidationError) Cause() error
Cause function returns cause value.
func (AddPlatformNodeReplyValidationError) Error ¶
func (e AddPlatformNodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (AddPlatformNodeReplyValidationError) ErrorName ¶
func (e AddPlatformNodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (AddPlatformNodeReplyValidationError) Field ¶
func (e AddPlatformNodeReplyValidationError) Field() string
Field function returns field value.
func (AddPlatformNodeReplyValidationError) Key ¶
func (e AddPlatformNodeReplyValidationError) Key() bool
Key function returns key value.
func (AddPlatformNodeReplyValidationError) Reason ¶
func (e AddPlatformNodeReplyValidationError) Reason() string
Reason function returns reason value.
type AddPlatformNodeReq ¶
type AddPlatformNodeReq struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // 地址 Weight int32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"` //节点权重 // contains filtered or unexported fields }
新加节点 -------------------------------------------
func (*AddPlatformNodeReq) Descriptor
deprecated
func (*AddPlatformNodeReq) Descriptor() ([]byte, []int)
Deprecated: Use AddPlatformNodeReq.ProtoReflect.Descriptor instead.
func (*AddPlatformNodeReq) GetAddress ¶
func (x *AddPlatformNodeReq) GetAddress() string
func (*AddPlatformNodeReq) GetWeight ¶
func (x *AddPlatformNodeReq) GetWeight() int32
func (*AddPlatformNodeReq) ProtoMessage ¶
func (*AddPlatformNodeReq) ProtoMessage()
func (*AddPlatformNodeReq) ProtoReflect ¶
func (x *AddPlatformNodeReq) ProtoReflect() protoreflect.Message
func (*AddPlatformNodeReq) Reset ¶
func (x *AddPlatformNodeReq) Reset()
func (*AddPlatformNodeReq) String ¶
func (x *AddPlatformNodeReq) String() string
func (*AddPlatformNodeReq) Validate ¶
func (m *AddPlatformNodeReq) Validate() error
Validate checks the field values on AddPlatformNodeReq 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 (*AddPlatformNodeReq) ValidateAll ¶
func (m *AddPlatformNodeReq) ValidateAll() error
ValidateAll checks the field values on AddPlatformNodeReq 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 AddPlatformNodeReqMultiError, or nil if none found.
type AddPlatformNodeReqMultiError ¶
type AddPlatformNodeReqMultiError []error
AddPlatformNodeReqMultiError is an error wrapping multiple validation errors returned by AddPlatformNodeReq.ValidateAll() if the designated constraints aren't met.
func (AddPlatformNodeReqMultiError) AllErrors ¶
func (m AddPlatformNodeReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddPlatformNodeReqMultiError) Error ¶
func (m AddPlatformNodeReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddPlatformNodeReqValidationError ¶
type AddPlatformNodeReqValidationError struct {
// contains filtered or unexported fields
}
AddPlatformNodeReqValidationError is the validation error returned by AddPlatformNodeReq.Validate if the designated constraints aren't met.
func (AddPlatformNodeReqValidationError) Cause ¶
func (e AddPlatformNodeReqValidationError) Cause() error
Cause function returns cause value.
func (AddPlatformNodeReqValidationError) Error ¶
func (e AddPlatformNodeReqValidationError) Error() string
Error satisfies the builtin error interface
func (AddPlatformNodeReqValidationError) ErrorName ¶
func (e AddPlatformNodeReqValidationError) ErrorName() string
ErrorName returns error name.
func (AddPlatformNodeReqValidationError) Field ¶
func (e AddPlatformNodeReqValidationError) Field() string
Field function returns field value.
func (AddPlatformNodeReqValidationError) Key ¶
func (e AddPlatformNodeReqValidationError) Key() bool
Key function returns key value.
func (AddPlatformNodeReqValidationError) Reason ¶
func (e AddPlatformNodeReqValidationError) Reason() string
Reason function returns reason value.
type DelPlatformNodeReply ¶
type DelPlatformNodeReply struct {
// contains filtered or unexported fields
}
func (*DelPlatformNodeReply) Descriptor
deprecated
func (*DelPlatformNodeReply) Descriptor() ([]byte, []int)
Deprecated: Use DelPlatformNodeReply.ProtoReflect.Descriptor instead.
func (*DelPlatformNodeReply) ProtoMessage ¶
func (*DelPlatformNodeReply) ProtoMessage()
func (*DelPlatformNodeReply) ProtoReflect ¶
func (x *DelPlatformNodeReply) ProtoReflect() protoreflect.Message
func (*DelPlatformNodeReply) Reset ¶
func (x *DelPlatformNodeReply) Reset()
func (*DelPlatformNodeReply) String ¶
func (x *DelPlatformNodeReply) String() string
func (*DelPlatformNodeReply) Validate ¶
func (m *DelPlatformNodeReply) Validate() error
Validate checks the field values on DelPlatformNodeReply 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 (*DelPlatformNodeReply) ValidateAll ¶
func (m *DelPlatformNodeReply) ValidateAll() error
ValidateAll checks the field values on DelPlatformNodeReply 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 DelPlatformNodeReplyMultiError, or nil if none found.
type DelPlatformNodeReplyMultiError ¶
type DelPlatformNodeReplyMultiError []error
DelPlatformNodeReplyMultiError is an error wrapping multiple validation errors returned by DelPlatformNodeReply.ValidateAll() if the designated constraints aren't met.
func (DelPlatformNodeReplyMultiError) AllErrors ¶
func (m DelPlatformNodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DelPlatformNodeReplyMultiError) Error ¶
func (m DelPlatformNodeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DelPlatformNodeReplyValidationError ¶
type DelPlatformNodeReplyValidationError struct {
// contains filtered or unexported fields
}
DelPlatformNodeReplyValidationError is the validation error returned by DelPlatformNodeReply.Validate if the designated constraints aren't met.
func (DelPlatformNodeReplyValidationError) Cause ¶
func (e DelPlatformNodeReplyValidationError) Cause() error
Cause function returns cause value.
func (DelPlatformNodeReplyValidationError) Error ¶
func (e DelPlatformNodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DelPlatformNodeReplyValidationError) ErrorName ¶
func (e DelPlatformNodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DelPlatformNodeReplyValidationError) Field ¶
func (e DelPlatformNodeReplyValidationError) Field() string
Field function returns field value.
func (DelPlatformNodeReplyValidationError) Key ¶
func (e DelPlatformNodeReplyValidationError) Key() bool
Key function returns key value.
func (DelPlatformNodeReplyValidationError) Reason ¶
func (e DelPlatformNodeReplyValidationError) Reason() string
Reason function returns reason value.
type DelPlatformNodeReq ¶
type DelPlatformNodeReq struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //节点id // contains filtered or unexported fields }
删除节点 -------------------------------------------
func (*DelPlatformNodeReq) Descriptor
deprecated
func (*DelPlatformNodeReq) Descriptor() ([]byte, []int)
Deprecated: Use DelPlatformNodeReq.ProtoReflect.Descriptor instead.
func (*DelPlatformNodeReq) GetId ¶
func (x *DelPlatformNodeReq) GetId() int32
func (*DelPlatformNodeReq) ProtoMessage ¶
func (*DelPlatformNodeReq) ProtoMessage()
func (*DelPlatformNodeReq) ProtoReflect ¶
func (x *DelPlatformNodeReq) ProtoReflect() protoreflect.Message
func (*DelPlatformNodeReq) Reset ¶
func (x *DelPlatformNodeReq) Reset()
func (*DelPlatformNodeReq) String ¶
func (x *DelPlatformNodeReq) String() string
func (*DelPlatformNodeReq) Validate ¶
func (m *DelPlatformNodeReq) Validate() error
Validate checks the field values on DelPlatformNodeReq 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 (*DelPlatformNodeReq) ValidateAll ¶
func (m *DelPlatformNodeReq) ValidateAll() error
ValidateAll checks the field values on DelPlatformNodeReq 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 DelPlatformNodeReqMultiError, or nil if none found.
type DelPlatformNodeReqMultiError ¶
type DelPlatformNodeReqMultiError []error
DelPlatformNodeReqMultiError is an error wrapping multiple validation errors returned by DelPlatformNodeReq.ValidateAll() if the designated constraints aren't met.
func (DelPlatformNodeReqMultiError) AllErrors ¶
func (m DelPlatformNodeReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DelPlatformNodeReqMultiError) Error ¶
func (m DelPlatformNodeReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DelPlatformNodeReqValidationError ¶
type DelPlatformNodeReqValidationError struct {
// contains filtered or unexported fields
}
DelPlatformNodeReqValidationError is the validation error returned by DelPlatformNodeReq.Validate if the designated constraints aren't met.
func (DelPlatformNodeReqValidationError) Cause ¶
func (e DelPlatformNodeReqValidationError) Cause() error
Cause function returns cause value.
func (DelPlatformNodeReqValidationError) Error ¶
func (e DelPlatformNodeReqValidationError) Error() string
Error satisfies the builtin error interface
func (DelPlatformNodeReqValidationError) ErrorName ¶
func (e DelPlatformNodeReqValidationError) ErrorName() string
ErrorName returns error name.
func (DelPlatformNodeReqValidationError) Field ¶
func (e DelPlatformNodeReqValidationError) Field() string
Field function returns field value.
func (DelPlatformNodeReqValidationError) Key ¶
func (e DelPlatformNodeReqValidationError) Key() bool
Key function returns key value.
func (DelPlatformNodeReqValidationError) Reason ¶
func (e DelPlatformNodeReqValidationError) Reason() string
Reason function returns reason value.
type DelReply ¶
type DelReply struct {
// contains filtered or unexported fields
}
func (*DelReply) Descriptor
deprecated
func (*DelReply) ProtoMessage ¶
func (*DelReply) ProtoMessage()
func (*DelReply) ProtoReflect ¶
func (x *DelReply) ProtoReflect() protoreflect.Message
func (*DelReply) Validate ¶
Validate checks the field values on DelReply 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 (*DelReply) ValidateAll ¶
ValidateAll checks the field values on DelReply 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 DelReplyMultiError, or nil if none found.
type DelReplyMultiError ¶
type DelReplyMultiError []error
DelReplyMultiError is an error wrapping multiple validation errors returned by DelReply.ValidateAll() if the designated constraints aren't met.
func (DelReplyMultiError) AllErrors ¶
func (m DelReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DelReplyMultiError) Error ¶
func (m DelReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DelReplyValidationError ¶
type DelReplyValidationError struct {
// contains filtered or unexported fields
}
DelReplyValidationError is the validation error returned by DelReply.Validate if the designated constraints aren't met.
func (DelReplyValidationError) Cause ¶
func (e DelReplyValidationError) Cause() error
Cause function returns cause value.
func (DelReplyValidationError) Error ¶
func (e DelReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DelReplyValidationError) ErrorName ¶
func (e DelReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DelReplyValidationError) Field ¶
func (e DelReplyValidationError) Field() string
Field function returns field value.
func (DelReplyValidationError) Key ¶
func (e DelReplyValidationError) Key() bool
Key function returns key value.
func (DelReplyValidationError) Reason ¶
func (e DelReplyValidationError) Reason() string
Reason function returns reason value.
type DelReq ¶
type DelReq struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` //节点id // contains filtered or unexported fields }
删除节点 -------------------------------------------
func (*DelReq) Descriptor
deprecated
func (*DelReq) ProtoMessage ¶
func (*DelReq) ProtoMessage()
func (*DelReq) ProtoReflect ¶
func (x *DelReq) ProtoReflect() protoreflect.Message
func (*DelReq) Validate ¶
Validate checks the field values on DelReq 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 (*DelReq) ValidateAll ¶
ValidateAll checks the field values on DelReq 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 DelReqMultiError, or nil if none found.
type DelReqMultiError ¶
type DelReqMultiError []error
DelReqMultiError is an error wrapping multiple validation errors returned by DelReq.ValidateAll() if the designated constraints aren't met.
func (DelReqMultiError) AllErrors ¶
func (m DelReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DelReqMultiError) Error ¶
func (m DelReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DelReqValidationError ¶
type DelReqValidationError struct {
// contains filtered or unexported fields
}
DelReqValidationError is the validation error returned by DelReq.Validate if the designated constraints aren't met.
func (DelReqValidationError) Cause ¶
func (e DelReqValidationError) Cause() error
Cause function returns cause value.
func (DelReqValidationError) Error ¶
func (e DelReqValidationError) Error() string
Error satisfies the builtin error interface
func (DelReqValidationError) ErrorName ¶
func (e DelReqValidationError) ErrorName() string
ErrorName returns error name.
func (DelReqValidationError) Field ¶
func (e DelReqValidationError) Field() string
Field function returns field value.
func (DelReqValidationError) Key ¶
func (e DelReqValidationError) Key() bool
Key function returns key value.
func (DelReqValidationError) Reason ¶
func (e DelReqValidationError) Reason() string
Reason function returns reason value.
type DistributeInfoReply ¶
type DistributeInfoReply struct { Info *NodeDetails `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` //节点详情,主节点或租户对应的节点 NodeType NodeType `protobuf:"varint,2,opt,name=nodeType,proto3,enum=api.platform.node.v2.NodeType" json:"nodeType,omitempty"` //节点类型 Data *v2.TenantDistributeInfo `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` //租户下发的信息 // contains filtered or unexported fields }
func (*DistributeInfoReply) Descriptor
deprecated
func (*DistributeInfoReply) Descriptor() ([]byte, []int)
Deprecated: Use DistributeInfoReply.ProtoReflect.Descriptor instead.
func (*DistributeInfoReply) GetData ¶
func (x *DistributeInfoReply) GetData() *v2.TenantDistributeInfo
func (*DistributeInfoReply) GetInfo ¶
func (x *DistributeInfoReply) GetInfo() *NodeDetails
func (*DistributeInfoReply) GetNodeType ¶
func (x *DistributeInfoReply) GetNodeType() NodeType
func (*DistributeInfoReply) ProtoMessage ¶
func (*DistributeInfoReply) ProtoMessage()
func (*DistributeInfoReply) ProtoReflect ¶
func (x *DistributeInfoReply) ProtoReflect() protoreflect.Message
func (*DistributeInfoReply) Reset ¶
func (x *DistributeInfoReply) Reset()
func (*DistributeInfoReply) String ¶
func (x *DistributeInfoReply) String() string
func (*DistributeInfoReply) Validate ¶
func (m *DistributeInfoReply) Validate() error
Validate checks the field values on DistributeInfoReply 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 (*DistributeInfoReply) ValidateAll ¶
func (m *DistributeInfoReply) ValidateAll() error
ValidateAll checks the field values on DistributeInfoReply 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 DistributeInfoReplyMultiError, or nil if none found.
type DistributeInfoReplyMultiError ¶
type DistributeInfoReplyMultiError []error
DistributeInfoReplyMultiError is an error wrapping multiple validation errors returned by DistributeInfoReply.ValidateAll() if the designated constraints aren't met.
func (DistributeInfoReplyMultiError) AllErrors ¶
func (m DistributeInfoReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DistributeInfoReplyMultiError) Error ¶
func (m DistributeInfoReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DistributeInfoReplyValidationError ¶
type DistributeInfoReplyValidationError struct {
// contains filtered or unexported fields
}
DistributeInfoReplyValidationError is the validation error returned by DistributeInfoReply.Validate if the designated constraints aren't met.
func (DistributeInfoReplyValidationError) Cause ¶
func (e DistributeInfoReplyValidationError) Cause() error
Cause function returns cause value.
func (DistributeInfoReplyValidationError) Error ¶
func (e DistributeInfoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DistributeInfoReplyValidationError) ErrorName ¶
func (e DistributeInfoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DistributeInfoReplyValidationError) Field ¶
func (e DistributeInfoReplyValidationError) Field() string
Field function returns field value.
func (DistributeInfoReplyValidationError) Key ¶
func (e DistributeInfoReplyValidationError) Key() bool
Key function returns key value.
func (DistributeInfoReplyValidationError) Reason ¶
func (e DistributeInfoReplyValidationError) Reason() string
Reason function returns reason value.
type EditPlatformNodeReply ¶
type EditPlatformNodeReply struct {
// contains filtered or unexported fields
}
func (*EditPlatformNodeReply) Descriptor
deprecated
func (*EditPlatformNodeReply) Descriptor() ([]byte, []int)
Deprecated: Use EditPlatformNodeReply.ProtoReflect.Descriptor instead.
func (*EditPlatformNodeReply) ProtoMessage ¶
func (*EditPlatformNodeReply) ProtoMessage()
func (*EditPlatformNodeReply) ProtoReflect ¶
func (x *EditPlatformNodeReply) ProtoReflect() protoreflect.Message
func (*EditPlatformNodeReply) Reset ¶
func (x *EditPlatformNodeReply) Reset()
func (*EditPlatformNodeReply) String ¶
func (x *EditPlatformNodeReply) String() string
func (*EditPlatformNodeReply) Validate ¶
func (m *EditPlatformNodeReply) Validate() error
Validate checks the field values on EditPlatformNodeReply 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 (*EditPlatformNodeReply) ValidateAll ¶
func (m *EditPlatformNodeReply) ValidateAll() error
ValidateAll checks the field values on EditPlatformNodeReply 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 EditPlatformNodeReplyMultiError, or nil if none found.
type EditPlatformNodeReplyMultiError ¶
type EditPlatformNodeReplyMultiError []error
EditPlatformNodeReplyMultiError is an error wrapping multiple validation errors returned by EditPlatformNodeReply.ValidateAll() if the designated constraints aren't met.
func (EditPlatformNodeReplyMultiError) AllErrors ¶
func (m EditPlatformNodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditPlatformNodeReplyMultiError) Error ¶
func (m EditPlatformNodeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditPlatformNodeReplyValidationError ¶
type EditPlatformNodeReplyValidationError struct {
// contains filtered or unexported fields
}
EditPlatformNodeReplyValidationError is the validation error returned by EditPlatformNodeReply.Validate if the designated constraints aren't met.
func (EditPlatformNodeReplyValidationError) Cause ¶
func (e EditPlatformNodeReplyValidationError) Cause() error
Cause function returns cause value.
func (EditPlatformNodeReplyValidationError) Error ¶
func (e EditPlatformNodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (EditPlatformNodeReplyValidationError) ErrorName ¶
func (e EditPlatformNodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (EditPlatformNodeReplyValidationError) Field ¶
func (e EditPlatformNodeReplyValidationError) Field() string
Field function returns field value.
func (EditPlatformNodeReplyValidationError) Key ¶
func (e EditPlatformNodeReplyValidationError) Key() bool
Key function returns key value.
func (EditPlatformNodeReplyValidationError) Reason ¶
func (e EditPlatformNodeReplyValidationError) Reason() string
Reason function returns reason value.
type EditPlatformNodeReq ¶
type EditPlatformNodeReq struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //节点id Address *string `protobuf:"bytes,2,opt,name=address,proto3,oneof" json:"address,omitempty"` // 地址 Weight *int32 `protobuf:"varint,3,opt,name=weight,proto3,oneof" json:"weight,omitempty"` //节点权重 // contains filtered or unexported fields }
编辑节点 -------------------------------------------
func (*EditPlatformNodeReq) Descriptor
deprecated
func (*EditPlatformNodeReq) Descriptor() ([]byte, []int)
Deprecated: Use EditPlatformNodeReq.ProtoReflect.Descriptor instead.
func (*EditPlatformNodeReq) GetAddress ¶
func (x *EditPlatformNodeReq) GetAddress() string
func (*EditPlatformNodeReq) GetId ¶
func (x *EditPlatformNodeReq) GetId() int32
func (*EditPlatformNodeReq) GetWeight ¶
func (x *EditPlatformNodeReq) GetWeight() int32
func (*EditPlatformNodeReq) ProtoMessage ¶
func (*EditPlatformNodeReq) ProtoMessage()
func (*EditPlatformNodeReq) ProtoReflect ¶
func (x *EditPlatformNodeReq) ProtoReflect() protoreflect.Message
func (*EditPlatformNodeReq) Reset ¶
func (x *EditPlatformNodeReq) Reset()
func (*EditPlatformNodeReq) String ¶
func (x *EditPlatformNodeReq) String() string
func (*EditPlatformNodeReq) Validate ¶
func (m *EditPlatformNodeReq) Validate() error
Validate checks the field values on EditPlatformNodeReq 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 (*EditPlatformNodeReq) ValidateAll ¶
func (m *EditPlatformNodeReq) ValidateAll() error
ValidateAll checks the field values on EditPlatformNodeReq 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 EditPlatformNodeReqMultiError, or nil if none found.
type EditPlatformNodeReqMultiError ¶
type EditPlatformNodeReqMultiError []error
EditPlatformNodeReqMultiError is an error wrapping multiple validation errors returned by EditPlatformNodeReq.ValidateAll() if the designated constraints aren't met.
func (EditPlatformNodeReqMultiError) AllErrors ¶
func (m EditPlatformNodeReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditPlatformNodeReqMultiError) Error ¶
func (m EditPlatformNodeReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditPlatformNodeReqValidationError ¶
type EditPlatformNodeReqValidationError struct {
// contains filtered or unexported fields
}
EditPlatformNodeReqValidationError is the validation error returned by EditPlatformNodeReq.Validate if the designated constraints aren't met.
func (EditPlatformNodeReqValidationError) Cause ¶
func (e EditPlatformNodeReqValidationError) Cause() error
Cause function returns cause value.
func (EditPlatformNodeReqValidationError) Error ¶
func (e EditPlatformNodeReqValidationError) Error() string
Error satisfies the builtin error interface
func (EditPlatformNodeReqValidationError) ErrorName ¶
func (e EditPlatformNodeReqValidationError) ErrorName() string
ErrorName returns error name.
func (EditPlatformNodeReqValidationError) Field ¶
func (e EditPlatformNodeReqValidationError) Field() string
Field function returns field value.
func (EditPlatformNodeReqValidationError) Key ¶
func (e EditPlatformNodeReqValidationError) Key() bool
Key function returns key value.
func (EditPlatformNodeReqValidationError) Reason ¶
func (e EditPlatformNodeReqValidationError) Reason() string
Reason function returns reason value.
type EditReply ¶
type EditReply struct {
// contains filtered or unexported fields
}
func (*EditReply) Descriptor
deprecated
func (*EditReply) ProtoMessage ¶
func (*EditReply) ProtoMessage()
func (*EditReply) ProtoReflect ¶
func (x *EditReply) ProtoReflect() protoreflect.Message
func (*EditReply) Validate ¶
Validate checks the field values on EditReply 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 (*EditReply) ValidateAll ¶
ValidateAll checks the field values on EditReply 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 EditReplyMultiError, or nil if none found.
type EditReplyMultiError ¶
type EditReplyMultiError []error
EditReplyMultiError is an error wrapping multiple validation errors returned by EditReply.ValidateAll() if the designated constraints aren't met.
func (EditReplyMultiError) AllErrors ¶
func (m EditReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditReplyMultiError) Error ¶
func (m EditReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditReplyValidationError ¶
type EditReplyValidationError struct {
// contains filtered or unexported fields
}
EditReplyValidationError is the validation error returned by EditReply.Validate if the designated constraints aren't met.
func (EditReplyValidationError) Cause ¶
func (e EditReplyValidationError) Cause() error
Cause function returns cause value.
func (EditReplyValidationError) Error ¶
func (e EditReplyValidationError) Error() string
Error satisfies the builtin error interface
func (EditReplyValidationError) ErrorName ¶
func (e EditReplyValidationError) ErrorName() string
ErrorName returns error name.
func (EditReplyValidationError) Field ¶
func (e EditReplyValidationError) Field() string
Field function returns field value.
func (EditReplyValidationError) Key ¶
func (e EditReplyValidationError) Key() bool
Key function returns key value.
func (EditReplyValidationError) Reason ¶
func (e EditReplyValidationError) Reason() string
Reason function returns reason value.
type EditReq ¶
type EditReq struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` //节点id Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` //节点名称 MasterApi *string `protobuf:"bytes,3,opt,name=masterApi,proto3,oneof" json:"masterApi,omitempty"` //受控节点地址 Code *string `protobuf:"bytes,4,opt,name=code,proto3,oneof" json:"code,omitempty"` //邀请码 ImApiUrl *string `protobuf:"bytes,5,opt,name=imApiUrl,proto3,oneof" json:"imApiUrl,omitempty"` //客户imapi域名地址,兼容2.0 ImWsUrl *string `protobuf:"bytes,6,opt,name=imWsUrl,proto3,oneof" json:"imWsUrl,omitempty"` //ws 地址 AvAppid *string `protobuf:"bytes,7,opt,name=avAppid,proto3,oneof" json:"avAppid,omitempty"` // 腾讯音视频app id AvSecret *string `protobuf:"bytes,8,opt,name=avSecret,proto3,oneof" json:"avSecret,omitempty"` // 腾讯音视频密钥 Logo *string `protobuf:"bytes,9,opt,name=logo,proto3,oneof" json:"logo,omitempty"` // 服务的logo Version *string `protobuf:"bytes,10,opt,name=version,proto3,oneof" json:"version,omitempty"` //版本 PromotionCode *string `protobuf:"bytes,11,opt,name=promotionCode,proto3,oneof" json:"promotionCode,omitempty"` //租户邀请码 Sort *int32 `protobuf:"varint,22,opt,name=sort,proto3,oneof" json:"sort,omitempty"` //排序 // contains filtered or unexported fields }
编辑节点 -------------------------------------------
func (*EditReq) Descriptor
deprecated
func (*EditReq) GetAvAppid ¶
func (*EditReq) GetAvSecret ¶
func (*EditReq) GetImApiUrl ¶
func (*EditReq) GetImWsUrl ¶
func (*EditReq) GetMasterApi ¶
func (*EditReq) GetPromotionCode ¶
func (*EditReq) GetVersion ¶
func (*EditReq) ProtoMessage ¶
func (*EditReq) ProtoMessage()
func (*EditReq) ProtoReflect ¶
func (x *EditReq) ProtoReflect() protoreflect.Message
func (*EditReq) Validate ¶
Validate checks the field values on EditReq 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 (*EditReq) ValidateAll ¶
ValidateAll checks the field values on EditReq 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 EditReqMultiError, or nil if none found.
type EditReqMultiError ¶
type EditReqMultiError []error
EditReqMultiError is an error wrapping multiple validation errors returned by EditReq.ValidateAll() if the designated constraints aren't met.
func (EditReqMultiError) AllErrors ¶
func (m EditReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditReqMultiError) Error ¶
func (m EditReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditReqValidationError ¶
type EditReqValidationError struct {
// contains filtered or unexported fields
}
EditReqValidationError is the validation error returned by EditReq.Validate if the designated constraints aren't met.
func (EditReqValidationError) Cause ¶
func (e EditReqValidationError) Cause() error
Cause function returns cause value.
func (EditReqValidationError) Error ¶
func (e EditReqValidationError) Error() string
Error satisfies the builtin error interface
func (EditReqValidationError) ErrorName ¶
func (e EditReqValidationError) ErrorName() string
ErrorName returns error name.
func (EditReqValidationError) Field ¶
func (e EditReqValidationError) Field() string
Field function returns field value.
func (EditReqValidationError) Key ¶
func (e EditReqValidationError) Key() bool
Key function returns key value.
func (EditReqValidationError) Reason ¶
func (e EditReqValidationError) Reason() string
Reason function returns reason value.
type EditStatusReply ¶
type EditStatusReply struct {
// contains filtered or unexported fields
}
func (*EditStatusReply) Descriptor
deprecated
func (*EditStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use EditStatusReply.ProtoReflect.Descriptor instead.
func (*EditStatusReply) ProtoMessage ¶
func (*EditStatusReply) ProtoMessage()
func (*EditStatusReply) ProtoReflect ¶
func (x *EditStatusReply) ProtoReflect() protoreflect.Message
func (*EditStatusReply) Reset ¶
func (x *EditStatusReply) Reset()
func (*EditStatusReply) String ¶
func (x *EditStatusReply) String() string
func (*EditStatusReply) Validate ¶
func (m *EditStatusReply) Validate() error
Validate checks the field values on EditStatusReply 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 (*EditStatusReply) ValidateAll ¶
func (m *EditStatusReply) ValidateAll() error
ValidateAll checks the field values on EditStatusReply 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 EditStatusReplyMultiError, or nil if none found.
type EditStatusReplyMultiError ¶
type EditStatusReplyMultiError []error
EditStatusReplyMultiError is an error wrapping multiple validation errors returned by EditStatusReply.ValidateAll() if the designated constraints aren't met.
func (EditStatusReplyMultiError) AllErrors ¶
func (m EditStatusReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditStatusReplyMultiError) Error ¶
func (m EditStatusReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditStatusReplyValidationError ¶
type EditStatusReplyValidationError struct {
// contains filtered or unexported fields
}
EditStatusReplyValidationError is the validation error returned by EditStatusReply.Validate if the designated constraints aren't met.
func (EditStatusReplyValidationError) Cause ¶
func (e EditStatusReplyValidationError) Cause() error
Cause function returns cause value.
func (EditStatusReplyValidationError) Error ¶
func (e EditStatusReplyValidationError) Error() string
Error satisfies the builtin error interface
func (EditStatusReplyValidationError) ErrorName ¶
func (e EditStatusReplyValidationError) ErrorName() string
ErrorName returns error name.
func (EditStatusReplyValidationError) Field ¶
func (e EditStatusReplyValidationError) Field() string
Field function returns field value.
func (EditStatusReplyValidationError) Key ¶
func (e EditStatusReplyValidationError) Key() bool
Key function returns key value.
func (EditStatusReplyValidationError) Reason ¶
func (e EditStatusReplyValidationError) Reason() string
Reason function returns reason value.
type EditStatusReq ¶
type EditStatusReq struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` //节点id Status NodeStatus `protobuf:"varint,2,opt,name=status,proto3,enum=api.platform.node.v2.NodeStatus" json:"status,omitempty"` // 1:启用 2:停用 3: 时间限制 StartTime *int64 `protobuf:"varint,3,opt,name=startTime,proto3,oneof" json:"startTime,omitempty"` // 开始时间 EndTime *int64 `protobuf:"varint,4,opt,name=endTime,proto3,oneof" json:"endTime,omitempty"` // 结束时间 // contains filtered or unexported fields }
编辑节点状态 -------------------------------------------
func (*EditStatusReq) Descriptor
deprecated
func (*EditStatusReq) Descriptor() ([]byte, []int)
Deprecated: Use EditStatusReq.ProtoReflect.Descriptor instead.
func (*EditStatusReq) GetEndTime ¶
func (x *EditStatusReq) GetEndTime() int64
func (*EditStatusReq) GetNodeId ¶
func (x *EditStatusReq) GetNodeId() string
func (*EditStatusReq) GetStartTime ¶
func (x *EditStatusReq) GetStartTime() int64
func (*EditStatusReq) GetStatus ¶
func (x *EditStatusReq) GetStatus() NodeStatus
func (*EditStatusReq) ProtoMessage ¶
func (*EditStatusReq) ProtoMessage()
func (*EditStatusReq) ProtoReflect ¶
func (x *EditStatusReq) ProtoReflect() protoreflect.Message
func (*EditStatusReq) Reset ¶
func (x *EditStatusReq) Reset()
func (*EditStatusReq) String ¶
func (x *EditStatusReq) String() string
func (*EditStatusReq) Validate ¶
func (m *EditStatusReq) Validate() error
Validate checks the field values on EditStatusReq 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 (*EditStatusReq) ValidateAll ¶
func (m *EditStatusReq) ValidateAll() error
ValidateAll checks the field values on EditStatusReq 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 EditStatusReqMultiError, or nil if none found.
type EditStatusReqMultiError ¶
type EditStatusReqMultiError []error
EditStatusReqMultiError is an error wrapping multiple validation errors returned by EditStatusReq.ValidateAll() if the designated constraints aren't met.
func (EditStatusReqMultiError) AllErrors ¶
func (m EditStatusReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditStatusReqMultiError) Error ¶
func (m EditStatusReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditStatusReqValidationError ¶
type EditStatusReqValidationError struct {
// contains filtered or unexported fields
}
EditStatusReqValidationError is the validation error returned by EditStatusReq.Validate if the designated constraints aren't met.
func (EditStatusReqValidationError) Cause ¶
func (e EditStatusReqValidationError) Cause() error
Cause function returns cause value.
func (EditStatusReqValidationError) Error ¶
func (e EditStatusReqValidationError) Error() string
Error satisfies the builtin error interface
func (EditStatusReqValidationError) ErrorName ¶
func (e EditStatusReqValidationError) ErrorName() string
ErrorName returns error name.
func (EditStatusReqValidationError) Field ¶
func (e EditStatusReqValidationError) Field() string
Field function returns field value.
func (EditStatusReqValidationError) Key ¶
func (e EditStatusReqValidationError) Key() bool
Key function returns key value.
func (EditStatusReqValidationError) Reason ¶
func (e EditStatusReqValidationError) Reason() string
Reason function returns reason value.
type ErrorNodeReason ¶
type ErrorNodeReason int32
const ( // 节点信息未找到 ErrorNodeReason_NODE_NOT_FOUND ErrorNodeReason = 0 // 主节点必须包含服务器信息 ErrorNodeReason_MASTER_NODE_MUST_INCLUDE_SERVER_INFORMATION ErrorNodeReason = 1 // 代理节点必须指定主节点 ErrorNodeReason_PROXY_NODE_MUST_SPECIFY_THE_MASTER_NODE ErrorNodeReason = 3 // 受时间控制的节点必须指定时间 ErrorNodeReason_TIME_CONTROLLED_NODES_MUST_SPECIFY_TIME ErrorNodeReason = 4 // 结束时间不能小于开始时间 ErrorNodeReason_THE_END_TIME_CANNOT_BE_LESS_THAN_THE_START_TIME ErrorNodeReason = 5 // 节点下包含可用的代理节点无法删除 ErrorNodeReason_NODE_CONTAINS_CHILD_NODES_UNDER_IT ErrorNodeReason = 6 // 节点已存在 ErrorNodeReason_NODE_IS_EXIST_ERROR ErrorNodeReason = 7 // c重置密钥失败 ErrorNodeReason_RESET_KEY_ERROR ErrorNodeReason = 8 // 设置默认节点失败 ErrorNodeReason_SET_DEFAULT_NODE_ERROR ErrorNodeReason = 9 )
func (ErrorNodeReason) Descriptor ¶
func (ErrorNodeReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorNodeReason) Enum ¶
func (x ErrorNodeReason) Enum() *ErrorNodeReason
func (ErrorNodeReason) EnumDescriptor
deprecated
func (ErrorNodeReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorNodeReason.Descriptor instead.
func (ErrorNodeReason) Number ¶
func (x ErrorNodeReason) Number() protoreflect.EnumNumber
func (ErrorNodeReason) String ¶
func (x ErrorNodeReason) String() string
func (ErrorNodeReason) Type ¶
func (ErrorNodeReason) Type() protoreflect.EnumType
type ErrorPlatFormNodeReason ¶
type ErrorPlatFormNodeReason int32
const ( // 地址不能为空 ErrorPlatFormNodeReason_ADDRESS_NOI_EMPTY ErrorPlatFormNodeReason = 0 // 地址不能为空 ErrorPlatFormNodeReason_CARTE_PLATFORM_NODE ErrorPlatFormNodeReason = 1 )
func (ErrorPlatFormNodeReason) Descriptor ¶
func (ErrorPlatFormNodeReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorPlatFormNodeReason) Enum ¶
func (x ErrorPlatFormNodeReason) Enum() *ErrorPlatFormNodeReason
func (ErrorPlatFormNodeReason) EnumDescriptor
deprecated
func (ErrorPlatFormNodeReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorPlatFormNodeReason.Descriptor instead.
func (ErrorPlatFormNodeReason) Number ¶
func (x ErrorPlatFormNodeReason) Number() protoreflect.EnumNumber
func (ErrorPlatFormNodeReason) String ¶
func (x ErrorPlatFormNodeReason) String() string
func (ErrorPlatFormNodeReason) Type ¶
func (ErrorPlatFormNodeReason) Type() protoreflect.EnumType
type EscalationReply ¶
type EscalationReply struct { Data *v2.SingedMsg `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` //加密信息 // contains filtered or unexported fields }
func (*EscalationReply) Descriptor
deprecated
func (*EscalationReply) Descriptor() ([]byte, []int)
Deprecated: Use EscalationReply.ProtoReflect.Descriptor instead.
func (*EscalationReply) GetData ¶
func (x *EscalationReply) GetData() *v2.SingedMsg
func (*EscalationReply) ProtoMessage ¶
func (*EscalationReply) ProtoMessage()
func (*EscalationReply) ProtoReflect ¶
func (x *EscalationReply) ProtoReflect() protoreflect.Message
func (*EscalationReply) Reset ¶
func (x *EscalationReply) Reset()
func (*EscalationReply) String ¶
func (x *EscalationReply) String() string
func (*EscalationReply) Validate ¶
func (m *EscalationReply) Validate() error
Validate checks the field values on EscalationReply 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 (*EscalationReply) ValidateAll ¶
func (m *EscalationReply) ValidateAll() error
ValidateAll checks the field values on EscalationReply 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 EscalationReplyMultiError, or nil if none found.
type EscalationReplyMultiError ¶
type EscalationReplyMultiError []error
EscalationReplyMultiError is an error wrapping multiple validation errors returned by EscalationReply.ValidateAll() if the designated constraints aren't met.
func (EscalationReplyMultiError) AllErrors ¶
func (m EscalationReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EscalationReplyMultiError) Error ¶
func (m EscalationReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EscalationReplyValidationError ¶
type EscalationReplyValidationError struct {
// contains filtered or unexported fields
}
EscalationReplyValidationError is the validation error returned by EscalationReply.Validate if the designated constraints aren't met.
func (EscalationReplyValidationError) Cause ¶
func (e EscalationReplyValidationError) Cause() error
Cause function returns cause value.
func (EscalationReplyValidationError) Error ¶
func (e EscalationReplyValidationError) Error() string
Error satisfies the builtin error interface
func (EscalationReplyValidationError) ErrorName ¶
func (e EscalationReplyValidationError) ErrorName() string
ErrorName returns error name.
func (EscalationReplyValidationError) Field ¶
func (e EscalationReplyValidationError) Field() string
Field function returns field value.
func (EscalationReplyValidationError) Key ¶
func (e EscalationReplyValidationError) Key() bool
Key function returns key value.
func (EscalationReplyValidationError) Reason ¶
func (e EscalationReplyValidationError) Reason() string
Reason function returns reason value.
type EscalationReq ¶
type EscalationReq struct { TenantId string `protobuf:"bytes,1,opt,name=tenantId,proto3" json:"tenantId,omitempty"` //租户主键 Data *v2.SingedMsg `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` //加密信息 // contains filtered or unexported fields }
租户上报信息 -------------------------------------------
func (*EscalationReq) Descriptor
deprecated
func (*EscalationReq) Descriptor() ([]byte, []int)
Deprecated: Use EscalationReq.ProtoReflect.Descriptor instead.
func (*EscalationReq) GetData ¶
func (x *EscalationReq) GetData() *v2.SingedMsg
func (*EscalationReq) GetTenantId ¶
func (x *EscalationReq) GetTenantId() string
func (*EscalationReq) ProtoMessage ¶
func (*EscalationReq) ProtoMessage()
func (*EscalationReq) ProtoReflect ¶
func (x *EscalationReq) ProtoReflect() protoreflect.Message
func (*EscalationReq) Reset ¶
func (x *EscalationReq) Reset()
func (*EscalationReq) String ¶
func (x *EscalationReq) String() string
func (*EscalationReq) Validate ¶
func (m *EscalationReq) Validate() error
Validate checks the field values on EscalationReq 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 (*EscalationReq) ValidateAll ¶
func (m *EscalationReq) ValidateAll() error
ValidateAll checks the field values on EscalationReq 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 EscalationReqMultiError, or nil if none found.
type EscalationReqMultiError ¶
type EscalationReqMultiError []error
EscalationReqMultiError is an error wrapping multiple validation errors returned by EscalationReq.ValidateAll() if the designated constraints aren't met.
func (EscalationReqMultiError) AllErrors ¶
func (m EscalationReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EscalationReqMultiError) Error ¶
func (m EscalationReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EscalationReqValidationError ¶
type EscalationReqValidationError struct {
// contains filtered or unexported fields
}
EscalationReqValidationError is the validation error returned by EscalationReq.Validate if the designated constraints aren't met.
func (EscalationReqValidationError) Cause ¶
func (e EscalationReqValidationError) Cause() error
Cause function returns cause value.
func (EscalationReqValidationError) Error ¶
func (e EscalationReqValidationError) Error() string
Error satisfies the builtin error interface
func (EscalationReqValidationError) ErrorName ¶
func (e EscalationReqValidationError) ErrorName() string
ErrorName returns error name.
func (EscalationReqValidationError) Field ¶
func (e EscalationReqValidationError) Field() string
Field function returns field value.
func (EscalationReqValidationError) Key ¶
func (e EscalationReqValidationError) Key() bool
Key function returns key value.
func (EscalationReqValidationError) Reason ¶
func (e EscalationReqValidationError) Reason() string
Reason function returns reason value.
type GetAllAddressReply ¶
type GetAllAddressReply struct { List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` //节点详情 // contains filtered or unexported fields }
func (*GetAllAddressReply) Descriptor
deprecated
func (*GetAllAddressReply) Descriptor() ([]byte, []int)
Deprecated: Use GetAllAddressReply.ProtoReflect.Descriptor instead.
func (*GetAllAddressReply) GetList ¶
func (x *GetAllAddressReply) GetList() []string
func (*GetAllAddressReply) ProtoMessage ¶
func (*GetAllAddressReply) ProtoMessage()
func (*GetAllAddressReply) ProtoReflect ¶
func (x *GetAllAddressReply) ProtoReflect() protoreflect.Message
func (*GetAllAddressReply) Reset ¶
func (x *GetAllAddressReply) Reset()
func (*GetAllAddressReply) String ¶
func (x *GetAllAddressReply) String() string
func (*GetAllAddressReply) Validate ¶
func (m *GetAllAddressReply) Validate() error
Validate checks the field values on GetAllAddressReply 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 (*GetAllAddressReply) ValidateAll ¶
func (m *GetAllAddressReply) ValidateAll() error
ValidateAll checks the field values on GetAllAddressReply 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 GetAllAddressReplyMultiError, or nil if none found.
type GetAllAddressReplyMultiError ¶
type GetAllAddressReplyMultiError []error
GetAllAddressReplyMultiError is an error wrapping multiple validation errors returned by GetAllAddressReply.ValidateAll() if the designated constraints aren't met.
func (GetAllAddressReplyMultiError) AllErrors ¶
func (m GetAllAddressReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAllAddressReplyMultiError) Error ¶
func (m GetAllAddressReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAllAddressReplyValidationError ¶
type GetAllAddressReplyValidationError struct {
// contains filtered or unexported fields
}
GetAllAddressReplyValidationError is the validation error returned by GetAllAddressReply.Validate if the designated constraints aren't met.
func (GetAllAddressReplyValidationError) Cause ¶
func (e GetAllAddressReplyValidationError) Cause() error
Cause function returns cause value.
func (GetAllAddressReplyValidationError) Error ¶
func (e GetAllAddressReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetAllAddressReplyValidationError) ErrorName ¶
func (e GetAllAddressReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetAllAddressReplyValidationError) Field ¶
func (e GetAllAddressReplyValidationError) Field() string
Field function returns field value.
func (GetAllAddressReplyValidationError) Key ¶
func (e GetAllAddressReplyValidationError) Key() bool
Key function returns key value.
func (GetAllAddressReplyValidationError) Reason ¶
func (e GetAllAddressReplyValidationError) Reason() string
Reason function returns reason value.
type GetAllAddressReq ¶
type GetAllAddressReq struct {
// contains filtered or unexported fields
}
获取所有节点列表 -------------------------------------------
func (*GetAllAddressReq) Descriptor
deprecated
func (*GetAllAddressReq) Descriptor() ([]byte, []int)
Deprecated: Use GetAllAddressReq.ProtoReflect.Descriptor instead.
func (*GetAllAddressReq) ProtoMessage ¶
func (*GetAllAddressReq) ProtoMessage()
func (*GetAllAddressReq) ProtoReflect ¶
func (x *GetAllAddressReq) ProtoReflect() protoreflect.Message
func (*GetAllAddressReq) Reset ¶
func (x *GetAllAddressReq) Reset()
func (*GetAllAddressReq) String ¶
func (x *GetAllAddressReq) String() string
func (*GetAllAddressReq) Validate ¶
func (m *GetAllAddressReq) Validate() error
Validate checks the field values on GetAllAddressReq 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 (*GetAllAddressReq) ValidateAll ¶
func (m *GetAllAddressReq) ValidateAll() error
ValidateAll checks the field values on GetAllAddressReq 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 GetAllAddressReqMultiError, or nil if none found.
type GetAllAddressReqMultiError ¶
type GetAllAddressReqMultiError []error
GetAllAddressReqMultiError is an error wrapping multiple validation errors returned by GetAllAddressReq.ValidateAll() if the designated constraints aren't met.
func (GetAllAddressReqMultiError) AllErrors ¶
func (m GetAllAddressReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAllAddressReqMultiError) Error ¶
func (m GetAllAddressReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAllAddressReqValidationError ¶
type GetAllAddressReqValidationError struct {
// contains filtered or unexported fields
}
GetAllAddressReqValidationError is the validation error returned by GetAllAddressReq.Validate if the designated constraints aren't met.
func (GetAllAddressReqValidationError) Cause ¶
func (e GetAllAddressReqValidationError) Cause() error
Cause function returns cause value.
func (GetAllAddressReqValidationError) Error ¶
func (e GetAllAddressReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetAllAddressReqValidationError) ErrorName ¶
func (e GetAllAddressReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetAllAddressReqValidationError) Field ¶
func (e GetAllAddressReqValidationError) Field() string
Field function returns field value.
func (GetAllAddressReqValidationError) Key ¶
func (e GetAllAddressReqValidationError) Key() bool
Key function returns key value.
func (GetAllAddressReqValidationError) Reason ¶
func (e GetAllAddressReqValidationError) Reason() string
Reason function returns reason value.
type GetAllListReply ¶
type GetAllListReply struct { List []*v2.NodeBase `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` //节点详情 // contains filtered or unexported fields }
func (*GetAllListReply) Descriptor
deprecated
func (*GetAllListReply) Descriptor() ([]byte, []int)
Deprecated: Use GetAllListReply.ProtoReflect.Descriptor instead.
func (*GetAllListReply) GetList ¶
func (x *GetAllListReply) GetList() []*v2.NodeBase
func (*GetAllListReply) ProtoMessage ¶
func (*GetAllListReply) ProtoMessage()
func (*GetAllListReply) ProtoReflect ¶
func (x *GetAllListReply) ProtoReflect() protoreflect.Message
func (*GetAllListReply) Reset ¶
func (x *GetAllListReply) Reset()
func (*GetAllListReply) String ¶
func (x *GetAllListReply) String() string
func (*GetAllListReply) Validate ¶
func (m *GetAllListReply) Validate() error
Validate checks the field values on GetAllListReply 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 (*GetAllListReply) ValidateAll ¶
func (m *GetAllListReply) ValidateAll() error
ValidateAll checks the field values on GetAllListReply 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 GetAllListReplyMultiError, or nil if none found.
type GetAllListReplyMultiError ¶
type GetAllListReplyMultiError []error
GetAllListReplyMultiError is an error wrapping multiple validation errors returned by GetAllListReply.ValidateAll() if the designated constraints aren't met.
func (GetAllListReplyMultiError) AllErrors ¶
func (m GetAllListReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAllListReplyMultiError) Error ¶
func (m GetAllListReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAllListReplyValidationError ¶
type GetAllListReplyValidationError struct {
// contains filtered or unexported fields
}
GetAllListReplyValidationError is the validation error returned by GetAllListReply.Validate if the designated constraints aren't met.
func (GetAllListReplyValidationError) Cause ¶
func (e GetAllListReplyValidationError) Cause() error
Cause function returns cause value.
func (GetAllListReplyValidationError) Error ¶
func (e GetAllListReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetAllListReplyValidationError) ErrorName ¶
func (e GetAllListReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetAllListReplyValidationError) Field ¶
func (e GetAllListReplyValidationError) Field() string
Field function returns field value.
func (GetAllListReplyValidationError) Key ¶
func (e GetAllListReplyValidationError) Key() bool
Key function returns key value.
func (GetAllListReplyValidationError) Reason ¶
func (e GetAllListReplyValidationError) Reason() string
Reason function returns reason value.
type GetAllListReq ¶
type GetAllListReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` //节点名称 Status NodeStatus `protobuf:"varint,2,opt,name=status,proto3,enum=api.platform.node.v2.NodeStatus" json:"status,omitempty"` //节点状态 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` //版本 Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` //编码 // contains filtered or unexported fields }
获取所有数据 -------------------------------------------
func (*GetAllListReq) Descriptor
deprecated
func (*GetAllListReq) Descriptor() ([]byte, []int)
Deprecated: Use GetAllListReq.ProtoReflect.Descriptor instead.
func (*GetAllListReq) GetCode ¶
func (x *GetAllListReq) GetCode() string
func (*GetAllListReq) GetName ¶
func (x *GetAllListReq) GetName() string
func (*GetAllListReq) GetStatus ¶
func (x *GetAllListReq) GetStatus() NodeStatus
func (*GetAllListReq) GetVersion ¶
func (x *GetAllListReq) GetVersion() string
func (*GetAllListReq) ProtoMessage ¶
func (*GetAllListReq) ProtoMessage()
func (*GetAllListReq) ProtoReflect ¶
func (x *GetAllListReq) ProtoReflect() protoreflect.Message
func (*GetAllListReq) Reset ¶
func (x *GetAllListReq) Reset()
func (*GetAllListReq) String ¶
func (x *GetAllListReq) String() string
func (*GetAllListReq) Validate ¶
func (m *GetAllListReq) Validate() error
Validate checks the field values on GetAllListReq 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 (*GetAllListReq) ValidateAll ¶
func (m *GetAllListReq) ValidateAll() error
ValidateAll checks the field values on GetAllListReq 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 GetAllListReqMultiError, or nil if none found.
type GetAllListReqMultiError ¶
type GetAllListReqMultiError []error
GetAllListReqMultiError is an error wrapping multiple validation errors returned by GetAllListReq.ValidateAll() if the designated constraints aren't met.
func (GetAllListReqMultiError) AllErrors ¶
func (m GetAllListReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAllListReqMultiError) Error ¶
func (m GetAllListReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAllListReqValidationError ¶
type GetAllListReqValidationError struct {
// contains filtered or unexported fields
}
GetAllListReqValidationError is the validation error returned by GetAllListReq.Validate if the designated constraints aren't met.
func (GetAllListReqValidationError) Cause ¶
func (e GetAllListReqValidationError) Cause() error
Cause function returns cause value.
func (GetAllListReqValidationError) Error ¶
func (e GetAllListReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetAllListReqValidationError) ErrorName ¶
func (e GetAllListReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetAllListReqValidationError) Field ¶
func (e GetAllListReqValidationError) Field() string
Field function returns field value.
func (GetAllListReqValidationError) Key ¶
func (e GetAllListReqValidationError) Key() bool
Key function returns key value.
func (GetAllListReqValidationError) Reason ¶
func (e GetAllListReqValidationError) Reason() string
Reason function returns reason value.
type GetAllMasterListReply ¶
type GetAllMasterListReply struct { List []*v2.NodeBase `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` //节点信息 // contains filtered or unexported fields }
func (*GetAllMasterListReply) Descriptor
deprecated
func (*GetAllMasterListReply) Descriptor() ([]byte, []int)
Deprecated: Use GetAllMasterListReply.ProtoReflect.Descriptor instead.
func (*GetAllMasterListReply) GetList ¶
func (x *GetAllMasterListReply) GetList() []*v2.NodeBase
func (*GetAllMasterListReply) ProtoMessage ¶
func (*GetAllMasterListReply) ProtoMessage()
func (*GetAllMasterListReply) ProtoReflect ¶
func (x *GetAllMasterListReply) ProtoReflect() protoreflect.Message
func (*GetAllMasterListReply) Reset ¶
func (x *GetAllMasterListReply) Reset()
func (*GetAllMasterListReply) String ¶
func (x *GetAllMasterListReply) String() string
func (*GetAllMasterListReply) Validate ¶
func (m *GetAllMasterListReply) Validate() error
Validate checks the field values on GetAllMasterListReply 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 (*GetAllMasterListReply) ValidateAll ¶
func (m *GetAllMasterListReply) ValidateAll() error
ValidateAll checks the field values on GetAllMasterListReply 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 GetAllMasterListReplyMultiError, or nil if none found.
type GetAllMasterListReplyMultiError ¶
type GetAllMasterListReplyMultiError []error
GetAllMasterListReplyMultiError is an error wrapping multiple validation errors returned by GetAllMasterListReply.ValidateAll() if the designated constraints aren't met.
func (GetAllMasterListReplyMultiError) AllErrors ¶
func (m GetAllMasterListReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAllMasterListReplyMultiError) Error ¶
func (m GetAllMasterListReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAllMasterListReplyValidationError ¶
type GetAllMasterListReplyValidationError struct {
// contains filtered or unexported fields
}
GetAllMasterListReplyValidationError is the validation error returned by GetAllMasterListReply.Validate if the designated constraints aren't met.
func (GetAllMasterListReplyValidationError) Cause ¶
func (e GetAllMasterListReplyValidationError) Cause() error
Cause function returns cause value.
func (GetAllMasterListReplyValidationError) Error ¶
func (e GetAllMasterListReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetAllMasterListReplyValidationError) ErrorName ¶
func (e GetAllMasterListReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetAllMasterListReplyValidationError) Field ¶
func (e GetAllMasterListReplyValidationError) Field() string
Field function returns field value.
func (GetAllMasterListReplyValidationError) Key ¶
func (e GetAllMasterListReplyValidationError) Key() bool
Key function returns key value.
func (GetAllMasterListReplyValidationError) Reason ¶
func (e GetAllMasterListReplyValidationError) Reason() string
Reason function returns reason value.
type GetAllMasterListReq ¶
type GetAllMasterListReq struct {
// contains filtered or unexported fields
}
获取所有主节点信息 -------------------------------------------
func (*GetAllMasterListReq) Descriptor
deprecated
func (*GetAllMasterListReq) Descriptor() ([]byte, []int)
Deprecated: Use GetAllMasterListReq.ProtoReflect.Descriptor instead.
func (*GetAllMasterListReq) ProtoMessage ¶
func (*GetAllMasterListReq) ProtoMessage()
func (*GetAllMasterListReq) ProtoReflect ¶
func (x *GetAllMasterListReq) ProtoReflect() protoreflect.Message
func (*GetAllMasterListReq) Reset ¶
func (x *GetAllMasterListReq) Reset()
func (*GetAllMasterListReq) String ¶
func (x *GetAllMasterListReq) String() string
func (*GetAllMasterListReq) Validate ¶
func (m *GetAllMasterListReq) Validate() error
Validate checks the field values on GetAllMasterListReq 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 (*GetAllMasterListReq) ValidateAll ¶
func (m *GetAllMasterListReq) ValidateAll() error
ValidateAll checks the field values on GetAllMasterListReq 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 GetAllMasterListReqMultiError, or nil if none found.
type GetAllMasterListReqMultiError ¶
type GetAllMasterListReqMultiError []error
GetAllMasterListReqMultiError is an error wrapping multiple validation errors returned by GetAllMasterListReq.ValidateAll() if the designated constraints aren't met.
func (GetAllMasterListReqMultiError) AllErrors ¶
func (m GetAllMasterListReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAllMasterListReqMultiError) Error ¶
func (m GetAllMasterListReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAllMasterListReqValidationError ¶
type GetAllMasterListReqValidationError struct {
// contains filtered or unexported fields
}
GetAllMasterListReqValidationError is the validation error returned by GetAllMasterListReq.Validate if the designated constraints aren't met.
func (GetAllMasterListReqValidationError) Cause ¶
func (e GetAllMasterListReqValidationError) Cause() error
Cause function returns cause value.
func (GetAllMasterListReqValidationError) Error ¶
func (e GetAllMasterListReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetAllMasterListReqValidationError) ErrorName ¶
func (e GetAllMasterListReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetAllMasterListReqValidationError) Field ¶
func (e GetAllMasterListReqValidationError) Field() string
Field function returns field value.
func (GetAllMasterListReqValidationError) Key ¶
func (e GetAllMasterListReqValidationError) Key() bool
Key function returns key value.
func (GetAllMasterListReqValidationError) Reason ¶
func (e GetAllMasterListReqValidationError) Reason() string
Reason function returns reason value.
type GetDefNodeNodeReply ¶
type GetDefNodeNodeReply struct { Data *v2.NodeBase `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` //节点详情 // contains filtered or unexported fields }
func (*GetDefNodeNodeReply) Descriptor
deprecated
func (*GetDefNodeNodeReply) Descriptor() ([]byte, []int)
Deprecated: Use GetDefNodeNodeReply.ProtoReflect.Descriptor instead.
func (*GetDefNodeNodeReply) GetData ¶
func (x *GetDefNodeNodeReply) GetData() *v2.NodeBase
func (*GetDefNodeNodeReply) ProtoMessage ¶
func (*GetDefNodeNodeReply) ProtoMessage()
func (*GetDefNodeNodeReply) ProtoReflect ¶
func (x *GetDefNodeNodeReply) ProtoReflect() protoreflect.Message
func (*GetDefNodeNodeReply) Reset ¶
func (x *GetDefNodeNodeReply) Reset()
func (*GetDefNodeNodeReply) String ¶
func (x *GetDefNodeNodeReply) String() string
func (*GetDefNodeNodeReply) Validate ¶
func (m *GetDefNodeNodeReply) Validate() error
Validate checks the field values on GetDefNodeNodeReply 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 (*GetDefNodeNodeReply) ValidateAll ¶
func (m *GetDefNodeNodeReply) ValidateAll() error
ValidateAll checks the field values on GetDefNodeNodeReply 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 GetDefNodeNodeReplyMultiError, or nil if none found.
type GetDefNodeNodeReplyMultiError ¶
type GetDefNodeNodeReplyMultiError []error
GetDefNodeNodeReplyMultiError is an error wrapping multiple validation errors returned by GetDefNodeNodeReply.ValidateAll() if the designated constraints aren't met.
func (GetDefNodeNodeReplyMultiError) AllErrors ¶
func (m GetDefNodeNodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDefNodeNodeReplyMultiError) Error ¶
func (m GetDefNodeNodeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDefNodeNodeReplyValidationError ¶
type GetDefNodeNodeReplyValidationError struct {
// contains filtered or unexported fields
}
GetDefNodeNodeReplyValidationError is the validation error returned by GetDefNodeNodeReply.Validate if the designated constraints aren't met.
func (GetDefNodeNodeReplyValidationError) Cause ¶
func (e GetDefNodeNodeReplyValidationError) Cause() error
Cause function returns cause value.
func (GetDefNodeNodeReplyValidationError) Error ¶
func (e GetDefNodeNodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetDefNodeNodeReplyValidationError) ErrorName ¶
func (e GetDefNodeNodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetDefNodeNodeReplyValidationError) Field ¶
func (e GetDefNodeNodeReplyValidationError) Field() string
Field function returns field value.
func (GetDefNodeNodeReplyValidationError) Key ¶
func (e GetDefNodeNodeReplyValidationError) Key() bool
Key function returns key value.
func (GetDefNodeNodeReplyValidationError) Reason ¶
func (e GetDefNodeNodeReplyValidationError) Reason() string
Reason function returns reason value.
type GetDefNodeNodeReq ¶
type GetDefNodeNodeReq struct {
// contains filtered or unexported fields
}
获取默认节点 -------------------------------------------
func (*GetDefNodeNodeReq) Descriptor
deprecated
func (*GetDefNodeNodeReq) Descriptor() ([]byte, []int)
Deprecated: Use GetDefNodeNodeReq.ProtoReflect.Descriptor instead.
func (*GetDefNodeNodeReq) ProtoMessage ¶
func (*GetDefNodeNodeReq) ProtoMessage()
func (*GetDefNodeNodeReq) ProtoReflect ¶
func (x *GetDefNodeNodeReq) ProtoReflect() protoreflect.Message
func (*GetDefNodeNodeReq) Reset ¶
func (x *GetDefNodeNodeReq) Reset()
func (*GetDefNodeNodeReq) String ¶
func (x *GetDefNodeNodeReq) String() string
func (*GetDefNodeNodeReq) Validate ¶
func (m *GetDefNodeNodeReq) Validate() error
Validate checks the field values on GetDefNodeNodeReq 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 (*GetDefNodeNodeReq) ValidateAll ¶
func (m *GetDefNodeNodeReq) ValidateAll() error
ValidateAll checks the field values on GetDefNodeNodeReq 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 GetDefNodeNodeReqMultiError, or nil if none found.
type GetDefNodeNodeReqMultiError ¶
type GetDefNodeNodeReqMultiError []error
GetDefNodeNodeReqMultiError is an error wrapping multiple validation errors returned by GetDefNodeNodeReq.ValidateAll() if the designated constraints aren't met.
func (GetDefNodeNodeReqMultiError) AllErrors ¶
func (m GetDefNodeNodeReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDefNodeNodeReqMultiError) Error ¶
func (m GetDefNodeNodeReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDefNodeNodeReqValidationError ¶
type GetDefNodeNodeReqValidationError struct {
// contains filtered or unexported fields
}
GetDefNodeNodeReqValidationError is the validation error returned by GetDefNodeNodeReq.Validate if the designated constraints aren't met.
func (GetDefNodeNodeReqValidationError) Cause ¶
func (e GetDefNodeNodeReqValidationError) Cause() error
Cause function returns cause value.
func (GetDefNodeNodeReqValidationError) Error ¶
func (e GetDefNodeNodeReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetDefNodeNodeReqValidationError) ErrorName ¶
func (e GetDefNodeNodeReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetDefNodeNodeReqValidationError) Field ¶
func (e GetDefNodeNodeReqValidationError) Field() string
Field function returns field value.
func (GetDefNodeNodeReqValidationError) Key ¶
func (e GetDefNodeNodeReqValidationError) Key() bool
Key function returns key value.
func (GetDefNodeNodeReqValidationError) Reason ¶
func (e GetDefNodeNodeReqValidationError) Reason() string
Reason function returns reason value.
type GetDistributeInfoReq ¶
type GetDistributeInfoReq struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` //节点主键 // contains filtered or unexported fields }
根据租户id获取租户下发信息 -------------------------------------------
func (*GetDistributeInfoReq) Descriptor
deprecated
func (*GetDistributeInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use GetDistributeInfoReq.ProtoReflect.Descriptor instead.
func (*GetDistributeInfoReq) GetNodeId ¶
func (x *GetDistributeInfoReq) GetNodeId() string
func (*GetDistributeInfoReq) ProtoMessage ¶
func (*GetDistributeInfoReq) ProtoMessage()
func (*GetDistributeInfoReq) ProtoReflect ¶
func (x *GetDistributeInfoReq) ProtoReflect() protoreflect.Message
func (*GetDistributeInfoReq) Reset ¶
func (x *GetDistributeInfoReq) Reset()
func (*GetDistributeInfoReq) String ¶
func (x *GetDistributeInfoReq) String() string
func (*GetDistributeInfoReq) Validate ¶
func (m *GetDistributeInfoReq) Validate() error
Validate checks the field values on GetDistributeInfoReq 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 (*GetDistributeInfoReq) ValidateAll ¶
func (m *GetDistributeInfoReq) ValidateAll() error
ValidateAll checks the field values on GetDistributeInfoReq 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 GetDistributeInfoReqMultiError, or nil if none found.
type GetDistributeInfoReqMultiError ¶
type GetDistributeInfoReqMultiError []error
GetDistributeInfoReqMultiError is an error wrapping multiple validation errors returned by GetDistributeInfoReq.ValidateAll() if the designated constraints aren't met.
func (GetDistributeInfoReqMultiError) AllErrors ¶
func (m GetDistributeInfoReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDistributeInfoReqMultiError) Error ¶
func (m GetDistributeInfoReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDistributeInfoReqValidationError ¶
type GetDistributeInfoReqValidationError struct {
// contains filtered or unexported fields
}
GetDistributeInfoReqValidationError is the validation error returned by GetDistributeInfoReq.Validate if the designated constraints aren't met.
func (GetDistributeInfoReqValidationError) Cause ¶
func (e GetDistributeInfoReqValidationError) Cause() error
Cause function returns cause value.
func (GetDistributeInfoReqValidationError) Error ¶
func (e GetDistributeInfoReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetDistributeInfoReqValidationError) ErrorName ¶
func (e GetDistributeInfoReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetDistributeInfoReqValidationError) Field ¶
func (e GetDistributeInfoReqValidationError) Field() string
Field function returns field value.
func (GetDistributeInfoReqValidationError) Key ¶
func (e GetDistributeInfoReqValidationError) Key() bool
Key function returns key value.
func (GetDistributeInfoReqValidationError) Reason ¶
func (e GetDistributeInfoReqValidationError) Reason() string
Reason function returns reason value.
type GetInfoReply ¶
type GetInfoReply struct { Data *NodeDetails `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` //节点详情 // contains filtered or unexported fields }
func (*GetInfoReply) Descriptor
deprecated
func (*GetInfoReply) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoReply.ProtoReflect.Descriptor instead.
func (*GetInfoReply) GetData ¶
func (x *GetInfoReply) GetData() *NodeDetails
func (*GetInfoReply) ProtoMessage ¶
func (*GetInfoReply) ProtoMessage()
func (*GetInfoReply) ProtoReflect ¶
func (x *GetInfoReply) ProtoReflect() protoreflect.Message
func (*GetInfoReply) Reset ¶
func (x *GetInfoReply) Reset()
func (*GetInfoReply) String ¶
func (x *GetInfoReply) String() string
func (*GetInfoReply) Validate ¶
func (m *GetInfoReply) Validate() error
Validate checks the field values on GetInfoReply 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 (*GetInfoReply) ValidateAll ¶
func (m *GetInfoReply) ValidateAll() error
ValidateAll checks the field values on GetInfoReply 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 GetInfoReplyMultiError, or nil if none found.
type GetInfoReplyMultiError ¶
type GetInfoReplyMultiError []error
GetInfoReplyMultiError is an error wrapping multiple validation errors returned by GetInfoReply.ValidateAll() if the designated constraints aren't met.
func (GetInfoReplyMultiError) AllErrors ¶
func (m GetInfoReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetInfoReplyMultiError) Error ¶
func (m GetInfoReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetInfoReplyValidationError ¶
type GetInfoReplyValidationError struct {
// contains filtered or unexported fields
}
GetInfoReplyValidationError is the validation error returned by GetInfoReply.Validate if the designated constraints aren't met.
func (GetInfoReplyValidationError) Cause ¶
func (e GetInfoReplyValidationError) Cause() error
Cause function returns cause value.
func (GetInfoReplyValidationError) Error ¶
func (e GetInfoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetInfoReplyValidationError) ErrorName ¶
func (e GetInfoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetInfoReplyValidationError) Field ¶
func (e GetInfoReplyValidationError) Field() string
Field function returns field value.
func (GetInfoReplyValidationError) Key ¶
func (e GetInfoReplyValidationError) Key() bool
Key function returns key value.
func (GetInfoReplyValidationError) Reason ¶
func (e GetInfoReplyValidationError) Reason() string
Reason function returns reason value.
type GetInfoReq ¶
type GetInfoReq struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` //节点id // contains filtered or unexported fields }
获取节点信息 -------------------------------------------
func (*GetInfoReq) Descriptor
deprecated
func (*GetInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoReq.ProtoReflect.Descriptor instead.
func (*GetInfoReq) GetNodeId ¶
func (x *GetInfoReq) GetNodeId() string
func (*GetInfoReq) ProtoMessage ¶
func (*GetInfoReq) ProtoMessage()
func (*GetInfoReq) ProtoReflect ¶
func (x *GetInfoReq) ProtoReflect() protoreflect.Message
func (*GetInfoReq) Reset ¶
func (x *GetInfoReq) Reset()
func (*GetInfoReq) String ¶
func (x *GetInfoReq) String() string
func (*GetInfoReq) Validate ¶
func (m *GetInfoReq) Validate() error
Validate checks the field values on GetInfoReq 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 (*GetInfoReq) ValidateAll ¶
func (m *GetInfoReq) ValidateAll() error
ValidateAll checks the field values on GetInfoReq 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 GetInfoReqMultiError, or nil if none found.
type GetInfoReqMultiError ¶
type GetInfoReqMultiError []error
GetInfoReqMultiError is an error wrapping multiple validation errors returned by GetInfoReq.ValidateAll() if the designated constraints aren't met.
func (GetInfoReqMultiError) AllErrors ¶
func (m GetInfoReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetInfoReqMultiError) Error ¶
func (m GetInfoReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetInfoReqValidationError ¶
type GetInfoReqValidationError struct {
// contains filtered or unexported fields
}
GetInfoReqValidationError is the validation error returned by GetInfoReq.Validate if the designated constraints aren't met.
func (GetInfoReqValidationError) Cause ¶
func (e GetInfoReqValidationError) Cause() error
Cause function returns cause value.
func (GetInfoReqValidationError) Error ¶
func (e GetInfoReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetInfoReqValidationError) ErrorName ¶
func (e GetInfoReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetInfoReqValidationError) Field ¶
func (e GetInfoReqValidationError) Field() string
Field function returns field value.
func (GetInfoReqValidationError) Key ¶
func (e GetInfoReqValidationError) Key() bool
Key function returns key value.
func (GetInfoReqValidationError) Reason ¶
func (e GetInfoReqValidationError) Reason() string
Reason function returns reason value.
type GetListPlatformNodeReply ¶
type GetListPlatformNodeReply struct { List []*PlatformNodeInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` //节点详情 // contains filtered or unexported fields }
func (*GetListPlatformNodeReply) Descriptor
deprecated
func (*GetListPlatformNodeReply) Descriptor() ([]byte, []int)
Deprecated: Use GetListPlatformNodeReply.ProtoReflect.Descriptor instead.
func (*GetListPlatformNodeReply) GetList ¶
func (x *GetListPlatformNodeReply) GetList() []*PlatformNodeInfo
func (*GetListPlatformNodeReply) ProtoMessage ¶
func (*GetListPlatformNodeReply) ProtoMessage()
func (*GetListPlatformNodeReply) ProtoReflect ¶
func (x *GetListPlatformNodeReply) ProtoReflect() protoreflect.Message
func (*GetListPlatformNodeReply) Reset ¶
func (x *GetListPlatformNodeReply) Reset()
func (*GetListPlatformNodeReply) String ¶
func (x *GetListPlatformNodeReply) String() string
func (*GetListPlatformNodeReply) Validate ¶
func (m *GetListPlatformNodeReply) Validate() error
Validate checks the field values on GetListPlatformNodeReply 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 (*GetListPlatformNodeReply) ValidateAll ¶
func (m *GetListPlatformNodeReply) ValidateAll() error
ValidateAll checks the field values on GetListPlatformNodeReply 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 GetListPlatformNodeReplyMultiError, or nil if none found.
type GetListPlatformNodeReplyMultiError ¶
type GetListPlatformNodeReplyMultiError []error
GetListPlatformNodeReplyMultiError is an error wrapping multiple validation errors returned by GetListPlatformNodeReply.ValidateAll() if the designated constraints aren't met.
func (GetListPlatformNodeReplyMultiError) AllErrors ¶
func (m GetListPlatformNodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetListPlatformNodeReplyMultiError) Error ¶
func (m GetListPlatformNodeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetListPlatformNodeReplyValidationError ¶
type GetListPlatformNodeReplyValidationError struct {
// contains filtered or unexported fields
}
GetListPlatformNodeReplyValidationError is the validation error returned by GetListPlatformNodeReply.Validate if the designated constraints aren't met.
func (GetListPlatformNodeReplyValidationError) Cause ¶
func (e GetListPlatformNodeReplyValidationError) Cause() error
Cause function returns cause value.
func (GetListPlatformNodeReplyValidationError) Error ¶
func (e GetListPlatformNodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetListPlatformNodeReplyValidationError) ErrorName ¶
func (e GetListPlatformNodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetListPlatformNodeReplyValidationError) Field ¶
func (e GetListPlatformNodeReplyValidationError) Field() string
Field function returns field value.
func (GetListPlatformNodeReplyValidationError) Key ¶
func (e GetListPlatformNodeReplyValidationError) Key() bool
Key function returns key value.
func (GetListPlatformNodeReplyValidationError) Reason ¶
func (e GetListPlatformNodeReplyValidationError) Reason() string
Reason function returns reason value.
type GetListReply ¶
type GetListReply struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` //总数 List []*NodeDetails `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` //节点详情 // contains filtered or unexported fields }
func (*GetListReply) Descriptor
deprecated
func (*GetListReply) Descriptor() ([]byte, []int)
Deprecated: Use GetListReply.ProtoReflect.Descriptor instead.
func (*GetListReply) GetList ¶
func (x *GetListReply) GetList() []*NodeDetails
func (*GetListReply) GetTotal ¶
func (x *GetListReply) GetTotal() int64
func (*GetListReply) ProtoMessage ¶
func (*GetListReply) ProtoMessage()
func (*GetListReply) ProtoReflect ¶
func (x *GetListReply) ProtoReflect() protoreflect.Message
func (*GetListReply) Reset ¶
func (x *GetListReply) Reset()
func (*GetListReply) String ¶
func (x *GetListReply) String() string
func (*GetListReply) Validate ¶
func (m *GetListReply) Validate() error
Validate checks the field values on GetListReply 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 (*GetListReply) ValidateAll ¶
func (m *GetListReply) ValidateAll() error
ValidateAll checks the field values on GetListReply 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 GetListReplyMultiError, or nil if none found.
type GetListReplyMultiError ¶
type GetListReplyMultiError []error
GetListReplyMultiError is an error wrapping multiple validation errors returned by GetListReply.ValidateAll() if the designated constraints aren't met.
func (GetListReplyMultiError) AllErrors ¶
func (m GetListReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetListReplyMultiError) Error ¶
func (m GetListReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetListReplyValidationError ¶
type GetListReplyValidationError struct {
// contains filtered or unexported fields
}
GetListReplyValidationError is the validation error returned by GetListReply.Validate if the designated constraints aren't met.
func (GetListReplyValidationError) Cause ¶
func (e GetListReplyValidationError) Cause() error
Cause function returns cause value.
func (GetListReplyValidationError) Error ¶
func (e GetListReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetListReplyValidationError) ErrorName ¶
func (e GetListReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetListReplyValidationError) Field ¶
func (e GetListReplyValidationError) Field() string
Field function returns field value.
func (GetListReplyValidationError) Key ¶
func (e GetListReplyValidationError) Key() bool
Key function returns key value.
func (GetListReplyValidationError) Reason ¶
func (e GetListReplyValidationError) Reason() string
Reason function returns reason value.
type GetListReq ¶
type GetListReq struct { Page *v2.Pagination `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` //分页 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` //节点名称 Status NodeStatus `protobuf:"varint,3,opt,name=status,proto3,enum=api.platform.node.v2.NodeStatus" json:"status,omitempty"` //节点状态 Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` //版本 Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"` //编码 // contains filtered or unexported fields }
获取节点列表 -------------------------------------------
func (*GetListReq) Descriptor
deprecated
func (*GetListReq) Descriptor() ([]byte, []int)
Deprecated: Use GetListReq.ProtoReflect.Descriptor instead.
func (*GetListReq) GetCode ¶
func (x *GetListReq) GetCode() string
func (*GetListReq) GetName ¶
func (x *GetListReq) GetName() string
func (*GetListReq) GetPage ¶
func (x *GetListReq) GetPage() *v2.Pagination
func (*GetListReq) GetStatus ¶
func (x *GetListReq) GetStatus() NodeStatus
func (*GetListReq) GetVersion ¶
func (x *GetListReq) GetVersion() string
func (*GetListReq) ProtoMessage ¶
func (*GetListReq) ProtoMessage()
func (*GetListReq) ProtoReflect ¶
func (x *GetListReq) ProtoReflect() protoreflect.Message
func (*GetListReq) Reset ¶
func (x *GetListReq) Reset()
func (*GetListReq) String ¶
func (x *GetListReq) String() string
func (*GetListReq) Validate ¶
func (m *GetListReq) Validate() error
Validate checks the field values on GetListReq 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 (*GetListReq) ValidateAll ¶
func (m *GetListReq) ValidateAll() error
ValidateAll checks the field values on GetListReq 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 GetListReqMultiError, or nil if none found.
type GetListReqMultiError ¶
type GetListReqMultiError []error
GetListReqMultiError is an error wrapping multiple validation errors returned by GetListReq.ValidateAll() if the designated constraints aren't met.
func (GetListReqMultiError) AllErrors ¶
func (m GetListReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetListReqMultiError) Error ¶
func (m GetListReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetListReqValidationError ¶
type GetListReqValidationError struct {
// contains filtered or unexported fields
}
GetListReqValidationError is the validation error returned by GetListReq.Validate if the designated constraints aren't met.
func (GetListReqValidationError) Cause ¶
func (e GetListReqValidationError) Cause() error
Cause function returns cause value.
func (GetListReqValidationError) Error ¶
func (e GetListReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetListReqValidationError) ErrorName ¶
func (e GetListReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetListReqValidationError) Field ¶
func (e GetListReqValidationError) Field() string
Field function returns field value.
func (GetListReqValidationError) Key ¶
func (e GetListReqValidationError) Key() bool
Key function returns key value.
func (GetListReqValidationError) Reason ¶
func (e GetListReqValidationError) Reason() string
Reason function returns reason value.
type GetMasterInfoReply ¶
type GetMasterInfoReply struct { Data *v2.NodeMasterSyncInfo `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` //同步的节点信息 // contains filtered or unexported fields }
func (*GetMasterInfoReply) Descriptor
deprecated
func (*GetMasterInfoReply) Descriptor() ([]byte, []int)
Deprecated: Use GetMasterInfoReply.ProtoReflect.Descriptor instead.
func (*GetMasterInfoReply) GetData ¶
func (x *GetMasterInfoReply) GetData() *v2.NodeMasterSyncInfo
func (*GetMasterInfoReply) ProtoMessage ¶
func (*GetMasterInfoReply) ProtoMessage()
func (*GetMasterInfoReply) ProtoReflect ¶
func (x *GetMasterInfoReply) ProtoReflect() protoreflect.Message
func (*GetMasterInfoReply) Reset ¶
func (x *GetMasterInfoReply) Reset()
func (*GetMasterInfoReply) String ¶
func (x *GetMasterInfoReply) String() string
func (*GetMasterInfoReply) Validate ¶
func (m *GetMasterInfoReply) Validate() error
Validate checks the field values on GetMasterInfoReply 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 (*GetMasterInfoReply) ValidateAll ¶
func (m *GetMasterInfoReply) ValidateAll() error
ValidateAll checks the field values on GetMasterInfoReply 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 GetMasterInfoReplyMultiError, or nil if none found.
type GetMasterInfoReplyMultiError ¶
type GetMasterInfoReplyMultiError []error
GetMasterInfoReplyMultiError is an error wrapping multiple validation errors returned by GetMasterInfoReply.ValidateAll() if the designated constraints aren't met.
func (GetMasterInfoReplyMultiError) AllErrors ¶
func (m GetMasterInfoReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetMasterInfoReplyMultiError) Error ¶
func (m GetMasterInfoReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetMasterInfoReplyValidationError ¶
type GetMasterInfoReplyValidationError struct {
// contains filtered or unexported fields
}
GetMasterInfoReplyValidationError is the validation error returned by GetMasterInfoReply.Validate if the designated constraints aren't met.
func (GetMasterInfoReplyValidationError) Cause ¶
func (e GetMasterInfoReplyValidationError) Cause() error
Cause function returns cause value.
func (GetMasterInfoReplyValidationError) Error ¶
func (e GetMasterInfoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetMasterInfoReplyValidationError) ErrorName ¶
func (e GetMasterInfoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetMasterInfoReplyValidationError) Field ¶
func (e GetMasterInfoReplyValidationError) Field() string
Field function returns field value.
func (GetMasterInfoReplyValidationError) Key ¶
func (e GetMasterInfoReplyValidationError) Key() bool
Key function returns key value.
func (GetMasterInfoReplyValidationError) Reason ¶
func (e GetMasterInfoReplyValidationError) Reason() string
Reason function returns reason value.
type GetMasterInfoReq ¶
type GetMasterInfoReq struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` //节点id // contains filtered or unexported fields }
获取主节点 -------------------------------------------
func (*GetMasterInfoReq) Descriptor
deprecated
func (*GetMasterInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use GetMasterInfoReq.ProtoReflect.Descriptor instead.
func (*GetMasterInfoReq) GetNodeId ¶
func (x *GetMasterInfoReq) GetNodeId() string
func (*GetMasterInfoReq) ProtoMessage ¶
func (*GetMasterInfoReq) ProtoMessage()
func (*GetMasterInfoReq) ProtoReflect ¶
func (x *GetMasterInfoReq) ProtoReflect() protoreflect.Message
func (*GetMasterInfoReq) Reset ¶
func (x *GetMasterInfoReq) Reset()
func (*GetMasterInfoReq) String ¶
func (x *GetMasterInfoReq) String() string
func (*GetMasterInfoReq) Validate ¶
func (m *GetMasterInfoReq) Validate() error
Validate checks the field values on GetMasterInfoReq 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 (*GetMasterInfoReq) ValidateAll ¶
func (m *GetMasterInfoReq) ValidateAll() error
ValidateAll checks the field values on GetMasterInfoReq 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 GetMasterInfoReqMultiError, or nil if none found.
type GetMasterInfoReqMultiError ¶
type GetMasterInfoReqMultiError []error
GetMasterInfoReqMultiError is an error wrapping multiple validation errors returned by GetMasterInfoReq.ValidateAll() if the designated constraints aren't met.
func (GetMasterInfoReqMultiError) AllErrors ¶
func (m GetMasterInfoReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetMasterInfoReqMultiError) Error ¶
func (m GetMasterInfoReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetMasterInfoReqValidationError ¶
type GetMasterInfoReqValidationError struct {
// contains filtered or unexported fields
}
GetMasterInfoReqValidationError is the validation error returned by GetMasterInfoReq.Validate if the designated constraints aren't met.
func (GetMasterInfoReqValidationError) Cause ¶
func (e GetMasterInfoReqValidationError) Cause() error
Cause function returns cause value.
func (GetMasterInfoReqValidationError) Error ¶
func (e GetMasterInfoReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetMasterInfoReqValidationError) ErrorName ¶
func (e GetMasterInfoReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetMasterInfoReqValidationError) Field ¶
func (e GetMasterInfoReqValidationError) Field() string
Field function returns field value.
func (GetMasterInfoReqValidationError) Key ¶
func (e GetMasterInfoReqValidationError) Key() bool
Key function returns key value.
func (GetMasterInfoReqValidationError) Reason ¶
func (e GetMasterInfoReqValidationError) Reason() string
Reason function returns reason value.
type GetMasterNodeDetailsReply ¶
type GetMasterNodeDetailsReply struct { Info *NodeDetails `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` //节点详情,主节点或租户对应的节点 // contains filtered or unexported fields }
func (*GetMasterNodeDetailsReply) Descriptor
deprecated
func (*GetMasterNodeDetailsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetMasterNodeDetailsReply.ProtoReflect.Descriptor instead.
func (*GetMasterNodeDetailsReply) GetInfo ¶
func (x *GetMasterNodeDetailsReply) GetInfo() *NodeDetails
func (*GetMasterNodeDetailsReply) ProtoMessage ¶
func (*GetMasterNodeDetailsReply) ProtoMessage()
func (*GetMasterNodeDetailsReply) ProtoReflect ¶
func (x *GetMasterNodeDetailsReply) ProtoReflect() protoreflect.Message
func (*GetMasterNodeDetailsReply) Reset ¶
func (x *GetMasterNodeDetailsReply) Reset()
func (*GetMasterNodeDetailsReply) String ¶
func (x *GetMasterNodeDetailsReply) String() string
func (*GetMasterNodeDetailsReply) Validate ¶
func (m *GetMasterNodeDetailsReply) Validate() error
Validate checks the field values on GetMasterNodeDetailsReply 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 (*GetMasterNodeDetailsReply) ValidateAll ¶
func (m *GetMasterNodeDetailsReply) ValidateAll() error
ValidateAll checks the field values on GetMasterNodeDetailsReply 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 GetMasterNodeDetailsReplyMultiError, or nil if none found.
type GetMasterNodeDetailsReplyMultiError ¶
type GetMasterNodeDetailsReplyMultiError []error
GetMasterNodeDetailsReplyMultiError is an error wrapping multiple validation errors returned by GetMasterNodeDetailsReply.ValidateAll() if the designated constraints aren't met.
func (GetMasterNodeDetailsReplyMultiError) AllErrors ¶
func (m GetMasterNodeDetailsReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetMasterNodeDetailsReplyMultiError) Error ¶
func (m GetMasterNodeDetailsReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetMasterNodeDetailsReplyValidationError ¶
type GetMasterNodeDetailsReplyValidationError struct {
// contains filtered or unexported fields
}
GetMasterNodeDetailsReplyValidationError is the validation error returned by GetMasterNodeDetailsReply.Validate if the designated constraints aren't met.
func (GetMasterNodeDetailsReplyValidationError) Cause ¶
func (e GetMasterNodeDetailsReplyValidationError) Cause() error
Cause function returns cause value.
func (GetMasterNodeDetailsReplyValidationError) Error ¶
func (e GetMasterNodeDetailsReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetMasterNodeDetailsReplyValidationError) ErrorName ¶
func (e GetMasterNodeDetailsReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetMasterNodeDetailsReplyValidationError) Field ¶
func (e GetMasterNodeDetailsReplyValidationError) Field() string
Field function returns field value.
func (GetMasterNodeDetailsReplyValidationError) Key ¶
func (e GetMasterNodeDetailsReplyValidationError) Key() bool
Key function returns key value.
func (GetMasterNodeDetailsReplyValidationError) Reason ¶
func (e GetMasterNodeDetailsReplyValidationError) Reason() string
Reason function returns reason value.
type GetMasterNodeDetailsReq ¶
type GetMasterNodeDetailsReq struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` //节点主键 // contains filtered or unexported fields }
根据租户id获取租户下发信息 -------------------------------------------
func (*GetMasterNodeDetailsReq) Descriptor
deprecated
func (*GetMasterNodeDetailsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetMasterNodeDetailsReq.ProtoReflect.Descriptor instead.
func (*GetMasterNodeDetailsReq) GetNodeId ¶
func (x *GetMasterNodeDetailsReq) GetNodeId() string
func (*GetMasterNodeDetailsReq) ProtoMessage ¶
func (*GetMasterNodeDetailsReq) ProtoMessage()
func (*GetMasterNodeDetailsReq) ProtoReflect ¶
func (x *GetMasterNodeDetailsReq) ProtoReflect() protoreflect.Message
func (*GetMasterNodeDetailsReq) Reset ¶
func (x *GetMasterNodeDetailsReq) Reset()
func (*GetMasterNodeDetailsReq) String ¶
func (x *GetMasterNodeDetailsReq) String() string
func (*GetMasterNodeDetailsReq) Validate ¶
func (m *GetMasterNodeDetailsReq) Validate() error
Validate checks the field values on GetMasterNodeDetailsReq 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 (*GetMasterNodeDetailsReq) ValidateAll ¶
func (m *GetMasterNodeDetailsReq) ValidateAll() error
ValidateAll checks the field values on GetMasterNodeDetailsReq 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 GetMasterNodeDetailsReqMultiError, or nil if none found.
type GetMasterNodeDetailsReqMultiError ¶
type GetMasterNodeDetailsReqMultiError []error
GetMasterNodeDetailsReqMultiError is an error wrapping multiple validation errors returned by GetMasterNodeDetailsReq.ValidateAll() if the designated constraints aren't met.
func (GetMasterNodeDetailsReqMultiError) AllErrors ¶
func (m GetMasterNodeDetailsReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetMasterNodeDetailsReqMultiError) Error ¶
func (m GetMasterNodeDetailsReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetMasterNodeDetailsReqValidationError ¶
type GetMasterNodeDetailsReqValidationError struct {
// contains filtered or unexported fields
}
GetMasterNodeDetailsReqValidationError is the validation error returned by GetMasterNodeDetailsReq.Validate if the designated constraints aren't met.
func (GetMasterNodeDetailsReqValidationError) Cause ¶
func (e GetMasterNodeDetailsReqValidationError) Cause() error
Cause function returns cause value.
func (GetMasterNodeDetailsReqValidationError) Error ¶
func (e GetMasterNodeDetailsReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetMasterNodeDetailsReqValidationError) ErrorName ¶
func (e GetMasterNodeDetailsReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetMasterNodeDetailsReqValidationError) Field ¶
func (e GetMasterNodeDetailsReqValidationError) Field() string
Field function returns field value.
func (GetMasterNodeDetailsReqValidationError) Key ¶
func (e GetMasterNodeDetailsReqValidationError) Key() bool
Key function returns key value.
func (GetMasterNodeDetailsReqValidationError) Reason ¶
func (e GetMasterNodeDetailsReqValidationError) Reason() string
Reason function returns reason value.
type GetMasterSyncInfoReply ¶
type GetMasterSyncInfoReply struct { Data *v2.SingedMsg `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` //加密信息 // contains filtered or unexported fields }
func (*GetMasterSyncInfoReply) Descriptor
deprecated
func (*GetMasterSyncInfoReply) Descriptor() ([]byte, []int)
Deprecated: Use GetMasterSyncInfoReply.ProtoReflect.Descriptor instead.
func (*GetMasterSyncInfoReply) GetData ¶
func (x *GetMasterSyncInfoReply) GetData() *v2.SingedMsg
func (*GetMasterSyncInfoReply) ProtoMessage ¶
func (*GetMasterSyncInfoReply) ProtoMessage()
func (*GetMasterSyncInfoReply) ProtoReflect ¶
func (x *GetMasterSyncInfoReply) ProtoReflect() protoreflect.Message
func (*GetMasterSyncInfoReply) Reset ¶
func (x *GetMasterSyncInfoReply) Reset()
func (*GetMasterSyncInfoReply) String ¶
func (x *GetMasterSyncInfoReply) String() string
func (*GetMasterSyncInfoReply) Validate ¶
func (m *GetMasterSyncInfoReply) Validate() error
Validate checks the field values on GetMasterSyncInfoReply 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 (*GetMasterSyncInfoReply) ValidateAll ¶
func (m *GetMasterSyncInfoReply) ValidateAll() error
ValidateAll checks the field values on GetMasterSyncInfoReply 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 GetMasterSyncInfoReplyMultiError, or nil if none found.
type GetMasterSyncInfoReplyMultiError ¶
type GetMasterSyncInfoReplyMultiError []error
GetMasterSyncInfoReplyMultiError is an error wrapping multiple validation errors returned by GetMasterSyncInfoReply.ValidateAll() if the designated constraints aren't met.
func (GetMasterSyncInfoReplyMultiError) AllErrors ¶
func (m GetMasterSyncInfoReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetMasterSyncInfoReplyMultiError) Error ¶
func (m GetMasterSyncInfoReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetMasterSyncInfoReplyValidationError ¶
type GetMasterSyncInfoReplyValidationError struct {
// contains filtered or unexported fields
}
GetMasterSyncInfoReplyValidationError is the validation error returned by GetMasterSyncInfoReply.Validate if the designated constraints aren't met.
func (GetMasterSyncInfoReplyValidationError) Cause ¶
func (e GetMasterSyncInfoReplyValidationError) Cause() error
Cause function returns cause value.
func (GetMasterSyncInfoReplyValidationError) Error ¶
func (e GetMasterSyncInfoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetMasterSyncInfoReplyValidationError) ErrorName ¶
func (e GetMasterSyncInfoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetMasterSyncInfoReplyValidationError) Field ¶
func (e GetMasterSyncInfoReplyValidationError) Field() string
Field function returns field value.
func (GetMasterSyncInfoReplyValidationError) Key ¶
func (e GetMasterSyncInfoReplyValidationError) Key() bool
Key function returns key value.
func (GetMasterSyncInfoReplyValidationError) Reason ¶
func (e GetMasterSyncInfoReplyValidationError) Reason() string
Reason function returns reason value.
type GetMasterSyncInfoReq ¶
type GetMasterSyncInfoReq struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` //加密数据 // contains filtered or unexported fields }
获取主节点配置 -------------------------------------------
func (*GetMasterSyncInfoReq) Descriptor
deprecated
func (*GetMasterSyncInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use GetMasterSyncInfoReq.ProtoReflect.Descriptor instead.
func (*GetMasterSyncInfoReq) GetData ¶
func (x *GetMasterSyncInfoReq) GetData() string
func (*GetMasterSyncInfoReq) ProtoMessage ¶
func (*GetMasterSyncInfoReq) ProtoMessage()
func (*GetMasterSyncInfoReq) ProtoReflect ¶
func (x *GetMasterSyncInfoReq) ProtoReflect() protoreflect.Message
func (*GetMasterSyncInfoReq) Reset ¶
func (x *GetMasterSyncInfoReq) Reset()
func (*GetMasterSyncInfoReq) String ¶
func (x *GetMasterSyncInfoReq) String() string
func (*GetMasterSyncInfoReq) Validate ¶
func (m *GetMasterSyncInfoReq) Validate() error
Validate checks the field values on GetMasterSyncInfoReq 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 (*GetMasterSyncInfoReq) ValidateAll ¶
func (m *GetMasterSyncInfoReq) ValidateAll() error
ValidateAll checks the field values on GetMasterSyncInfoReq 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 GetMasterSyncInfoReqMultiError, or nil if none found.
type GetMasterSyncInfoReqMultiError ¶
type GetMasterSyncInfoReqMultiError []error
GetMasterSyncInfoReqMultiError is an error wrapping multiple validation errors returned by GetMasterSyncInfoReq.ValidateAll() if the designated constraints aren't met.
func (GetMasterSyncInfoReqMultiError) AllErrors ¶
func (m GetMasterSyncInfoReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetMasterSyncInfoReqMultiError) Error ¶
func (m GetMasterSyncInfoReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetMasterSyncInfoReqValidationError ¶
type GetMasterSyncInfoReqValidationError struct {
// contains filtered or unexported fields
}
GetMasterSyncInfoReqValidationError is the validation error returned by GetMasterSyncInfoReq.Validate if the designated constraints aren't met.
func (GetMasterSyncInfoReqValidationError) Cause ¶
func (e GetMasterSyncInfoReqValidationError) Cause() error
Cause function returns cause value.
func (GetMasterSyncInfoReqValidationError) Error ¶
func (e GetMasterSyncInfoReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetMasterSyncInfoReqValidationError) ErrorName ¶
func (e GetMasterSyncInfoReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetMasterSyncInfoReqValidationError) Field ¶
func (e GetMasterSyncInfoReqValidationError) Field() string
Field function returns field value.
func (GetMasterSyncInfoReqValidationError) Key ¶
func (e GetMasterSyncInfoReqValidationError) Key() bool
Key function returns key value.
func (GetMasterSyncInfoReqValidationError) Reason ¶
func (e GetMasterSyncInfoReqValidationError) Reason() string
Reason function returns reason value.
type GetNodeByCodeReply ¶
type GetNodeByCodeReply struct { Data *v2.NodeBase `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` //节点详情 // contains filtered or unexported fields }
func (*GetNodeByCodeReply) Descriptor
deprecated
func (*GetNodeByCodeReply) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeByCodeReply.ProtoReflect.Descriptor instead.
func (*GetNodeByCodeReply) GetData ¶
func (x *GetNodeByCodeReply) GetData() *v2.NodeBase
func (*GetNodeByCodeReply) ProtoMessage ¶
func (*GetNodeByCodeReply) ProtoMessage()
func (*GetNodeByCodeReply) ProtoReflect ¶
func (x *GetNodeByCodeReply) ProtoReflect() protoreflect.Message
func (*GetNodeByCodeReply) Reset ¶
func (x *GetNodeByCodeReply) Reset()
func (*GetNodeByCodeReply) String ¶
func (x *GetNodeByCodeReply) String() string
func (*GetNodeByCodeReply) Validate ¶
func (m *GetNodeByCodeReply) Validate() error
Validate checks the field values on GetNodeByCodeReply 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 (*GetNodeByCodeReply) ValidateAll ¶
func (m *GetNodeByCodeReply) ValidateAll() error
ValidateAll checks the field values on GetNodeByCodeReply 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 GetNodeByCodeReplyMultiError, or nil if none found.
type GetNodeByCodeReplyMultiError ¶
type GetNodeByCodeReplyMultiError []error
GetNodeByCodeReplyMultiError is an error wrapping multiple validation errors returned by GetNodeByCodeReply.ValidateAll() if the designated constraints aren't met.
func (GetNodeByCodeReplyMultiError) AllErrors ¶
func (m GetNodeByCodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNodeByCodeReplyMultiError) Error ¶
func (m GetNodeByCodeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNodeByCodeReplyValidationError ¶
type GetNodeByCodeReplyValidationError struct {
// contains filtered or unexported fields
}
GetNodeByCodeReplyValidationError is the validation error returned by GetNodeByCodeReply.Validate if the designated constraints aren't met.
func (GetNodeByCodeReplyValidationError) Cause ¶
func (e GetNodeByCodeReplyValidationError) Cause() error
Cause function returns cause value.
func (GetNodeByCodeReplyValidationError) Error ¶
func (e GetNodeByCodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetNodeByCodeReplyValidationError) ErrorName ¶
func (e GetNodeByCodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetNodeByCodeReplyValidationError) Field ¶
func (e GetNodeByCodeReplyValidationError) Field() string
Field function returns field value.
func (GetNodeByCodeReplyValidationError) Key ¶
func (e GetNodeByCodeReplyValidationError) Key() bool
Key function returns key value.
func (GetNodeByCodeReplyValidationError) Reason ¶
func (e GetNodeByCodeReplyValidationError) Reason() string
Reason function returns reason value.
type GetNodeByCodeReq ¶
type GetNodeByCodeReq struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` //节点id // contains filtered or unexported fields }
获取节点信息 -------------------------------------------
func (*GetNodeByCodeReq) Descriptor
deprecated
func (*GetNodeByCodeReq) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeByCodeReq.ProtoReflect.Descriptor instead.
func (*GetNodeByCodeReq) GetCode ¶
func (x *GetNodeByCodeReq) GetCode() string
func (*GetNodeByCodeReq) ProtoMessage ¶
func (*GetNodeByCodeReq) ProtoMessage()
func (*GetNodeByCodeReq) ProtoReflect ¶
func (x *GetNodeByCodeReq) ProtoReflect() protoreflect.Message
func (*GetNodeByCodeReq) Reset ¶
func (x *GetNodeByCodeReq) Reset()
func (*GetNodeByCodeReq) String ¶
func (x *GetNodeByCodeReq) String() string
func (*GetNodeByCodeReq) Validate ¶
func (m *GetNodeByCodeReq) Validate() error
Validate checks the field values on GetNodeByCodeReq 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 (*GetNodeByCodeReq) ValidateAll ¶
func (m *GetNodeByCodeReq) ValidateAll() error
ValidateAll checks the field values on GetNodeByCodeReq 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 GetNodeByCodeReqMultiError, or nil if none found.
type GetNodeByCodeReqMultiError ¶
type GetNodeByCodeReqMultiError []error
GetNodeByCodeReqMultiError is an error wrapping multiple validation errors returned by GetNodeByCodeReq.ValidateAll() if the designated constraints aren't met.
func (GetNodeByCodeReqMultiError) AllErrors ¶
func (m GetNodeByCodeReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNodeByCodeReqMultiError) Error ¶
func (m GetNodeByCodeReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNodeByCodeReqValidationError ¶
type GetNodeByCodeReqValidationError struct {
// contains filtered or unexported fields
}
GetNodeByCodeReqValidationError is the validation error returned by GetNodeByCodeReq.Validate if the designated constraints aren't met.
func (GetNodeByCodeReqValidationError) Cause ¶
func (e GetNodeByCodeReqValidationError) Cause() error
Cause function returns cause value.
func (GetNodeByCodeReqValidationError) Error ¶
func (e GetNodeByCodeReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetNodeByCodeReqValidationError) ErrorName ¶
func (e GetNodeByCodeReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetNodeByCodeReqValidationError) Field ¶
func (e GetNodeByCodeReqValidationError) Field() string
Field function returns field value.
func (GetNodeByCodeReqValidationError) Key ¶
func (e GetNodeByCodeReqValidationError) Key() bool
Key function returns key value.
func (GetNodeByCodeReqValidationError) Reason ¶
func (e GetNodeByCodeReqValidationError) Reason() string
Reason function returns reason value.
type GetNodeByIDReply ¶
type GetNodeByIDReply struct { List []*v2.NodeBase `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` //节点详情 // contains filtered or unexported fields }
func (*GetNodeByIDReply) Descriptor
deprecated
func (*GetNodeByIDReply) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeByIDReply.ProtoReflect.Descriptor instead.
func (*GetNodeByIDReply) GetList ¶
func (x *GetNodeByIDReply) GetList() []*v2.NodeBase
func (*GetNodeByIDReply) ProtoMessage ¶
func (*GetNodeByIDReply) ProtoMessage()
func (*GetNodeByIDReply) ProtoReflect ¶
func (x *GetNodeByIDReply) ProtoReflect() protoreflect.Message
func (*GetNodeByIDReply) Reset ¶
func (x *GetNodeByIDReply) Reset()
func (*GetNodeByIDReply) String ¶
func (x *GetNodeByIDReply) String() string
func (*GetNodeByIDReply) Validate ¶
func (m *GetNodeByIDReply) Validate() error
Validate checks the field values on GetNodeByIDReply 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 (*GetNodeByIDReply) ValidateAll ¶
func (m *GetNodeByIDReply) ValidateAll() error
ValidateAll checks the field values on GetNodeByIDReply 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 GetNodeByIDReplyMultiError, or nil if none found.
type GetNodeByIDReplyMultiError ¶
type GetNodeByIDReplyMultiError []error
GetNodeByIDReplyMultiError is an error wrapping multiple validation errors returned by GetNodeByIDReply.ValidateAll() if the designated constraints aren't met.
func (GetNodeByIDReplyMultiError) AllErrors ¶
func (m GetNodeByIDReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNodeByIDReplyMultiError) Error ¶
func (m GetNodeByIDReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNodeByIDReplyValidationError ¶
type GetNodeByIDReplyValidationError struct {
// contains filtered or unexported fields
}
GetNodeByIDReplyValidationError is the validation error returned by GetNodeByIDReply.Validate if the designated constraints aren't met.
func (GetNodeByIDReplyValidationError) Cause ¶
func (e GetNodeByIDReplyValidationError) Cause() error
Cause function returns cause value.
func (GetNodeByIDReplyValidationError) Error ¶
func (e GetNodeByIDReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetNodeByIDReplyValidationError) ErrorName ¶
func (e GetNodeByIDReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetNodeByIDReplyValidationError) Field ¶
func (e GetNodeByIDReplyValidationError) Field() string
Field function returns field value.
func (GetNodeByIDReplyValidationError) Key ¶
func (e GetNodeByIDReplyValidationError) Key() bool
Key function returns key value.
func (GetNodeByIDReplyValidationError) Reason ¶
func (e GetNodeByIDReplyValidationError) Reason() string
Reason function returns reason value.
type GetNodeByIDReq ¶
type GetNodeByIDReq struct { NodeId []string `protobuf:"bytes,1,rep,name=NodeId,proto3" json:"NodeId,omitempty"` //节点id // contains filtered or unexported fields }
根据id获取节点数据 -------------------------------------------
func (*GetNodeByIDReq) Descriptor
deprecated
func (*GetNodeByIDReq) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeByIDReq.ProtoReflect.Descriptor instead.
func (*GetNodeByIDReq) GetNodeId ¶
func (x *GetNodeByIDReq) GetNodeId() []string
func (*GetNodeByIDReq) ProtoMessage ¶
func (*GetNodeByIDReq) ProtoMessage()
func (*GetNodeByIDReq) ProtoReflect ¶
func (x *GetNodeByIDReq) ProtoReflect() protoreflect.Message
func (*GetNodeByIDReq) Reset ¶
func (x *GetNodeByIDReq) Reset()
func (*GetNodeByIDReq) String ¶
func (x *GetNodeByIDReq) String() string
func (*GetNodeByIDReq) Validate ¶
func (m *GetNodeByIDReq) Validate() error
Validate checks the field values on GetNodeByIDReq 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 (*GetNodeByIDReq) ValidateAll ¶
func (m *GetNodeByIDReq) ValidateAll() error
ValidateAll checks the field values on GetNodeByIDReq 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 GetNodeByIDReqMultiError, or nil if none found.
type GetNodeByIDReqMultiError ¶
type GetNodeByIDReqMultiError []error
GetNodeByIDReqMultiError is an error wrapping multiple validation errors returned by GetNodeByIDReq.ValidateAll() if the designated constraints aren't met.
func (GetNodeByIDReqMultiError) AllErrors ¶
func (m GetNodeByIDReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNodeByIDReqMultiError) Error ¶
func (m GetNodeByIDReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNodeByIDReqValidationError ¶
type GetNodeByIDReqValidationError struct {
// contains filtered or unexported fields
}
GetNodeByIDReqValidationError is the validation error returned by GetNodeByIDReq.Validate if the designated constraints aren't met.
func (GetNodeByIDReqValidationError) Cause ¶
func (e GetNodeByIDReqValidationError) Cause() error
Cause function returns cause value.
func (GetNodeByIDReqValidationError) Error ¶
func (e GetNodeByIDReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetNodeByIDReqValidationError) ErrorName ¶
func (e GetNodeByIDReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetNodeByIDReqValidationError) Field ¶
func (e GetNodeByIDReqValidationError) Field() string
Field function returns field value.
func (GetNodeByIDReqValidationError) Key ¶
func (e GetNodeByIDReqValidationError) Key() bool
Key function returns key value.
func (GetNodeByIDReqValidationError) Reason ¶
func (e GetNodeByIDReqValidationError) Reason() string
Reason function returns reason value.
type GetNodesAndManagersReply ¶
type GetNodesAndManagersReply struct { DefNodeName string `protobuf:"bytes,1,opt,name=defNodeName,proto3" json:"defNodeName,omitempty"` Managers []string `protobuf:"bytes,2,rep,name=managers,proto3" json:"managers,omitempty"` //平台节点信息 Nodes []*v2.NodeBase `protobuf:"bytes,3,rep,name=nodes,proto3" json:"nodes,omitempty"` //节点详情 // contains filtered or unexported fields }
func (*GetNodesAndManagersReply) Descriptor
deprecated
func (*GetNodesAndManagersReply) Descriptor() ([]byte, []int)
Deprecated: Use GetNodesAndManagersReply.ProtoReflect.Descriptor instead.
func (*GetNodesAndManagersReply) GetDefNodeName ¶
func (x *GetNodesAndManagersReply) GetDefNodeName() string
func (*GetNodesAndManagersReply) GetManagers ¶
func (x *GetNodesAndManagersReply) GetManagers() []string
func (*GetNodesAndManagersReply) GetNodes ¶
func (x *GetNodesAndManagersReply) GetNodes() []*v2.NodeBase
func (*GetNodesAndManagersReply) ProtoMessage ¶
func (*GetNodesAndManagersReply) ProtoMessage()
func (*GetNodesAndManagersReply) ProtoReflect ¶
func (x *GetNodesAndManagersReply) ProtoReflect() protoreflect.Message
func (*GetNodesAndManagersReply) Reset ¶
func (x *GetNodesAndManagersReply) Reset()
func (*GetNodesAndManagersReply) String ¶
func (x *GetNodesAndManagersReply) String() string
func (*GetNodesAndManagersReply) Validate ¶
func (m *GetNodesAndManagersReply) Validate() error
Validate checks the field values on GetNodesAndManagersReply 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 (*GetNodesAndManagersReply) ValidateAll ¶
func (m *GetNodesAndManagersReply) ValidateAll() error
ValidateAll checks the field values on GetNodesAndManagersReply 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 GetNodesAndManagersReplyMultiError, or nil if none found.
type GetNodesAndManagersReplyMultiError ¶
type GetNodesAndManagersReplyMultiError []error
GetNodesAndManagersReplyMultiError is an error wrapping multiple validation errors returned by GetNodesAndManagersReply.ValidateAll() if the designated constraints aren't met.
func (GetNodesAndManagersReplyMultiError) AllErrors ¶
func (m GetNodesAndManagersReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNodesAndManagersReplyMultiError) Error ¶
func (m GetNodesAndManagersReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNodesAndManagersReplyValidationError ¶
type GetNodesAndManagersReplyValidationError struct {
// contains filtered or unexported fields
}
GetNodesAndManagersReplyValidationError is the validation error returned by GetNodesAndManagersReply.Validate if the designated constraints aren't met.
func (GetNodesAndManagersReplyValidationError) Cause ¶
func (e GetNodesAndManagersReplyValidationError) Cause() error
Cause function returns cause value.
func (GetNodesAndManagersReplyValidationError) Error ¶
func (e GetNodesAndManagersReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetNodesAndManagersReplyValidationError) ErrorName ¶
func (e GetNodesAndManagersReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetNodesAndManagersReplyValidationError) Field ¶
func (e GetNodesAndManagersReplyValidationError) Field() string
Field function returns field value.
func (GetNodesAndManagersReplyValidationError) Key ¶
func (e GetNodesAndManagersReplyValidationError) Key() bool
Key function returns key value.
func (GetNodesAndManagersReplyValidationError) Reason ¶
func (e GetNodesAndManagersReplyValidationError) Reason() string
Reason function returns reason value.
type GetNodesAndManagersReq ¶
type GetNodesAndManagersReq struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` //邀请码 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` //版本 // contains filtered or unexported fields }
查询节点以及管理节点列表 -------------------------------------------
func (*GetNodesAndManagersReq) Descriptor
deprecated
func (*GetNodesAndManagersReq) Descriptor() ([]byte, []int)
Deprecated: Use GetNodesAndManagersReq.ProtoReflect.Descriptor instead.
func (*GetNodesAndManagersReq) GetCode ¶
func (x *GetNodesAndManagersReq) GetCode() string
func (*GetNodesAndManagersReq) GetVersion ¶
func (x *GetNodesAndManagersReq) GetVersion() string
func (*GetNodesAndManagersReq) ProtoMessage ¶
func (*GetNodesAndManagersReq) ProtoMessage()
func (*GetNodesAndManagersReq) ProtoReflect ¶
func (x *GetNodesAndManagersReq) ProtoReflect() protoreflect.Message
func (*GetNodesAndManagersReq) Reset ¶
func (x *GetNodesAndManagersReq) Reset()
func (*GetNodesAndManagersReq) String ¶
func (x *GetNodesAndManagersReq) String() string
func (*GetNodesAndManagersReq) Validate ¶
func (m *GetNodesAndManagersReq) Validate() error
Validate checks the field values on GetNodesAndManagersReq 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 (*GetNodesAndManagersReq) ValidateAll ¶
func (m *GetNodesAndManagersReq) ValidateAll() error
ValidateAll checks the field values on GetNodesAndManagersReq 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 GetNodesAndManagersReqMultiError, or nil if none found.
type GetNodesAndManagersReqMultiError ¶
type GetNodesAndManagersReqMultiError []error
GetNodesAndManagersReqMultiError is an error wrapping multiple validation errors returned by GetNodesAndManagersReq.ValidateAll() if the designated constraints aren't met.
func (GetNodesAndManagersReqMultiError) AllErrors ¶
func (m GetNodesAndManagersReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNodesAndManagersReqMultiError) Error ¶
func (m GetNodesAndManagersReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNodesAndManagersReqValidationError ¶
type GetNodesAndManagersReqValidationError struct {
// contains filtered or unexported fields
}
GetNodesAndManagersReqValidationError is the validation error returned by GetNodesAndManagersReq.Validate if the designated constraints aren't met.
func (GetNodesAndManagersReqValidationError) Cause ¶
func (e GetNodesAndManagersReqValidationError) Cause() error
Cause function returns cause value.
func (GetNodesAndManagersReqValidationError) Error ¶
func (e GetNodesAndManagersReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetNodesAndManagersReqValidationError) ErrorName ¶
func (e GetNodesAndManagersReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetNodesAndManagersReqValidationError) Field ¶
func (e GetNodesAndManagersReqValidationError) Field() string
Field function returns field value.
func (GetNodesAndManagersReqValidationError) Key ¶
func (e GetNodesAndManagersReqValidationError) Key() bool
Key function returns key value.
func (GetNodesAndManagersReqValidationError) Reason ¶
func (e GetNodesAndManagersReqValidationError) Reason() string
Reason function returns reason value.
type GetPlatformNodeListReq ¶
type GetPlatformNodeListReq struct {
// contains filtered or unexported fields
}
获取节点列表 -------------------------------------------
func (*GetPlatformNodeListReq) Descriptor
deprecated
func (*GetPlatformNodeListReq) Descriptor() ([]byte, []int)
Deprecated: Use GetPlatformNodeListReq.ProtoReflect.Descriptor instead.
func (*GetPlatformNodeListReq) ProtoMessage ¶
func (*GetPlatformNodeListReq) ProtoMessage()
func (*GetPlatformNodeListReq) ProtoReflect ¶
func (x *GetPlatformNodeListReq) ProtoReflect() protoreflect.Message
func (*GetPlatformNodeListReq) Reset ¶
func (x *GetPlatformNodeListReq) Reset()
func (*GetPlatformNodeListReq) String ¶
func (x *GetPlatformNodeListReq) String() string
func (*GetPlatformNodeListReq) Validate ¶
func (m *GetPlatformNodeListReq) Validate() error
Validate checks the field values on GetPlatformNodeListReq 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 (*GetPlatformNodeListReq) ValidateAll ¶
func (m *GetPlatformNodeListReq) ValidateAll() error
ValidateAll checks the field values on GetPlatformNodeListReq 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 GetPlatformNodeListReqMultiError, or nil if none found.
type GetPlatformNodeListReqMultiError ¶
type GetPlatformNodeListReqMultiError []error
GetPlatformNodeListReqMultiError is an error wrapping multiple validation errors returned by GetPlatformNodeListReq.ValidateAll() if the designated constraints aren't met.
func (GetPlatformNodeListReqMultiError) AllErrors ¶
func (m GetPlatformNodeListReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPlatformNodeListReqMultiError) Error ¶
func (m GetPlatformNodeListReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPlatformNodeListReqValidationError ¶
type GetPlatformNodeListReqValidationError struct {
// contains filtered or unexported fields
}
GetPlatformNodeListReqValidationError is the validation error returned by GetPlatformNodeListReq.Validate if the designated constraints aren't met.
func (GetPlatformNodeListReqValidationError) Cause ¶
func (e GetPlatformNodeListReqValidationError) Cause() error
Cause function returns cause value.
func (GetPlatformNodeListReqValidationError) Error ¶
func (e GetPlatformNodeListReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetPlatformNodeListReqValidationError) ErrorName ¶
func (e GetPlatformNodeListReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetPlatformNodeListReqValidationError) Field ¶
func (e GetPlatformNodeListReqValidationError) Field() string
Field function returns field value.
func (GetPlatformNodeListReqValidationError) Key ¶
func (e GetPlatformNodeListReqValidationError) Key() bool
Key function returns key value.
func (GetPlatformNodeListReqValidationError) Reason ¶
func (e GetPlatformNodeListReqValidationError) Reason() string
Reason function returns reason value.
type NodeAndManager ¶
type NodeAndManager struct { Managers []string `protobuf:"bytes,1,rep,name=managers,proto3" json:"managers,omitempty"` //平台节点信息 Node *v2.NodeBase `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` //节点详情 // contains filtered or unexported fields }
func (*NodeAndManager) Descriptor
deprecated
func (*NodeAndManager) Descriptor() ([]byte, []int)
Deprecated: Use NodeAndManager.ProtoReflect.Descriptor instead.
func (*NodeAndManager) GetManagers ¶
func (x *NodeAndManager) GetManagers() []string
func (*NodeAndManager) GetNode ¶
func (x *NodeAndManager) GetNode() *v2.NodeBase
func (*NodeAndManager) ProtoMessage ¶
func (*NodeAndManager) ProtoMessage()
func (*NodeAndManager) ProtoReflect ¶
func (x *NodeAndManager) ProtoReflect() protoreflect.Message
func (*NodeAndManager) Reset ¶
func (x *NodeAndManager) Reset()
func (*NodeAndManager) String ¶
func (x *NodeAndManager) String() string
func (*NodeAndManager) Validate ¶
func (m *NodeAndManager) Validate() error
Validate checks the field values on NodeAndManager 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 (*NodeAndManager) ValidateAll ¶
func (m *NodeAndManager) ValidateAll() error
ValidateAll checks the field values on NodeAndManager 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 NodeAndManagerMultiError, or nil if none found.
type NodeAndManagerMultiError ¶
type NodeAndManagerMultiError []error
NodeAndManagerMultiError is an error wrapping multiple validation errors returned by NodeAndManager.ValidateAll() if the designated constraints aren't met.
func (NodeAndManagerMultiError) AllErrors ¶
func (m NodeAndManagerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NodeAndManagerMultiError) Error ¶
func (m NodeAndManagerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NodeAndManagerValidationError ¶
type NodeAndManagerValidationError struct {
// contains filtered or unexported fields
}
NodeAndManagerValidationError is the validation error returned by NodeAndManager.Validate if the designated constraints aren't met.
func (NodeAndManagerValidationError) Cause ¶
func (e NodeAndManagerValidationError) Cause() error
Cause function returns cause value.
func (NodeAndManagerValidationError) Error ¶
func (e NodeAndManagerValidationError) Error() string
Error satisfies the builtin error interface
func (NodeAndManagerValidationError) ErrorName ¶
func (e NodeAndManagerValidationError) ErrorName() string
ErrorName returns error name.
func (NodeAndManagerValidationError) Field ¶
func (e NodeAndManagerValidationError) Field() string
Field function returns field value.
func (NodeAndManagerValidationError) Key ¶
func (e NodeAndManagerValidationError) Key() bool
Key function returns key value.
func (NodeAndManagerValidationError) Reason ¶
func (e NodeAndManagerValidationError) Reason() string
Reason function returns reason value.
type NodeClient ¶
type NodeClient interface { // 新加节点 Add(ctx context.Context, in *AddNodeReq, opts ...grpc.CallOption) (*AddNodeReply, error) // 删除节点 Del(ctx context.Context, in *DelReq, opts ...grpc.CallOption) (*DelReply, error) // 编辑节点 Edit(ctx context.Context, in *EditReq, opts ...grpc.CallOption) (*EditReply, error) // 编辑节点状态 EditStatus(ctx context.Context, in *EditStatusReq, opts ...grpc.CallOption) (*EditStatusReply, error) // 重置节点的key ResetKey(ctx context.Context, in *ResetKeyReq, opts ...grpc.CallOption) (*ResetKeyReply, error) // 获取节点信息 GetInfo(ctx context.Context, in *GetInfoReq, opts ...grpc.CallOption) (*GetInfoReply, error) // 根据code获取节点信息 GetNodeByCode(ctx context.Context, in *GetNodeByCodeReq, opts ...grpc.CallOption) (*GetNodeByCodeReply, error) // 获取节点列表 GetList(ctx context.Context, in *GetListReq, opts ...grpc.CallOption) (*GetListReply, error) // 工具方法 // 获取所有数据 GetAllList(ctx context.Context, in *GetAllListReq, opts ...grpc.CallOption) (*GetAllListReply, error) // 获取默认节点 GetDefNodeNode(ctx context.Context, in *GetDefNodeNodeReq, opts ...grpc.CallOption) (*GetDefNodeNodeReply, error) // 设置默认节点 SetDefNodeNode(ctx context.Context, in *SetDefNodeNodeReq, opts ...grpc.CallOption) (*SetDefNodeNodeReply, error) // 获取主节点配置 GetMasterSyncInfo(ctx context.Context, in *GetMasterSyncInfoReq, opts ...grpc.CallOption) (*GetMasterSyncInfoReply, error) // 获取主节点 GetMasterInfo(ctx context.Context, in *GetMasterInfoReq, opts ...grpc.CallOption) (*GetMasterInfoReply, error) // 根据租户id获取租户下发信息 GetDistributeInfo(ctx context.Context, in *GetDistributeInfoReq, opts ...grpc.CallOption) (*DistributeInfoReply, error) // 租户上报信息 Escalation(ctx context.Context, in *EscalationReq, opts ...grpc.CallOption) (*EscalationReply, error) // 根据给定的节点获取对应的主节点信息 GetMasterNodeDetails(ctx context.Context, in *GetMasterNodeDetailsReq, opts ...grpc.CallOption) (*GetMasterNodeDetailsReply, error) // 查询节点以及管理节点列表 GetInfoAndManager(ctx context.Context, in *GetNodeByCodeReq, opts ...grpc.CallOption) (*NodeAndManager, error) // 查询节点列表以及管理节点列表 GetNodesAndManagers(ctx context.Context, in *GetNodesAndManagersReq, opts ...grpc.CallOption) (*GetNodesAndManagersReply, error) // 获取所有主节点数据 GetAllMasterList(ctx context.Context, in *GetAllMasterListReq, opts ...grpc.CallOption) (*GetAllMasterListReply, error) // GetNodeByID 根据id获取节点数据 GetNodeByID(ctx context.Context, in *GetNodeByIDReq, opts ...grpc.CallOption) (*GetNodeByIDReply, error) }
NodeClient is the client API for Node 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.
Node 服务
func NewNodeClient ¶
func NewNodeClient(cc grpc.ClientConnInterface) NodeClient
type NodeDetails ¶
type NodeDetails struct { PubKey string `protobuf:"bytes,1,opt,name=pubKey,proto3" json:"pubKey,omitempty"` //公钥 PriKey string `protobuf:"bytes,2,opt,name=priKey,proto3" json:"priKey,omitempty"` //私钥 Base *v2.NodeBase `protobuf:"bytes,3,opt,name=base,proto3" json:"base,omitempty"` //基本信息 // contains filtered or unexported fields }
func (*NodeDetails) Descriptor
deprecated
func (*NodeDetails) Descriptor() ([]byte, []int)
Deprecated: Use NodeDetails.ProtoReflect.Descriptor instead.
func (*NodeDetails) GetBase ¶
func (x *NodeDetails) GetBase() *v2.NodeBase
func (*NodeDetails) GetPriKey ¶
func (x *NodeDetails) GetPriKey() string
func (*NodeDetails) GetPubKey ¶
func (x *NodeDetails) GetPubKey() string
func (*NodeDetails) ProtoMessage ¶
func (*NodeDetails) ProtoMessage()
func (*NodeDetails) ProtoReflect ¶
func (x *NodeDetails) ProtoReflect() protoreflect.Message
func (*NodeDetails) Reset ¶
func (x *NodeDetails) Reset()
func (*NodeDetails) String ¶
func (x *NodeDetails) String() string
func (*NodeDetails) Validate ¶
func (m *NodeDetails) Validate() error
Validate checks the field values on NodeDetails 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 (*NodeDetails) ValidateAll ¶
func (m *NodeDetails) ValidateAll() error
ValidateAll checks the field values on NodeDetails 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 NodeDetailsMultiError, or nil if none found.
type NodeDetailsMultiError ¶
type NodeDetailsMultiError []error
NodeDetailsMultiError is an error wrapping multiple validation errors returned by NodeDetails.ValidateAll() if the designated constraints aren't met.
func (NodeDetailsMultiError) AllErrors ¶
func (m NodeDetailsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NodeDetailsMultiError) Error ¶
func (m NodeDetailsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NodeDetailsValidationError ¶
type NodeDetailsValidationError struct {
// contains filtered or unexported fields
}
NodeDetailsValidationError is the validation error returned by NodeDetails.Validate if the designated constraints aren't met.
func (NodeDetailsValidationError) Cause ¶
func (e NodeDetailsValidationError) Cause() error
Cause function returns cause value.
func (NodeDetailsValidationError) Error ¶
func (e NodeDetailsValidationError) Error() string
Error satisfies the builtin error interface
func (NodeDetailsValidationError) ErrorName ¶
func (e NodeDetailsValidationError) ErrorName() string
ErrorName returns error name.
func (NodeDetailsValidationError) Field ¶
func (e NodeDetailsValidationError) Field() string
Field function returns field value.
func (NodeDetailsValidationError) Key ¶
func (e NodeDetailsValidationError) Key() bool
Key function returns key value.
func (NodeDetailsValidationError) Reason ¶
func (e NodeDetailsValidationError) Reason() string
Reason function returns reason value.
type NodeServer ¶
type NodeServer interface { // 新加节点 Add(context.Context, *AddNodeReq) (*AddNodeReply, error) // 删除节点 Del(context.Context, *DelReq) (*DelReply, error) // 编辑节点 Edit(context.Context, *EditReq) (*EditReply, error) // 编辑节点状态 EditStatus(context.Context, *EditStatusReq) (*EditStatusReply, error) // 重置节点的key ResetKey(context.Context, *ResetKeyReq) (*ResetKeyReply, error) // 获取节点信息 GetInfo(context.Context, *GetInfoReq) (*GetInfoReply, error) // 根据code获取节点信息 GetNodeByCode(context.Context, *GetNodeByCodeReq) (*GetNodeByCodeReply, error) // 获取节点列表 GetList(context.Context, *GetListReq) (*GetListReply, error) // 工具方法 // 获取所有数据 GetAllList(context.Context, *GetAllListReq) (*GetAllListReply, error) // 获取默认节点 GetDefNodeNode(context.Context, *GetDefNodeNodeReq) (*GetDefNodeNodeReply, error) // 设置默认节点 SetDefNodeNode(context.Context, *SetDefNodeNodeReq) (*SetDefNodeNodeReply, error) // 获取主节点配置 GetMasterSyncInfo(context.Context, *GetMasterSyncInfoReq) (*GetMasterSyncInfoReply, error) // 获取主节点 GetMasterInfo(context.Context, *GetMasterInfoReq) (*GetMasterInfoReply, error) // 根据租户id获取租户下发信息 GetDistributeInfo(context.Context, *GetDistributeInfoReq) (*DistributeInfoReply, error) // 租户上报信息 Escalation(context.Context, *EscalationReq) (*EscalationReply, error) // 根据给定的节点获取对应的主节点信息 GetMasterNodeDetails(context.Context, *GetMasterNodeDetailsReq) (*GetMasterNodeDetailsReply, error) // 查询节点以及管理节点列表 GetInfoAndManager(context.Context, *GetNodeByCodeReq) (*NodeAndManager, error) // 查询节点列表以及管理节点列表 GetNodesAndManagers(context.Context, *GetNodesAndManagersReq) (*GetNodesAndManagersReply, error) // 获取所有主节点数据 GetAllMasterList(context.Context, *GetAllMasterListReq) (*GetAllMasterListReply, error) // GetNodeByID 根据id获取节点数据 GetNodeByID(context.Context, *GetNodeByIDReq) (*GetNodeByIDReply, error) // contains filtered or unexported methods }
NodeServer is the server API for Node service. All implementations must embed UnimplementedNodeServer for forward compatibility
Node 服务
type NodeStatus ¶
type NodeStatus int32
节点类型
const ( NodeStatus_Unknown NodeStatus = 0 //未知 NodeStatus_Enable NodeStatus = 1 //启用 NodeStatus_Deactivate NodeStatus = 2 //停用 NodeStatus_TimeLimit NodeStatus = 3 //时间限制 )
func (NodeStatus) Descriptor ¶
func (NodeStatus) Descriptor() protoreflect.EnumDescriptor
func (NodeStatus) Enum ¶
func (x NodeStatus) Enum() *NodeStatus
func (NodeStatus) EnumDescriptor
deprecated
func (NodeStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use NodeStatus.Descriptor instead.
func (NodeStatus) Number ¶
func (x NodeStatus) Number() protoreflect.EnumNumber
func (NodeStatus) String ¶
func (x NodeStatus) String() string
func (NodeStatus) Type ¶
func (NodeStatus) Type() protoreflect.EnumType
type NodeType ¶
type NodeType int32
节点类型
func (NodeType) Descriptor ¶
func (NodeType) Descriptor() protoreflect.EnumDescriptor
func (NodeType) EnumDescriptor
deprecated
func (NodeType) Number ¶
func (x NodeType) Number() protoreflect.EnumNumber
func (NodeType) Type ¶
func (NodeType) Type() protoreflect.EnumType
type PlatformNodeClient ¶
type PlatformNodeClient interface { // 新加节点 Add(ctx context.Context, in *AddPlatformNodeReq, opts ...grpc.CallOption) (*AddPlatformNodeReply, error) // 删除节点 Del(ctx context.Context, in *DelPlatformNodeReq, opts ...grpc.CallOption) (*DelPlatformNodeReply, error) // 编辑节点 Edit(ctx context.Context, in *EditPlatformNodeReq, opts ...grpc.CallOption) (*EditPlatformNodeReply, error) // 获取节点列表 GetList(ctx context.Context, in *GetPlatformNodeListReq, opts ...grpc.CallOption) (*GetListPlatformNodeReply, error) // 获取所有节点列表 GetAllAddress(ctx context.Context, in *GetAllAddressReq, opts ...grpc.CallOption) (*GetAllAddressReply, error) }
PlatformNodeClient is the client API for PlatformNode 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.
PlatformNode 服务
func NewPlatformNodeClient ¶
func NewPlatformNodeClient(cc grpc.ClientConnInterface) PlatformNodeClient
type PlatformNodeInfo ¶
type PlatformNodeInfo struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // profile id 和 userId 等价 Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // 地址 Weight int32 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"` //节点权重 // contains filtered or unexported fields }
PlatformNodeInfo
func (*PlatformNodeInfo) Descriptor
deprecated
func (*PlatformNodeInfo) Descriptor() ([]byte, []int)
Deprecated: Use PlatformNodeInfo.ProtoReflect.Descriptor instead.
func (*PlatformNodeInfo) GetAddress ¶
func (x *PlatformNodeInfo) GetAddress() string
func (*PlatformNodeInfo) GetId ¶
func (x *PlatformNodeInfo) GetId() int32
func (*PlatformNodeInfo) GetWeight ¶
func (x *PlatformNodeInfo) GetWeight() int32
func (*PlatformNodeInfo) ProtoMessage ¶
func (*PlatformNodeInfo) ProtoMessage()
func (*PlatformNodeInfo) ProtoReflect ¶
func (x *PlatformNodeInfo) ProtoReflect() protoreflect.Message
func (*PlatformNodeInfo) Reset ¶
func (x *PlatformNodeInfo) Reset()
func (*PlatformNodeInfo) String ¶
func (x *PlatformNodeInfo) String() string
func (*PlatformNodeInfo) Validate ¶
func (m *PlatformNodeInfo) Validate() error
Validate checks the field values on PlatformNodeInfo 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 (*PlatformNodeInfo) ValidateAll ¶
func (m *PlatformNodeInfo) ValidateAll() error
ValidateAll checks the field values on PlatformNodeInfo 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 PlatformNodeInfoMultiError, or nil if none found.
type PlatformNodeInfoMultiError ¶
type PlatformNodeInfoMultiError []error
PlatformNodeInfoMultiError is an error wrapping multiple validation errors returned by PlatformNodeInfo.ValidateAll() if the designated constraints aren't met.
func (PlatformNodeInfoMultiError) AllErrors ¶
func (m PlatformNodeInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PlatformNodeInfoMultiError) Error ¶
func (m PlatformNodeInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PlatformNodeInfoValidationError ¶
type PlatformNodeInfoValidationError struct {
// contains filtered or unexported fields
}
PlatformNodeInfoValidationError is the validation error returned by PlatformNodeInfo.Validate if the designated constraints aren't met.
func (PlatformNodeInfoValidationError) Cause ¶
func (e PlatformNodeInfoValidationError) Cause() error
Cause function returns cause value.
func (PlatformNodeInfoValidationError) Error ¶
func (e PlatformNodeInfoValidationError) Error() string
Error satisfies the builtin error interface
func (PlatformNodeInfoValidationError) ErrorName ¶
func (e PlatformNodeInfoValidationError) ErrorName() string
ErrorName returns error name.
func (PlatformNodeInfoValidationError) Field ¶
func (e PlatformNodeInfoValidationError) Field() string
Field function returns field value.
func (PlatformNodeInfoValidationError) Key ¶
func (e PlatformNodeInfoValidationError) Key() bool
Key function returns key value.
func (PlatformNodeInfoValidationError) Reason ¶
func (e PlatformNodeInfoValidationError) Reason() string
Reason function returns reason value.
type PlatformNodeServer ¶
type PlatformNodeServer interface { // 新加节点 Add(context.Context, *AddPlatformNodeReq) (*AddPlatformNodeReply, error) // 删除节点 Del(context.Context, *DelPlatformNodeReq) (*DelPlatformNodeReply, error) // 编辑节点 Edit(context.Context, *EditPlatformNodeReq) (*EditPlatformNodeReply, error) // 获取节点列表 GetList(context.Context, *GetPlatformNodeListReq) (*GetListPlatformNodeReply, error) // 获取所有节点列表 GetAllAddress(context.Context, *GetAllAddressReq) (*GetAllAddressReply, error) // contains filtered or unexported methods }
PlatformNodeServer is the server API for PlatformNode service. All implementations must embed UnimplementedPlatformNodeServer for forward compatibility
PlatformNode 服务
type ResetKeyReply ¶
type ResetKeyReply struct {
// contains filtered or unexported fields
}
func (*ResetKeyReply) Descriptor
deprecated
func (*ResetKeyReply) Descriptor() ([]byte, []int)
Deprecated: Use ResetKeyReply.ProtoReflect.Descriptor instead.
func (*ResetKeyReply) ProtoMessage ¶
func (*ResetKeyReply) ProtoMessage()
func (*ResetKeyReply) ProtoReflect ¶
func (x *ResetKeyReply) ProtoReflect() protoreflect.Message
func (*ResetKeyReply) Reset ¶
func (x *ResetKeyReply) Reset()
func (*ResetKeyReply) String ¶
func (x *ResetKeyReply) String() string
func (*ResetKeyReply) Validate ¶
func (m *ResetKeyReply) Validate() error
Validate checks the field values on ResetKeyReply 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 (*ResetKeyReply) ValidateAll ¶
func (m *ResetKeyReply) ValidateAll() error
ValidateAll checks the field values on ResetKeyReply 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 ResetKeyReplyMultiError, or nil if none found.
type ResetKeyReplyMultiError ¶
type ResetKeyReplyMultiError []error
ResetKeyReplyMultiError is an error wrapping multiple validation errors returned by ResetKeyReply.ValidateAll() if the designated constraints aren't met.
func (ResetKeyReplyMultiError) AllErrors ¶
func (m ResetKeyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResetKeyReplyMultiError) Error ¶
func (m ResetKeyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResetKeyReplyValidationError ¶
type ResetKeyReplyValidationError struct {
// contains filtered or unexported fields
}
ResetKeyReplyValidationError is the validation error returned by ResetKeyReply.Validate if the designated constraints aren't met.
func (ResetKeyReplyValidationError) Cause ¶
func (e ResetKeyReplyValidationError) Cause() error
Cause function returns cause value.
func (ResetKeyReplyValidationError) Error ¶
func (e ResetKeyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ResetKeyReplyValidationError) ErrorName ¶
func (e ResetKeyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ResetKeyReplyValidationError) Field ¶
func (e ResetKeyReplyValidationError) Field() string
Field function returns field value.
func (ResetKeyReplyValidationError) Key ¶
func (e ResetKeyReplyValidationError) Key() bool
Key function returns key value.
func (ResetKeyReplyValidationError) Reason ¶
func (e ResetKeyReplyValidationError) Reason() string
Reason function returns reason value.
type ResetKeyReq ¶
type ResetKeyReq struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` //节点id // contains filtered or unexported fields }
重置节点的key -------------------------------------------
func (*ResetKeyReq) Descriptor
deprecated
func (*ResetKeyReq) Descriptor() ([]byte, []int)
Deprecated: Use ResetKeyReq.ProtoReflect.Descriptor instead.
func (*ResetKeyReq) GetNodeId ¶
func (x *ResetKeyReq) GetNodeId() string
func (*ResetKeyReq) ProtoMessage ¶
func (*ResetKeyReq) ProtoMessage()
func (*ResetKeyReq) ProtoReflect ¶
func (x *ResetKeyReq) ProtoReflect() protoreflect.Message
func (*ResetKeyReq) Reset ¶
func (x *ResetKeyReq) Reset()
func (*ResetKeyReq) String ¶
func (x *ResetKeyReq) String() string
func (*ResetKeyReq) Validate ¶
func (m *ResetKeyReq) Validate() error
Validate checks the field values on ResetKeyReq 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 (*ResetKeyReq) ValidateAll ¶
func (m *ResetKeyReq) ValidateAll() error
ValidateAll checks the field values on ResetKeyReq 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 ResetKeyReqMultiError, or nil if none found.
type ResetKeyReqMultiError ¶
type ResetKeyReqMultiError []error
ResetKeyReqMultiError is an error wrapping multiple validation errors returned by ResetKeyReq.ValidateAll() if the designated constraints aren't met.
func (ResetKeyReqMultiError) AllErrors ¶
func (m ResetKeyReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResetKeyReqMultiError) Error ¶
func (m ResetKeyReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResetKeyReqValidationError ¶
type ResetKeyReqValidationError struct {
// contains filtered or unexported fields
}
ResetKeyReqValidationError is the validation error returned by ResetKeyReq.Validate if the designated constraints aren't met.
func (ResetKeyReqValidationError) Cause ¶
func (e ResetKeyReqValidationError) Cause() error
Cause function returns cause value.
func (ResetKeyReqValidationError) Error ¶
func (e ResetKeyReqValidationError) Error() string
Error satisfies the builtin error interface
func (ResetKeyReqValidationError) ErrorName ¶
func (e ResetKeyReqValidationError) ErrorName() string
ErrorName returns error name.
func (ResetKeyReqValidationError) Field ¶
func (e ResetKeyReqValidationError) Field() string
Field function returns field value.
func (ResetKeyReqValidationError) Key ¶
func (e ResetKeyReqValidationError) Key() bool
Key function returns key value.
func (ResetKeyReqValidationError) Reason ¶
func (e ResetKeyReqValidationError) Reason() string
Reason function returns reason value.
type SetDefNodeNodeReply ¶
type SetDefNodeNodeReply struct {
// contains filtered or unexported fields
}
func (*SetDefNodeNodeReply) Descriptor
deprecated
func (*SetDefNodeNodeReply) Descriptor() ([]byte, []int)
Deprecated: Use SetDefNodeNodeReply.ProtoReflect.Descriptor instead.
func (*SetDefNodeNodeReply) ProtoMessage ¶
func (*SetDefNodeNodeReply) ProtoMessage()
func (*SetDefNodeNodeReply) ProtoReflect ¶
func (x *SetDefNodeNodeReply) ProtoReflect() protoreflect.Message
func (*SetDefNodeNodeReply) Reset ¶
func (x *SetDefNodeNodeReply) Reset()
func (*SetDefNodeNodeReply) String ¶
func (x *SetDefNodeNodeReply) String() string
func (*SetDefNodeNodeReply) Validate ¶
func (m *SetDefNodeNodeReply) Validate() error
Validate checks the field values on SetDefNodeNodeReply 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 (*SetDefNodeNodeReply) ValidateAll ¶
func (m *SetDefNodeNodeReply) ValidateAll() error
ValidateAll checks the field values on SetDefNodeNodeReply 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 SetDefNodeNodeReplyMultiError, or nil if none found.
type SetDefNodeNodeReplyMultiError ¶
type SetDefNodeNodeReplyMultiError []error
SetDefNodeNodeReplyMultiError is an error wrapping multiple validation errors returned by SetDefNodeNodeReply.ValidateAll() if the designated constraints aren't met.
func (SetDefNodeNodeReplyMultiError) AllErrors ¶
func (m SetDefNodeNodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetDefNodeNodeReplyMultiError) Error ¶
func (m SetDefNodeNodeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetDefNodeNodeReplyValidationError ¶
type SetDefNodeNodeReplyValidationError struct {
// contains filtered or unexported fields
}
SetDefNodeNodeReplyValidationError is the validation error returned by SetDefNodeNodeReply.Validate if the designated constraints aren't met.
func (SetDefNodeNodeReplyValidationError) Cause ¶
func (e SetDefNodeNodeReplyValidationError) Cause() error
Cause function returns cause value.
func (SetDefNodeNodeReplyValidationError) Error ¶
func (e SetDefNodeNodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SetDefNodeNodeReplyValidationError) ErrorName ¶
func (e SetDefNodeNodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SetDefNodeNodeReplyValidationError) Field ¶
func (e SetDefNodeNodeReplyValidationError) Field() string
Field function returns field value.
func (SetDefNodeNodeReplyValidationError) Key ¶
func (e SetDefNodeNodeReplyValidationError) Key() bool
Key function returns key value.
func (SetDefNodeNodeReplyValidationError) Reason ¶
func (e SetDefNodeNodeReplyValidationError) Reason() string
Reason function returns reason value.
type SetDefNodeNodeReq ¶
type SetDefNodeNodeReq struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` //节点id // contains filtered or unexported fields }
设置默认节点 -------------------------------------------
func (*SetDefNodeNodeReq) Descriptor
deprecated
func (*SetDefNodeNodeReq) Descriptor() ([]byte, []int)
Deprecated: Use SetDefNodeNodeReq.ProtoReflect.Descriptor instead.
func (*SetDefNodeNodeReq) GetNodeId ¶
func (x *SetDefNodeNodeReq) GetNodeId() string
func (*SetDefNodeNodeReq) ProtoMessage ¶
func (*SetDefNodeNodeReq) ProtoMessage()
func (*SetDefNodeNodeReq) ProtoReflect ¶
func (x *SetDefNodeNodeReq) ProtoReflect() protoreflect.Message
func (*SetDefNodeNodeReq) Reset ¶
func (x *SetDefNodeNodeReq) Reset()
func (*SetDefNodeNodeReq) String ¶
func (x *SetDefNodeNodeReq) String() string
func (*SetDefNodeNodeReq) Validate ¶
func (m *SetDefNodeNodeReq) Validate() error
Validate checks the field values on SetDefNodeNodeReq 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 (*SetDefNodeNodeReq) ValidateAll ¶
func (m *SetDefNodeNodeReq) ValidateAll() error
ValidateAll checks the field values on SetDefNodeNodeReq 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 SetDefNodeNodeReqMultiError, or nil if none found.
type SetDefNodeNodeReqMultiError ¶
type SetDefNodeNodeReqMultiError []error
SetDefNodeNodeReqMultiError is an error wrapping multiple validation errors returned by SetDefNodeNodeReq.ValidateAll() if the designated constraints aren't met.
func (SetDefNodeNodeReqMultiError) AllErrors ¶
func (m SetDefNodeNodeReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetDefNodeNodeReqMultiError) Error ¶
func (m SetDefNodeNodeReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetDefNodeNodeReqValidationError ¶
type SetDefNodeNodeReqValidationError struct {
// contains filtered or unexported fields
}
SetDefNodeNodeReqValidationError is the validation error returned by SetDefNodeNodeReq.Validate if the designated constraints aren't met.
func (SetDefNodeNodeReqValidationError) Cause ¶
func (e SetDefNodeNodeReqValidationError) Cause() error
Cause function returns cause value.
func (SetDefNodeNodeReqValidationError) Error ¶
func (e SetDefNodeNodeReqValidationError) Error() string
Error satisfies the builtin error interface
func (SetDefNodeNodeReqValidationError) ErrorName ¶
func (e SetDefNodeNodeReqValidationError) ErrorName() string
ErrorName returns error name.
func (SetDefNodeNodeReqValidationError) Field ¶
func (e SetDefNodeNodeReqValidationError) Field() string
Field function returns field value.
func (SetDefNodeNodeReqValidationError) Key ¶
func (e SetDefNodeNodeReqValidationError) Key() bool
Key function returns key value.
func (SetDefNodeNodeReqValidationError) Reason ¶
func (e SetDefNodeNodeReqValidationError) Reason() string
Reason function returns reason value.
type UnimplementedNodeServer ¶
type UnimplementedNodeServer struct { }
UnimplementedNodeServer must be embedded to have forward compatible implementations.
func (UnimplementedNodeServer) Add ¶
func (UnimplementedNodeServer) Add(context.Context, *AddNodeReq) (*AddNodeReply, error)
func (UnimplementedNodeServer) EditStatus ¶
func (UnimplementedNodeServer) EditStatus(context.Context, *EditStatusReq) (*EditStatusReply, error)
func (UnimplementedNodeServer) Escalation ¶
func (UnimplementedNodeServer) Escalation(context.Context, *EscalationReq) (*EscalationReply, error)
func (UnimplementedNodeServer) GetAllList ¶
func (UnimplementedNodeServer) GetAllList(context.Context, *GetAllListReq) (*GetAllListReply, error)
func (UnimplementedNodeServer) GetAllMasterList ¶
func (UnimplementedNodeServer) GetAllMasterList(context.Context, *GetAllMasterListReq) (*GetAllMasterListReply, error)
func (UnimplementedNodeServer) GetDefNodeNode ¶
func (UnimplementedNodeServer) GetDefNodeNode(context.Context, *GetDefNodeNodeReq) (*GetDefNodeNodeReply, error)
func (UnimplementedNodeServer) GetDistributeInfo ¶
func (UnimplementedNodeServer) GetDistributeInfo(context.Context, *GetDistributeInfoReq) (*DistributeInfoReply, error)
func (UnimplementedNodeServer) GetInfo ¶
func (UnimplementedNodeServer) GetInfo(context.Context, *GetInfoReq) (*GetInfoReply, error)
func (UnimplementedNodeServer) GetInfoAndManager ¶
func (UnimplementedNodeServer) GetInfoAndManager(context.Context, *GetNodeByCodeReq) (*NodeAndManager, error)
func (UnimplementedNodeServer) GetList ¶
func (UnimplementedNodeServer) GetList(context.Context, *GetListReq) (*GetListReply, error)
func (UnimplementedNodeServer) GetMasterInfo ¶
func (UnimplementedNodeServer) GetMasterInfo(context.Context, *GetMasterInfoReq) (*GetMasterInfoReply, error)
func (UnimplementedNodeServer) GetMasterNodeDetails ¶
func (UnimplementedNodeServer) GetMasterNodeDetails(context.Context, *GetMasterNodeDetailsReq) (*GetMasterNodeDetailsReply, error)
func (UnimplementedNodeServer) GetMasterSyncInfo ¶
func (UnimplementedNodeServer) GetMasterSyncInfo(context.Context, *GetMasterSyncInfoReq) (*GetMasterSyncInfoReply, error)
func (UnimplementedNodeServer) GetNodeByCode ¶
func (UnimplementedNodeServer) GetNodeByCode(context.Context, *GetNodeByCodeReq) (*GetNodeByCodeReply, error)
func (UnimplementedNodeServer) GetNodeByID ¶
func (UnimplementedNodeServer) GetNodeByID(context.Context, *GetNodeByIDReq) (*GetNodeByIDReply, error)
func (UnimplementedNodeServer) GetNodesAndManagers ¶
func (UnimplementedNodeServer) GetNodesAndManagers(context.Context, *GetNodesAndManagersReq) (*GetNodesAndManagersReply, error)
func (UnimplementedNodeServer) ResetKey ¶
func (UnimplementedNodeServer) ResetKey(context.Context, *ResetKeyReq) (*ResetKeyReply, error)
func (UnimplementedNodeServer) SetDefNodeNode ¶
func (UnimplementedNodeServer) SetDefNodeNode(context.Context, *SetDefNodeNodeReq) (*SetDefNodeNodeReply, error)
type UnimplementedPlatformNodeServer ¶
type UnimplementedPlatformNodeServer struct { }
UnimplementedPlatformNodeServer must be embedded to have forward compatible implementations.
func (UnimplementedPlatformNodeServer) Add ¶
func (UnimplementedPlatformNodeServer) Add(context.Context, *AddPlatformNodeReq) (*AddPlatformNodeReply, error)
func (UnimplementedPlatformNodeServer) Del ¶
func (UnimplementedPlatformNodeServer) Del(context.Context, *DelPlatformNodeReq) (*DelPlatformNodeReply, error)
func (UnimplementedPlatformNodeServer) Edit ¶
func (UnimplementedPlatformNodeServer) Edit(context.Context, *EditPlatformNodeReq) (*EditPlatformNodeReply, error)
func (UnimplementedPlatformNodeServer) GetAllAddress ¶
func (UnimplementedPlatformNodeServer) GetAllAddress(context.Context, *GetAllAddressReq) (*GetAllAddressReply, error)
func (UnimplementedPlatformNodeServer) GetList ¶
func (UnimplementedPlatformNodeServer) GetList(context.Context, *GetPlatformNodeListReq) (*GetListPlatformNodeReply, error)
type UnsafeNodeServer ¶
type UnsafeNodeServer interface {
// contains filtered or unexported methods
}
UnsafeNodeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NodeServer will result in compilation errors.
type UnsafePlatformNodeServer ¶
type UnsafePlatformNodeServer interface {
// contains filtered or unexported methods
}
UnsafePlatformNodeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PlatformNodeServer will result in compilation errors.