Documentation
¶
Index ¶
- func CreateKubeClient(kubeConfigPath string) kubernetes.Interface
- func ExitIfError(err error)
- func Exitf(messageFormat string, args ...interface{})
- func ExitfIfError(err error, message string)
- func GetCertPaths(envVar, defaultPath, name string) (string, string, string)
- func GetEnvOrDefault(envVar, defaultValue string) string
- func GetExistingEnvFile(envVar, defaultPath, name string) string
- func GetExistingFile(path, defaultPath, name string) string
- func GetLatestMigrationIndex() int
- func GetOrDefault(actualValue, defaultValue string) string
- func ReadConfigFile(path string, conf interface{}) error
- func VerifyFileExists(filePath, fileName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateKubeClient ¶
func CreateKubeClient(kubeConfigPath string) kubernetes.Interface
func ExitIfError ¶
func ExitIfError(err error)
func ExitfIfError ¶
func GetEnvOrDefault ¶
func GetExistingEnvFile ¶
func GetExistingFile ¶
func GetLatestMigrationIndex ¶
func GetLatestMigrationIndex() int
func GetOrDefault ¶
func ReadConfigFile ¶
func VerifyFileExists ¶
func VerifyFileExists(filePath, fileName string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.