# Functions
No description provided by the author
CheckSnapExists checks to determine if passed in RequestName in volOptions exists on the backend.
CheckVolExists checks to determine if passed in RequestName in volOptions exists on the backend.
CheckVolumeGroupSnapExists checks to determine if passed in RequestName in
volGroupOptions exists on the backend.
No description provided by the author
No description provided by the author
IsEncrypted returns true if volOptions enables file encryption.
IsShallowVolumeSupported returns true only for ReadOnly volume requests with datasource as snapshot.
No description provided by the author
NewSnapshotOptionsFromID generates a new instance of volumeOptions and SnapshotIdentifier from the provided CSI VolumeID.
NewVolumeGroupOptions generates a new instance of volumeGroupOptions from the provided CSI request parameters.
NewVolumeGroupOptionsFromID generates a new instance of volumeGroupOptions and GroupIdentifier from the provided CSI volumeGroupSnapshotID.
NewVolumeOptions generates a new instance of volumeOptions from the provided CSI request parameters.
NewVolumeOptionsFromMonitorList generates a new instance of VolumeOptions and VolumeIdentifier from the provided CSI volume context.
NewVolumeOptionsFromStaticVolume generates a new instance of volumeOptions and VolumeIdentifier from the provided CSI volume context, if the provided context is detected to be a statically provisioned volume.
newVolumeOptionsFromVolID generates a new instance of volumeOptions and VolumeIdentifier from the provided CSI VolumeID.
ReserveSnap is a helper routine to request a UUID reservation for the CSI SnapName and, to generate the snapshot identifier for the reserved UUID.
ReserveVol is a helper routine to request a UUID reservation for the CSI VolumeName and, to generate the volume identifier for the reserved UUID.
ReserveVolumeGroup is a helper routine to request a UUID reservation for the CSI request name and, to generate the volumegroup snapshot identifier for the reserved UUID.
UndoSnapReservation is a helper routine to undo a name reservation for a CSI SnapshotName.
UndoVolReservation is a helper routine to undo a name reservation for a CSI VolumeName.
UndoVolumeGroupReservation is a helper routine to undo a name reservation for a CSI volumeGroupSnapshot name.
UnrefSelfInSnapshotBackedVolumes removes (masks) snapshot ID in the reftracker for volumes backed by this snapshot.
No description provided by the author
# Variables
SnapJournal is used to maintain RADOS based journals for CO generated.
VolJournal is used to maintain RADOS based journals for CO generated.
VolumeGroupJournal is used to maintain RADOS based journals for CO generate request name to CephFS snapshot group attributes.
# Structs
No description provided by the author
SnapshotOption is a struct that holds the information about the snapshot.
No description provided by the author
No description provided by the author
VolumeIdentifier structure contains an association between the CSI VolumeID to its subvolume name on the backing CephFS instance.
No description provided by the author