Versions in this module Expand all Collapse all v1 v1.1.0 Jul 26, 2018 v1.0.0 Jun 3, 2018 Changes in this version + var ErrInformerNotSynced = errors.New("discovery: informer not synced") + func CreateKubeClient(apiserver string, kubeconfig string) (clientset.Interface, error) + type Controller struct + func NewController(clientset kubernetes.Interface) *Controller + func (d *Controller) DiscoverK8SPods() + func (d *Controller) K8SGetLocalPodIPs() ([]*K8SPodInfo, error) + type K8SAPIs interface + K8SGetLocalPodIPs func() ([]*K8SPodInfo, error) + type K8SPodInfo struct + Container string + IP string + Name string + Namespace string + UID string