- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for NewTagWatcher (0.25 sec)
-
pkg/revisions/tag_watcher.go
queue controllers.Queue webhooks kclient.Client[*admissionregistrationv1.MutatingWebhookConfiguration] index *kclient.Index[string, *admissionregistrationv1.MutatingWebhookConfiguration] } func NewTagWatcher(client kube.Client, revision string) TagWatcher { p := &tagWatcher{ revision: revision, } p.queue = controllers.NewQueue("tag", controllers.WithReconciler(func(key types.NamespacedName) error { p.notifyHandlers()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 00:12:28 UTC 2024 - 3.3K bytes - Viewed (0) -
pkg/revisions/tag_watcher_test.go
"istio.io/istio/pkg/test" "istio.io/istio/pkg/test/util/assert" "istio.io/istio/pkg/util/sets" ) func TestTagWatcher(t *testing.T) { c := kube.NewFakeClient() tw := NewTagWatcher(c, "revision").(*tagWatcher) whs := clienttest.Wrap(t, tw.webhooks) stop := test.NewStop(t) c.RunAndWait(stop) track := assert.NewTracker[string](t) tw.AddHandler(func(s sets.String) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 16 01:18:03 UTC 2023 - 2.5K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/deploymentcontroller_test.go
kclient.NewWriteClient[*k8sbeta.Gateway](client).Create(tt.gw.DeepCopy()) stop := test.NewStop(t) env := model.NewEnvironment() env.PushContext().ProxyConfigs = tt.pcs tw := revisions.NewTagWatcher(client, "") go tw.Run(stop) d := NewDeploymentController( client, cluster.ID(features.ClusterName), env, testInjectionConfig(t, tt.values), func(fn func()) { }, tw, "")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 21:43:20 UTC 2024 - 16.5K bytes - Viewed (0) -
pilot/pkg/bootstrap/configcontroller.go
// We can only run this if the Gateway CRD is created if s.kubeClient.CrdWatcher().WaitForCRD(gvr.KubernetesGateway, leaderStop) { tagWatcher := revisions.NewTagWatcher(s.kubeClient, args.Revision) controller := gateway.NewDeploymentController(s.kubeClient, s.clusterID, s.environment, s.webhookInfo.getWebhookConfig, s.webhookInfo.addHandler, tagWatcher, args.Revision)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 14.1K bytes - Viewed (0)