- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for updateNamespace (0.14 sec)
-
pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go
ObjectMeta: metav1.ObjectMeta{Name: ns, Labels: labels}, }, metav1.CreateOptions{}); err != nil { t.Fatal(err) } } func updateNamespace(t *testing.T, client kubernetes.Interface, ns string, labels map[string]string) { t.Helper() if _, err := client.CoreV1().Namespaces().Update(context.TODO(), &v1.Namespace{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 8.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
eventually(t, func() bool { svcList := controller.Services() return servicesEqual(svcList, expectedSvcList) }) // test updating namespace with adding discovery label updateNamespace(t, controller.client.Kube(), nsB, map[string]string{"env": "test"}) // service event handlers should trigger for svc3 and svc4 fx.WaitOrFail(t, "service") fx.WaitOrFail(t, "service")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0)