Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetRangeMatchers (0.29 sec)

  1. istioctl/pkg/writer/envoy/configdump/listener.go

    		tc := v.CustomMatch.GetTypedConfig()
    		switch tc.TypeUrl {
    		case IPMatcher:
    			ip := protoconv.SilentlyUnmarshalAny[matcher.IPMatcher](tc)
    			m = map[string]*matcher.Matcher_OnMatch{}
    			for _, rm := range ip.GetRangeMatchers() {
    				for _, r := range rm.Ranges {
    					cidr := r.AddressPrefix
    					pl := r.PrefixLen.GetValue()
    					if pl != 32 && pl != 128 {
    						cidr += fmt.Sprintf("/%d", pl)
    					}
    					m[cidr] = rm.OnMatch
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
Back to top