get

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = cli.Command{
	Name:                   "get",
	Aliases:                []string{"ls", "cat"},
	Usage:                  "Shows one or many resources.",
	Category:               "Beginner",
	UseShortOptionHandling: true,
	Subcommands: []cli.Command{
		cluster.Command,
		index.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,
		},
		{
			Name:                   "alias",
			Aliases:                []string{"aliases"},
			Usage:                  "Shows information about currently configured aliases to indices, including filter and routing information.",
			Description:            "For more information: https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-alias.html",
			Action:                 ctl.NewAction(aliases),
			UseShortOptionHandling: true,
			Flags: []cli.Flag{
				cli.BoolFlag{
					Name:  "all, a",
					Usage: "Show all aliases",
				},
			},
		},
		{
			Name:                   "shard",
			Aliases:                []string{"shards"},
			Usage:                  "Shows high-level information about shards in a cluster.",
			Description:            "For more information: https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-shards.html",
			Action:                 ctl.NewAction(shards),
			UseShortOptionHandling: true,
			Flags: []cli.Flag{
				cli.BoolFlag{
					Name:  "colorless, c",
					Usage: "Colorless output",
				},
				cli.BoolFlag{
					Name:  "unassigned, u",
					Usage: "Reason the shard is unassigned",
				},
			},
		},
	},
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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