app

package
v0.14.5 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 26 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 HTTP added in v0.13.0

func HTTP(continuousDiscovery bool)

HTTP starts serving

func HelpCommand

func HelpCommand(command string)

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