- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestExtractPorts (0.16 sec)
-
pilot/pkg/config/kube/ingress/controller_test.go
t.Run(testCase.name, func(t *testing.T) { if !testCase.expect.Equals(extractServicesByPortNameType(&testCase.input)) { t.Fatal("should be equal.") } }) } } func TestExtractPorts(t *testing.T) { ports := []corev1.ServicePort{ { Port: 80, }, { Name: "http", Port: 8080, }, } expect := sets.New("80|", "8080|http")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 20 18:34:32 UTC 2023 - 10.1K bytes - Viewed (0)