- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestSetDefaultServicePort (0.65 sec)
-
pkg/apis/core/v1/defaults_test.go
out = obj.(*v1.Service) if out.Spec.Ports[0].TargetPort != intstr.FromInt32(5678) { t.Errorf("Expected TargetPort to be unchanged, got %v", out.Spec.Ports[0].TargetPort) } } func TestSetDefaultServicePort(t *testing.T) { // Unchanged if set. in := &v1.Service{Spec: v1.ServiceSpec{ Ports: []v1.ServicePort{ {Protocol: "UDP", Port: 9376, TargetPort: intstr.FromString("p")},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0)