Documentation
¶
Index ¶
- Variables
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetLeader() bool
- func (x *Node) GetName() string
- func (x *Node) GetPeers() []string
- func (x *Node) GetTopics() []string
- func (x *Node) GetVersion() string
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_arrebato_node_v1_node_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { // Whether or not the node is the leader of the cluster. Leader bool `protobuf:"varint,1,opt,name=leader,proto3" json:"leader,omitempty"` // Peers known to the node. Peers []string `protobuf:"bytes,2,rep,name=peers,proto3" json:"peers,omitempty"` // The name of the node. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // The version of the node. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // The topics assigned to the node. Topics []string `protobuf:"bytes,5,rep,name=topics,proto3" json:"topics,omitempty"` // contains filtered or unexported fields }
The Node message describes a single node within the cluster.
func (*Node) Descriptor
deprecated
func (*Node) GetVersion ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.