var parentKind … func alwaysReady() bool { … } func TestStatefulSetControllerCreates(t *testing.T) { … } func TestStatefulSetControllerDeletes(t *testing.T) { … } func TestStatefulSetControllerRespectsTermination(t *testing.T) { … } func TestStatefulSetControllerBlocksScaling(t *testing.T) { … } func TestStatefulSetControllerDeletionTimestamp(t *testing.T) { … } func TestStatefulSetControllerDeletionTimestampRace(t *testing.T) { … } func TestStatefulSetControllerAddPod(t *testing.T) { … } func TestStatefulSetControllerAddPodOrphan(t *testing.T) { … } func TestStatefulSetControllerAddPodNoSet(t *testing.T) { … } func TestStatefulSetControllerUpdatePod(t *testing.T) { … } func TestStatefulSetControllerUpdatePodWithNoSet(t *testing.T) { … } func TestStatefulSetControllerUpdatePodWithSameVersion(t *testing.T) { … } func TestStatefulSetControllerUpdatePodOrphanWithNewLabels(t *testing.T) { … } func TestStatefulSetControllerUpdatePodChangeControllerRef(t *testing.T) { … } func TestStatefulSetControllerUpdatePodRelease(t *testing.T) { … } func TestStatefulSetControllerDeletePod(t *testing.T) { … } func TestStatefulSetControllerDeletePodOrphan(t *testing.T) { … } func TestStatefulSetControllerDeletePodTombstone(t *testing.T) { … } func TestStatefulSetControllerGetStatefulSetsForPod(t *testing.T) { … } func TestGetPodsForStatefulSetAdopt(t *testing.T) { … } func TestAdoptOrphanRevisions(t *testing.T) { … } func TestGetPodsForStatefulSetRelease(t *testing.T) { … } func TestOrphanedPodsWithPVCDeletePolicy(t *testing.T) { … } func TestStaleOwnerRefOnScaleup(t *testing.T) { … } func newFakeStatefulSetController(ctx context.Context, initialObjects ...runtime.Object) (*StatefulSetController, *StatefulPodControl, *fakeObjectManager, history.Interface) { … } func fakeWorker(ssc *StatefulSetController) { … } func getPodAtOrdinal(pods []*v1.Pod, ordinal int) *v1.Pod { … } func scaleUpStatefulSetController(logger klog.Logger, set *apps.StatefulSet, ssc *StatefulSetController, spc *StatefulPodControl, om *fakeObjectManager) error { … } func scaleUpStatefulSetControllerBounded(logger klog.Logger, set *apps.StatefulSet, ssc *StatefulSetController, spc *StatefulPodControl, om *fakeObjectManager, maxIterations int) error { … } func scaleDownStatefulSetController(logger klog.Logger, set *apps.StatefulSet, ssc *StatefulSetController, spc *StatefulPodControl, om *fakeObjectManager) error { … } func rawTemplate(template *v1.PodTemplateSpec) runtime.RawExtension { … }