Documentation ¶
Index ¶
- Constants
- func Check(key string) (string, bool)
- func CheckIfFileExist(filepath string) error
- func CheckIfFolderExist(path string, createIfNot bool) error
- func GetBool(key string, defaultValue bool) bool
- func GetHomeDirOrExit(methodCaller string) string
- func GetInt(key string, defaultValue int) int
- func GetInt64(key string, defaultValue int64) int64
- func GetString(key, defaultValue string) string
- func GetUrfaveFlagName(name, short string) string
Constants ¶
View Source
const ( // Flags KubeConfigFlagName = "kube-config" KubeConfigFlagShort = "c" KubeConfigFlagDescription = "Kubernetes configuration custom (`PATH`)" SingleKonfigsFlagName = "single-konfigs" SingleKonfigsFlagShort = "k" SingleKonfigsFlagDescription = "Single Kubernetes konfigurations custom (`PATH`)" // Environment variables KubeConfigPathEnvVar = "KONF_KUBE_CONFIG_PATH" KubeConfigPathDefault = ".kube/config" SingleKonfigsPathEnvVar = "KONF_SINGLE_KUBE_KONFIGS_PATH" SingleKonfigsPathDefault = ".kube/konfigs" KubeConfigEnvVar = "KUBECONFIG" KubeConfigEnvVarDefault = "" )
Variables ¶
This section is empty.
Functions ¶
func CheckIfFileExist ¶
func CheckIfFolderExist ¶
func GetHomeDirOrExit ¶
func GetUrfaveFlagName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.