fetchnodestate

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

type Host struct {
	VNode string // vertica node name (e.g. v_vertdb_node0001)
	IP    string // Last known IP address
}

Host has information about a single host to get state for

type Option

type Option func(*Parms)

func WithHost

func WithHost(vnode, ip string) Option

func WithInitiator

func WithInitiator(nm types.NamespacedName, ip string) Option

type Parms

type Parms struct {
	DBName      string
	Initiator   types.NamespacedName
	InitiatorIP string
	Hosts       []Host
	HostsNeeded map[string]bool // The set of hosts that are in the Hosts list
}

Parms holds all of the options for FetchNodeState API call.

func (*Parms) Make

func (s *Parms) Make(opts ...Option) error

Make will fill in the Parms based on the options chosen

Jump to

Keyboard shortcuts

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