- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for RemoveShard (0.74 sec)
-
pilot/pkg/serviceregistry/util/xdsfake/updater.go
default: } if fx.Delegate != nil { fx.Delegate.SvcUpdate(c, hostname, ns, ev) } } func (fx *Updater) RemoveShard(shardKey model.ShardKey) { select { case fx.Events <- Event{Type: "removeShard", ID: shardKey.String()}: default: } if fx.Delegate != nil { fx.Delegate.RemoveShard(shardKey) } } func (fx *Updater) WaitOrFail(t test.Failer, et string) *Event { t.Helper()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 18:40:34 UTC 2024 - 6.2K bytes - Viewed (0) -
pilot/pkg/xds/eds.go
) { inboundEDSUpdates.Increment() // Update the endpoint shards s.Env.EndpointIndex.UpdateServiceEndpoints(shard, serviceName, namespace, istioEndpoints) } func (s *DiscoveryServer) RemoveShard(shardKey model.ShardKey) { s.Env.EndpointIndex.DeleteShard(shardKey) } // EdsGenerator implements the new Generate method for EDS, using the in-memory, optimized endpoint // storage in DiscoveryServer.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 15:58:06 UTC 2024 - 9.9K bytes - Viewed (0) -
pilot/pkg/model/endpointshards.go
if event == EventDelete { f.Index.DeleteServiceShard(shard, hostname, namespace, false) } } func (f *EndpointIndexUpdater) ProxyUpdate(_ cluster.ID, _ string) {} func (f *EndpointIndexUpdater) RemoveShard(shardKey ShardKey) { f.Index.DeleteShard(shardKey)
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.go
if err := queue.WaitForClose(c.queue, 30*time.Second); err != nil { log.Warnf("queue for removed kube registry %q may not be done processing: %v", c.Cluster(), err) } if c.opts.XDSUpdater != nil { c.opts.XDSUpdater.RemoveShard(model.ShardKeyFromRegistry(c)) } // Unregister networks handler if c.networksHandlerRegistration != nil { c.opts.MeshNetworksWatcher.DeleteNetworksHandler(c.networksHandlerRegistration) }
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/model/push_context.go
// ProxyUpdate is called to notify the XDS server to send a push to the specified proxy. // The requests may be collapsed and throttled. ProxyUpdate(clusterID cluster.ID, ip string) // RemoveShard removes all endpoints for the given shard key RemoveShard(shardKey ShardKey) } // PushRequest defines a request to push to proxies // It is used to send updates to the config update debouncer and pass to the PushQueue.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0)