app

package
v3.2.5+incompatible Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const AppPrompt string = `` /* 331-byte string literal not displayed */

Variables

View Source
var CommandHelp map[string]string

Functions

func Cli

func Cli(command string, strict bool, instance string, destination string, owner string, reason string, duration string, pattern string, clusterAlias string, pool string, hostnameFlag string)

Cli initiates a command line interface, executing requested command.

func CliWrapper

func CliWrapper(command string, strict bool, instances string, destination string, owner string, reason string, duration string, pattern string, clusterAlias string, pool string, hostnameFlag string)

CliWrapper is called from main and allows for the instance parameter to take multiple instance names separated by a comma or whitespace.

func HelpCommand

func HelpCommand(command string)

func Http

func Http(continuousDiscovery bool)

Http starts serving

Types

type CliCommand

type CliCommand struct {
	Command     string
	Section     string
	Description string
}

Jump to

Keyboard shortcuts

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