Documentation
¶
Index ¶
- Variables
- func ByteSizeString(bytesize uint64) string
- func VerifyVolumeResize(pvcName string, volumeName string, namespace string, volSizeMb int) (bool, error)
- func WaitForPvResize(pvName string, volSizeMb int) (bool, error)
- func WaitForPvcResize(pvcName string, namespace string, volSizeMb int) (bool, error)
- func WaitForReplicaResize(volName string, volSizeMb int) (bool, error)
- func WaitForVolumeResize(volName string, volSizeMb int) (bool, error)
- func WaitForVolumeUnPublish(volName string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefTimeoutSecs = 120 // in seconds DefSleepTime = 30 // in seconds DefFioCompletionTime = 420 // in seconds InsufficientStorageError = "507 Insufficient Storage" PvcShrinkErrorSubString = " Forbidden: field can not be less than previous value" SnapshotVolumeResizeError = "Volume can't be resized while it has snapshots, or it's a snapshot restore" )
Functions ¶
func ByteSizeString ¶
func VerifyVolumeResize ¶
func VerifyVolumeResize(pvcName string, volumeName string, namespace string, volSizeMb int) (bool, error)
VerifyVolumeResize verify: 1. pvc resize 2. pv resize 3. mayastor volume replicas resize 4. mayastor volume resize 5. verify volume state
func WaitForPvcResize ¶
func WaitForVolumeUnPublish ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.