direct

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cobra.Command{
	Use:       "direct {up | down} [flags]...",
	Short:     "Send Up/Down request directly to Core server",
	ValidArgs: []string{"up", "down"},
	Args:      cobra.ExactValidArgs(1),
	PreRunE: flags.ValidateMultiFunc(true,
		flags.ValidateDestinationFlags,
		func(cmd *cobra.Command, args []string) error {
			return validate.Struct(param)
		},
	),
	RunE: run,
}

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