Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WatchClusters ¶
func WatchClusters(ctx context.Context, log logrus.FieldLogger, configs []KubernetesConfig, bgp BGPServer)
Types ¶
type KubernetesConfig ¶
type KubernetesConfig struct { Name string `yaml:"name"` Host string `yaml:"host"` Token string `yaml:"token"` TokenFile string `yaml:"token_file"` InsecureDisableCertificateVerify bool `yaml:"insecure_disable_certificate_verify"` }
func (*KubernetesConfig) ForClientSet ¶
func (k *KubernetesConfig) ForClientSet() *rest.Config
Click to show internal directories.
Click to hide internal directories.