Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the pvc v1alpha1 API group +kubebuilder:object:generate=true +groupName=datamover.oadp.openshift.io
Index ¶
- Variables
- type PVCData
- type ReplicationDestinationData
- type ReplicationSourceData
- type VSBRef
- type VolumeSnapshotBackup
- type VolumeSnapshotBackupBatchingStatus
- type VolumeSnapshotBackupList
- type VolumeSnapshotBackupPhase
- type VolumeSnapshotBackupSpec
- type VolumeSnapshotBackupStatus
- type VolumeSnapshotRestore
- type VolumeSnapshotRestoreBatchingStatus
- type VolumeSnapshotRestoreList
- type VolumeSnapshotRestorePhase
- type VolumeSnapshotRestoreSpec
- type VolumeSnapshotRestoreStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "datamover.oadp.openshift.io", Version: "v1alpha1"} VSBKind = "VolumeSnapshotBackup" VSRKind = "VolumeSnapshotRestore" // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type PVCData ¶
type PVCData struct { // name of the PersistentVolumeClaim Name string `json:"name,omitempty"` // size of the PersistentVolumeClaim Size string `json:"size,omitempty"` // name of the StorageClass StorageClassName string `json:"storageClassName,omitempty"` }
func (*PVCData) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PVCData.
func (*PVCData) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicationDestinationData ¶
type ReplicationDestinationData struct { // name of the ReplicationDestination associated with the volumesnapshotrestore Name string `json:"name,omitempty"` // StartTimestamp records the time a ReplicationDestination was started. // +optional StartTimestamp *metav1.Time `json:"startTimestamp,omitempty"` // CompletionTimestamp records the time a ReplicationDestination reached a terminal state. // +optional CompletionTimestamp *metav1.Time `json:"completionTimestamp,omitempty"` }
func (*ReplicationDestinationData) DeepCopy ¶
func (in *ReplicationDestinationData) DeepCopy() *ReplicationDestinationData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationDestinationData.
func (*ReplicationDestinationData) DeepCopyInto ¶
func (in *ReplicationDestinationData) DeepCopyInto(out *ReplicationDestinationData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicationSourceData ¶
type ReplicationSourceData struct { // name of the ReplicationSource associated with the volumesnapshotbackup Name string `json:"name,omitempty"` // StartTimestamp records the time a ReplicationSource was started. // +optional StartTimestamp *metav1.Time `json:"startTimestamp,omitempty"` // CompletionTimestamp records the time a ReplicationSource reached a terminal state. // +optional CompletionTimestamp *metav1.Time `json:"completionTimestamp,omitempty"` }
func (*ReplicationSourceData) DeepCopy ¶
func (in *ReplicationSourceData) DeepCopy() *ReplicationSourceData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationSourceData.
func (*ReplicationSourceData) DeepCopyInto ¶
func (in *ReplicationSourceData) DeepCopyInto(out *ReplicationSourceData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VSBRef ¶
type VSBRef struct { // Includes backed up PVC name and size BackedUpPVCData PVCData `json:"sourcePVCData,omitempty"` // Includes restic repository path ResticRepository string `json:"resticrepository,omitempty"` // name of the VolumeSnapshotClass VolumeSnapshotClassName string `json:"volumeSnapshotClassName,omitempty"` }
func (*VSBRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSBRef.
func (*VSBRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSnapshotBackup ¶
type VolumeSnapshotBackup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VolumeSnapshotBackupSpec `json:"spec,omitempty"` Status VolumeSnapshotBackupStatus `json:"status,omitempty"` }
VolumeSnapshotBackup is the Schema for the volumesnapshotbackups API
func (*VolumeSnapshotBackup) DeepCopy ¶
func (in *VolumeSnapshotBackup) DeepCopy() *VolumeSnapshotBackup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotBackup.
func (*VolumeSnapshotBackup) DeepCopyInto ¶
func (in *VolumeSnapshotBackup) DeepCopyInto(out *VolumeSnapshotBackup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeSnapshotBackup) DeepCopyObject ¶
func (in *VolumeSnapshotBackup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VolumeSnapshotBackupBatchingStatus ¶
type VolumeSnapshotBackupBatchingStatus string
const ( SnapMoverBackupBatchingCompleted VolumeSnapshotBackupBatchingStatus = "Completed" SnapMoverBackupBatchingQueued VolumeSnapshotBackupBatchingStatus = "Queued" SnapMoverBackupBatchingProcessing VolumeSnapshotBackupBatchingStatus = "Processing" )
type VolumeSnapshotBackupList ¶
type VolumeSnapshotBackupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VolumeSnapshotBackup `json:"items"` }
VolumeSnapshotBackupList contains a list of VolumeSnapshotBackup
func (*VolumeSnapshotBackupList) DeepCopy ¶
func (in *VolumeSnapshotBackupList) DeepCopy() *VolumeSnapshotBackupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotBackupList.
func (*VolumeSnapshotBackupList) DeepCopyInto ¶
func (in *VolumeSnapshotBackupList) DeepCopyInto(out *VolumeSnapshotBackupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeSnapshotBackupList) DeepCopyObject ¶
func (in *VolumeSnapshotBackupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VolumeSnapshotBackupPhase ¶
type VolumeSnapshotBackupPhase string
const ( SnapMoverVolSyncPhaseCompleted VolumeSnapshotBackupPhase = "SnapshotBackupDone" SnapMoverBackupPhaseCompleted VolumeSnapshotBackupPhase = "Completed" SnapMoverBackupPhaseInProgress VolumeSnapshotBackupPhase = "InProgress" SnapMoverBackupPhaseFailed VolumeSnapshotBackupPhase = "Failed" SnapMoverBackupPhasePartiallyFailed VolumeSnapshotBackupPhase = "PartiallyFailed" SnapMoverBackupPhaseCleanup VolumeSnapshotBackupPhase = "Cleanup" )
type VolumeSnapshotBackupSpec ¶
type VolumeSnapshotBackupSpec struct { VolumeSnapshotContent corev1.ObjectReference `json:"volumeSnapshotContent,omitempty"` // Namespace where the Velero deployment is present ProtectedNamespace string `json:"protectedNamespace,omitempty"` // Restic Secret reference for given BSL ResticSecretRef corev1.LocalObjectReference `json:"resticSecretRef,omitempty"` }
VolumeSnapshotBackupSpec defines the desired state of VolumeSnapshotBackup
func (*VolumeSnapshotBackupSpec) DeepCopy ¶
func (in *VolumeSnapshotBackupSpec) DeepCopy() *VolumeSnapshotBackupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotBackupSpec.
func (*VolumeSnapshotBackupSpec) DeepCopyInto ¶
func (in *VolumeSnapshotBackupSpec) DeepCopyInto(out *VolumeSnapshotBackupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSnapshotBackupStatus ¶
type VolumeSnapshotBackupStatus struct { Completed bool `json:"completed,omitempty"` // Include references to the volsync CRs and their state as they are // running Conditions []metav1.Condition `json:"conditions,omitempty"` // Includes source PVC name and size SourcePVCData PVCData `json:"sourcePVCData,omitempty"` // Includes restic repository path ResticRepository string `json:"resticrepository,omitempty"` // volumesnapshot backup phase status Phase VolumeSnapshotBackupPhase `json:"phase,omitempty"` // volumesnapshotbackup batching status BatchingStatus VolumeSnapshotBackupBatchingStatus `json:"batchingStatus,omitempty"` // name of the VolumeSnapshotClass VolumeSnapshotClassName string `json:"volumeSnapshotClassName,omitempty"` // StartTimestamp records the time a volsumesnapshotbackup was started. // +optional StartTimestamp *metav1.Time `json:"startTimestamp,omitempty"` // CompletionTimestamp records the time a volumesnapshotbackup reached a terminal state. // +optional CompletionTimestamp *metav1.Time `json:"completionTimestamp,omitempty"` // Includes information pertaining to Volsync ReplicationSource CR ReplicationSourceData ReplicationSourceData `json:"replicationSourceData,omitempty"` }
VolumeSnapshotBackupStatus defines the observed state of VolumeSnapshotBackup
func (*VolumeSnapshotBackupStatus) DeepCopy ¶
func (in *VolumeSnapshotBackupStatus) DeepCopy() *VolumeSnapshotBackupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotBackupStatus.
func (*VolumeSnapshotBackupStatus) DeepCopyInto ¶
func (in *VolumeSnapshotBackupStatus) DeepCopyInto(out *VolumeSnapshotBackupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSnapshotRestore ¶
type VolumeSnapshotRestore struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VolumeSnapshotRestoreSpec `json:"spec,omitempty"` Status VolumeSnapshotRestoreStatus `json:"status,omitempty"` }
VolumeSnapshotRestore is the Schema for the volumesnapshotrestores API
func (*VolumeSnapshotRestore) DeepCopy ¶
func (in *VolumeSnapshotRestore) DeepCopy() *VolumeSnapshotRestore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotRestore.
func (*VolumeSnapshotRestore) DeepCopyInto ¶
func (in *VolumeSnapshotRestore) DeepCopyInto(out *VolumeSnapshotRestore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeSnapshotRestore) DeepCopyObject ¶
func (in *VolumeSnapshotRestore) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VolumeSnapshotRestoreBatchingStatus ¶
type VolumeSnapshotRestoreBatchingStatus string
const ( SnapMoverRestoreBatchingCompleted VolumeSnapshotRestoreBatchingStatus = "Completed" SnapMoverRestoreBatchingQueued VolumeSnapshotRestoreBatchingStatus = "Queued" SnapMoverRestoreBatchingProcessing VolumeSnapshotRestoreBatchingStatus = "Processing" )
type VolumeSnapshotRestoreList ¶
type VolumeSnapshotRestoreList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VolumeSnapshotRestore `json:"items"` }
VolumeSnapshotRestoreList contains a list of VolumeSnapshotRestore
func (*VolumeSnapshotRestoreList) DeepCopy ¶
func (in *VolumeSnapshotRestoreList) DeepCopy() *VolumeSnapshotRestoreList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotRestoreList.
func (*VolumeSnapshotRestoreList) DeepCopyInto ¶
func (in *VolumeSnapshotRestoreList) DeepCopyInto(out *VolumeSnapshotRestoreList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeSnapshotRestoreList) DeepCopyObject ¶
func (in *VolumeSnapshotRestoreList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VolumeSnapshotRestorePhase ¶
type VolumeSnapshotRestorePhase string
const ( SnapMoverRestoreVolSyncPhaseCompleted VolumeSnapshotRestorePhase = "SnapshotRestoreDone" SnapMoverRestorePhaseCompleted VolumeSnapshotRestorePhase = "Completed" SnapMoverRestorePhaseInProgress VolumeSnapshotRestorePhase = "InProgress" SnapMoverRestorePhaseFailed VolumeSnapshotRestorePhase = "Failed" SnapMoverRestorePhasePartiallyFailed VolumeSnapshotRestorePhase = "PartiallyFailed" SnapMoverRestorePhaseCleanup VolumeSnapshotRestorePhase = "Cleanup" )
type VolumeSnapshotRestoreSpec ¶
type VolumeSnapshotRestoreSpec struct { ResticSecretRef corev1.LocalObjectReference `json:"resticSecretRef,omitempty"` // Includes associated volumesnapshotbackup details VolumeSnapshotMoverBackupref VSBRef `json:"volumeSnapshotMoverBackupRef,omitempty"` // Namespace where the Velero deployment is present ProtectedNamespace string `json:"protectedNamespace,omitempty"` }
VolumeSnapshotRestoreSpec defines the desired state of VolumeSnapshotRestore
func (*VolumeSnapshotRestoreSpec) DeepCopy ¶
func (in *VolumeSnapshotRestoreSpec) DeepCopy() *VolumeSnapshotRestoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotRestoreSpec.
func (*VolumeSnapshotRestoreSpec) DeepCopyInto ¶
func (in *VolumeSnapshotRestoreSpec) DeepCopyInto(out *VolumeSnapshotRestoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSnapshotRestoreStatus ¶
type VolumeSnapshotRestoreStatus struct { Conditions []metav1.Condition `json:"conditions,omitempty"` // volumesnapshot restore phase status Phase VolumeSnapshotRestorePhase `json:"phase,omitempty"` // volumesnapshotrestore batching status BatchingStatus VolumeSnapshotRestoreBatchingStatus `json:"batchingStatus,omitempty"` // name of the volumesnapshot snaphandle that is backed up SnapshotHandle string `json:"snapshotHandle,omitempty"` // name of the volumesnapshotcontent that is backed up VolumeSnapshotContentName string `json:"volumeSnapshotContentName,omitempty"` // StartTimestamp records the time a volsumesnapshotrestore was started. StartTimestamp *metav1.Time `json:"startTimestamp,omitempty"` // CompletionTimestamp records the time a volumesnapshotrestore reached a terminal state. CompletionTimestamp *metav1.Time `json:"completionTimestamp,omitempty"` // Includes information pertaining to Volsync ReplicationDestination CR ReplicationDestinationData ReplicationDestinationData `json:"replicationDestinationData,omitempty"` }
VolumeSnapshotRestoreStatus defines the observed state of VolumeSnapshotRestore
func (*VolumeSnapshotRestoreStatus) DeepCopy ¶
func (in *VolumeSnapshotRestoreStatus) DeepCopy() *VolumeSnapshotRestoreStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotRestoreStatus.
func (*VolumeSnapshotRestoreStatus) DeepCopyInto ¶
func (in *VolumeSnapshotRestoreStatus) DeepCopyInto(out *VolumeSnapshotRestoreStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.