Documentation
¶
Index ¶
Constants ¶
View Source
const ( // related to the --output flag DefaultOutputFormat = "text" OutputFlagName = "output" OutputFlagShort = "o" OutputConfigPath = OutputFlagName // related to the --color flag ColorFlagName = "color" ColorConfigPath = ColorFlagName DefaultColorMode = "auto" // related to the --color-theme flag ColorThemeFlagName = "color-theme" ColorThemeConfigPath = "color-theme" DefaultColorTheme = "kong-light" // related to the --profile flag ProfileFlagName = "profile" ProfileFlagShort = "p" // related to the --config-file flag ConfigFilePathFlagName = "config-file" // related to the --log-level flag LogLevelFlagName = "log-level" DefaultLogLevel = "info" LogLevelConfigPath = LogLevelFlagName // related to directing logs to a file LogFileFlagName = "log-file" LogFileConfigPath = LogFileFlagName // related to profile-wide HTTP client defaults HTTPTimeoutFlagName = "http-timeout" HTTPTimeoutConfigPath = HTTPTimeoutFlagName HTTPTCPUserTimeoutName = "http-tcp-user-timeout" HTTPTCPUserTimeoutConfigPath = HTTPTCPUserTimeoutName HTTPDisableKeepAlivesName = "http-disable-keepalives" HTTPDisableKeepAlivesConfigPath = HTTPDisableKeepAlivesName HTTPRecycleConnectionsOnErrorName = "http-recycle-connections-on-error" HTTPRecycleConnectionsOnErrorConfigPath = HTTPRecycleConnectionsOnErrorName )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OutputFormat ¶
type OutputFormat int
Represents an enum of valid values for the format of the output for this CLI execution
const ( JSON OutputFormat = iota YAML TEXT )
func OutputFormatStringToIota ¶
func OutputFormatStringToIota(format string) (OutputFormat, error)
func (OutputFormat) String ¶
func (of OutputFormat) String() string
Click to show internal directories.
Click to hide internal directories.