Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetSourceLabels (0.15 sec)

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

    	// Trim by source labels or mesh gateway
    	if len(match.Gateways) > 0 {
    		for _, g := range match.Gateways {
    			if gatewayNames.Contains(g) {
    				return true
    			}
    		}
    	} else if labels.Instance(match.GetSourceLabels()).SubsetOf(proxyLabels) {
    		return match.SourceNamespace == "" || match.SourceNamespace == proxyNamespace
    	}
    
    	return false
    }
    
    // translateRoute translates HTTP routes
    func translateRoute(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
Back to top