var simpleDaemonSetLabel …
var simpleDaemonSetLabel2 …
var simpleNodeLabel …
var simpleNodeLabel2 …
var alwaysReady …
var informerSyncTimeout …
var noScheduleTolerations …
var noScheduleTaints …
var noExecuteTaints …
func nowPointer() *metav1.Time { … }
var nodeNotReady …
var nodeUnreachable …
func newDaemonSet(name string) *apps.DaemonSet { … }
func newRollingUpdateStrategy() *apps.DaemonSetUpdateStrategy { … }
func newOnDeleteStrategy() *apps.DaemonSetUpdateStrategy { … }
func updateStrategies() []*apps.DaemonSetUpdateStrategy { … }
func newNode(name string, label map[string]string) *v1.Node { … }
func addNodes(nodeStore cache.Store, startIndex, numNodes int, label map[string]string) { … }
func newPod(podName string, nodeName string, label map[string]string, ds *apps.DaemonSet) *v1.Pod { … }
func addPods(podStore cache.Store, nodeName string, label map[string]string, ds *apps.DaemonSet, number int) { … }
func addFailedPods(podStore cache.Store, nodeName string, label map[string]string, ds *apps.DaemonSet, number int) { … }
func newControllerRevision(name string, namespace string, label map[string]string,
ownerReferences []metav1.OwnerReference) *apps.ControllerRevision { … }
type fakePodControl …
func newFakePodControl() *fakePodControl { … }
func (f *fakePodControl) CreatePods(ctx context.Context, namespace string, template *v1.PodTemplateSpec, object runtime.Object, controllerRef *metav1.OwnerReference) error { … }
func (f *fakePodControl) DeletePod(ctx context.Context, namespace string, podID string, object runtime.Object) error { … }
type daemonSetsController …
func newTestController(ctx context.Context, initialObjects ...runtime.Object) (*daemonSetsController, *fakePodControl, *fake.Clientset, error) { … }
func resetCounters(manager *daemonSetsController) { … }
func validateSyncDaemonSets(manager *daemonSetsController, fakePodControl *fakePodControl, expectedCreates, expectedDeletes int, expectedEvents int) error { … }
func expectSyncDaemonSets(t *testing.T, manager *daemonSetsController, ds *apps.DaemonSet, podControl *fakePodControl, expectedCreates, expectedDeletes int, expectedEvents int) { … }
func expectSyncDaemonSetsWithError(t *testing.T, manager *daemonSetsController, ds *apps.DaemonSet, podControl *fakePodControl, expectedCreates, expectedDeletes int, expectedEvents int, expectedError error) { … }
func clearExpectations(t *testing.T, manager *daemonSetsController, ds *apps.DaemonSet, fakePodControl *fakePodControl) { … }
func TestDeleteFinalStateUnknown(t *testing.T) { … }
func TestExpectationsOnRecreate(t *testing.T) { … }
func markPodsReady(store cache.Store) { … }
func markPodReady(pod *v1.Pod) { … }
func TestSimpleDaemonSetLaunchesPods(t *testing.T) { … }
func TestSimpleDaemonSetScheduleDaemonSetPodsLaunchesPods(t *testing.T) { … }
func TestSimpleDaemonSetPodCreateErrors(t *testing.T) { … }
func TestDaemonSetPodCreateExpectationsError(t *testing.T) { … }
func TestSimpleDaemonSetUpdatesStatusAfterLaunchingPods(t *testing.T) { … }
func TestSimpleDaemonSetUpdatesStatusError(t *testing.T) { … }
func TestNoNodesDoesNothing(t *testing.T) { … }
func TestOneNodeDaemonLaunchesPod(t *testing.T) { … }
func TestNotReadyNodeDaemonDoesLaunchPod(t *testing.T) { … }
func resourcePodSpec(nodeName, memory, cpu string) v1.PodSpec { … }
func resourceContainerSpec(memory, cpu string) v1.ResourceRequirements { … }
func resourcePodSpecWithoutNodeName(memory, cpu string) v1.PodSpec { … }
func allocatableResources(memory, cpu string) v1.ResourceList { … }
func TestInsufficientCapacityNodeDaemonDoesNotUnscheduleRunningPod(t *testing.T) { … }
func TestInsufficientCapacityNodeSufficientCapacityWithNodeLabelDaemonLaunchPod(t *testing.T) { … }
func TestNetworkUnavailableNodeDaemonLaunchesPod(t *testing.T) { … }
func TestDontDoAnythingIfBeingDeleted(t *testing.T) { … }
func TestDontDoAnythingIfBeingDeletedRace(t *testing.T) { … }
func TestPortConflictWithSameDaemonPodDoesNotDeletePod(t *testing.T) { … }
func TestNoPortConflictNodeDaemonLaunchesPod(t *testing.T) { … }
func TestPodIsNotDeletedByDaemonsetWithEmptyLabelSelector(t *testing.T) { … }
func TestDealsWithExistingPods(t *testing.T) { … }
func TestSelectorDaemonLaunchesPods(t *testing.T) { … }
func TestSelectorDaemonDeletesUnselectedPods(t *testing.T) { … }
func TestSelectorDaemonDealsWithExistingPods(t *testing.T) { … }
func TestBadSelectorDaemonDoesNothing(t *testing.T) { … }
func TestNameDaemonSetLaunchesPods(t *testing.T) { … }
func TestBadNameDaemonSetDoesNothing(t *testing.T) { … }
func TestNameAndSelectorDaemonSetLaunchesPods(t *testing.T) { … }
func TestInconsistentNameSelectorDaemonSetDoesNothing(t *testing.T) { … }
func TestSelectorDaemonSetLaunchesPods(t *testing.T) { … }
func TestNodeAffinityDaemonLaunchesPods(t *testing.T) { … }
func TestNumberReadyStatus(t *testing.T) { … }
func TestObservedGeneration(t *testing.T) { … }
func TestDaemonKillFailedPods(t *testing.T) { … }
func TestDaemonKillFailedPodsBackoff(t *testing.T) { … }
func TestNoScheduleTaintedDoesntEvicitRunningIntolerantPod(t *testing.T) { … }
func TestNoExecuteTaintedDoesEvicitRunningIntolerantPod(t *testing.T) { … }
func TestTaintedNodeDaemonDoesNotLaunchIntolerantPod(t *testing.T) { … }
func TestTaintedNodeDaemonLaunchesToleratePod(t *testing.T) { … }
func TestNotReadyNodeDaemonLaunchesPod(t *testing.T) { … }
func TestUnreachableNodeDaemonLaunchesPod(t *testing.T) { … }
func TestNodeDaemonLaunchesToleratePod(t *testing.T) { … }
func TestDaemonSetRespectsTermination(t *testing.T) { … }
func setNodeTaint(node *v1.Node, taints []v1.Taint) { … }
func setDaemonSetToleration(ds *apps.DaemonSet, tolerations []v1.Toleration) { … }
func TestTaintPressureNodeDaemonLaunchesPod(t *testing.T) { … }
func setDaemonSetCritical(ds *apps.DaemonSet) { … }
func TestNodeShouldRunDaemonPod(t *testing.T) { … }
func TestUpdateNode(t *testing.T) { … }
func TestDeleteNoDaemonPod(t *testing.T) { … }
func TestDeleteUnscheduledPodForNotExistingNode(t *testing.T) { … }
func TestGetNodesToDaemonPods(t *testing.T) { … }
func TestAddNode(t *testing.T) { … }
func TestAddPod(t *testing.T) { … }
func TestAddPodOrphan(t *testing.T) { … }
func TestUpdatePod(t *testing.T) { … }
func TestUpdatePodOrphanSameLabels(t *testing.T) { … }
func TestUpdatePodOrphanWithNewLabels(t *testing.T) { … }
func TestUpdatePodChangeControllerRef(t *testing.T) { … }
func TestUpdatePodControllerRefRemoved(t *testing.T) { … }
func TestDeletePod(t *testing.T) { … }
func TestDeletePodOrphan(t *testing.T) { … }
func bumpResourceVersion(obj metav1.Object) { … }
func getQueuedKeys(queue workqueue.TypedRateLimitingInterface[string]) []string { … }
func TestSurgeDealsWithExistingPods(t *testing.T) { … }
func TestSurgePreservesReadyOldPods(t *testing.T) { … }
func TestSurgeCreatesNewPodWhenAtMaxSurgeAndOldPodDeleted(t *testing.T) { … }
func TestSurgeDeletesUnreadyOldPods(t *testing.T) { … }
func TestSurgePreservesOldReadyWithUnsatisfiedMinReady(t *testing.T) { … }
func TestSurgeDeletesOldReadyWithUnsatisfiedMinReady(t *testing.T) { … }
func TestStoreDaemonSetStatus(t *testing.T) { … }
func TestShouldIgnoreNodeUpdate(t *testing.T) { … }