- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isValidEndpoint (0.24 sec)
-
pkg/proxy/util/utils_test.go
netutils "k8s.io/utils/net" ) func TestValidateWorks(t *testing.T) { if isValidEndpoint("", 0) { t.Errorf("Didn't fail for empty set") } if isValidEndpoint("foobar", 0) { t.Errorf("Didn't fail with invalid port") } if isValidEndpoint("foobar", -1) { t.Errorf("Didn't fail with a negative port") } if !isValidEndpoint("foobar", 8080) { t.Errorf("Failed a valid config.") } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 11:57:43 UTC 2024 - 17.1K bytes - Viewed (0)