Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PrefixRanges (0.3 sec)

  1. pilot/pkg/simulation/traffic.go

    		return fc.GetDestinationPort() == nil
    	}, func(fc *listener.FilterChainMatch) bool {
    		return int(fc.GetDestinationPort().GetValue()) == input.Port
    	})
    	chains = filter("PrefixRanges", chains, func(fc *listener.FilterChainMatch) bool {
    		return fc.GetPrefixRanges() == nil
    	}, func(fc *listener.FilterChainMatch) bool {
    		ranger := cidranger.NewPCTrieRanger()
    		for _, a := range fc.GetPrefixRanges() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener_test.go

    					t.Fatalf("expected %d listeners, found %d", 1, len(listeners))
    				}
    				var chains []string
    				for _, fc := range listeners[0].FilterChains {
    					for _, cidr := range fc.FilterChainMatch.PrefixRanges {
    						chains = append(chains, cidr.AddressPrefix)
    					}
    				}
    				// There should not be multiple filter chains with same CIDR match
    				if !reflect.DeepEqual(chains, tt.expectedChains) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
Back to top