Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewQuantity (0.12 sec)

  1. pkg/apis/core/validation/validation_test.go

    		},
    	}
    	return &pv
    }
    
    func TestAlphaLocalStorageCapacityIsolation(t *testing.T) {
    
    	testCases := []core.VolumeSource{
    		{EmptyDir: &core.EmptyDirVolumeSource{SizeLimit: resource.NewQuantity(int64(5), resource.BinarySI)}},
    	}
    
    	for _, tc := range testCases {
    		if errs := validateVolumeSource(&tc, field.NewPath("spec"), "tmpvol", nil, PodValidationOptions{}); len(errs) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top