Documentation ¶
Index ¶
- func GetConfigBool(envKey string, defaultConf bool, logger zap.Logger) bool
- func GetConfigInt(envKey string, defaulfConf int, logger zap.Logger) int
- func GetConfigString(envKey, defaultConf string) string
- func GetConfigStringList(envKey string, defaultConf string, logger zap.Logger) []string
- func GetGoPath() string
- func LoadClusterInfoMap(kubeclient kubernetes.Interface, logger *zap.Logger) error
- func ParseConfig(filePath string, conf interface{}, logger zap.Logger)
- func SetUpEvn(kubeclient kubernetes.Interface, logger *zap.Logger) error
- type ClusterInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigBool ¶
GetConfigBool ...
func GetConfigInt ¶
GetConfigInt ...
func GetConfigStringList ¶
GetConfigStringList ...
func LoadClusterInfoMap ¶
func LoadClusterInfoMap(kubeclient kubernetes.Interface, logger *zap.Logger) error
LoadClusterInfoMap ... Read cluster metadata from 'cluster-info' map and load into ENV
func ParseConfig ¶
ParseConfig ...
Types ¶
Click to show internal directories.
Click to hide internal directories.