app

package
v0.12.6 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 25 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