Documentation ¶
Index ¶
- Variables
- func IsWarningPodEventPresent(podName string, namespace string, errorSubstring string) (bool, error)
- func IsWarningPvcEventPresent(pvcName string, namespace string, errorSubstring string) (bool, error)
- func VerifyRestoredVolumeList(restVol map[string]common.Snapshot) (bool, error)
- func WaitForPvcWarningEvent(pvcName string, namespace string, errorSubstring string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefTimeoutSecs = 180 // in seconds PreConditionFailedErrorSubstring = "412 Precondition Failed" PoolNotReadyToTakeCloneOfSnapshot = "Pool not ready to take clone of snapshot" NotReady = "is not Ready" RangeNotSatisfiable = "416 Range Not Satisfiable" CloneVolumeSizeErrorString = "Cloned snapshot volume must match the snapshot size" BadRequest = "400 Bad Request" CloneVolumeThinErrorString = "Cloned snapshot volumes must be thin provisioned" ErrorGettingHandleDataSource = "error getting handle for DataSource" MultiReplicaRestore = "Cannot create a multi-replica volume from a snapshot of a single-replica volume" FailedToStageVolume = "Failed to stage volume" FailedToProvisionWithCrossVolumeMode = "snapshot.storage.kubernetes.io/allow-volume-mode-change annotation is not present on snapshotcontent" VolumeModeConversionAnnotationKey = "snapshot.storage.kubernetes.io/allow-volume-mode-change" VolumeModeConversionAnnotationValue = "true" )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.