func NormalizeMemorySize(ctx context.Context, cid string, requestedSizeMB uint64) uint64
NormalizeMemorySize returns the requested memory size in MB aligned up to an even number
func NormalizeProcessorCount(ctx context.Context, cid string, requestedCount, hostCount int32) int32
NormalizeProcessorCount returns the `Min(requested, logical CPU count)`.
MountType represents the type of mount being added
type MountType = string
MountType const
const ( // supported internal mount types MountTypeBind MountType = "bind" MountTypePhysicalDisk MountType = "physical-disk" MountTypeVirtualDisk MountType = "virtual-disk" MountTypeExtensibleVirtualDisk MountType = "extensible-virtual-disk" )