Versions in this module Expand all Collapse all v0 v0.4.0 Nov 29, 2018 Changes in this version + func GetK8sPodInfo(client *kubernetes.Clientset, podName, podNamespace string) (labels map[string]string, annotations map[string]string, err error) + func NewK8sClient(kuber Kubernetes, policy Policy) (*kubernetes.Clientset, error) + func ResourceControllerName(client *kubernetes.Clientset, podName, namespace string) (string, error) + type Args struct + IP net.IP + K8S_POD_INFRA_CONTAINER_ID types.UnmarshallableString + K8S_POD_NAME types.UnmarshallableString + K8S_POD_NAMESPACE types.UnmarshallableString + type Kubernetes struct + K8sAPIRoot string + Kubeconfig string + NodeName string + type Policy struct + K8sAPIRoot string + K8sAuthToken string + K8sCertificateAuthority string + K8sClientCertificate string + K8sClientKey string + PolicyType string