Versions in this module Expand all Collapse all v1 v1.7.6 Mar 12, 2021 Changes in this version + func GetLocalIP() (string, error) + func NodeNameFilter(nodeName string) internalinterfaces.TweakListOptionsFunc + type Client interface + GetPod func(namespace, name string) (v1.Pod, error) + GetPodInfo func(podip string) (podns, podname, rsName string, selectors *metav1.LabelSelector, err error) + GetSecret func(secretRef *v1.SecretReference) (*v1.Secret, error) + ListPodIdentityExceptions func(namespace string) (*[]aadpodid.AzurePodIdentityException, error) + ListPodIds func(podns, podname string) (map[string][]aadpodid.AzureIdentity, error) + ListPodIdsWithBinding func(podns string, labels map[string]string) ([]aadpodid.AzureIdentity, error) + Start func(<-chan struct{}) + func NewFakeClient() (Client, error) + func NewKubeClient(nodeName string, scale, isStandardMode bool) (Client, error) + type FakeClient struct + func (c *FakeClient) GetPod(podns, podname string) (v1.Pod, error) + func (c *FakeClient) GetPodInfo(podip string) (podns, podname, rsName string, selectors *metav1.LabelSelector, err error) + func (c *FakeClient) GetSecret(secretRef *v1.SecretReference) (*v1.Secret, error) + func (c *FakeClient) ListPodIdentityExceptions(ns string) (*[]aadpodid.AzurePodIdentityException, error) + func (c *FakeClient) ListPodIds(podns, podname string) (map[string][]aadpodid.AzureIdentity, error) + func (c *FakeClient) ListPodIdsWithBinding(podns string, labels map[string]string) ([]aadpodid.AzureIdentity, error) + func (c *FakeClient) Start(exit <-chan struct{}) + type KubeClient struct + ClientSet kubernetes.Interface + CrdClient *crd.Client + PodInformer cache.SharedIndexInformer + func (c *KubeClient) GetPod(namespace, name string) (v1.Pod, error) + func (c *KubeClient) GetPodInfo(podip string) (podns, poddname, rsName string, labels *metav1.LabelSelector, err error) + func (c *KubeClient) GetSecret(secretRef *v1.SecretReference) (*v1.Secret, error) + func (c *KubeClient) ListPodIdentityExceptions(ns string) (*[]aadpodid.AzurePodIdentityException, error) + func (c *KubeClient) ListPodIds(podns, podname string) (map[string][]aadpodid.AzureIdentity, error) + func (c *KubeClient) ListPodIdsWithBinding(podns string, labels map[string]string) ([]aadpodid.AzureIdentity, error) + func (c *KubeClient) Start(exit <-chan struct{}) + func (c *KubeClient) Sync(exit <-chan struct{})