- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for addEndpoint (0.13 sec)
-
pilot/pkg/serviceregistry/memory/discovery.go
eps = append(eps, i.Endpoint) } } if sd.XdsUpdater != nil { sd.XdsUpdater.EDSUpdate(sd.shardKey(), string(service), svc.Attributes.Namespace, eps) } } // AddEndpoint adds an endpoint to a service. func (sd *ServiceDiscovery) AddEndpoint(service host.Name, servicePortName string, servicePort int, address string, port int) *model.ServiceInstance { instance := &model.ServiceInstance{ Service: &model.Service{Hostname: service},
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/xds/ads_test.go
} addServiceByNames(ns, hostnames...) } addServiceInstance := func(hostname host.Name, indexes ...int) { for _, i := range indexes { s.MemRegistry.AddEndpoint(hostname, "http-main", 2080, "192.168.1.10", i) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jan 30 17:25:17 UTC 2024 - 30.3K bytes - Viewed (0) -
pkg/proxy/endpointslicecache.go
Protocol: *port.Protocol, } endpointInfoBySP[svcPortName] = cache.addEndpoints(&svcPortName, int(*port.Port), endpointInfoBySP[svcPortName], sliceData.endpointSlice.Endpoints) } } return endpointInfoBySP } // addEndpoints adds an Endpoint for each unique endpoint.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:07:21 UTC 2024 - 11.7K bytes - Viewed (0)