Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureEnvVars ¶ added in v0.4.2
ConfigureEnvVars configures a Viper instance to read environment variables with the specified prefix (e.g., "kongctl" or "kongctl_default")
func InitializeDefaultViper ¶
InitializeDefaultViper initializes a viper instance with default values and a path to a file If the file does not exist, it will be created with the default values
func ProfileEnvPrefix ¶ added in v0.4.2
ProfileEnvPrefix converts a profile name to its environment variable prefix. For example, "team-a" becomes "KONGCTL_TEAM_A".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.