func TestDaemonSetUpdatesPods(t *testing.T) { … } func TestDaemonSetUpdatesPodsWithMaxSurge(t *testing.T) { … } func TestDaemonSetUpdatesPodsNotMatchTainstWithMaxSurge(t *testing.T) { … } func TestDaemonSetUpdatesWhenNewPodIsNotReady(t *testing.T) { … } func TestDaemonSetUpdatesSomeOldPodsNotReady(t *testing.T) { … } func TestDaemonSetUpdatesAllOldPodsNotReady(t *testing.T) { … } func TestDaemonSetUpdatesAllOldPodsNotReadyMaxSurge(t *testing.T) { … } func podsByNodeMatchingHash(dsc *daemonSetsController, hash string) map[string][]string { … } func setPodReadiness(t *testing.T, dsc *daemonSetsController, ready bool, count int, fn func(*v1.Pod) bool) { … } func currentDSHash(dsc *daemonSetsController, ds *apps.DaemonSet) (string, error) { … } func TestDaemonSetUpdatesNoTemplateChanged(t *testing.T) { … } func newUpdateSurge(value intstr.IntOrString) apps.DaemonSetUpdateStrategy { … } func newUpdateUnavailable(value intstr.IntOrString) apps.DaemonSetUpdateStrategy { … } func TestGetUnavailableNumbers(t *testing.T) { … } func TestControlledHistories(t *testing.T) { … }