noderole

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package noderole

Index

Constants

This section is empty.

Variables

View Source
var (
	Master = NodeRole{"master"}

	Data = NodeRole{"data"}

	Datacold = NodeRole{"data_cold"}

	Datacontent = NodeRole{"data_content"}

	Datafrozen = NodeRole{"data_frozen"}

	Datahot = NodeRole{"data_hot"}

	Datawarm = NodeRole{"data_warm"}

	Client = NodeRole{"client"}

	Ingest = NodeRole{"ingest"}

	Ml = NodeRole{"ml"}

	Votingonly = NodeRole{"voting_only"}

	Transform = NodeRole{"transform"}

	Remoteclusterclient = NodeRole{"remote_cluster_client"}

	Coordinatingonly = NodeRole{"coordinating_only"}
)

Functions

This section is empty.

Types

type NodeRole

type NodeRole struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/1ad7fe36297b3a8e187b2259dedaf68a47bc236e/specification/_types/Node.ts#L76-L94

func (NodeRole) MarshalText

func (n NodeRole) MarshalText() (text []byte, err error)

func (NodeRole) String

func (n NodeRole) String() string

func (*NodeRole) UnmarshalText

func (n *NodeRole) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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