Documentation
¶
Index ¶
- type Control
- type Health
- type Node
- type Nodes
- func (nodes *Nodes) Add(node *Node)
- func (nodes *Nodes) AddOrUpdate(node *Node)
- func (nodes *Nodes) Find(node *Node) *Node
- func (nodes *Nodes) FindById(id uint64) *Node
- func (nodes *Nodes) GenerateID() uint64
- func (nodes *Nodes) NewNode(nodeName string, url string, API string) *Node
- func (nodes *Nodes) Remove(node *Node)
- func (nodes *Nodes) ToString() []string
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { NodeID uint64 NodeName string API string URL string ConfChange raftpb.ConfChange `yaml:"-" json:"-"` State State Version *version.Version }
func NewNodeDefinition ¶ added in v0.1.30
func (*Node) SetUpgrade ¶ added in v0.1.42
type Nodes ¶
type Nodes struct {
Nodes []*Node
}
func (*Nodes) AddOrUpdate ¶ added in v0.1.42
func (*Nodes) GenerateID ¶ added in v0.1.42
Click to show internal directories.
Click to hide internal directories.