Documentation ¶
Index ¶
Constants ¶
View Source
const ( // GCEDriveTypeStandard is a constant for standard drive types GCEDriveTypeStandard = "pd-standard" // GCEDriveTypeBalanced is a constant for pd-balanced drive types in GCE GCEDriveTypeBalanced = "pd-balanced" // GCEDriveTypeSSD is a constant for ssd drive types GCEDriveTypeSSD = "pd-ssd" // GCEStandardIopsMultiplier is the amount with which a given pd-standard GiB size is multiplied // in order to get that drive's baseline IOPS performance GCEStandardIopsMultiplier = 0.75 // GCEBalancedIopsMultiplier is the amount by which a given balanced disk's // size is multiplied to get it's maximum IOPS performance. GCEBalancedIopsMultiplier = 6 // GCESSDIopsMultiplier is the amount with which a given ssd GiB size is multiplied // in order to get that drive's baseline IOPS performance GCESSDIopsMultiplier = 30 // GCEStandardMaxIops is the minimum of all the maximum iops that can be achieved with disk type px-standard. // https://cloud.google.com/compute/docs/disks#:~:text=Standard%20persistent%20disks%20(%20pd%2Dstandard,that%20balance%20performance%20and%20cost. GCEStandardMaxIops uint64 = 7500 // GCEBalancedMaxIopsLeast is the minimum of all the maximum iops that can be achieved with disk type px-balanced. GCEBalancedMaxIopsLeast uint64 = 15000 // GCEBalancedMaxIopsMost is the most of all the maximum iops that can be achieved with disk type px-balanced. GCEBalancedMaxIopsMost uint64 = 80000 // GCESSDMaxIopsLeast is the minimum of all the maximum iops that can be achieved with disk type px-ssd. GCESSDMaxIopsLeast uint64 = 15000 // GCESSDMaxIopsMost is the most of all the maximum iops that can be achieved with disk type px-ssd. GCESSDMaxIopsMost uint64 = 100000 )
Variables ¶
This section is empty.
Functions ¶
func NewStorageManager ¶
func NewStorageManager(decisionMatrix cloudops.StorageDecisionMatrix) (cloudops.StorageManager, error)
NewStorageManager returns a GCE specific implementation of StorageManager interface.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.