# Functions

CheckPVCUsingPopulators returns true if pvc has dataSourceRef and has the usePopulator annotation.
CheckVolumeSatisfyClaim checks if the volume requested by the claim satisfies the requirements of the claim adapted from k8s.io/kubernetes/pkg/controller/volume/persistentvolume/pv_controller.go.
CreateAvailablePersistentVolumeIndex adds storage class name index for available PersistentVolumes.
CreateCommonIndexes creates indexes used by all controllers.
FindConditionByType finds condition by type.
NewImportController creates a new instance of the datavolume import controller.
NewPopulatorController creates a new instance of the datavolume external population controller.
NewPvcCloneController creates a new instance of the datavolume clone controller.
NewSnapshotCloneController creates a new instance of the datavolume clone controller.
NewUploadController creates a new instance of the datavolume upload controller.
RenderPvc renders the PVC according to StorageProfiles.
UpdateReadyCondition updates the ready condition.

# Constants

AnnCSICloneRequest annotation associates object with CSI Clone Request.
AnnOwnedByDataVolume annotation has the owner DataVolume name.
AnnSmartCloneRequest sets our expected annotation for a CloneRequest.
AnnSourceCapacity annotation contains the storage capacity of a PVC used for host-assisted cloning.
AnnVirtualImageSize annotation contains the Virtual Image size of a PVC used for host-assisted cloning.
CloneFailed provides a const to indicate clone has failed.
CloneFromSnapshotSourceInProgress provides a const to indicate clone from snapshot source is in progress.
CloneInProgress provides a const to indicate clone is in progress.
CloneScheduled provides a const to indicate clone is scheduled.
CloneSucceeded provides a const to indicate clone has succeeded.
CloneValidationFailed reports that a clone wasn't admitted by our validation mechanism (reason).
CloneWithoutSource reports that the source of a clone doesn't exists (reason).
CSICloneInProgress provides a const to indicate csi volume clone is in progress.
ErrClaimLost provides a const to indicate a claim is lost.
ErrResourceExists provides a const to indicate a resource exists error.
ErrResourceMarkedForDeletion provides a const to indicate a resource marked for deletion error.
ErrUnableToClone provides a const to indicate some errors are blocking the clone.
ExpansionInProgress is const representing target PVC expansion.
ExternalPopulationSucceeded provides a const to indicate that the external population of the PVC has succeeded (reason).
ImportFailed provides a const to indicate import has failed.
ImportInProgress provides a const to indicate an import is in progress.
ImportPVCNotReady reports that it's not yet possible to access the source PVC (reason).
ImportScheduled provides a const to indicate import is scheduled.
ImportSucceeded provides a const to indicate import has succeeded.
MessageCloneFailed provides a const to form clone has failed message.
MessageCloneFromSnapshotSourceInProgress provides a const to form clone from snapshot source is in progress message.
MessageCloneInProgress provides a const to form clone is in progress message.
MessageCloneScheduled provides a const to form clone is scheduled message.
MessageCloneSucceeded provides a const to form clone has succeeded message.
MessageCloneValidationFailed reports that a clone wasn't admitted by our validation mechanism (message).
MessageCloneWithoutSource reports that the source of a clone doesn't exists (message).
MessageCsiCloneInProgress provides a const to form a CSI Volume Clone in progress message.
MessageErrClaimLost provides a const to form claim lost message.
MessageErrStorageClassNotFound provides a const to indicate the PVC spec is missing accessMode and no storageClass to choose profile.
MessageExpansionInProgress is a const for reporting target expansion.
MessageExternalPopulationSucceeded provides a const to indicate that the external population of the PVC has succeeded (message).
MessageImportFailed provides a const to form import has failed message.
MessageImportInProgress provides a const to form import is in progress message.
MessageImportPVCNotReady reports that it's not yet possible to access the source PVC (message).
MessageImportScheduled provides a const to form import is scheduled message.
MessageImportSucceeded provides a const to form import has succeeded message.
MessageNamespaceTransferInProgress is a const for reporting target transfer.
MessageNoAnyVolumeDataSource provides a const to indicate that the AnyVolumeDataSource feature gate is not enabled (message).
MessageNoCSIDriverForExternalPopulation provides a const to indicate that no CSI drivers were found for external population (message).
MessagePrepClaimInProgress is a const for reporting target prep.
MessageRebindInProgress is a const for reporting target rebind.
MessageResourceExists provides a const to form a resource exists error message.
MessageResourceMarkedForDeletion provides a const to form a resource marked for deletion error message.
MessageSizeDetectionPodCreated provides a const to indicate that the size-detection pod has been created (message).
MessageSizeDetectionPodFailed provides a const to indicate that the size-detection pod wasn't able to obtain the image size.
MessageSizeDetectionPodNotReady reports that the size-detection pod has not finished its execution (message).
MessageSmartCloneInProgress provides a const to form snapshot for smart-clone is in progress message.
MessageUploadFailed provides a const to form upload has failed message.
MessageUploadReady provides a const to form upload is ready message.
MessageUploadScheduled provides a const to form upload is scheduled message.
MessageUploadSucceeded provides a const to form upload has succeeded message.
NamespaceTransferInProgress is const representing target PVC transfer.
NoAnyVolumeDataSource provides a const to indicate that the AnyVolumeDataSource feature gate is not enabled (reason).
NoCSIDriverForExternalPopulation provides a const to indicate that no CSI drivers were found for external population (reason).
NoPopulator reports CDI populator is not used so we fallback to host-assisted cloning (reason).
NoPopulatorMessage reports CDI populator is not used so we fallback to host-assisted cloning (message).
PrepClaimInProgress is const representing target PVC prep.
RebindInProgress is const representing target PVC rebind.
SizeDetectionPodCreated provides a const to indicate that the size-detection pod has been created (reason).
SizeDetectionPodNotReady reports that the size-detection pod has not finished its execution (reason).
SnapshotForSmartCloneCreated provides a const to indicate snapshot creation for smart-clone has been completed.
SnapshotForSmartCloneInProgress provides a const to indicate snapshot creation for smart-clone is in progress.
UploadFailed provides a const to indicate upload has failed.
UploadReady provides a const to indicate upload is in progress.
UploadScheduled provides a const to indicate upload is scheduled.
UploadSucceeded provides a const to indicate upload has succeeded.

# Variables

ErrInvalidTermMsg reports that the termination message from the size-detection pod doesn't exists or is not a valid quantity.
ErrStorageClassNotFound indicates the PVC spec is missing accessMode and no storageClass to choose profile.

# Structs

CloneReconcilerBase members.
Event represents DV controller event.
ImportReconciler members.
PopulatorReconciler members.
PvcCloneReconciler members.
ReconcilerBase members.
SnapshotCloneReconciler members.
UploadReconciler members.