- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for emitCancelPodDeletionEvent (0.5 sec)
-
pkg/controller/tainteviction/taint_eviction.go
tc.nodeUpdateQueue.Add(updateItem) } func (tc *Controller) cancelWorkWithEvent(logger klog.Logger, nsName types.NamespacedName) { if tc.taintEvictionQueue.CancelWork(logger, nsName.String()) { tc.emitCancelPodDeletionEvent(nsName) } } func (tc *Controller) processPodOnNode( ctx context.Context, podNamespacedName types.NamespacedName, nodeName string, tolerations []v1.Toleration, taints []v1.Taint,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 19.9K bytes - Viewed (0) -
pkg/controller/tainteviction/taint_eviction_test.go
t.Errorf("emitPodDeletionEvent() returned data (-want,+got):\n%s", diff) } }) t.Run("emitCancelPodDeletionEvent", func(t *testing.T) { controller := &Controller{} recorder := testutil.NewFakeRecorder() controller.recorder = recorder controller.emitCancelPodDeletionEvent(types.NamespacedName{ Name: "test", Namespace: "test", }) want := []*corev1.Event{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 31.3K bytes - Viewed (0)