Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCfg = &Config{}
Functions ¶
func LoadDefaultConfig ¶
Types ¶
type Config ¶
type Config struct {
Kubernetes `ini:"kubernetes"`
XDS `ini:"xds"`
Envoy `ini:"envoy"`
}
type Kubernetes ¶
type Kubernetes struct {
Namespace string `ini:"namespace"`
KubeConfig string `ini:"kube_config"`
Token string `ini:"token"`
MasterUrl string `ini:"master_url"`
}
Kubernetes 与 kubernetes 相关的配置, 如果写了 KubeConfig 就不用再填其它的了
Click to show internal directories.
Click to hide internal directories.