type mutablePodManager …
func getTestPod() *v1.Pod { … }
func (m *manager) testSyncBatch() { … }
func newTestManager(kubeClient clientset.Interface) *manager { … }
func generateRandomMessage() string { … }
func getRandomPodStatus() v1.PodStatus { … }
func verifyActions(t *testing.T, manager *manager, expectedActions []core.Action) { … }
func verifyUpdates(t *testing.T, manager *manager, expectedUpdates int) { … }
func (m *manager) consumeUpdates() int { … }
func TestNewStatus(t *testing.T) { … }
func TestNewStatusPreservesPodStartTime(t *testing.T) { … }
func getReadyPodStatus() v1.PodStatus { … }
func TestNewStatusSetsReadyTransitionTime(t *testing.T) { … }
func TestChangedStatus(t *testing.T) { … }
func TestChangedStatusKeepsStartTime(t *testing.T) { … }
func TestChangedStatusUpdatesLastTransitionTime(t *testing.T) { … }
func TestUnchangedStatus(t *testing.T) { … }
func TestUnchangedStatusPreservesLastTransitionTime(t *testing.T) { … }
func TestSyncPodIgnoresNotFound(t *testing.T) { … }
func TestSyncPod(t *testing.T) { … }
func TestSyncPodChecksMismatchedUID(t *testing.T) { … }
func TestSyncPodNoDeadlock(t *testing.T) { … }
func TestStaleUpdates(t *testing.T) { … }
func shuffle(statuses []v1.ContainerStatus) []v1.ContainerStatus { … }
func TestStatusEquality(t *testing.T) { … }
func TestStatusNormalizationEnforcesMaxBytes(t *testing.T) { … }
func TestStatusNormalizeTimeStamp(t *testing.T) { … }
func TestStaticPod(t *testing.T) { … }
func TestTerminatePod(t *testing.T) { … }
func TestTerminatePodWaiting(t *testing.T) { … }
func TestTerminatePod_DefaultUnknownStatus(t *testing.T) { … }
func TestTerminatePod_EnsurePodPhaseIsTerminal(t *testing.T) { … }
func TestSetContainerReadiness(t *testing.T) { … }
func TestSetContainerStartup(t *testing.T) { … }
func TestSyncBatchCleanupVersions(t *testing.T) { … }
func TestReconcilePodStatus(t *testing.T) { … }
func expectPodStatus(t *testing.T, m *manager, pod *v1.Pod) v1.PodStatus { … }
func TestDeletePodBeforeFinished(t *testing.T) { … }
func TestDeletePodFinished(t *testing.T) { … }
func TestDoNotDeleteMirrorPods(t *testing.T) { … }
func TestUpdateLastTransitionTime(t *testing.T) { … }
func getAction() core.GetAction { … }
func patchAction() core.PatchAction { … }
func deleteAction() core.DeleteAction { … }
func TestMergePodStatus(t *testing.T) { … }
func TestUpdatePodFromAllocation(t *testing.T) { … }
func statusEqual(left, right v1.PodStatus) bool { … }
func conditionsEqual(left, right []v1.PodCondition) bool { … }
func getPodStatus() v1.PodStatus { … }