const fakeImageName … const fakeImage … const daemonsetName … const namespace … func TestSelectorImmutability(t *testing.T) { … } func TestValidateToleratingBadLabels(t *testing.T) { … } func newDaemonSetWithSelectorLabels(selectorLabels map[string]string, templateGeneration int64) *apps.DaemonSet { … }