- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 53 for eps (0.03 sec)
-
pilot/pkg/xds/xds_test.go
p.IPAddresses = []string{"100.100.100.100"} proxy := s.SetupProxy(p) endpoints := xdstest.ExtractClusterEndpoints(s.Clusters(proxy)) eps := endpoints["inbound|9080||"] if !slices.EqualUnordered(eps, []string{"/var/run/someuds.sock"}) { t.Fatalf("expected /var/run/someuds.sock, got %v", eps) } assertListEqual(t, xdstest.ExtractListenerNames(s.Listeners(proxy)), []string{ "0.0.0.0_80", "5.5.5.5_443",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 13.8K bytes - Viewed (0) -
cmd/grid.go
// globalGridStart is a channel that will block startup of grid connections until closed. var globalGridStart = make(chan struct{}) func initGlobalGrid(ctx context.Context, eps EndpointServerPools) error { hosts, local := eps.GridHosts() lookupHost := globalDNSCache.LookupHost g, err := grid.NewManager(ctx, grid.ManagerOptions{ // Pass Dialer for websocket grid, make sure we do not
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 2.2K bytes - Viewed (0) -
pilot/pkg/xds/mesh_network_test.go
retry.UntilSuccessOrFail(t, func() error { eps := xdstest.ExtractLoadAssignments(s.Endpoints(w.proxy)) for c, want := range w.expectations { got := eps[c] if !slices.EqualUnordered(got, want) { err := fmt.Errorf("cluster %s, expected %v, but got %v", c, want, got) fmt.Println(err) return err } } for c, got := range eps { want := w.expectations[c]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 24.6K bytes - Viewed (0) -
pkg/proxy/config/api_test.go
} gotEps := <-epsHandler.updated gotEpsState := make(map[types.NamespacedName]*discoveryv1.EndpointSlice, len(gotEps)) for _, eps := range gotEps { gotEpsState[types.NamespacedName{Namespace: eps.Namespace, Name: eps.Name}] = eps } if !reflect.DeepEqual(gotEpsState, expectedEpsState) { t.Fatalf("Expected endpoints state: %v\nGot: %v\n", expectedEpsState, gotEpsState) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 8.2K bytes - Viewed (0) -
pilot/pkg/xds/endpoints/endpoint_builder.go
func (b *EndpointBuilder) generate(eps []*model.IstioEndpoint) []*LocalityEndpoints { // shouldn't happen here if !b.ServiceFound() { return nil } eps = slices.Filter(eps, func(ep *model.IstioEndpoint) bool { return b.filterIstioEndpoint(ep) }) localityEpMap := make(map[string]*LocalityEndpoints) for _, ep := range eps {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 02:18:19 UTC 2024 - 26.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go
if implicitEndpoints { eps = slices.Map(allServices, func(si model.ServiceInfo) *networkingv1alpha3.WorkloadEntry { return &networkingv1alpha3.WorkloadEntry{Address: si.Hostname} }) } if len(eps) == 0 { return nil } res := make([]model.WorkloadInfo, 0, len(eps)) meshCfg := krt.FetchOne(ctx, MeshConfig.AsCollection()) for i, wle := range eps { services := allServices
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 20.9K bytes - Viewed (0) -
pkg/test/kube/util.go
if err != nil { return err } eps, err := a.CoreV1().Endpoints(ns).Get(context.TODO(), name, metav1.GetOptions{}) if err != nil { return err } if len(eps.Subsets) == 0 { return fmt.Errorf("%s/%v endpoint not ready: no subsets", ns, name) } for _, subset := range eps.Subsets { if len(subset.Addresses) > 0 && len(subset.NotReadyAddresses) == 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 04 22:47:52 UTC 2023 - 9.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/memory/discovery.go
instanceList = sd.instancesByPortName[key] sd.instancesByPortName[key] = append(instanceList, instance) eps := make([]*model.IstioEndpoint, 0, len(sd.instancesByPortName[key])) for _, port := range svc.Ports { key := fmt.Sprintf("%s:%s", service, port.Name) for _, i := range sd.instancesByPortName[key] { eps = append(eps, i.Endpoint) } } if sd.XdsUpdater != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 23:10:01 UTC 2024 - 12.4K bytes - Viewed (0) -
cmd/bucket-targets.go
case <-hcTimer.C: sys.hMutex.RLock() eps := make([]madmin.ServerProperties, 0, len(sys.hc)) for _, ep := range sys.hc { eps = append(eps, madmin.ServerProperties{Endpoint: ep.Endpoint, Scheme: ep.Scheme}) } sys.hMutex.RUnlock() if len(eps) > 0 { cctx, cancel := context.WithTimeout(ctx, 30*time.Second) m := make(map[string]epHealth, len(eps)) start := time.Now()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 01:09:56 UTC 2024 - 20.9K bytes - Viewed (0) -
pkg/registry/core/service/storage/storage.go
return nil, nil, err } eps := obj.(*api.Endpoints) if len(eps.Subsets) == 0 { return nil, nil, errors.NewServiceUnavailable(fmt.Sprintf("no endpoints available for service %q", svcName)) } // Pick a random Subset to start searching from. ssSeed := rand.Intn(len(eps.Subsets)) // Find a Subset that has the port. for ssi := 0; ssi < len(eps.Subsets); ssi++ { ss := &eps.Subsets[(ssSeed+ssi)%len(eps.Subsets)]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:33 UTC 2024 - 22.3K bytes - Viewed (0)