- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MaxMilliValue (0.16 sec)
-
plugin/pkg/admission/limitranger/admission.go
limit = limitQuantity.Value() enforced = enforcedQuantity.Value() // do a more precise comparison if possible (if the value won't overflow) if request <= resource.MaxMilliValue && limit <= resource.MaxMilliValue && enforced <= resource.MaxMilliValue { request = requestQuantity.MilliValue() limit = limitQuantity.MilliValue() enforced = enforcedQuantity.MilliValue() } return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 24 13:04:39 UTC 2023 - 25.8K bytes - Viewed (0) -
pkg/apis/core/v1/conversion_test.go
t.Fatalf("want core.ServiceAccountName %q, got %q", name, got.ServiceAccountName) } } } func TestResourceListConversion(t *testing.T) { bigMilliQuantity := resource.NewQuantity(resource.MaxMilliValue, resource.DecimalSI) bigMilliQuantity.Add(resource.MustParse("12345m")) tests := []struct { input v1.ResourceList expected core.ResourceList }{ { // No changes necessary.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 10 05:34:15 UTC 2023 - 21.7K bytes - Viewed (0)