Documentation
¶
Index ¶
- Variables
- type Node
- func (n *Node) API() (*network.Server, error)
- func (n *Node) EnrollExistingVoter(ctx context.Context) error
- func (n *Node) Handler() (http.Handler, error)
- func (n *Node) ObjectStoreStats() (objectstore.Stats, bool)
- func (n *Node) Open(ctx context.Context) error
- func (n *Node) Ready() bool
- func (n *Node) Shutdown() error
- func (n *Node) Start(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrVoterStateLost = errors.New("voter state continuity cannot be established") ErrVoterEnrollmentRequired = errors.New("existing voter requires offline enrollment") )
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Node is the main runtime container.
func (*Node) EnrollExistingVoter ¶ added in v0.13.0
EnrollExistingVoter registers a pre-registration WAL while all voters are offline. It neither restores missing voting state nor starts any listeners.
func (*Node) ObjectStoreStats ¶
func (n *Node) ObjectStoreStats() (objectstore.Stats, bool)
func (*Node) Open ¶
Open starts the embedded engine and its private peer transport without serving HTTP.
Click to show internal directories.
Click to hide internal directories.