Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for findShards (0.08 sec)

  1. pilot/pkg/xds/endpoints/endpoint_builder.go

    			if isClusterLocal || b.service.Attributes.NodeLocal {
    				continue
    			}
    		}
    		eps = append(eps, shards.Shards[shardKey]...)
    	}
    	return eps
    }
    
    // findShards returns the endpoints for a cluster
    func (b *EndpointBuilder) findShards(endpointIndex *model.EndpointIndex) *model.EndpointShards {
    	if b.service == nil {
    		log.Debugf("can not find the service for cluster %s", b.clusterName)
    		return nil
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top