type MockManager …
type MockManager_Expecter …
func (_m *MockManager) EXPECT() *MockManager_Expecter { … }
func (_m *MockManager) AddPod(_a0 *v1.Pod) { … }
type MockManager_AddPod_Call …
func (_e *MockManager_Expecter) AddPod(_a0 interface{ … }
func (_c *MockManager_AddPod_Call) Run(run func(_a0 *v1.Pod)) *MockManager_AddPod_Call { … }
func (_c *MockManager_AddPod_Call) Return() *MockManager_AddPod_Call { … }
func (_c *MockManager_AddPod_Call) RunAndReturn(run func(*v1.Pod)) *MockManager_AddPod_Call { … }
func (_m *MockManager) GetMirrorPodByPod(_a0 *v1.Pod) (*v1.Pod, bool) { … }
type MockManager_GetMirrorPodByPod_Call …
func (_e *MockManager_Expecter) GetMirrorPodByPod(_a0 interface{ … }
func (_c *MockManager_GetMirrorPodByPod_Call) Run(run func(_a0 *v1.Pod)) *MockManager_GetMirrorPodByPod_Call { … }
func (_c *MockManager_GetMirrorPodByPod_Call) Return(_a0 *v1.Pod, _a1 bool) *MockManager_GetMirrorPodByPod_Call { … }
func (_c *MockManager_GetMirrorPodByPod_Call) RunAndReturn(run func(*v1.Pod) (*v1.Pod, bool)) *MockManager_GetMirrorPodByPod_Call { … }
func (_m *MockManager) GetPodAndMirrorPod(_a0 *v1.Pod) (*v1.Pod, *v1.Pod, bool) { … }
type MockManager_GetPodAndMirrorPod_Call …
func (_e *MockManager_Expecter) GetPodAndMirrorPod(_a0 interface{ … }
func (_c *MockManager_GetPodAndMirrorPod_Call) Run(run func(_a0 *v1.Pod)) *MockManager_GetPodAndMirrorPod_Call { … }
func (_c *MockManager_GetPodAndMirrorPod_Call) Return(_a0 *v1.Pod, mirrorPod *v1.Pod, wasMirror bool) *MockManager_GetPodAndMirrorPod_Call { … }
func (_c *MockManager_GetPodAndMirrorPod_Call) RunAndReturn(run func(*v1.Pod) (*v1.Pod, *v1.Pod, bool)) *MockManager_GetPodAndMirrorPod_Call { … }
func (_m *MockManager) GetPodByFullName(podFullName string) (*v1.Pod, bool) { … }
type MockManager_GetPodByFullName_Call …
func (_e *MockManager_Expecter) GetPodByFullName(podFullName interface{ … }
func (_c *MockManager_GetPodByFullName_Call) Run(run func(podFullName string)) *MockManager_GetPodByFullName_Call { … }
func (_c *MockManager_GetPodByFullName_Call) Return(_a0 *v1.Pod, _a1 bool) *MockManager_GetPodByFullName_Call { … }
func (_c *MockManager_GetPodByFullName_Call) RunAndReturn(run func(string) (*v1.Pod, bool)) *MockManager_GetPodByFullName_Call { … }
func (_m *MockManager) GetPodByMirrorPod(_a0 *v1.Pod) (*v1.Pod, bool) { … }
type MockManager_GetPodByMirrorPod_Call …
func (_e *MockManager_Expecter) GetPodByMirrorPod(_a0 interface{ … }
func (_c *MockManager_GetPodByMirrorPod_Call) Run(run func(_a0 *v1.Pod)) *MockManager_GetPodByMirrorPod_Call { … }
func (_c *MockManager_GetPodByMirrorPod_Call) Return(_a0 *v1.Pod, _a1 bool) *MockManager_GetPodByMirrorPod_Call { … }
func (_c *MockManager_GetPodByMirrorPod_Call) RunAndReturn(run func(*v1.Pod) (*v1.Pod, bool)) *MockManager_GetPodByMirrorPod_Call { … }
func (_m *MockManager) GetPodByName(namespace string, name string) (*v1.Pod, bool) { … }
type MockManager_GetPodByName_Call …
func (_e *MockManager_Expecter) GetPodByName(namespace interface{ … }
func (_c *MockManager_GetPodByName_Call) Run(run func(namespace string, name string)) *MockManager_GetPodByName_Call { … }
func (_c *MockManager_GetPodByName_Call) Return(_a0 *v1.Pod, _a1 bool) *MockManager_GetPodByName_Call { … }
func (_c *MockManager_GetPodByName_Call) RunAndReturn(run func(string, string) (*v1.Pod, bool)) *MockManager_GetPodByName_Call { … }
func (_m *MockManager) GetPodByUID(_a0 types.UID) (*v1.Pod, bool) { … }
type MockManager_GetPodByUID_Call …
func (_e *MockManager_Expecter) GetPodByUID(_a0 interface{ … }
func (_c *MockManager_GetPodByUID_Call) Run(run func(_a0 types.UID)) *MockManager_GetPodByUID_Call { … }
func (_c *MockManager_GetPodByUID_Call) Return(_a0 *v1.Pod, _a1 bool) *MockManager_GetPodByUID_Call { … }
func (_c *MockManager_GetPodByUID_Call) RunAndReturn(run func(types.UID) (*v1.Pod, bool)) *MockManager_GetPodByUID_Call { … }
func (_m *MockManager) GetPods() []*v1.Pod { … }
type MockManager_GetPods_Call …
func (_e *MockManager_Expecter) GetPods() *MockManager_GetPods_Call { … }
func (_c *MockManager_GetPods_Call) Run(run func()) *MockManager_GetPods_Call { … }
func (_c *MockManager_GetPods_Call) Return(_a0 []*v1.Pod) *MockManager_GetPods_Call { … }
func (_c *MockManager_GetPods_Call) RunAndReturn(run func() []*v1.Pod) *MockManager_GetPods_Call { … }
func (_m *MockManager) GetPodsAndMirrorPods() ([]*v1.Pod, []*v1.Pod, []string) { … }
type MockManager_GetPodsAndMirrorPods_Call …
func (_e *MockManager_Expecter) GetPodsAndMirrorPods() *MockManager_GetPodsAndMirrorPods_Call { … }
func (_c *MockManager_GetPodsAndMirrorPods_Call) Run(run func()) *MockManager_GetPodsAndMirrorPods_Call { … }
func (_c *MockManager_GetPodsAndMirrorPods_Call) Return(allPods []*v1.Pod, allMirrorPods []*v1.Pod, orphanedMirrorPodFullnames []string) *MockManager_GetPodsAndMirrorPods_Call { … }
func (_c *MockManager_GetPodsAndMirrorPods_Call) RunAndReturn(run func() ([]*v1.Pod, []*v1.Pod, []string)) *MockManager_GetPodsAndMirrorPods_Call { … }
func (_m *MockManager) GetUIDTranslations() (map[kubelettypes.ResolvedPodUID]kubelettypes.MirrorPodUID, map[kubelettypes.MirrorPodUID]kubelettypes.ResolvedPodUID) { … }
type MockManager_GetUIDTranslations_Call …
func (_e *MockManager_Expecter) GetUIDTranslations() *MockManager_GetUIDTranslations_Call { … }
func (_c *MockManager_GetUIDTranslations_Call) Run(run func()) *MockManager_GetUIDTranslations_Call { … }
func (_c *MockManager_GetUIDTranslations_Call) Return(podToMirror map[kubelettypes.ResolvedPodUID]kubelettypes.MirrorPodUID, mirrorToPod map[kubelettypes.MirrorPodUID]kubelettypes.ResolvedPodUID) *MockManager_GetUIDTranslations_Call { … }
func (_c *MockManager_GetUIDTranslations_Call) RunAndReturn(run func() (map[kubelettypes.ResolvedPodUID]kubelettypes.MirrorPodUID, map[kubelettypes.MirrorPodUID]kubelettypes.ResolvedPodUID)) *MockManager_GetUIDTranslations_Call { … }
func (_m *MockManager) RemovePod(_a0 *v1.Pod) { … }
type MockManager_RemovePod_Call …
func (_e *MockManager_Expecter) RemovePod(_a0 interface{ … }
func (_c *MockManager_RemovePod_Call) Run(run func(_a0 *v1.Pod)) *MockManager_RemovePod_Call { … }
func (_c *MockManager_RemovePod_Call) Return() *MockManager_RemovePod_Call { … }
func (_c *MockManager_RemovePod_Call) RunAndReturn(run func(*v1.Pod)) *MockManager_RemovePod_Call { … }
func (_m *MockManager) SetPods(pods []*v1.Pod) { … }
type MockManager_SetPods_Call …
func (_e *MockManager_Expecter) SetPods(pods interface{ … }
func (_c *MockManager_SetPods_Call) Run(run func(pods []*v1.Pod)) *MockManager_SetPods_Call { … }
func (_c *MockManager_SetPods_Call) Return() *MockManager_SetPods_Call { … }
func (_c *MockManager_SetPods_Call) RunAndReturn(run func([]*v1.Pod)) *MockManager_SetPods_Call { … }
func (_m *MockManager) TranslatePodUID(uid types.UID) kubelettypes.ResolvedPodUID { … }
type MockManager_TranslatePodUID_Call …
func (_e *MockManager_Expecter) TranslatePodUID(uid interface{ … }
func (_c *MockManager_TranslatePodUID_Call) Run(run func(uid types.UID)) *MockManager_TranslatePodUID_Call { … }
func (_c *MockManager_TranslatePodUID_Call) Return(_a0 kubelettypes.ResolvedPodUID) *MockManager_TranslatePodUID_Call { … }
func (_c *MockManager_TranslatePodUID_Call) RunAndReturn(run func(types.UID) kubelettypes.ResolvedPodUID) *MockManager_TranslatePodUID_Call { … }
func (_m *MockManager) UpdatePod(_a0 *v1.Pod) { … }
type MockManager_UpdatePod_Call …
func (_e *MockManager_Expecter) UpdatePod(_a0 interface{ … }
func (_c *MockManager_UpdatePod_Call) Run(run func(_a0 *v1.Pod)) *MockManager_UpdatePod_Call { … }
func (_c *MockManager_UpdatePod_Call) Return() *MockManager_UpdatePod_Call { … }
func (_c *MockManager_UpdatePod_Call) RunAndReturn(run func(*v1.Pod)) *MockManager_UpdatePod_Call { … }
func NewMockManager(t interface { … }