cmd

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Commands = []*cli.Command{
	{
		Name:    "version",
		Aliases: []string{"v"},
		Usage:   "Print version number",
		Action:  utils.Version(),
	},
}
View Source
var Flags = []cli.Flag{
	&cli.StringFlag{
		Name:    "config-file",
		Aliases: []string{"c"},
	},
	&cli.StringFlag{
		Name:    "region",
		Aliases: []string{"r"},
		Value:   "us-east-1",
		Usage:   "region of the target cluster",
	},
	&cli.StringFlag{
		Name:    "bucket-name",
		Aliases: []string{"b"},
		Usage:   "bucket name for the log files",
	},
	&cli.IntFlag{
		Name:    "expire-seconds",
		Aliases: []string{"t"},
		Value:   300,
		Usage:   "expiration time of the presigned-url in seconds",
	},
	&cli.StringFlag{
		Name:    "node-name",
		Aliases: []string{"n"},
		Usage:   "target node name (to support multiple node names, use \"--config-file\")",
	},
}

Functions

func Action

func Action() cli.ActionFunc

func Entry

func Entry() *cli.App

Types

This section is empty.

Jump to

Keyboard shortcuts

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