Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ShardsForService (0.11 sec)

  1. pilot/pkg/model/endpointshards.go

    		for nsKey, v := range v {
    			out[svcKey][nsKey] = v.DeepCopy()
    		}
    	}
    	return out
    }
    
    // ShardsForService returns the shards and true if they are found, or returns nil, false.
    func (e *EndpointIndex) ShardsForService(serviceName, namespace string) (*EndpointShards, bool) {
    	e.mu.RLock()
    	defer e.mu.RUnlock()
    	byNs, ok := e.shardsBySvc[serviceName]
    	if !ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top