func ValidateResourceQuantityValue(resource string, value resource.Quantity, fldPath *field.Path) field.ErrorList {
	allErrs := field.ErrorList{}
	allErrs = append(allErrs, ValidateNonnegativeQuantity(value, fldPath)...)
	if helper.IsIntegerResourceName(resource) {
		if value.MilliValue()%int64(1000) != int64(0) {
			allErrs = append(allErrs, field.Invalid(fldPath, value, isNotIntegerErrorMsg))
		}
	}
	return allErrs
}
// ValidateResourceQuantityValue enforces that specified quantity is valid for specified resource
ValidateResourceQuantityValue enforces that specified quantity is valid for specified resource
// ValidateResourceQuantityValue enforces that specified quantity is valid for specified resource
func ValidateResourceQuantityValue(resource string, value resource.Quantity, fldPath *field.Path) field.ErrorList {
	allErrs := field.ErrorList{}
	allErrs = append(allErrs, ValidateNonnegativeQuantity(value, fldPath)...)
	if helper.IsIntegerResourceName(resource) {
		if value.MilliValue()%int64(1000) != int64(0) {
			allErrs = append(allErrs, field.Invalid(fldPath, value, isNotIntegerErrorMsg))
		}
	}
	return allErrs
}
func ValidateResourceQuantityValue ( resource string , value resource . Quantity , fldPath * field . Path ) field . ErrorList { allErrs := field . ErrorList { } allErrs = append ( allErrs , ValidateNonnegativeQuantity ( value , fldPath ) ... ) if helper . IsIntegerResourceName ( resource ) { if value . MilliValue ( ) % int64 ( 1000 ) != int64 ( 0 ) { allErrs = append ( allErrs , field . Invalid ( fldPath , value , isNotIntegerErrorMsg ) ) } } return allErrs }
ValidateResourceQuantityValue enforces that specified quantity is valid for specified resource
ValidateResourceQuantityValue enforces that specified quantity is valid for specified resource