package
3.6.0+incompatible
Repository: https://github.com/openebs/cstor-operators.git
Documentation: pkg.go.dev
# Functions
IsDeletionFailedBefore flags if status of cvr is CVRStatusDeletionFailed.
IsDestroyEvent is to check if the call is for CStorVolumeReplica destroy.
IsEmptyStatus is to check if the status of cStorVolumeReplica object is empty.
IsInitStatus is to check if the status of cStorVolumeReplica object is pending.
IsOnlineStatus is to check if the status of cStorVolumeReplica object is Healthy.
IsOnlyStatusChange is to check only status change of cStorVolumeReplica object.
IsRecreateStatus is to check if the status of cStorVolumeReplica object is in recreated state.
IsRightCStorVolumeReplica is to check if the cvr request is for particular pod/application.
NewCStorVolumeReplicaController returns a new instance of CVR controller.
# Structs
CStorVolumeReplicaController is the controller for CVR resources.
CVRPatch struct represent the struct used to patch the cvr object.