direct

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 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 {
			if err := validate.Struct(param); err != nil {
				return err
			}
			return flags.ValidateInputsConfigFlags(cmd, args)
		},
	),
	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