Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ParseSubsetKey (0.28 sec)

  1. pilot/pkg/networking/core/cluster_builder.go

    	res := make([]*discovery.Resource, 0, 1+len(destinationRule.GetSubsets()))
    	cachedCluster := cb.cache.Get(&clusterKey)
    	allFound := cachedCluster != nil
    	res = append(res, cachedCluster)
    	dir, _, host, port := model.ParseSubsetKey(clusterKey.clusterName)
    	for _, ss := range destinationRule.GetSubsets() {
    		clusterKey.clusterName = model.BuildSubsetKey(dir, ss.Name, host, port)
    		cachedCluster := cb.cache.Get(&clusterKey)
    		if cachedCluster == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster.go

    		// check with the name of our service (cluster names are in the format outbound|<port>|<subset>|<hostname>).
    		dir, subset, svcHost, port := model.ParseSubsetKey(cluster)
    		// Inbound clusters don't have svchost in its format. So don't add it to serviceClusters.
    		if dir == model.TrafficDirectionInbound {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/sidecar_simulation_test.go

    				}
    
    				// simulate an actual call, this ensures we are aligned with the inbound listener configuration
    				_, _, hostname, port := model.ParseSubsetKey(cname)
    				if tt.proxy.Metadata.IstioVersion != "" {
    					// This doesn't work with the legacy proxies which have issues (https://github.com/istio/istio/issues/29199)
    					for _, i := range tt.instances {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top