Documentation
¶
Index ¶
- Variables
- func OutputError(outputFormat *OutputFormat, message string, params ...any)
- func OutputInfo(outputFormat *OutputFormat, details any, message string, params ...any)
- func OutputObject(value map[string]any, serviceName, templateContent string, ...)
- func OutputWarning(outputFormat *OutputFormat, message string, params ...any)
- func OutputWithFormat(msg *OutputMessage, outputFormat *OutputFormat)
- func RenderConfigTable(cfg *ini.File)
- func RenderTable(values []map[string]any, columnsToDisplay []string, outputFormat *OutputFormat)
- func RunGenericChoicePicker(question string, choices map[string]string, overrideHeight int) (string, string, error)
- func RunLoginInput(customEndpoint bool) map[string]string
- func RunLoginPicker(question string, choices []string) string
- type OutputFormat
- type OutputMessage
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ResultError error ResultString string )
Functions ¶
func OutputError ¶ added in v0.3.0
func OutputError(outputFormat *OutputFormat, message string, params ...any)
func OutputInfo ¶ added in v0.3.0
func OutputInfo(outputFormat *OutputFormat, details any, message string, params ...any)
func OutputObject ¶
func OutputObject(value map[string]any, serviceName, templateContent string, outputFormat *OutputFormat)
func OutputWarning ¶ added in v0.3.0
func OutputWarning(outputFormat *OutputFormat, message string, params ...any)
func OutputWithFormat ¶ added in v0.3.0
func OutputWithFormat(msg *OutputMessage, outputFormat *OutputFormat)
func RenderConfigTable ¶
func RenderTable ¶
func RenderTable(values []map[string]any, columnsToDisplay []string, outputFormat *OutputFormat)
func RunGenericChoicePicker ¶
func RunLoginInput ¶
func RunLoginPicker ¶
Types ¶
type OutputFormat ¶
// Common flags used by all subcommands to control output format (json, yaml)
Click to show internal directories.
Click to hide internal directories.