Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getWildcardsAndLocalHost (0.41 sec)

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

    	push *model.PushContext,
    ) []*listener.Listener {
    	noneMode := node.GetInterceptionMode() == model.InterceptionNone
    
    	actualWildcards, actualLocalHosts := getWildcardsAndLocalHost(node.GetIPMode())
    
    	// For conflict resolution
    	listenerMap := make(map[listenerKey]*outboundListenerEntry)
    
    	// The sidecarConfig if provided could filter the list of
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener_test.go

    			},
    			expected: []string{WildcardAddress, WildcardIPv6Address},
    		},
    	}
    	for _, tt := range tests {
    		tt.proxy.DiscoverIPMode()
    		actualWildcards, _ := getWildcardsAndLocalHost(tt.proxy.GetIPMode())
    		if len(actualWildcards) != len(tt.expected) {
    			t.Errorf("Test %s failed, expected: %v got: %v", tt.name, tt.expected, actualWildcards)
    		}
    	}
    }
    
    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