Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for convertResourceEphemeralStorageToString (0.43 sec)

  1. pkg/api/v1/resource/helpers.go

    	m := int64(math.Ceil(float64(hugePages.Value()) / float64(divisor.Value())))
    	return strconv.FormatInt(m, 10), nil
    }
    
    // convertResourceEphemeralStorageToString converts ephemeral storage value to the format of divisor and returns
    // ceiling of the value.
    func convertResourceEphemeralStorageToString(ephemeralStorage *resource.Quantity, divisor resource.Quantity) (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 26 13:58:16 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top