- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for XdsUpdater (0.23 sec)
-
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go
SystemNamespace string DomainSuffix string ClusterID cluster.ID XDSUpdater model.XDSUpdater Network LookupNetwork } type Options struct { Client kubeclient.Client Revision string SystemNamespace string DomainSuffix string ClusterID cluster.ID XDSUpdater model.XDSUpdater LookupNetwork LookupNetwork } func New(options Options) Index {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 19 17:19:41 UTC 2024 - 15.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/memory/discovery.go
ClusterID cluster.ID // Used by GetProxyWorkloadLabels ip2workloadLabels map[string]labels.Instance addresses map[string]model.AddressInfo // XDSUpdater will push EDS changes to the ADS model. XdsUpdater model.XDSUpdater // Single mutex for now - it's for debug only. mutex sync.Mutex } var ( _ model.Controller = &ServiceDiscovery{} _ model.ServiceDiscovery = &ServiceDiscovery{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 23:10:01 UTC 2024 - 12.4K bytes - Viewed (0) -
pilot/pkg/networking/core/fake.go
} env := model.NewEnvironment() env.Watcher = mesh.NewFixedWatcher(m) xdsUpdater := opts.XDSUpdater if xdsUpdater == nil { xdsUpdater = model.NewEndpointIndexUpdater(env.EndpointIndex) } serviceDiscovery := aggregate.NewController(aggregate.Options{}) se := serviceentry.NewController( configController, xdsUpdater, env.Watcher, serviceentry.WithClusterID(opts.ClusterID))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 11.5K bytes - Viewed (0) -
pilot/test/xds/fake.go
s.ConfigUpdate(&model.PushRequest{ Full: true, Reason: model.NewReasonStats(model.NetworksTrigger), }) }) } var xdsUpdater model.XDSUpdater = s if opts.EnableFakeXDSUpdater { xdsUpdater = xdsfake.NewWithDelegate(s) } mc := multicluster.NewFakeController() creds := kubesecrets.NewMulticluster(opts.DefaultClusterName, mc)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 10 16:08:52 UTC 2024 - 18.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller.go
configController.RegisterEventHandler(gvk.WorkloadEntry, s.workloadEntryHandler) } return s } func newController(store model.ConfigStore, xdsUpdater model.XDSUpdater, meshConfig mesh.Watcher, options ...Option) *Controller { s := &Controller{ XdsUpdater: xdsUpdater, store: store, meshWatcher: meshConfig, serviceInstances: serviceInstancesStore{ ip2instance: map[string][]*model.ServiceInstance{},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 36.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/multicluster.go
k.MeshServiceController.DeleteRegistry(clusterID, provider.External) } if err := k.Controller.Cleanup(); err != nil { log.Warnf("failed cleaning up services in %s: %v", clusterID, err) } if k.opts.XDSUpdater != nil { k.opts.XDSUpdater.ConfigUpdate(&model.PushRequest{Full: true, Reason: model.NewReasonStats(model.ClusterUpdate)}) } } // Multicluster structure holds the remote kube Controllers and multicluster specific attributes.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 12.7K bytes - Viewed (0) -
pilot/pkg/model/network.go
func NewNetworkManager(env *Environment, xdsUpdater XDSUpdater) (*NetworkManager, error) { nameCache, err := newNetworkGatewayNameCache() if err != nil { return nil, err } mgr := &NetworkManager{ env: env, NameCache: nameCache, xdsUpdater: xdsUpdater, NetworkGateways: &NetworkGateways{}, Unresolved: &NetworkGateways{}, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 16.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller.go
ClusterAliases map[string]string // Metrics for capturing node-based metrics. Metrics model.Metrics // XDSUpdater will push changes to the xDS server. XDSUpdater model.XDSUpdater // MeshNetworksWatcher observes changes to the mesh networks config. MeshNetworksWatcher mesh.NetworksWatcher // MeshWatcher observes changes to the mesh config
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 41.2K bytes - Viewed (0) -
pilot/pkg/xds/delta_test.go
} if len(resp.RemovedResources) != 0 { t.Fatalf("received unexpected removed eds resource %v", resp.RemovedResources) } // simulate a svc update s.XdsUpdater.ConfigUpdate(&model.PushRequest{ ConfigsUpdated: sets.New(model.ConfigKey{ Kind: kind.Address, Name: svcA.ResourceName(), Namespace: svcA.Namespace, }), }) resp = ads.ExpectResponse()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 15.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/pod.go
endpointsPendingPodUpdate.Record(float64(len(pc.needResync))) } func (pc *PodCache) proxyUpdates(pod *v1.Pod, isPodUpdate bool) { if pc.c != nil { if pc.c.opts.XDSUpdater != nil { ip := pod.Status.PodIP pc.c.opts.XDSUpdater.ProxyUpdate(pc.c.Cluster(), ip) } if isPodUpdate { // Recompute service(s) due to pod label change.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 10.8K bytes - Viewed (0)