- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for updateNamespace (0.16 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) -
pkg/controller/certificates/rootcacertpublisher/publisher_test.go
for _, s := range tc.ExistingConfigMaps { cmStore.Add(s) } if tc.AddedNamespace != nil { controller.namespaceAdded(tc.AddedNamespace) } if tc.UpdatedNamespace != nil { controller.namespaceUpdated(nil, tc.UpdatedNamespace) } if tc.DeletedConfigMap != nil { cmStore.Delete(tc.DeletedConfigMap) controller.configMapDeleted(tc.DeletedConfigMap) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:16 UTC 2023 - 7.9K bytes - Viewed (0)