Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for string_match (0.06 sec)

  1. istioctl/pkg/describe/describe.go

    		}
    	}
    
    	if match {
    		for _, trafficMatch := range route.Match {
    			facts = append(facts, trafficMatch.String())
    		}
    	}
    
    	return match, facts
    }
    
    func renderStringMatch(sm *v1alpha3.StringMatch) string {
    	if sm == nil {
    		return ""
    	}
    
    	switch x := sm.MatchType.(type) {
    	case *v1alpha3.StringMatch_Exact:
    		return x.Exact
    	case *v1alpha3.StringMatch_Prefix:
    		return x.Prefix + "*"
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top