Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildEndpointsForService (0.18 sec)

  1. pilot/pkg/serviceregistry/kube/controller/serviceexportcache.go

    	for _, svc := range ec.servicesForNamespacedName(config.NamespacedName(se)) {
    		// Re-build the endpoints for this service with a new discoverability policy.
    		// Also update any internal caching.
    		endpoints := ec.buildEndpointsForService(svc, true)
    		shard := model.ShardKeyFromRegistry(ec)
    		ec.opts.XDSUpdater.EDSUpdate(shard, svc.Hostname.String(), se.GetNamespace(), endpoints)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/controller.go

    		c.Lock()
    		conv, f := c.servicesMap[hostname]
    		c.Unlock()
    		if !f {
    			return
    		}
    		shard := model.ShardKeyFromRegistry(c)
    		endpoints := c.buildEndpointsForService(conv, true)
    		if len(endpoints) > 0 {
    			c.opts.XDSUpdater.EDSCacheUpdate(shard, string(hostname), svc.Namespace, endpoints)
    		}
    		cu.Insert(model.ConfigKey{
    			Kind:      kind.ServiceEntry,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
Back to top