- Sort Score
- Result 10 results
- Languages All
Results 21 - 28 of 28 for XdsUpdater (0.19 sec)
-
pilot/pkg/serviceregistry/serviceentry/controller_test.go
xdsUpdater := xdsfake.NewWithDelegate(delegate) meshcfg := mesh.NewFixedWatcher(mesh.DefaultMeshConfig()) istioStore := configController var controller *Controller if !workloadOnly { controller = NewController(configController, xdsUpdater, meshcfg, opts...) } else { controller = NewWorkloadEntryController(configController, xdsUpdater, meshcfg, opts...) } go controller.Run(stop)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 92.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/serviceimportcache_test.go
return ic.serviceImports.Get(name.Name, name.Namespace) != nil } func (ic *serviceImportCacheImpl) checkXDS(t test.Failer) { t.Helper() ic.opts.XDSUpdater.(*xdsfake.Updater).MatchOrFail(t, xdsfake.Event{Type: "service", ID: serviceImportClusterSetHost.String()}) } func (ic *serviceImportCacheImpl) clusterLocalHost() host.Name {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 14 18:50:38 UTC 2023 - 15.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/network.go
if c.extractGatewaysInner(svc) { gwsChanged = true break } } c.Unlock() if gwsChanged { c.NotifyGatewayHandlers() // TODO ConfigUpdate via gateway handler c.opts.XDSUpdater.ConfigUpdate(&model.PushRequest{Full: true, Reason: model.NewReasonStats(model.NetworksTrigger)}) } } // extractGatewaysInner performs the logic for extractGatewaysFromService without locking the controller.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 22:23:22 UTC 2024 - 15.4K bytes - Viewed (0) -
pilot/pkg/model/endpointshards.go
type EndpointIndexUpdater struct { Index *EndpointIndex // Optional; if set, we will trigger ConfigUpdates in response to EDS updates as appropriate ConfigUpdateFunc func(req *PushRequest) } var _ XDSUpdater = &EndpointIndexUpdater{} func NewEndpointIndexUpdater(ei *EndpointIndex) *EndpointIndexUpdater { return &EndpointIndexUpdater{Index: ei} } func (f *EndpointIndexUpdater) ConfigUpdate(*PushRequest) {}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 15.6K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
{ Port: 80, Name: "http-example", Protocol: corev1.ProtocolTCP, // Not added automatically by fake }, }, }, }) log.Infof("Created service %s", n) cl.opts.XDSUpdater.(*xdsfake.Updater).WaitOrFail(t, "service") } func TestController_GetPodLocality(t *testing.T) { pod1 := generatePod("128.0.1.1", "pod1", "nsA", "", "node1", map[string]string{"app": "prod-app"}, map[string]string{})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
pilot/pkg/model/context.go
} // Create the cluster-local service registry. e.clusterLocalServices = NewClusterLocalProvider(e) } func (e *Environment) InitNetworksManager(updater XDSUpdater) (err error) { e.NetworkManager, err = NewNetworkManager(e, updater) return } func (e *Environment) ClusterLocal() ClusterLocalProvider { return e.clusterLocalServices }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 08:29:05 UTC 2024 - 33.6K bytes - Viewed (0) -
pilot/pkg/model/push_context.go
type ConsolidatedDestRule struct { // rule is merged from the following destinationRules. rule *config.Config // the original dest rules from which above rule is merged. from []types.NamespacedName } // XDSUpdater is used for direct updates of the xDS model and incremental push. // Pilot uses multiple registries - for example each K8S cluster is a registry // instance. Each registry is responsible for tracking a set
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go
} { clienttest.MakeCRD(t, cl, crd) } idx := New(Options{ Client: cl, SystemNamespace: systemNS, DomainSuffix: "company.com", ClusterID: clusterID, XDSUpdater: up, LookupNetwork: func(endpointIP string, labels labels.Instance) network.ID { return networkID }, }) cl.RunAndWait(test.NewStop(t)) t.Cleanup(func() { if t.Failed() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 01:04:50 UTC 2024 - 70.2K bytes - Viewed (0)