Versions in this module Expand all Collapse all v4 v4.7.0 Jul 2, 2022 Changes in this version + var ErrReadNamespace = errors.New("Could not read namespace from service account secret") + func CertPoolFromFile(filename string) (*x509.CertPool, error) + func CertsFromPEM(pemCerts []byte) ([]*x509.Certificate, error) + type Kubernetes interface + ListPods func(labels map[string]string) (*PodList, error) + UpdatePod func(podName string, pod *Pod) (*Pod, error) + WatchPods func(labels map[string]string) (watch.Watch, error) + func NewClientByHost(host string) Kubernetes + func NewClientInCluster() Kubernetes + type Meta struct + Annotations map[string]*string + DeletionTimestamp string + Labels map[string]*string + Name string + type Pod struct + Metadata *Meta + Status *Status + type PodList struct + Items []Pod + type Status struct + Phase string + PodIP string Other modules containing this package github.com/asim/go-micro/plugins/registry/kubernetes/v3