node

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	// contains filtered or unexported fields
}

func NewNode

func NewNode(c cluster.ClusterState, node api.Node) *Node

func (*Node) GetMember

func (n *Node) GetMember(id string) (api.Node, error)

func (*Node) Id

func (n *Node) Id() string

func (*Node) ListMembers

func (n *Node) ListMembers() ([]api.Node, error)

func (*Node) Start

func (n *Node) Start() error

func (*Node) Stop

func (n *Node) Stop()

Jump to

Keyboard shortcuts

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