- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewRepairController (0.1 sec)
-
cni/pkg/repair/repair_test.go
}, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { mt := monitortest.New(t) tt.config.LabelPods = true c, err := NewRepairController(tt.client, tt.config) assert.NoError(t, err) t.Cleanup(func() { assert.NoError(t, c.queue.WaitForClose(time.Second)) }) stop := test.NewStop(t) tt.client.RunAndWait(stop)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 10.6K bytes - Viewed (0) -
cni/pkg/repair/repaircontroller.go
pods kclient.Client[*corev1.Pod] queue controllers.Queue cfg config.RepairConfig events kclient.EventRecorder repairedPods map[types.NamespacedName]types.UID } func NewRepairController(client kube.Client, cfg config.RepairConfig) (*Controller, error) { c := &Controller{ cfg: cfg, client: client, events: kclient.NewEventRecorder(client, "cni-repair"),
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Feb 10 00:31:55 UTC 2024 - 10.4K bytes - Viewed (0)