Versions in this module Expand all Collapse all v0 v0.4.0 Jun 23, 2016 v0.3.0 Mar 16, 2016 Changes in this version + func IsMirrorPod(pod *api.Pod) bool + func IsStaticPod(pod *api.Pod) bool + type FakeMirrorClient struct + func NewFakeMirrorClient() *FakeMirrorClient + func (fmc *FakeMirrorClient) CreateMirrorPod(pod *api.Pod) error + func (fmc *FakeMirrorClient) DeleteMirrorPod(podFullName string) error + func (fmc *FakeMirrorClient) GetCounts(podFullName string) (int, int) + func (fmc *FakeMirrorClient) GetPods() []string + func (fmc *FakeMirrorClient) HasPod(podFullName string) bool + func (fmc *FakeMirrorClient) NumOfPods() int + type Manager interface + AddPod func(pod *api.Pod) + DeleteOrphanedMirrorPods func() + DeletePod func(pod *api.Pod) + GetMirrorPodByPod func(*api.Pod) (*api.Pod, bool) + GetPodByFullName func(podFullName string) (*api.Pod, bool) + GetPodByMirrorPod func(*api.Pod) (*api.Pod, bool) + GetPodByName func(namespace, name string) (*api.Pod, bool) + GetPodByUID func(types.UID) (*api.Pod, bool) + GetPods func() []*api.Pod + GetPodsAndMirrorPods func() ([]*api.Pod, []*api.Pod) + GetUIDTranslations func() (podToMirror, mirrorToPod map[types.UID]types.UID) + IsMirrorPodOf func(mirrorPod, pod *api.Pod) bool + SetPods func(pods []*api.Pod) + TranslatePodUID func(uid types.UID) types.UID + UpdatePod func(pod *api.Pod) + func NewBasicPodManager(client MirrorClient) Manager + type MirrorClient interface + CreateMirrorPod func(*api.Pod) error + DeleteMirrorPod func(string) error + func NewBasicMirrorClient(apiserverClient client.Interface) MirrorClient