node

package
v0.0.0-...-28a77dd Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = cli.Command{
	Name:                   "node",
	Aliases:                []string{"nodes"},
	Usage:                  "Shows high-level information about nodes in a cluster.",
	Description:            "For more information: https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html",
	Action:                 ctl.NewAction(nodes),
	UseShortOptionHandling: true,
	Subcommands: []cli.Command{
		{
			Name:                   "allocation",
			Aliases:                []string{"alloc"},
			Usage:                  "Provides a snapshot of the number of shards allocated to each data node and their disk space.",
			Description:            "For more information: https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-allocation.html",
			Action:                 ctl.NewAction(allocation),
			UseShortOptionHandling: true,
		},
	},
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "sort",
			Usage: "Sort output in format column[:order].",
			Value: "name",
		},
		cli.BoolFlag{
			Name:  "master, m",
			Usage: "Show master nodes",
		},
		cli.BoolFlag{
			Name:  "data, d",
			Usage: "Show data nodes",
		},
		cli.BoolFlag{
			Name:  "ingest, i",
			Usage: "Show ingest nodes",
		},
		cli.BoolFlag{
			Name:  "transform, t",
			Usage: "Show transform nodes",
		},
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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