Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node interface {
node.ServiceNode
// Health returns the health for this node
Health() (NodeHealth, error)
// Bootstrapped returns whether the node is bootstrapped
Bootstrapped() bool
}
Node represents a ServiceNode pointing to an M3DB process
type NodeHealth ¶
NodeHealth provides Health information for a M3DB node
type Options ¶
type Options interface {
// Validate validates the Options
Validate() error
// SetInstrumentOptions sets the instrumentation options
SetInstrumentOptions(instrument.Options) Options
// InstrumentOptions returns the instrumentation options
InstrumentOptions() instrument.Options
// SetNodeOptions sets the node options
SetNodeOptions(node.Options) Options
// NodeOptions returns the node options
NodeOptions() node.Options
}
Options represent the knobs to control m3db.Node behavior
func NewOptions ¶
func NewOptions( iopts instrument.Options, ) Options
NewOptions returns a new Options construct.
Click to show internal directories.
Click to hide internal directories.