Documentation ¶
Index ¶
- Constants
- Variables
- func Cli(section string, command string, strict bool, databaseType string, ...)
- func CliCmd(commandMap map[string]dtstruct.CommandDesc, cliParam *dtstruct.CliParam)
- func CliWrapper(section string, command string, strict bool, databaseType string, ...)
- func HelpCommand(command string)
Constants ¶
View Source
const AppPrompt string = `` /* 299-byte string literal not displayed */
Variables ¶
View Source
var CommandHelp map[string]string
Functions ¶
func Cli ¶
func Cli(section string, command string, strict bool, databaseType string, clusterId string, 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 CliCmd ¶
func CliCmd(commandMap map[string]dtstruct.CommandDesc, cliParam *dtstruct.CliParam)
register cli command
func CliWrapper ¶
func CliWrapper(section string, command string, strict bool, databaseType string, clusterId string, 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)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.