- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for normalizeClusterIPs (0.97 sec)
-
pkg/registry/core/service/storage/storage.go
} // normalizeClusterIPs adjust clusterIPs based on ClusterIP. This must not // consider any other fields. func normalizeClusterIPs(after After, before Before) { oldSvc, newSvc := before.Service, after.Service // In all cases here, we don't need to over-think the inputs. Validation
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:33 UTC 2024 - 22.3K bytes - Viewed (0) -
pkg/registry/core/service/storage/storage_test.go
expectedClusterIP: "None", expectedClusterIPs: []string{"10.0.0.11", "2000::1"}, }} for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { normalizeClusterIPs(After{tc.newService}, Before{tc.oldService}) if tc.newService == nil { t.Fatalf("unexpected new service to be nil") } if tc.newService.Spec.ClusterIP != tc.expectedClusterIP {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 440.2K bytes - Viewed (0)