Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pilot/pkg/model/endpointshards.go

    	for _, v := range es.Shards {
    		for _, ep := range v {
    			// use the port name as the key, unless LegacyClusterPortKey is set and takes precedence
    			// In EDS we match on port *name*. But for historical reasons, we match on port number for CDS.
    			var portNum int
    			if ep.LegacyClusterPortKey != 0 {
    				if !ports.Contains(ep.LegacyClusterPortKey) {
    					continue
    				}
    				portNum = ep.LegacyClusterPortKey
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. cmd/utils.go

    	if cp == "." {
    		return ""
    	}
    	return cp
    }
    
    func trimLeadingSlash(ep string) string {
    	if len(ep) > 0 && ep[0] == '/' {
    		// Path ends with '/' preserve it
    		if ep[len(ep)-1] == '/' && len(ep) > 1 {
    			ep = path.Clean(ep)
    			ep += slashSeparator
    		} else {
    			ep = path.Clean(ep)
    		}
    		ep = ep[1:]
    	}
    	return ep
    }
    
    // unescapeGeneric is similar to url.PathUnescape or url.QueryUnescape
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 22:00:34 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  3. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/utils/utils.kt

    import com.intellij.openapi.project.Project
    import com.intellij.psi.PsiElementFinder
    
    public inline fun forEachNonKotlinPsiElementFinder(project: Project, action: (PsiElementFinder) -> Unit) {
        for (finder in PsiElementFinder.EP.getPoint(project).extensionList) {
            if (finder::class.java.name == KOTLIN_JAVA_ELEMENT_FINDER_CLASS_NAME) {
                continue
            }
            action(finder)
        }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 798 bytes
    - Viewed (0)
  4. pilot/pkg/networking/util/util.go

    	for _, ep := range endpoints {
    		clone := CloneLocalityLbEndpoint(ep)
    		out = append(out, clone)
    	}
    	return out
    }
    
    // return a shallow copy of LocalityLbEndpoints
    func CloneLocalityLbEndpoint(ep *endpoint.LocalityLbEndpoints) *endpoint.LocalityLbEndpoints {
    	clone := &endpoint.LocalityLbEndpoints{}
    	clone.Locality = ep.Locality
    	clone.LbEndpoints = ep.LbEndpoints
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. cmd/bucket-listobjects-handlers.go

    	if len(globalProxyEndpoints) == 0 {
    		return false
    	}
    	if index < 0 || index >= len(globalProxyEndpoints) {
    		return false
    	}
    	ep := globalProxyEndpoints[index]
    	if ep.IsLocal {
    		return false
    	}
    	return proxyRequest(ctx, w, r, ep)
    }
    
    // ListObjectsV1Handler - GET Bucket (List Objects) Version 1.
    // --------------------------
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. pkg/proxy/nftables/proxier.go

    		}
    
    		if svcInfo.SessionAffinityType() == v1.ServiceAffinityClientIP {
    			// Generate the per-endpoint affinity sets
    			for _, ep := range allLocallyReachableEndpoints {
    				epInfo, ok := ep.(*endpointInfo)
    				if !ok {
    					proxier.logger.Error(nil, "Failed to cast endpointsInfo", "endpointsInfo", ep)
    					continue
    				}
    
    				// Create a set to store current affinity mappings. As
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    	}
    
    	diskID = format.Erasure.This
    	ep := s.endpoint
    	if m != ep.SetIdx || n != ep.DiskIdx {
    		storageLogOnceIf(GlobalContext,
    			fmt.Errorf("unexpected drive ordering on pool: %s: found drive at (set=%s, drive=%s), expected at (set=%s, drive=%s): %s(%s): %w",
    				humanize.Ordinal(ep.PoolIdx+1), humanize.Ordinal(m+1), humanize.Ordinal(n+1), humanize.Ordinal(ep.SetIdx+1), humanize.Ordinal(ep.DiskIdx+1),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  8. cmd/handler-utils.go

    func proxyRequest(ctx context.Context, w http.ResponseWriter, r *http.Request, ep ProxyEndpoint) (success bool) {
    	success = true
    
    	// Make sure we remove any existing headers before
    	// proxying the request to another node.
    	for k := range w.Header() {
    		w.Header().Del(k)
    	}
    
    	f := handlers.NewForwarder(&handlers.Forwarder{
    		PassHost:     true,
    		RoundTripper: ep.Transport,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. cmd/background-newdisks-heal-ops.go

    	h.mu.Lock()
    	if h.PoolIndex < 0 || h.SetIndex < 0 || h.DiskIndex < 0 {
    		// Attempt to get location.
    		if api := newObjectLayerFn(); api != nil {
    			if ep, ok := api.(*erasureServerPools); ok {
    				h.PoolIndex, h.SetIndex, h.DiskIndex, _ = ep.getPoolAndSet(h.ID)
    			}
    		}
    	}
    	h.LastUpdate = time.Now().UTC()
    	htrackerBytes, err := h.MarshalMsg(nil)
    	h.mu.Unlock()
    	if err != nil {
    		return err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:32 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. cmd/metrics-v2.go

    				currTransferRate,
    				avgTransferRate,
    				maxTransferRate,
    				mrfCount,
    			}
    		}
    		for ep, health := range globalBucketTargetSys.healthStats() {
    			// link latency current
    			m := MetricV2{
    				Description: getClusterRepLinkLatencyCurrMD(),
    				VariableLabels: map[string]string{
    					"endpoint": ep,
    				},
    			}
    			m.Value = float64(health.latency.curr / time.Millisecond)
    			ml = append(ml, m)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top