- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for PersistentVolumeClaimValidateLimitFunc (0.27 sec)
-
plugin/pkg/admission/limitranger/admission.go
switch resourceName { case "pods": return PodValidateLimitFunc(limitRange, obj.(*api.Pod)) case "persistentvolumeclaims": return PersistentVolumeClaimValidateLimitFunc(limitRange, obj.(*api.PersistentVolumeClaim)) } return nil } // SupportsAttributes ignores all calls that do not deal with pod resources or storage requests (PVCs).
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 24 13:04:39 UTC 2023 - 25.8K bytes - Viewed (0) -
plugin/pkg/admission/limitranger/admission_test.go
}, } for i := range successCases { test := successCases[i] err := PersistentVolumeClaimValidateLimitFunc(&test.limitRange, &test.pvc) if err != nil { t.Errorf("Unexpected error for pvc: %s, %v", test.pvc.Name, err) } } errorCases := []testCase{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 51.5K bytes - Viewed (0)