func IsHugePageMedium(medium v1.StorageMedium) bool {
	if medium == v1.StorageMediumHugePages {
		return true
	}
	return strings.HasPrefix(string(medium), string(v1.StorageMediumHugePagesPrefix))
}
// IsHugePageMedium returns true if the volume medium is in 'HugePages[-size]' format
IsHugePageMedium returns true if the volume medium is in 'HugePages[-size]' format
// IsHugePageMedium returns true if the volume medium is in ' HugePages [ - size ] ' format
func IsHugePageMedium(medium v1.StorageMedium) bool {
	if medium == v1.StorageMediumHugePages {
		return true
	}
	return strings.HasPrefix(string(medium), string(v1.StorageMediumHugePagesPrefix))
}
func IsHugePageMedium ( medium v1 . StorageMedium ) bool { if medium == v1 . StorageMediumHugePages { return true } return strings . HasPrefix ( string ( medium ) , string ( v1 . StorageMediumHugePagesPrefix ) ) }
IsHugePageMedium returns true if the volume medium is in 'HugePages[-size]' format
IsHugePageMedium returns true if the volume medium is in ' HugePages [ - size ] ' format