type Manager …
type basicManager …
func NewBasicPodManager() Manager { … }
func (pm *basicManager) SetPods(newPods []*v1.Pod) { … }
func (pm *basicManager) AddPod(pod *v1.Pod) { … }
func (pm *basicManager) UpdatePod(pod *v1.Pod) { … }
func updateMetrics(oldPod, newPod *v1.Pod) { … }
func (pm *basicManager) updatePodsInternal(pods ...*v1.Pod) { … }
func (pm *basicManager) RemovePod(pod *v1.Pod) { … }
func (pm *basicManager) GetPods() []*v1.Pod { … }
func (pm *basicManager) GetPodsAndMirrorPods() (allPods []*v1.Pod, allMirrorPods []*v1.Pod, orphanedMirrorPodFullnames []string) { … }
func (pm *basicManager) GetPodByUID(uid types.UID) (*v1.Pod, bool) { … }
func (pm *basicManager) GetPodByName(namespace, name string) (*v1.Pod, bool) { … }
func (pm *basicManager) GetPodByFullName(podFullName string) (*v1.Pod, bool) { … }
func (pm *basicManager) TranslatePodUID(uid types.UID) kubetypes.ResolvedPodUID { … }
func (pm *basicManager) GetUIDTranslations() (podToMirror map[kubetypes.ResolvedPodUID]kubetypes.MirrorPodUID,
mirrorToPod map[kubetypes.MirrorPodUID]kubetypes.ResolvedPodUID) { … }
func IsMirrorPodOf(mirrorPod, pod *v1.Pod) bool { … }
func podsMapToPods(UIDMap map[kubetypes.ResolvedPodUID]*v1.Pod) []*v1.Pod { … }
func mirrorPodsMapToMirrorPods(UIDMap map[kubetypes.MirrorPodUID]*v1.Pod) []*v1.Pod { … }
func (pm *basicManager) GetMirrorPodByPod(pod *v1.Pod) (*v1.Pod, bool) { … }
func (pm *basicManager) GetPodByMirrorPod(mirrorPod *v1.Pod) (*v1.Pod, bool) { … }
func (pm *basicManager) GetPodAndMirrorPod(aPod *v1.Pod) (pod, mirrorPod *v1.Pod, wasMirror bool) { … }