# Functions

BuildVolumeGroupSnapshotOwnerReference creates a OwnerReference record declaring an object as a child of passed VolumeGroupSnapshot.
GetCredentials retrieves credentials stored in v1.SecretReference.
GetDynamicSnapshotContentNameFoGrouprSnapshot returns a unique content name for the passed in VolumeGroupSnapshot to dynamically provision a group snapshot.
GetDynamicSnapshotContentNameForSnapshot returns a unique content name for the passed in VolumeSnapshot to dynamically provision a snapshot.
GetSecretReference for the group snapshot.
No description provided by the author
getSecretReference returns a reference to the secret specified in the given nameTemplate and namespaceTemplate, or an error if the templates are not specified correctly.
Stateless functions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IsGroupSnapshotCreated indicates that the group snapshot has been cut on a storage system.
IsGroupSnapshotDeletionCandidate checks if a volume group snapshot deletionTimestamp is set and any finalizer is on the group snapshot.
No description provided by the author
IsSnapshotCreated indicates that the snapshot has been cut on a storage system.
IsSnapshotDeletionCandidate checks if a volume snapshot deletionTimestamp is set and any finalizer is on the snapshot.
No description provided by the author
IsVolumeGroupSnapshotClassDefaultAnnotation returns a true boolean if a VolumeGroupSnapshotClass is marked as the default one.
IsVolumeGroupSnapshotMember returns true if the passed VolumeSnapshot object is a member of a VolumeGroupSnapshot.
No description provided by the author
IsVolumeSnapshotClassDefaultAnnotation returns a true boolean if a VolumeSnapshotClass is marked as the default one.
No description provided by the author
MapContainsKey checks if a given map of string to string contains the provided string.
NeedToAddContentFinalizer checks if a Finalizer needs to be added for the volume snapshot content.
NeedToAddGroupSnapshotBoundFinalizer checks if a Finalizer needs to be added for the bound volume group snapshot.
NeedToAddGroupSnapshotContentFinalizer checks if a Finalizer needs to be added for the volume group snapshot content.
NeedToAddSnapshotAsSourceFinalizer checks if a Finalizer needs to be added for the volume snapshot as a source for PVC.
NeedToAddSnapshotBoundFinalizer checks if a Finalizer needs to be added for the bound volume snapshot.
NeedToAddVolumeGroupSnapshotOwnership checks if the passed snapshot is a member of a volume group snapshot but the ownership is missing.
NoResyncPeriodFunc Returns 0 for resyncPeriod in case resyncing is not needed.
PatchVolumeGroupSnapshot patches a volume group snapshot object.
PatchVolumeGroupSnapshotContent patches a volume group snapshot content object.
PatchVolumeSnapshot patches a volume snapshot object.
PatchVolumeSnapshotContent patches a volume snapshot content object.
PersistentVolumeKeyFunc maps a persistent volume to a string usable as KeyFunc to recover it from the CSI driver name and the volume handle.
PersistentVolumeKeyFuncByCSIDriverHandle returns the key to be used form the individual data components.
No description provided by the author
RemoveString returns a newly created []string that contains all items from slice that are not equal to s.
ShouldEnqueueContentChange indicated whether or not a change to a VolumeSnapshotContent object is a change that should be enqueued for sync The following changes are sanitized (and thus, not considered for determining whether to sync) - Resource Version (always changed between objects) - Status (owned and updated only by the sidecar) - Managed Fields (updated by sidecar, and will not change the sync status) - Finalizers (updated by sidecar, and will not change the sync status) - Sidecar-Owned Annotations (annotations that are owned and updated only by the sidecar) (some annotations, such as AnnVolumeSnapshotBeingDeleted, are applied by the controller - so only annotatinons entirely controlled by the sidecar are ignored) If the VolumeSnapshotContent object still contains other changes after this sanitization, the changes are potentially meaningful and the object is enqueued to be considered for syncing.
No description provided by the author
No description provided by the author
storeObjectUpdate updates given cache with a new object version from Informer callback (i.e.
VolumeSnapshotParentGroupKeyFunc maps a member snapshot to the name of the parent VolumeGroupSnapshot.
VolumeSnapshotParentGroupKeyFuncByComponents computes the index key for a certain name and namespace pair.

# Constants

Annotation for secret name and namespace will be added to the group snapshot content and used at group snapshot content deletion time.
No description provided by the author
Annotation for secret name and namespace will be added to the content and used at snapshot content deletion time.
No description provided by the author
AnnVolumeGroupSnapshotBeingCreated annotation applies to VolumeGroupSnapshotContents.
AnnVolumeGroupSnapshotBeingDeleted annotation applies to VolumeGroupSnapshotContents.
AnnVolumeSnapshotBeingCreated annotation applies to VolumeSnapshotContents.
AnnVolumeSnapshotBeingDeleted annotation applies to VolumeSnapshotContents.
No description provided by the author
No description provided by the author
No description provided by the author
Prefixed name key for GetVolumeGroupSnapshot secret.
Prefixed namespace key for GetVolumeGroupSnapshot secret.
Prefixed name key for CreateGroupSnapshot secret.
Prefixed namespace key for DeleteGroupSnapshot secret.
Prefixed name key for ListSnapshots secret.
Prefixed namespace key for ListSnapshots secret.
Prefixed name key for DeleteSnapshot secret.
Prefixed namespace key for DeleteSnapshot secret.
Prefixed VolumeGroupSnapshotContent name key.
Prefixed VolumeGroupSnapshot name key.
Prefixed VolumeGroupSnapshot namespace key.
Prefixed VolumeSnapshotContent name key.
Prefixed VolumeSnapshot name key.
Prefixed VolumeSnapshot namespace key.
Name of finalizer on PVCs that is being used as a source to create VolumeSnapshots.
Name of finalizer on VolumeGroupSnapshots that are bound to VolumeGroupSnapshotContents.
Name of finalizer on VolumeGroupSnapshotContents that are bound by VolumeGroupSnapshots.
VolumeGroupSnapshotHandleAnnotation is applied to VolumeSnapshotContents that are member of a VolumeGroupSnapshotContent, and indicates the handle of the latter.
Name of finalizer on VolumeSnapshot that is used as a source to create a PVC.
Name of finalizer on VolumeSnapshot that is being used as a source to create a PVC.
Name of finalizer on VolumeSnapshotContents that are bound by VolumeSnapshots.
VolumeSnapshotContentManagedByLabel is applied by the snapshot controller to the VolumeSnapshotContent object in case distributed snapshotting is enabled.
Name of finalizer on VolumeSnapshot that is a part of a VolumeGroupSnapshot.
VolumeSnapshotParentGroupIndex is the name of the cache index hosting the relationship between volume snapshots and their volume group snapshot owner.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

PatchOp represents a json patch operation.