Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for ep (0.02 sec)

  1. pkg/proxy/topology.go

    	for _, ep := range clusterEndpoints {
    		endpointsMap[ep.String()] = ep
    	}
    	for _, ep := range localEndpoints {
    		endpointsMap[ep.String()] = ep
    	}
    	allReachableEndpoints = make([]Endpoint, 0, len(endpointsMap))
    	for _, ep := range endpointsMap {
    		allReachableEndpoints = append(allReachableEndpoints, ep)
    	}
    
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 06:46:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. src/os/executable_darwin.go

    func executable() (string, error) {
    	ep := executablePath
    	if len(ep) == 0 {
    		return ep, errors.New("cannot find executable path")
    	}
    	if ep[0] != '/' {
    		if initCwdErr != nil {
    			return ep, initCwdErr
    		}
    		if len(ep) > 2 && ep[0:2] == "./" {
    			// skip "./"
    			ep = ep[2:]
    		}
    		ep = initCwd + "/" + ep
    	}
    	return ep, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 675 bytes
    - Viewed (0)
  3. pilot/test/xdstest/endpoints.go

    		return addrI < addrJ
    	})
    
    	for i, ep := range got {
    		if len(ep.LbEndpoints) != len(want[i].LbEps) {
    			return fmt.Errorf("unexpected number of LB endpoints within endpoint %d: %v, want %v",
    				i, getLbEndpointAddrs(ep), want[i].GetAddrs())
    		}
    
    		if ep.LoadBalancingWeight.GetValue() != want[i].Weight {
    			return fmt.Errorf("unexpected weight for endpoint %d: got %v, want %v", i, ep.LoadBalancingWeight.GetValue(), want[i].Weight)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/endpoint.go

    		return false
    	}
    	status := retrieveEndpointStatus(ep)
    	if e.Status != "" && !strings.EqualFold(core.HealthStatus_name[int32(status)], e.Status) {
    		return false
    	}
    	return true
    }
    
    func retrieveEndpointStatus(ep *endpoint.LbEndpoint) core.HealthStatus {
    	return ep.GetHealthStatus()
    }
    
    func retrieveEndpointPort(ep *endpoint.LbEndpoint) uint32 {
    	return ep.GetEndpoint().GetAddress().GetSocketAddress().GetPortValue()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. pilot/pkg/xds/endpoints/ep_filters.go

    	}
    	return gws
    }
    
    func (b *EndpointBuilder) scaleEndpointLBWeight(ep *endpoint.LbEndpoint, scaleFactor uint32) uint32 {
    	if ep.GetLoadBalancingWeight() == nil || ep.GetLoadBalancingWeight().Value == 0 {
    		return scaleFactor
    	}
    	weight := uint32(math.MaxUint32)
    	if ep.GetLoadBalancingWeight().Value < math.MaxUint32/scaleFactor {
    		weight = ep.GetLoadBalancingWeight().Value * scaleFactor
    	}
    	return weight
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/feature/feature_support_checker.go

    	f.lock.Lock()
    	defer f.lock.Unlock()
    	for _, ep := range c.Endpoints() {
    		if _, found := f.checkingEndpoint[ep]; found {
    			continue
    		}
    		f.checkingEndpoint[ep] = struct{}{}
    		go func(ep string) {
    			defer runtime.HandleCrash()
    			err := delayFunc.Until(ctx, true, true, func(ctx context.Context) (done bool, err error) {
    				internalErr := f.clientSupportsRequestWatchProgress(ctx, c, ep)
    				return internalErr == nil, nil
    			})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/AdditionalKDocResolutionProvider.kt

    import org.jetbrains.kotlin.psi.KtElement
    
    /**
     * An extension point to provide additional symbols for a KDoc reference. KDoc link resolution will use symbols returned by this EP
     * only if the real resolution was unsuccessful. You can use this EP by creating a class implementing this interface.
     * For example, let's assume that you want to return symbol `fun foo() = 3` for the following KDoc resolution:
     *
     * ```
     *   package com.example
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. pilot/pkg/networking/grpcgen/grpcecho_test.go

    		})
    		if err != nil {
    			t.Fatal(err)
    		}
    		wg.Add(1)
    		if err := ep.Start(func() {
    			wg.Done()
    		}); err != nil {
    			t.Fatal(err)
    		}
    
    		cfgs = append(cfgs, makeWE(s, ip, ep.GetConfig().Port.Port))
    		cgt.endpoints = append(cgt.endpoints, ep)
    		t.Cleanup(func() {
    			if err := ep.Close(); err != nil {
    				t.Errorf("failed to close endpoint %s: %v", ip, err)
    			}
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/ingress/status.go

    	lbi := make([]knetworking.IngressLoadBalancerIngress, 0, len(endpoints))
    	for _, ep := range endpoints {
    		if !netutil.IsValidIPAddress(ep) {
    			lbi = append(lbi, knetworking.IngressLoadBalancerIngress{Hostname: ep})
    		} else {
    			lbi = append(lbi, knetworking.IngressLoadBalancerIngress{IP: ep})
    		}
    	}
    
    	sort.SliceStable(lbi, lessLoadBalancerIngress(lbi))
    	return lbi
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. cmd/bootstrap-peer-server.go

    		}
    		envValues[envK] = logger.HashString(env.Get(envK, ""))
    	}
    	scfg := &ServerSystemConfig{NEndpoints: globalEndpoints.NEndpoints(), MinioEnv: envValues}
    	var cmdLines []string
    	for _, ep := range globalEndpoints {
    		cmdLines = append(cmdLines, ep.CmdLine)
    	}
    	scfg.CmdLines = cmdLines
    	return scfg
    }
    
    func (s *bootstrapRESTServer) VerifyHandler(params *grid.MSS) (*ServerSystemConfig, *grid.RemoteErr) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top