- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for addEndpoint (0.14 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/serviceregistry/kube/controller/controller_test.go
} // standard ordering addService("svc") addPod("pod1", "172.0.1.1") addEndpoint("svc", []string{"172.0.1.1"}, []string{"pod1"}) assertEndpointsEvent([]string{"172.0.1.1"}, []string{"pod1"}) fx.Clear() // Create the endpoint, then later add the pod. Should eventually get an update for the endpoint addEndpoint("svc", []string{"172.0.1.1", "172.0.1.2"}, []string{"pod1", "pod2"})
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/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) -
pkg/proxy/endpointschangetracker_test.go
expected map[types.NamespacedName][]time.Time }{ { name: "Single addEndpoints", scenario: func(fp *FakeProxier) { e := createEndpoints("ns", "ep1", t0) fp.addEndpointSlice(e) }, expected: map[types.NamespacedName][]time.Time{createName("ns", "ep1"): {t0}}, }, { name: "addEndpoints then updatedEndpoints", scenario: func(fp *FakeProxier) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 21 14:44:08 UTC 2023 - 79.9K bytes - Viewed (0)