v2

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

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

View Source
var (
	NodeType_name = map[int32]string{
		0: "IndependentNode",
		1: "ProxyNode",
	}
	NodeType_value = map[string]int32{
		"IndependentNode": 0,
		"ProxyNode":       1,
	}
)

Enum value maps for NodeType.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_api_platform_node_v2_node_error_proto protoreflect.FileDescriptor
View Source
var File_api_platform_node_v2_platform_node_error_proto protoreflect.FileDescriptor
View Source
var File_platform_node_v2_node_proto protoreflect.FileDescriptor
View Source
var File_platform_node_v2_platform_node_proto protoreflect.FileDescriptor
View Source
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)

View Source
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 ErrorAddressNoiEmpty(format string, args ...interface{}) *errors.Error

地址不能为空

func ErrorCartePlatformNode

func ErrorCartePlatformNode(format string, args ...interface{}) *errors.Error

地址不能为空

func ErrorMasterNodeMustIncludeServerInformation

func ErrorMasterNodeMustIncludeServerInformation(format string, args ...interface{}) *errors.Error

主节点必须包含服务器信息

func ErrorNodeContainsChildNodesUnderIt

func ErrorNodeContainsChildNodesUnderIt(format string, args ...interface{}) *errors.Error

节点下包含可用的代理节点无法删除

func ErrorNodeIsExistError

func ErrorNodeIsExistError(format string, args ...interface{}) *errors.Error

节点已存在

func ErrorNodeNotFound

func ErrorNodeNotFound(format string, args ...interface{}) *errors.Error

节点信息未找到

func ErrorProxyNodeMustSpecifyTheMasterNode

func ErrorProxyNodeMustSpecifyTheMasterNode(format string, args ...interface{}) *errors.Error

代理节点必须指定主节点

func ErrorResetKeyError

func ErrorResetKeyError(format string, args ...interface{}) *errors.Error

c重置密钥失败

func ErrorSetDefaultNodeError

func ErrorSetDefaultNodeError(format string, args ...interface{}) *errors.Error

设置默认节点失败

func ErrorTheEndTimeCannotBeLessThanTheStartTime

func ErrorTheEndTimeCannotBeLessThanTheStartTime(format string, args ...interface{}) *errors.Error

结束时间不能小于开始时间

func ErrorTimeControlledNodesMustSpecifyTime

func ErrorTimeControlledNodesMustSpecifyTime(format string, args ...interface{}) *errors.Error

受时间控制的节点必须指定时间

func IsAddressNoiEmpty

func IsAddressNoiEmpty(err error) bool

地址不能为空

func IsCartePlatformNode

func IsCartePlatformNode(err error) bool

地址不能为空

func IsMasterNodeMustIncludeServerInformation

func IsMasterNodeMustIncludeServerInformation(err error) bool

主节点必须包含服务器信息

func IsNodeContainsChildNodesUnderIt

func IsNodeContainsChildNodesUnderIt(err error) bool

节点下包含可用的代理节点无法删除

func IsNodeIsExistError

func IsNodeIsExistError(err error) bool

节点已存在

func IsNodeNotFound

func IsNodeNotFound(err error) bool

节点信息未找到

func IsProxyNodeMustSpecifyTheMasterNode

func IsProxyNodeMustSpecifyTheMasterNode(err error) bool

代理节点必须指定主节点

func IsResetKeyError

func IsResetKeyError(err error) bool

c重置密钥失败

func IsSetDefaultNodeError

func IsSetDefaultNodeError(err error) bool

设置默认节点失败

func IsTheEndTimeCannotBeLessThanTheStartTime

func IsTheEndTimeCannotBeLessThanTheStartTime(err error) bool

结束时间不能小于开始时间

func IsTimeControlledNodesMustSpecifyTime

func IsTimeControlledNodesMustSpecifyTime(err error) bool

受时间控制的节点必须指定时间

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

Cause function returns cause value.

func (AddNodeReplyValidationError) Error

Error satisfies the builtin error interface

func (AddNodeReplyValidationError) ErrorName

func (e AddNodeReplyValidationError) ErrorName() string

ErrorName returns error name.

func (AddNodeReplyValidationError) Field

Field function returns field value.

func (AddNodeReplyValidationError) Key

Key function returns key value.

func (AddNodeReplyValidationError) Reason

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"`                                      // 腾讯音视频密钥
	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 (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

Error satisfies the builtin error interface

func (AddNodeReqValidationError) ErrorName

func (e AddNodeReqValidationError) ErrorName() string

ErrorName returns error name.

func (AddNodeReqValidationError) Field

Field function returns field value.

func (AddNodeReqValidationError) Key

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

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

Cause function returns cause value.

func (AddPlatformNodeReplyValidationError) Error

Error satisfies the builtin error interface

func (AddPlatformNodeReplyValidationError) ErrorName

ErrorName returns error name.

func (AddPlatformNodeReplyValidationError) Field

Field function returns field value.

func (AddPlatformNodeReplyValidationError) Key

Key function returns key value.

func (AddPlatformNodeReplyValidationError) Reason

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

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

Cause function returns cause value.

func (AddPlatformNodeReqValidationError) Error

Error satisfies the builtin error interface

func (AddPlatformNodeReqValidationError) ErrorName

ErrorName returns error name.

func (AddPlatformNodeReqValidationError) Field

Field function returns field value.

func (AddPlatformNodeReqValidationError) Key

Key function returns key value.

func (AddPlatformNodeReqValidationError) Reason

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

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

Cause function returns cause value.

func (DelPlatformNodeReplyValidationError) Error

Error satisfies the builtin error interface

func (DelPlatformNodeReplyValidationError) ErrorName

ErrorName returns error name.

func (DelPlatformNodeReplyValidationError) Field

Field function returns field value.

func (DelPlatformNodeReplyValidationError) Key

Key function returns key value.

func (DelPlatformNodeReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DelPlatformNodeReqValidationError) Error

Error satisfies the builtin error interface

func (DelPlatformNodeReqValidationError) ErrorName

ErrorName returns error name.

func (DelPlatformNodeReqValidationError) Field

Field function returns field value.

func (DelPlatformNodeReqValidationError) Key

Key function returns key value.

func (DelPlatformNodeReqValidationError) Reason

Reason function returns reason value.

type DelReply

type DelReply struct {
	// contains filtered or unexported fields
}

func (*DelReply) Descriptor deprecated

func (*DelReply) Descriptor() ([]byte, []int)

Deprecated: Use DelReply.ProtoReflect.Descriptor instead.

func (*DelReply) ProtoMessage

func (*DelReply) ProtoMessage()

func (*DelReply) ProtoReflect

func (x *DelReply) ProtoReflect() protoreflect.Message

func (*DelReply) Reset

func (x *DelReply) Reset()

func (*DelReply) String

func (x *DelReply) String() string

func (*DelReply) Validate

func (m *DelReply) Validate() error

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

func (m *DelReply) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use DelReq.ProtoReflect.Descriptor instead.

func (*DelReq) GetNodeId

func (x *DelReq) GetNodeId() string

func (*DelReq) ProtoMessage

func (*DelReq) ProtoMessage()

func (*DelReq) ProtoReflect

func (x *DelReq) ProtoReflect() protoreflect.Message

func (*DelReq) Reset

func (x *DelReq) Reset()

func (*DelReq) String

func (x *DelReq) String() string

func (*DelReq) Validate

func (m *DelReq) Validate() error

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

func (m *DelReq) ValidateAll() error

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

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

Cause function returns cause value.

func (DistributeInfoReplyValidationError) Error

Error satisfies the builtin error interface

func (DistributeInfoReplyValidationError) ErrorName

ErrorName returns error name.

func (DistributeInfoReplyValidationError) Field

Field function returns field value.

func (DistributeInfoReplyValidationError) Key

Key function returns key value.

func (DistributeInfoReplyValidationError) Reason

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

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

Cause function returns cause value.

func (EditPlatformNodeReplyValidationError) Error

Error satisfies the builtin error interface

func (EditPlatformNodeReplyValidationError) ErrorName

ErrorName returns error name.

func (EditPlatformNodeReplyValidationError) Field

Field function returns field value.

func (EditPlatformNodeReplyValidationError) Key

Key function returns key value.

func (EditPlatformNodeReplyValidationError) Reason

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

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

Cause function returns cause value.

func (EditPlatformNodeReqValidationError) Error

Error satisfies the builtin error interface

func (EditPlatformNodeReqValidationError) ErrorName

ErrorName returns error name.

func (EditPlatformNodeReqValidationError) Field

Field function returns field value.

func (EditPlatformNodeReqValidationError) Key

Key function returns key value.

func (EditPlatformNodeReqValidationError) Reason

Reason function returns reason value.

type EditReply

type EditReply struct {
	// contains filtered or unexported fields
}

func (*EditReply) Descriptor deprecated

func (*EditReply) Descriptor() ([]byte, []int)

Deprecated: Use EditReply.ProtoReflect.Descriptor instead.

func (*EditReply) ProtoMessage

func (*EditReply) ProtoMessage()

func (*EditReply) ProtoReflect

func (x *EditReply) ProtoReflect() protoreflect.Message

func (*EditReply) Reset

func (x *EditReply) Reset()

func (*EditReply) String

func (x *EditReply) String() string

func (*EditReply) Validate

func (m *EditReply) Validate() error

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

func (m *EditReply) ValidateAll() error

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

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"`            // 腾讯音视频密钥
	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) Descriptor() ([]byte, []int)

Deprecated: Use EditReq.ProtoReflect.Descriptor instead.

func (*EditReq) GetAvAppid

func (x *EditReq) GetAvAppid() string

func (*EditReq) GetAvSecret

func (x *EditReq) GetAvSecret() string

func (*EditReq) GetCode

func (x *EditReq) GetCode() string

func (*EditReq) GetImApiUrl

func (x *EditReq) GetImApiUrl() string

func (*EditReq) GetImWsUrl

func (x *EditReq) GetImWsUrl() string
func (x *EditReq) GetLogo() string

func (*EditReq) GetMasterApi

func (x *EditReq) GetMasterApi() string

func (*EditReq) GetName

func (x *EditReq) GetName() string

func (*EditReq) GetNodeId

func (x *EditReq) GetNodeId() string

func (*EditReq) GetPromotionCode

func (x *EditReq) GetPromotionCode() string

func (*EditReq) GetSort

func (x *EditReq) GetSort() int32

func (*EditReq) GetVersion

func (x *EditReq) GetVersion() string

func (*EditReq) ProtoMessage

func (*EditReq) ProtoMessage()

func (*EditReq) ProtoReflect

func (x *EditReq) ProtoReflect() protoreflect.Message

func (*EditReq) Reset

func (x *EditReq) Reset()

func (*EditReq) String

func (x *EditReq) String() string

func (*EditReq) Validate

func (m *EditReq) Validate() error

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

func (m *EditReq) ValidateAll() error

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

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

Cause function returns cause value.

func (EditStatusReplyValidationError) Error

Error satisfies the builtin error interface

func (EditStatusReplyValidationError) ErrorName

func (e EditStatusReplyValidationError) ErrorName() string

ErrorName returns error name.

func (EditStatusReplyValidationError) Field

Field function returns field value.

func (EditStatusReplyValidationError) Key

Key function returns key value.

func (EditStatusReplyValidationError) Reason

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

Cause function returns cause value.

func (EditStatusReqValidationError) Error

Error satisfies the builtin error interface

func (EditStatusReqValidationError) ErrorName

func (e EditStatusReqValidationError) ErrorName() string

ErrorName returns error name.

func (EditStatusReqValidationError) Field

Field function returns field value.

func (EditStatusReqValidationError) Key

Key function returns key value.

func (EditStatusReqValidationError) Reason

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

func (x ErrorNodeReason) Enum() *ErrorNodeReason

func (ErrorNodeReason) EnumDescriptor deprecated

func (ErrorNodeReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use ErrorNodeReason.Descriptor instead.

func (ErrorNodeReason) Number

func (ErrorNodeReason) String

func (x ErrorNodeReason) String() string

func (ErrorNodeReason) Type

type ErrorPlatFormNodeReason

type ErrorPlatFormNodeReason int32
const (
	// 地址不能为空
	ErrorPlatFormNodeReason_ADDRESS_NOI_EMPTY ErrorPlatFormNodeReason = 0
	// 地址不能为空
	ErrorPlatFormNodeReason_CARTE_PLATFORM_NODE ErrorPlatFormNodeReason = 1
)

func (ErrorPlatFormNodeReason) Descriptor

func (ErrorPlatFormNodeReason) Enum

func (ErrorPlatFormNodeReason) EnumDescriptor deprecated

func (ErrorPlatFormNodeReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use ErrorPlatFormNodeReason.Descriptor instead.

func (ErrorPlatFormNodeReason) Number

func (ErrorPlatFormNodeReason) String

func (x ErrorPlatFormNodeReason) String() string

func (ErrorPlatFormNodeReason) Type

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

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

Cause function returns cause value.

func (EscalationReplyValidationError) Error

Error satisfies the builtin error interface

func (EscalationReplyValidationError) ErrorName

func (e EscalationReplyValidationError) ErrorName() string

ErrorName returns error name.

func (EscalationReplyValidationError) Field

Field function returns field value.

func (EscalationReplyValidationError) Key

Key function returns key value.

func (EscalationReplyValidationError) Reason

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

Cause function returns cause value.

func (EscalationReqValidationError) Error

Error satisfies the builtin error interface

func (EscalationReqValidationError) ErrorName

func (e EscalationReqValidationError) ErrorName() string

ErrorName returns error name.

func (EscalationReqValidationError) Field

Field function returns field value.

func (EscalationReqValidationError) Key

Key function returns key value.

func (EscalationReqValidationError) Reason

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

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

Cause function returns cause value.

func (GetAllAddressReplyValidationError) Error

Error satisfies the builtin error interface

func (GetAllAddressReplyValidationError) ErrorName

ErrorName returns error name.

func (GetAllAddressReplyValidationError) Field

Field function returns field value.

func (GetAllAddressReplyValidationError) Key

Key function returns key value.

func (GetAllAddressReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetAllAddressReqValidationError) Error

Error satisfies the builtin error interface

func (GetAllAddressReqValidationError) ErrorName

ErrorName returns error name.

func (GetAllAddressReqValidationError) Field

Field function returns field value.

func (GetAllAddressReqValidationError) Key

Key function returns key value.

func (GetAllAddressReqValidationError) Reason

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

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

Cause function returns cause value.

func (GetAllListReplyValidationError) Error

Error satisfies the builtin error interface

func (GetAllListReplyValidationError) ErrorName

func (e GetAllListReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetAllListReplyValidationError) Field

Field function returns field value.

func (GetAllListReplyValidationError) Key

Key function returns key value.

func (GetAllListReplyValidationError) Reason

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

Cause function returns cause value.

func (GetAllListReqValidationError) Error

Error satisfies the builtin error interface

func (GetAllListReqValidationError) ErrorName

func (e GetAllListReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetAllListReqValidationError) Field

Field function returns field value.

func (GetAllListReqValidationError) Key

Key function returns key value.

func (GetAllListReqValidationError) Reason

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

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

Cause function returns cause value.

func (GetAllMasterListReplyValidationError) Error

Error satisfies the builtin error interface

func (GetAllMasterListReplyValidationError) ErrorName

ErrorName returns error name.

func (GetAllMasterListReplyValidationError) Field

Field function returns field value.

func (GetAllMasterListReplyValidationError) Key

Key function returns key value.

func (GetAllMasterListReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetAllMasterListReqValidationError) Error

Error satisfies the builtin error interface

func (GetAllMasterListReqValidationError) ErrorName

ErrorName returns error name.

func (GetAllMasterListReqValidationError) Field

Field function returns field value.

func (GetAllMasterListReqValidationError) Key

Key function returns key value.

func (GetAllMasterListReqValidationError) Reason

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

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

Cause function returns cause value.

func (GetDefNodeNodeReplyValidationError) Error

Error satisfies the builtin error interface

func (GetDefNodeNodeReplyValidationError) ErrorName

ErrorName returns error name.

func (GetDefNodeNodeReplyValidationError) Field

Field function returns field value.

func (GetDefNodeNodeReplyValidationError) Key

Key function returns key value.

func (GetDefNodeNodeReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetDefNodeNodeReqValidationError) Error

Error satisfies the builtin error interface

func (GetDefNodeNodeReqValidationError) ErrorName

ErrorName returns error name.

func (GetDefNodeNodeReqValidationError) Field

Field function returns field value.

func (GetDefNodeNodeReqValidationError) Key

Key function returns key value.

func (GetDefNodeNodeReqValidationError) Reason

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

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

Cause function returns cause value.

func (GetDistributeInfoReqValidationError) Error

Error satisfies the builtin error interface

func (GetDistributeInfoReqValidationError) ErrorName

ErrorName returns error name.

func (GetDistributeInfoReqValidationError) Field

Field function returns field value.

func (GetDistributeInfoReqValidationError) Key

Key function returns key value.

func (GetDistributeInfoReqValidationError) Reason

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

Cause function returns cause value.

func (GetInfoReplyValidationError) Error

Error satisfies the builtin error interface

func (GetInfoReplyValidationError) ErrorName

func (e GetInfoReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetInfoReplyValidationError) Field

Field function returns field value.

func (GetInfoReplyValidationError) Key

Key function returns key value.

func (GetInfoReplyValidationError) Reason

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

Error satisfies the builtin error interface

func (GetInfoReqValidationError) ErrorName

func (e GetInfoReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetInfoReqValidationError) Field

Field function returns field value.

func (GetInfoReqValidationError) Key

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

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

Cause function returns cause value.

func (GetListPlatformNodeReplyValidationError) Error

Error satisfies the builtin error interface

func (GetListPlatformNodeReplyValidationError) ErrorName

ErrorName returns error name.

func (GetListPlatformNodeReplyValidationError) Field

Field function returns field value.

func (GetListPlatformNodeReplyValidationError) Key

Key function returns key value.

func (GetListPlatformNodeReplyValidationError) Reason

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

Cause function returns cause value.

func (GetListReplyValidationError) Error

Error satisfies the builtin error interface

func (GetListReplyValidationError) ErrorName

func (e GetListReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetListReplyValidationError) Field

Field function returns field value.

func (GetListReplyValidationError) Key

Key function returns key value.

func (GetListReplyValidationError) Reason

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

Error satisfies the builtin error interface

func (GetListReqValidationError) ErrorName

func (e GetListReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetListReqValidationError) Field

Field function returns field value.

func (GetListReqValidationError) Key

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

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

Cause function returns cause value.

func (GetMasterInfoReplyValidationError) Error

Error satisfies the builtin error interface

func (GetMasterInfoReplyValidationError) ErrorName

ErrorName returns error name.

func (GetMasterInfoReplyValidationError) Field

Field function returns field value.

func (GetMasterInfoReplyValidationError) Key

Key function returns key value.

func (GetMasterInfoReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetMasterInfoReqValidationError) Error

Error satisfies the builtin error interface

func (GetMasterInfoReqValidationError) ErrorName

ErrorName returns error name.

func (GetMasterInfoReqValidationError) Field

Field function returns field value.

func (GetMasterInfoReqValidationError) Key

Key function returns key value.

func (GetMasterInfoReqValidationError) Reason

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

AllErrors returns a list of validation violation errors.

func (GetMasterNodeDetailsReplyMultiError) Error

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

Cause function returns cause value.

func (GetMasterNodeDetailsReplyValidationError) Error

Error satisfies the builtin error interface

func (GetMasterNodeDetailsReplyValidationError) ErrorName

ErrorName returns error name.

func (GetMasterNodeDetailsReplyValidationError) Field

Field function returns field value.

func (GetMasterNodeDetailsReplyValidationError) Key

Key function returns key value.

func (GetMasterNodeDetailsReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetMasterNodeDetailsReqValidationError) Error

Error satisfies the builtin error interface

func (GetMasterNodeDetailsReqValidationError) ErrorName

ErrorName returns error name.

func (GetMasterNodeDetailsReqValidationError) Field

Field function returns field value.

func (GetMasterNodeDetailsReqValidationError) Key

Key function returns key value.

func (GetMasterNodeDetailsReqValidationError) Reason

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

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

Cause function returns cause value.

func (GetMasterSyncInfoReplyValidationError) Error

Error satisfies the builtin error interface

func (GetMasterSyncInfoReplyValidationError) ErrorName

ErrorName returns error name.

func (GetMasterSyncInfoReplyValidationError) Field

Field function returns field value.

func (GetMasterSyncInfoReplyValidationError) Key

Key function returns key value.

func (GetMasterSyncInfoReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetMasterSyncInfoReqValidationError) Error

Error satisfies the builtin error interface

func (GetMasterSyncInfoReqValidationError) ErrorName

ErrorName returns error name.

func (GetMasterSyncInfoReqValidationError) Field

Field function returns field value.

func (GetMasterSyncInfoReqValidationError) Key

Key function returns key value.

func (GetMasterSyncInfoReqValidationError) Reason

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

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

Cause function returns cause value.

func (GetNodeByCodeReplyValidationError) Error

Error satisfies the builtin error interface

func (GetNodeByCodeReplyValidationError) ErrorName

ErrorName returns error name.

func (GetNodeByCodeReplyValidationError) Field

Field function returns field value.

func (GetNodeByCodeReplyValidationError) Key

Key function returns key value.

func (GetNodeByCodeReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetNodeByCodeReqValidationError) Error

Error satisfies the builtin error interface

func (GetNodeByCodeReqValidationError) ErrorName

ErrorName returns error name.

func (GetNodeByCodeReqValidationError) Field

Field function returns field value.

func (GetNodeByCodeReqValidationError) Key

Key function returns key value.

func (GetNodeByCodeReqValidationError) Reason

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

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

Cause function returns cause value.

func (GetNodeByIDReplyValidationError) Error

Error satisfies the builtin error interface

func (GetNodeByIDReplyValidationError) ErrorName

ErrorName returns error name.

func (GetNodeByIDReplyValidationError) Field

Field function returns field value.

func (GetNodeByIDReplyValidationError) Key

Key function returns key value.

func (GetNodeByIDReplyValidationError) Reason

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

Cause function returns cause value.

func (GetNodeByIDReqValidationError) Error

Error satisfies the builtin error interface

func (GetNodeByIDReqValidationError) ErrorName

func (e GetNodeByIDReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetNodeByIDReqValidationError) Field

Field function returns field value.

func (GetNodeByIDReqValidationError) Key

Key function returns key value.

func (GetNodeByIDReqValidationError) Reason

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

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

Cause function returns cause value.

func (GetNodesAndManagersReplyValidationError) Error

Error satisfies the builtin error interface

func (GetNodesAndManagersReplyValidationError) ErrorName

ErrorName returns error name.

func (GetNodesAndManagersReplyValidationError) Field

Field function returns field value.

func (GetNodesAndManagersReplyValidationError) Key

Key function returns key value.

func (GetNodesAndManagersReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetNodesAndManagersReqValidationError) Error

Error satisfies the builtin error interface

func (GetNodesAndManagersReqValidationError) ErrorName

ErrorName returns error name.

func (GetNodesAndManagersReqValidationError) Field

Field function returns field value.

func (GetNodesAndManagersReqValidationError) Key

Key function returns key value.

func (GetNodesAndManagersReqValidationError) Reason

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

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

Cause function returns cause value.

func (GetPlatformNodeListReqValidationError) Error

Error satisfies the builtin error interface

func (GetPlatformNodeListReqValidationError) ErrorName

ErrorName returns error name.

func (GetPlatformNodeListReqValidationError) Field

Field function returns field value.

func (GetPlatformNodeListReqValidationError) Key

Key function returns key value.

func (GetPlatformNodeListReqValidationError) Reason

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

Cause function returns cause value.

func (NodeAndManagerValidationError) Error

Error satisfies the builtin error interface

func (NodeAndManagerValidationError) ErrorName

func (e NodeAndManagerValidationError) ErrorName() string

ErrorName returns error name.

func (NodeAndManagerValidationError) Field

Field function returns field value.

func (NodeAndManagerValidationError) Key

Key function returns key value.

func (NodeAndManagerValidationError) Reason

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

Cause function returns cause value.

func (NodeDetailsValidationError) Error

Error satisfies the builtin error interface

func (NodeDetailsValidationError) ErrorName

func (e NodeDetailsValidationError) ErrorName() string

ErrorName returns error name.

func (NodeDetailsValidationError) Field

Field function returns field value.

func (NodeDetailsValidationError) Key

Key function returns key value.

func (NodeDetailsValidationError) Reason

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

type NodeType

type NodeType int32

节点类型

const (
	NodeType_IndependentNode NodeType = 0 //独立节点
	NodeType_ProxyNode       NodeType = 1 //代理节点
)

func (NodeType) Descriptor

func (NodeType) Descriptor() protoreflect.EnumDescriptor

func (NodeType) Enum

func (x NodeType) Enum() *NodeType

func (NodeType) EnumDescriptor deprecated

func (NodeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use NodeType.Descriptor instead.

func (NodeType) Number

func (x NodeType) Number() protoreflect.EnumNumber

func (NodeType) String

func (x NodeType) String() string

func (NodeType) Type

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 服务

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

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

Cause function returns cause value.

func (PlatformNodeInfoValidationError) Error

Error satisfies the builtin error interface

func (PlatformNodeInfoValidationError) ErrorName

ErrorName returns error name.

func (PlatformNodeInfoValidationError) Field

Field function returns field value.

func (PlatformNodeInfoValidationError) Key

Key function returns key value.

func (PlatformNodeInfoValidationError) Reason

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

Cause function returns cause value.

func (ResetKeyReplyValidationError) Error

Error satisfies the builtin error interface

func (ResetKeyReplyValidationError) ErrorName

func (e ResetKeyReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ResetKeyReplyValidationError) Field

Field function returns field value.

func (ResetKeyReplyValidationError) Key

Key function returns key value.

func (ResetKeyReplyValidationError) Reason

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

Cause function returns cause value.

func (ResetKeyReqValidationError) Error

Error satisfies the builtin error interface

func (ResetKeyReqValidationError) ErrorName

func (e ResetKeyReqValidationError) ErrorName() string

ErrorName returns error name.

func (ResetKeyReqValidationError) Field

Field function returns field value.

func (ResetKeyReqValidationError) Key

Key function returns key value.

func (ResetKeyReqValidationError) Reason

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

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

Cause function returns cause value.

func (SetDefNodeNodeReplyValidationError) Error

Error satisfies the builtin error interface

func (SetDefNodeNodeReplyValidationError) ErrorName

ErrorName returns error name.

func (SetDefNodeNodeReplyValidationError) Field

Field function returns field value.

func (SetDefNodeNodeReplyValidationError) Key

Key function returns key value.

func (SetDefNodeNodeReplyValidationError) Reason

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

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

Cause function returns cause value.

func (SetDefNodeNodeReqValidationError) Error

Error satisfies the builtin error interface

func (SetDefNodeNodeReqValidationError) ErrorName

ErrorName returns error name.

func (SetDefNodeNodeReqValidationError) Field

Field function returns field value.

func (SetDefNodeNodeReqValidationError) Key

Key function returns key value.

func (SetDefNodeNodeReqValidationError) Reason

Reason function returns reason value.

type UnimplementedNodeServer

type UnimplementedNodeServer struct {
}

UnimplementedNodeServer must be embedded to have forward compatible implementations.

func (UnimplementedNodeServer) Add

func (UnimplementedNodeServer) Del

func (UnimplementedNodeServer) Edit

func (UnimplementedNodeServer) EditStatus

func (UnimplementedNodeServer) Escalation

func (UnimplementedNodeServer) GetAllList

func (UnimplementedNodeServer) GetAllMasterList

func (UnimplementedNodeServer) GetDefNodeNode

func (UnimplementedNodeServer) GetDistributeInfo

func (UnimplementedNodeServer) GetInfo

func (UnimplementedNodeServer) GetInfoAndManager

func (UnimplementedNodeServer) GetList

func (UnimplementedNodeServer) GetMasterInfo

func (UnimplementedNodeServer) GetMasterNodeDetails

func (UnimplementedNodeServer) GetMasterSyncInfo

func (UnimplementedNodeServer) GetNodeByCode

func (UnimplementedNodeServer) GetNodeByID

func (UnimplementedNodeServer) GetNodesAndManagers

func (UnimplementedNodeServer) ResetKey

func (UnimplementedNodeServer) SetDefNodeNode

type UnimplementedPlatformNodeServer

type UnimplementedPlatformNodeServer struct {
}

UnimplementedPlatformNodeServer must be embedded to have forward compatible implementations.

func (UnimplementedPlatformNodeServer) Add

func (UnimplementedPlatformNodeServer) Del

func (UnimplementedPlatformNodeServer) Edit

func (UnimplementedPlatformNodeServer) GetAllAddress

func (UnimplementedPlatformNodeServer) GetList

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.

Jump to

Keyboard shortcuts

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