Documentation
¶
Overview ¶
Package centralpb is a generated protocol buffer package.
It is generated from these files:
types.proto
It has these top-level messages:
RegisterAgentReq RegisterAgentRes ListAgentReq ListAgentRes AgentHeartbeatReq AgentHeartbeatRes
Index ¶
- Variables
- type AgentHeartbeatReq
- func (*AgentHeartbeatReq) Descriptor() ([]byte, []int)
- func (m *AgentHeartbeatReq) Marshal() (dAtA []byte, err error)
- func (m *AgentHeartbeatReq) MarshalTo(dAtA []byte) (int, error)
- func (*AgentHeartbeatReq) ProtoMessage()
- func (m *AgentHeartbeatReq) Reset()
- func (m *AgentHeartbeatReq) Size() (n int)
- func (m *AgentHeartbeatReq) String() string
- func (m *AgentHeartbeatReq) Unmarshal(dAtA []byte) error
- type AgentHeartbeatRes
- func (*AgentHeartbeatRes) Descriptor() ([]byte, []int)
- func (m *AgentHeartbeatRes) Marshal() (dAtA []byte, err error)
- func (m *AgentHeartbeatRes) MarshalTo(dAtA []byte) (int, error)
- func (*AgentHeartbeatRes) ProtoMessage()
- func (m *AgentHeartbeatRes) Reset()
- func (m *AgentHeartbeatRes) Size() (n int)
- func (m *AgentHeartbeatRes) String() string
- func (m *AgentHeartbeatRes) Unmarshal(dAtA []byte) error
- type ListAgentReq
- func (*ListAgentReq) Descriptor() ([]byte, []int)
- func (m *ListAgentReq) Marshal() (dAtA []byte, err error)
- func (m *ListAgentReq) MarshalTo(dAtA []byte) (int, error)
- func (*ListAgentReq) ProtoMessage()
- func (m *ListAgentReq) Reset()
- func (m *ListAgentReq) Size() (n int)
- func (m *ListAgentReq) String() string
- func (m *ListAgentReq) Unmarshal(dAtA []byte) error
- type ListAgentRes
- func (*ListAgentRes) Descriptor() ([]byte, []int)
- func (m *ListAgentRes) Marshal() (dAtA []byte, err error)
- func (m *ListAgentRes) MarshalTo(dAtA []byte) (int, error)
- func (*ListAgentRes) ProtoMessage()
- func (m *ListAgentRes) Reset()
- func (m *ListAgentRes) Size() (n int)
- func (m *ListAgentRes) String() string
- func (m *ListAgentRes) Unmarshal(dAtA []byte) error
- type RegisterAgentReq
- func (*RegisterAgentReq) Descriptor() ([]byte, []int)
- func (m *RegisterAgentReq) Marshal() (dAtA []byte, err error)
- func (m *RegisterAgentReq) MarshalTo(dAtA []byte) (int, error)
- func (*RegisterAgentReq) ProtoMessage()
- func (m *RegisterAgentReq) Reset()
- func (m *RegisterAgentReq) Size() (n int)
- func (m *RegisterAgentReq) String() string
- func (m *RegisterAgentReq) Unmarshal(dAtA []byte) error
- type RegisterAgentRes
- func (*RegisterAgentRes) Descriptor() ([]byte, []int)
- func (m *RegisterAgentRes) Marshal() (dAtA []byte, err error)
- func (m *RegisterAgentRes) MarshalTo(dAtA []byte) (int, error)
- func (*RegisterAgentRes) ProtoMessage()
- func (m *RegisterAgentRes) Reset()
- func (m *RegisterAgentRes) Size() (n int)
- func (m *RegisterAgentRes) String() string
- func (m *RegisterAgentRes) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type AgentHeartbeatReq ¶
type AgentHeartbeatReq struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Status bhcommon.NodeStatus `protobuf:"bytes,2,opt,name=status" json:"status"`
}
func (*AgentHeartbeatReq) Descriptor ¶
func (*AgentHeartbeatReq) Descriptor() ([]byte, []int)
func (*AgentHeartbeatReq) Marshal ¶
func (m *AgentHeartbeatReq) Marshal() (dAtA []byte, err error)
func (*AgentHeartbeatReq) MarshalTo ¶
func (m *AgentHeartbeatReq) MarshalTo(dAtA []byte) (int, error)
func (*AgentHeartbeatReq) ProtoMessage ¶
func (*AgentHeartbeatReq) ProtoMessage()
func (*AgentHeartbeatReq) Reset ¶
func (m *AgentHeartbeatReq) Reset()
func (*AgentHeartbeatReq) Size ¶
func (m *AgentHeartbeatReq) Size() (n int)
func (*AgentHeartbeatReq) String ¶
func (m *AgentHeartbeatReq) String() string
func (*AgentHeartbeatReq) Unmarshal ¶
func (m *AgentHeartbeatReq) Unmarshal(dAtA []byte) error
type AgentHeartbeatRes ¶
type AgentHeartbeatRes struct {
}
func (*AgentHeartbeatRes) Descriptor ¶
func (*AgentHeartbeatRes) Descriptor() ([]byte, []int)
func (*AgentHeartbeatRes) Marshal ¶
func (m *AgentHeartbeatRes) Marshal() (dAtA []byte, err error)
func (*AgentHeartbeatRes) MarshalTo ¶
func (m *AgentHeartbeatRes) MarshalTo(dAtA []byte) (int, error)
func (*AgentHeartbeatRes) ProtoMessage ¶
func (*AgentHeartbeatRes) ProtoMessage()
func (*AgentHeartbeatRes) Reset ¶
func (m *AgentHeartbeatRes) Reset()
func (*AgentHeartbeatRes) Size ¶
func (m *AgentHeartbeatRes) Size() (n int)
func (*AgentHeartbeatRes) String ¶
func (m *AgentHeartbeatRes) String() string
func (*AgentHeartbeatRes) Unmarshal ¶
func (m *AgentHeartbeatRes) Unmarshal(dAtA []byte) error
type ListAgentReq ¶
type ListAgentReq struct {
}
func (*ListAgentReq) Descriptor ¶
func (*ListAgentReq) Descriptor() ([]byte, []int)
func (*ListAgentReq) Marshal ¶
func (m *ListAgentReq) Marshal() (dAtA []byte, err error)
func (*ListAgentReq) ProtoMessage ¶
func (*ListAgentReq) ProtoMessage()
func (*ListAgentReq) Reset ¶
func (m *ListAgentReq) Reset()
func (*ListAgentReq) Size ¶
func (m *ListAgentReq) Size() (n int)
func (*ListAgentReq) String ¶
func (m *ListAgentReq) String() string
func (*ListAgentReq) Unmarshal ¶
func (m *ListAgentReq) Unmarshal(dAtA []byte) error
type ListAgentRes ¶
type ListAgentRes struct {
Agents []bhcommon.Node `protobuf:"bytes,1,rep,name=agents" json:"agents"`
}
func (*ListAgentRes) Descriptor ¶
func (*ListAgentRes) Descriptor() ([]byte, []int)
func (*ListAgentRes) Marshal ¶
func (m *ListAgentRes) Marshal() (dAtA []byte, err error)
func (*ListAgentRes) ProtoMessage ¶
func (*ListAgentRes) ProtoMessage()
func (*ListAgentRes) Reset ¶
func (m *ListAgentRes) Reset()
func (*ListAgentRes) Size ¶
func (m *ListAgentRes) Size() (n int)
func (*ListAgentRes) String ¶
func (m *ListAgentRes) String() string
func (*ListAgentRes) Unmarshal ¶
func (m *ListAgentRes) Unmarshal(dAtA []byte) error
type RegisterAgentReq ¶
func (*RegisterAgentReq) Descriptor ¶
func (*RegisterAgentReq) Descriptor() ([]byte, []int)
func (*RegisterAgentReq) Marshal ¶
func (m *RegisterAgentReq) Marshal() (dAtA []byte, err error)
func (*RegisterAgentReq) ProtoMessage ¶
func (*RegisterAgentReq) ProtoMessage()
func (*RegisterAgentReq) Reset ¶
func (m *RegisterAgentReq) Reset()
func (*RegisterAgentReq) Size ¶
func (m *RegisterAgentReq) Size() (n int)
func (*RegisterAgentReq) String ¶
func (m *RegisterAgentReq) String() string
func (*RegisterAgentReq) Unmarshal ¶
func (m *RegisterAgentReq) Unmarshal(dAtA []byte) error
type RegisterAgentRes ¶
type RegisterAgentRes struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Node bhcommon.Node `protobuf:"bytes,2,opt,name=node" json:"node"`
Central bhcommon.Node `protobuf:"bytes,3,opt,name=central" json:"central"`
}
func (*RegisterAgentRes) Descriptor ¶
func (*RegisterAgentRes) Descriptor() ([]byte, []int)
func (*RegisterAgentRes) Marshal ¶
func (m *RegisterAgentRes) Marshal() (dAtA []byte, err error)
func (*RegisterAgentRes) ProtoMessage ¶
func (*RegisterAgentRes) ProtoMessage()
func (*RegisterAgentRes) Reset ¶
func (m *RegisterAgentRes) Reset()
func (*RegisterAgentRes) Size ¶
func (m *RegisterAgentRes) Size() (n int)
func (*RegisterAgentRes) String ¶
func (m *RegisterAgentRes) String() string
func (*RegisterAgentRes) Unmarshal ¶
func (m *RegisterAgentRes) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.