centralpb

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2018 License: MIT Imports: 6 Imported by: 0

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

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

func (m *ListAgentReq) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *ListAgentRes) MarshalTo(dAtA []byte) (int, 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

type RegisterAgentReq struct {
	Node bhcommon.Node `protobuf:"bytes,1,opt,name=node" json:"node"`
}

func (*RegisterAgentReq) Descriptor

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

func (*RegisterAgentReq) Marshal

func (m *RegisterAgentReq) Marshal() (dAtA []byte, err error)

func (*RegisterAgentReq) MarshalTo

func (m *RegisterAgentReq) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *RegisterAgentRes) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

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