Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the oadp v1alpha1 API group +kubebuilder:object:generate=true +groupName=oadp.openshift.io
Index ¶
- Constants
- Variables
- type DataMoverDataDownloads
- type DataMoverDataUploads
- type FileSystemPodVolumeBackups
- type FileSystemPodVolumeRestores
- type NonAdminBSLCondition
- type NonAdminBSLRequest
- type NonAdminBSLRequestPhase
- type NonAdminBackup
- type NonAdminBackupList
- type NonAdminBackupSpec
- type NonAdminBackupStatus
- type NonAdminBackupStorageLocation
- type NonAdminBackupStorageLocationList
- type NonAdminBackupStorageLocationRequest
- type NonAdminBackupStorageLocationRequestList
- func (in *NonAdminBackupStorageLocationRequestList) DeepCopy() *NonAdminBackupStorageLocationRequestList
- func (in *NonAdminBackupStorageLocationRequestList) DeepCopyInto(out *NonAdminBackupStorageLocationRequestList)
- func (in *NonAdminBackupStorageLocationRequestList) DeepCopyObject() runtime.Object
- type NonAdminBackupStorageLocationRequestSpec
- type NonAdminBackupStorageLocationRequestStatus
- type NonAdminBackupStorageLocationSpec
- type NonAdminBackupStorageLocationStatus
- type NonAdminCondition
- type NonAdminDownloadRequest
- func (in *NonAdminDownloadRequest) DeepCopy() *NonAdminDownloadRequest
- func (in *NonAdminDownloadRequest) DeepCopyInto(out *NonAdminDownloadRequest)
- func (in *NonAdminDownloadRequest) DeepCopyObject() runtime.Object
- func (nadr *NonAdminDownloadRequest) ReadyForProcessing() bool
- func (nadr *NonAdminDownloadRequest) VeleroDownloadRequestName() string
- type NonAdminDownloadRequestConditionType
- type NonAdminDownloadRequestList
- type NonAdminDownloadRequestSpec
- type NonAdminDownloadRequestStatus
- type NonAdminPhase
- type NonAdminRestore
- type NonAdminRestoreList
- type NonAdminRestoreSpec
- type NonAdminRestoreStatus
- type QueueInfo
- type SourceNonAdminBSL
- type VeleroBackup
- type VeleroBackupStorageLocation
- type VeleroDeleteBackupRequest
- type VeleroDownloadRequest
- type VeleroRestore
Constants ¶
const ( // NonAdminBackups represents the resource name for non-admin backups. NonAdminBackups = "nonadminbackups" // NonAdminRestores represents the resource name for non-admin restores. NonAdminRestores = "nonadminrestores" // NonAdminBackupStorageLocations represents the resource name for non-admin backup storage locations. NonAdminBackupStorageLocations = "nonadminbackupstoragelocations" )
Constants representing resource names for non-admin objects These are used to identify custom resources managed for non-admin users.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "oadp.openshift.io", Version: "v1alpha1"} // 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 DataMoverDataDownloads ¶
type DataMoverDataDownloads struct {
// number of DataDownloads related to this NonAdminRestore's Restore
// +optional
Total int `json:"total,omitempty"`
// number of DataDownloads related to this NonAdminRestore's Restore in phase New
// +optional
New int `json:"new,omitempty"`
// number of DataDownloads related to this NonAdminRestore's Restore in phase Accepted
// +optional
Accepted int `json:"accepted,omitempty"`
// number of DataDownloads related to this NonAdminRestore's Restore in phase Prepared
// +optional
Prepared int `json:"prepared,omitempty"`
// number of DataDownloads related to this NonAdminRestore's Restore in phase InProgress
// +optional
InProgress int `json:"inProgress,omitempty"`
// number of DataDownloads related to this NonAdminRestore's Restore in phase Canceling
// +optional
Canceling int `json:"canceling,omitempty"`
// number of DataDownloads related to this NonAdminRestore's Restore in phase Canceled
// +optional
Canceled int `json:"canceled,omitempty"`
// number of DataDownloads related to this NonAdminRestore's Restore in phase Failed
// +optional
Failed int `json:"failed,omitempty"`
// number of DataDownloads related to this NonAdminRestore's Restore in phase Completed
// +optional
Completed int `json:"completed,omitempty"`
}
DataMoverDataDownloads contains information of the related Velero DataDownload objects.
func (*DataMoverDataDownloads) DeepCopy ¶
func (in *DataMoverDataDownloads) DeepCopy() *DataMoverDataDownloads
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataMoverDataDownloads.
func (*DataMoverDataDownloads) DeepCopyInto ¶
func (in *DataMoverDataDownloads) DeepCopyInto(out *DataMoverDataDownloads)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataMoverDataUploads ¶
type DataMoverDataUploads struct {
// number of DataUploads related to this NonAdminBackup's Backup
// +optional
Total int `json:"total,omitempty"`
// number of DataUploads related to this NonAdminBackup's Backup in phase New
// +optional
New int `json:"new,omitempty"`
// number of DataUploads related to this NonAdminBackup's Backup in phase Accepted
// +optional
Accepted int `json:"accepted,omitempty"`
// number of DataUploads related to this NonAdminBackup's Backup in phase Prepared
// +optional
Prepared int `json:"prepared,omitempty"`
// number of DataUploads related to this NonAdminBackup's Backup in phase InProgress
// +optional
InProgress int `json:"inProgress,omitempty"`
// number of DataUploads related to this NonAdminBackup's Backup in phase Canceling
// +optional
Canceling int `json:"canceling,omitempty"`
// number of DataUploads related to this NonAdminBackup's Backup in phase Canceled
// +optional
Canceled int `json:"canceled,omitempty"`
// number of DataUploads related to this NonAdminBackup's Backup in phase Failed
// +optional
Failed int `json:"failed,omitempty"`
// number of DataUploads related to this NonAdminBackup's Backup in phase Completed
// +optional
Completed int `json:"completed,omitempty"`
}
DataMoverDataUploads contains information of the related Velero DataUpload objects.
func (*DataMoverDataUploads) DeepCopy ¶
func (in *DataMoverDataUploads) DeepCopy() *DataMoverDataUploads
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataMoverDataUploads.
func (*DataMoverDataUploads) DeepCopyInto ¶
func (in *DataMoverDataUploads) DeepCopyInto(out *DataMoverDataUploads)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileSystemPodVolumeBackups ¶
type FileSystemPodVolumeBackups struct {
// number of PodVolumeBackups related to this NonAdminBackup's Backup
// +optional
Total int `json:"total,omitempty"`
// number of PodVolumeBackups related to this NonAdminBackup's Backup in phase New
// +optional
New int `json:"new,omitempty"`
// number of PodVolumeBackups related to this NonAdminBackup's Backup in phase InProgress
// +optional
InProgress int `json:"inProgress,omitempty"`
// number of PodVolumeBackups related to this NonAdminBackup's Backup in phase Failed
// +optional
Failed int `json:"failed,omitempty"`
// number of PodVolumeBackups related to this NonAdminBackup's Backup in phase Completed
// +optional
Completed int `json:"completed,omitempty"`
}
FileSystemPodVolumeBackups contains information of the related Velero PodVolumeBackup objects.
func (*FileSystemPodVolumeBackups) DeepCopy ¶
func (in *FileSystemPodVolumeBackups) DeepCopy() *FileSystemPodVolumeBackups
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSystemPodVolumeBackups.
func (*FileSystemPodVolumeBackups) DeepCopyInto ¶
func (in *FileSystemPodVolumeBackups) DeepCopyInto(out *FileSystemPodVolumeBackups)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileSystemPodVolumeRestores ¶
type FileSystemPodVolumeRestores struct {
// number of PodVolumeRestores related to this NonAdminRestore's Restore
// +optional
Total int `json:"total,omitempty"`
// number of PodVolumeRestores related to this NonAdminRestore's Restore in phase New
// +optional
New int `json:"new,omitempty"`
// number of PodVolumeRestores related to this NonAdminRestore's Restore in phase InProgress
// +optional
InProgress int `json:"inProgress,omitempty"`
// number of PodVolumeRestores related to this NonAdminRestore's Restore in phase Failed
// +optional
Failed int `json:"failed,omitempty"`
// number of PodVolumeRestores related to this NonAdminRestore's Restore in phase Completed
// +optional
Completed int `json:"completed,omitempty"`
}
FileSystemPodVolumeRestores contains information of the related Velero PodVolumeRestore objects.
func (*FileSystemPodVolumeRestores) DeepCopy ¶
func (in *FileSystemPodVolumeRestores) DeepCopy() *FileSystemPodVolumeRestores
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSystemPodVolumeRestores.
func (*FileSystemPodVolumeRestores) DeepCopyInto ¶
func (in *FileSystemPodVolumeRestores) DeepCopyInto(out *FileSystemPodVolumeRestores)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NonAdminBSLCondition ¶
type NonAdminBSLCondition string
NonAdminBSLCondition contains additional conditions to the generic ones defined as NonAdminCondition
const ( NonAdminBSLConditionSecretSynced NonAdminBSLCondition = "SecretSynced" NonAdminBSLConditionBSLSynced NonAdminBSLCondition = "BackupStorageLocationSynced" NonAdminBSLConditionApproved NonAdminBSLCondition = "ClusterAdminApproved" NonAdminBSLConditionSpecUpdateApproved NonAdminBSLCondition = "SpecUpdateApproved" )
Predefined NonAdminBSLConditions
type NonAdminBSLRequest ¶
type NonAdminBSLRequest string
NonAdminBSLRequest controls the approval of the NonAdminBackupStorageLocation +kubebuilder:validation:Enum=approve;reject;pending
const ( NonAdminBSLRequestApproved NonAdminBSLRequest = "approve" NonAdminBSLRequestRejected NonAdminBSLRequest = "reject" NonAdminBSLRequestPending NonAdminBSLRequest = "pending" )
Predefined NonAdminBSLRequestConditions
type NonAdminBSLRequestPhase ¶
type NonAdminBSLRequestPhase string
NonAdminBSLRequestPhase is the phase of the NonAdminBackupStorageLocationRequest +kubebuilder:validation:Enum=Pending;Approved;Rejected
const ( NonAdminBSLRequestPhasePending NonAdminBSLRequestPhase = "Pending" NonAdminBSLRequestPhaseApproved NonAdminBSLRequestPhase = "Approved" NonAdminBSLRequestPhaseRejected NonAdminBSLRequestPhase = "Rejected" )
Predefined NonAdminBSLRequestPhases
type NonAdminBackup ¶
type NonAdminBackup struct {
Spec NonAdminBackupSpec `json:"spec,omitempty"`
Status NonAdminBackupStatus `json:"status,omitempty"`
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
}
NonAdminBackup is the Schema for the nonadminbackups API
func (*NonAdminBackup) DeepCopy ¶
func (in *NonAdminBackup) DeepCopy() *NonAdminBackup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminBackup.
func (*NonAdminBackup) DeepCopyInto ¶
func (in *NonAdminBackup) DeepCopyInto(out *NonAdminBackup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NonAdminBackup) DeepCopyObject ¶
func (in *NonAdminBackup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NonAdminBackup) UsesNaBSL ¶
func (nab *NonAdminBackup) UsesNaBSL() bool
UsesNaBSL returns true if backup is using NonAdminBackupStorageLocation
func (*NonAdminBackup) VeleroBackupName ¶
func (nab *NonAdminBackup) VeleroBackupName() string
VeleroBackupName returns the name of the VeleroBackup object.
type NonAdminBackupList ¶
type NonAdminBackupList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []NonAdminBackup `json:"items"`
}
NonAdminBackupList contains a list of NonAdminBackup
func (*NonAdminBackupList) DeepCopy ¶
func (in *NonAdminBackupList) DeepCopy() *NonAdminBackupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminBackupList.
func (*NonAdminBackupList) DeepCopyInto ¶
func (in *NonAdminBackupList) DeepCopyInto(out *NonAdminBackupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NonAdminBackupList) DeepCopyObject ¶
func (in *NonAdminBackupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NonAdminBackupSpec ¶
type NonAdminBackupSpec struct {
// BackupSpec defines the specification for a Velero backup.
BackupSpec *velerov1.BackupSpec `json:"backupSpec"`
// DeleteBackup removes the NonAdminBackup and its associated NonAdminRestores and VeleroBackup from the cluster,
// as well as the corresponding data in object storage
// +optional
DeleteBackup bool `json:"deleteBackup,omitempty"`
}
NonAdminBackupSpec defines the desired state of NonAdminBackup
func (*NonAdminBackupSpec) DeepCopy ¶
func (in *NonAdminBackupSpec) DeepCopy() *NonAdminBackupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminBackupSpec.
func (*NonAdminBackupSpec) DeepCopyInto ¶
func (in *NonAdminBackupSpec) DeepCopyInto(out *NonAdminBackupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NonAdminBackupStatus ¶
type NonAdminBackupStatus struct {
// +optional
VeleroBackup *VeleroBackup `json:"veleroBackup,omitempty"`
// +optional
VeleroDeleteBackupRequest *VeleroDeleteBackupRequest `json:"veleroDeleteBackupRequest,omitempty"`
// +optional
DataMoverDataUploads *DataMoverDataUploads `json:"dataMoverDataUploads,omitempty"`
// +optional
FileSystemPodVolumeBackups *FileSystemPodVolumeBackups `json:"fileSystemPodVolumeBackups,omitempty"`
// queueInfo is used to estimate how many backups are scheduled before the given VeleroBackup in the OADP namespace.
// This number is not guaranteed to be accurate, but it should be close. It's inaccurate for cases when
// Velero pod is not running or being restarted after Backup object were created.
// It counts only VeleroBackups that are still subject to be handled by OADP/Velero.
// +optional
QueueInfo *QueueInfo `json:"queueInfo,omitempty"`
// phase is a simple one high-level summary of the lifecycle of an NonAdminBackup.
Phase NonAdminPhase `json:"phase,omitempty"`
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
NonAdminBackupStatus defines the observed state of NonAdminBackup
func (*NonAdminBackupStatus) DeepCopy ¶
func (in *NonAdminBackupStatus) DeepCopy() *NonAdminBackupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminBackupStatus.
func (*NonAdminBackupStatus) DeepCopyInto ¶
func (in *NonAdminBackupStatus) DeepCopyInto(out *NonAdminBackupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NonAdminBackupStorageLocation ¶
type NonAdminBackupStorageLocation struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec NonAdminBackupStorageLocationSpec `json:"spec,omitempty"`
Status NonAdminBackupStorageLocationStatus `json:"status,omitempty"`
}
NonAdminBackupStorageLocation is the Schema for the nonadminbackupstoragelocations API
func (*NonAdminBackupStorageLocation) DeepCopy ¶
func (in *NonAdminBackupStorageLocation) DeepCopy() *NonAdminBackupStorageLocation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminBackupStorageLocation.
func (*NonAdminBackupStorageLocation) DeepCopyInto ¶
func (in *NonAdminBackupStorageLocation) DeepCopyInto(out *NonAdminBackupStorageLocation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NonAdminBackupStorageLocation) DeepCopyObject ¶
func (in *NonAdminBackupStorageLocation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NonAdminBackupStorageLocationList ¶
type NonAdminBackupStorageLocationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []NonAdminBackupStorageLocation `json:"items"`
}
NonAdminBackupStorageLocationList contains a list of NonAdminBackupStorageLocation
func (*NonAdminBackupStorageLocationList) DeepCopy ¶
func (in *NonAdminBackupStorageLocationList) DeepCopy() *NonAdminBackupStorageLocationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminBackupStorageLocationList.
func (*NonAdminBackupStorageLocationList) DeepCopyInto ¶
func (in *NonAdminBackupStorageLocationList) DeepCopyInto(out *NonAdminBackupStorageLocationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NonAdminBackupStorageLocationList) DeepCopyObject ¶
func (in *NonAdminBackupStorageLocationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NonAdminBackupStorageLocationRequest ¶
type NonAdminBackupStorageLocationRequest struct {
Status NonAdminBackupStorageLocationRequestStatus `json:"status,omitempty"`
Spec NonAdminBackupStorageLocationRequestSpec `json:"spec,omitempty"`
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
}
NonAdminBackupStorageLocationRequest is the Schema for the nonadminbackupstoragelocationrequests API
func (*NonAdminBackupStorageLocationRequest) DeepCopy ¶
func (in *NonAdminBackupStorageLocationRequest) DeepCopy() *NonAdminBackupStorageLocationRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminBackupStorageLocationRequest.
func (*NonAdminBackupStorageLocationRequest) DeepCopyInto ¶
func (in *NonAdminBackupStorageLocationRequest) DeepCopyInto(out *NonAdminBackupStorageLocationRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NonAdminBackupStorageLocationRequest) DeepCopyObject ¶
func (in *NonAdminBackupStorageLocationRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NonAdminBackupStorageLocationRequestList ¶
type NonAdminBackupStorageLocationRequestList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []NonAdminBackupStorageLocationRequest `json:"items"`
}
NonAdminBackupStorageLocationRequestList contains a list of NonAdminBackupStorageLocationRequest
func (*NonAdminBackupStorageLocationRequestList) DeepCopy ¶
func (in *NonAdminBackupStorageLocationRequestList) DeepCopy() *NonAdminBackupStorageLocationRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminBackupStorageLocationRequestList.
func (*NonAdminBackupStorageLocationRequestList) DeepCopyInto ¶
func (in *NonAdminBackupStorageLocationRequestList) DeepCopyInto(out *NonAdminBackupStorageLocationRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NonAdminBackupStorageLocationRequestList) DeepCopyObject ¶
func (in *NonAdminBackupStorageLocationRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NonAdminBackupStorageLocationRequestSpec ¶
type NonAdminBackupStorageLocationRequestSpec struct {
// approvalDecision is the decision of the cluster admin on the Requested NonAdminBackupStorageLocation creation.
// The value may be set to either approve or reject.
// +optional
ApprovalDecision NonAdminBSLRequest `json:"approvalDecision,omitempty"`
}
NonAdminBackupStorageLocationRequestSpec defines the desired state of NonAdminBackupStorageLocationRequest
func (*NonAdminBackupStorageLocationRequestSpec) DeepCopy ¶
func (in *NonAdminBackupStorageLocationRequestSpec) DeepCopy() *NonAdminBackupStorageLocationRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminBackupStorageLocationRequestSpec.
func (*NonAdminBackupStorageLocationRequestSpec) DeepCopyInto ¶
func (in *NonAdminBackupStorageLocationRequestSpec) DeepCopyInto(out *NonAdminBackupStorageLocationRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NonAdminBackupStorageLocationRequestStatus ¶
type NonAdminBackupStorageLocationRequestStatus struct {
// nonAdminBackupStorageLocation contains information of the NonAdminBackupStorageLocation object that triggered NonAdminBSLRequest
// +optional
SourceNonAdminBSL *SourceNonAdminBSL `json:"nonAdminBackupStorageLocation,omitempty"`
// phase represents the current state of the NonAdminBSLRequest. It can be either Pending, Approved or Rejected.
// +optional
Phase NonAdminBSLRequestPhase `json:"phase,omitempty"`
}
NonAdminBackupStorageLocationRequestStatus defines the observed state of NonAdminBackupStorageLocationRequest
func (*NonAdminBackupStorageLocationRequestStatus) DeepCopy ¶
func (in *NonAdminBackupStorageLocationRequestStatus) DeepCopy() *NonAdminBackupStorageLocationRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminBackupStorageLocationRequestStatus.
func (*NonAdminBackupStorageLocationRequestStatus) DeepCopyInto ¶
func (in *NonAdminBackupStorageLocationRequestStatus) DeepCopyInto(out *NonAdminBackupStorageLocationRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NonAdminBackupStorageLocationSpec ¶
type NonAdminBackupStorageLocationSpec struct {
BackupStorageLocationSpec *velerov1.BackupStorageLocationSpec `json:"backupStorageLocationSpec"`
}
NonAdminBackupStorageLocationSpec defines the desired state of NonAdminBackupStorageLocation
func (*NonAdminBackupStorageLocationSpec) DeepCopy ¶
func (in *NonAdminBackupStorageLocationSpec) DeepCopy() *NonAdminBackupStorageLocationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminBackupStorageLocationSpec.
func (*NonAdminBackupStorageLocationSpec) DeepCopyInto ¶
func (in *NonAdminBackupStorageLocationSpec) DeepCopyInto(out *NonAdminBackupStorageLocationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NonAdminBackupStorageLocationStatus ¶
type NonAdminBackupStorageLocationStatus struct {
// +optional
VeleroBackupStorageLocation *VeleroBackupStorageLocation `json:"veleroBackupStorageLocation,omitempty"`
// phase is a simple one high-level summary of the lifecycle of an NonAdminBackupStorageLocation.
Phase NonAdminPhase `json:"phase,omitempty"`
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
NonAdminBackupStorageLocationStatus defines the observed state of NonAdminBackupStorageLocation
func (*NonAdminBackupStorageLocationStatus) DeepCopy ¶
func (in *NonAdminBackupStorageLocationStatus) DeepCopy() *NonAdminBackupStorageLocationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminBackupStorageLocationStatus.
func (*NonAdminBackupStorageLocationStatus) DeepCopyInto ¶
func (in *NonAdminBackupStorageLocationStatus) DeepCopyInto(out *NonAdminBackupStorageLocationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NonAdminCondition ¶
type NonAdminCondition string
NonAdminCondition are used for more detailed information supporing NonAdminBackupPhase state. +kubebuilder:validation:Enum=Accepted;Queued;Deleting
const ( NonAdminConditionAccepted NonAdminCondition = "Accepted" NonAdminConditionQueued NonAdminCondition = "Queued" NonAdminConditionDeleting NonAdminCondition = "Deleting" )
Predefined conditions for NonAdminController objects. One NonAdminController object may have multiple conditions. It is more granular knowledge of the NonAdminController object and represents the array of the conditions through which the NonAdminController has or has not passed
type NonAdminDownloadRequest ¶
type NonAdminDownloadRequest struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec NonAdminDownloadRequestSpec `json:"spec,omitempty"`
Status NonAdminDownloadRequestStatus `json:"status,omitempty"`
}
NonAdminDownloadRequest is the Schema for the nonadmindownloadrequests API.
func (*NonAdminDownloadRequest) DeepCopy ¶
func (in *NonAdminDownloadRequest) DeepCopy() *NonAdminDownloadRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminDownloadRequest.
func (*NonAdminDownloadRequest) DeepCopyInto ¶
func (in *NonAdminDownloadRequest) DeepCopyInto(out *NonAdminDownloadRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NonAdminDownloadRequest) DeepCopyObject ¶
func (in *NonAdminDownloadRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NonAdminDownloadRequest) ReadyForProcessing ¶
func (nadr *NonAdminDownloadRequest) ReadyForProcessing() bool
ReadyForProcessing returns if this NonAdminDownloadRequests is in a state ready for processing
Terminal conditions include - NonAdminBackupStorageLocationNotUsed: we currently require NaBSL usage on the NAB/NAR to process this download request returns true if ready for processing, false otherwise
func (*NonAdminDownloadRequest) VeleroDownloadRequestName ¶
func (nadr *NonAdminDownloadRequest) VeleroDownloadRequestName() string
VeleroDownloadRequestName defines velero download request name for this NonAdminDownloadRequest
type NonAdminDownloadRequestConditionType ¶
type NonAdminDownloadRequestConditionType string
NonAdminDownloadRequestConditionType prevents untyped strings for NADR conditions functions
const ( // ConditionNonAdminBackupStorageLocationNotUsed block download requests processing if NaBSL is not used ConditionNonAdminBackupStorageLocationNotUsed NonAdminDownloadRequestConditionType = "NonAdminBackupStorageLocationNotUsed" // ConditionNonAdminBackupNotAvailable indicates backup is not available, and will backoff download request ConditionNonAdminBackupNotAvailable NonAdminDownloadRequestConditionType = "NonAdminBackupNotAvailable" // ConditionNonAdminRestoreNotAvailable indicates restore is not available, and will backoff download request ConditionNonAdminRestoreNotAvailable NonAdminDownloadRequestConditionType = "NonAdminRestoreNotAvailable" // ConditionNonAdminProcessed indicates that the NADR is in a terminal state ConditionNonAdminProcessed NonAdminDownloadRequestConditionType = "Processed" )
type NonAdminDownloadRequestList ¶
type NonAdminDownloadRequestList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []NonAdminDownloadRequest `json:"items"`
}
NonAdminDownloadRequestList contains a list of NonAdminDownloadRequest.
func (*NonAdminDownloadRequestList) DeepCopy ¶
func (in *NonAdminDownloadRequestList) DeepCopy() *NonAdminDownloadRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminDownloadRequestList.
func (*NonAdminDownloadRequestList) DeepCopyInto ¶
func (in *NonAdminDownloadRequestList) DeepCopyInto(out *NonAdminDownloadRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NonAdminDownloadRequestList) DeepCopyObject ¶
func (in *NonAdminDownloadRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NonAdminDownloadRequestSpec ¶
type NonAdminDownloadRequestSpec struct {
// Target is what to download (e.g. logs for a backup).
Target velerov1.DownloadTarget `json:"target"`
}
NonAdminDownloadRequestSpec defines the desired state of NonAdminDownloadRequest. Mirrors velero DownloadRequestSpec to allow non admins to download information for a non admin backup/restore
func (*NonAdminDownloadRequestSpec) DeepCopy ¶
func (in *NonAdminDownloadRequestSpec) DeepCopy() *NonAdminDownloadRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminDownloadRequestSpec.
func (*NonAdminDownloadRequestSpec) DeepCopyInto ¶
func (in *NonAdminDownloadRequestSpec) DeepCopyInto(out *NonAdminDownloadRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NonAdminDownloadRequestStatus ¶
type NonAdminDownloadRequestStatus struct {
// +optional
VeleroDownloadRequest VeleroDownloadRequest `json:"velero,omitempty"`
// phase is a simple one high-level summary of the lifecycle of an NonAdminDownloadRequest
Phase NonAdminPhase `json:"phase,omitempty"`
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
NonAdminDownloadRequestStatus defines the observed state of NonAdminDownloadRequest.
func (*NonAdminDownloadRequestStatus) DeepCopy ¶
func (in *NonAdminDownloadRequestStatus) DeepCopy() *NonAdminDownloadRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminDownloadRequestStatus.
func (*NonAdminDownloadRequestStatus) DeepCopyInto ¶
func (in *NonAdminDownloadRequestStatus) DeepCopyInto(out *NonAdminDownloadRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NonAdminPhase ¶
type NonAdminPhase string
NonAdminPhase is a simple one high-level summary of the lifecycle of a NonAdminBackup, NonAdminRestore, NonAdminBackupStorageLocation, or NonAdminDownloadRequest +kubebuilder:validation:Enum=New;BackingOff;Created;Deleting
const ( // NonAdminPhaseNew - NonAdmin object was accepted by the OpenShift cluster, but it has not yet been processed by the NonAdminController NonAdminPhaseNew NonAdminPhase = "New" // NonAdminPhaseBackingOff - Velero object was not created due to NonAdmin object error (configuration or similar) NonAdminPhaseBackingOff NonAdminPhase = "BackingOff" // NonAdminPhaseCreated - Velero object was created. The Phase will not have additional information about it. NonAdminPhaseCreated NonAdminPhase = "Created" // NonAdminPhaseDeleting - Velero object is pending deletion. The Phase will not have additional information about it. NonAdminPhaseDeleting NonAdminPhase = "Deleting" )
type NonAdminRestore ¶
type NonAdminRestore struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec NonAdminRestoreSpec `json:"spec,omitempty"`
Status NonAdminRestoreStatus `json:"status,omitempty"`
}
NonAdminRestore is the Schema for the nonadminrestores API
func (*NonAdminRestore) DeepCopy ¶
func (in *NonAdminRestore) DeepCopy() *NonAdminRestore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminRestore.
func (*NonAdminRestore) DeepCopyInto ¶
func (in *NonAdminRestore) DeepCopyInto(out *NonAdminRestore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NonAdminRestore) DeepCopyObject ¶
func (in *NonAdminRestore) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NonAdminRestore) NonAdminBackupName ¶
func (nar *NonAdminRestore) NonAdminBackupName() string
NonAdminBackupName returns NonAdminBackup name of this NAR
func (*NonAdminRestore) VeleroRestoreName ¶
func (nar *NonAdminRestore) VeleroRestoreName() string
VeleroRestoreName returns the name of the VeleroRestore object.
type NonAdminRestoreList ¶
type NonAdminRestoreList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []NonAdminRestore `json:"items"`
}
NonAdminRestoreList contains a list of NonAdminRestore
func (*NonAdminRestoreList) DeepCopy ¶
func (in *NonAdminRestoreList) DeepCopy() *NonAdminRestoreList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminRestoreList.
func (*NonAdminRestoreList) DeepCopyInto ¶
func (in *NonAdminRestoreList) DeepCopyInto(out *NonAdminRestoreList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NonAdminRestoreList) DeepCopyObject ¶
func (in *NonAdminRestoreList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NonAdminRestoreSpec ¶
type NonAdminRestoreSpec struct {
// restoreSpec defines the specification for a Velero restore.
RestoreSpec *velerov1.RestoreSpec `json:"restoreSpec"`
}
NonAdminRestoreSpec defines the desired state of NonAdminRestore
func (*NonAdminRestoreSpec) DeepCopy ¶
func (in *NonAdminRestoreSpec) DeepCopy() *NonAdminRestoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminRestoreSpec.
func (*NonAdminRestoreSpec) DeepCopyInto ¶
func (in *NonAdminRestoreSpec) DeepCopyInto(out *NonAdminRestoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NonAdminRestoreStatus ¶
type NonAdminRestoreStatus struct {
// +optional
VeleroRestore *VeleroRestore `json:"veleroRestore,omitempty"`
// +optional
DataMoverDataDownloads *DataMoverDataDownloads `json:"dataMoverDataDownloads,omitempty"`
// +optional
FileSystemPodVolumeRestores *FileSystemPodVolumeRestores `json:"fileSystemPodVolumeRestores,omitempty"`
// queueInfo is used to estimate how many restores are scheduled before the given VeleroRestore in the OADP namespace.
// This number is not guaranteed to be accurate, but it should be close. It's inaccurate for cases when
// Velero pod is not running or being restarted after Restore object were created.
// It counts only VeleroRestores that are still subject to be handled by OADP/Velero.
// +optional
QueueInfo *QueueInfo `json:"queueInfo,omitempty"`
// phase is a simple one high-level summary of the lifecycle of an NonAdminRestore.
Phase NonAdminPhase `json:"phase,omitempty"`
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
NonAdminRestoreStatus defines the observed state of NonAdminRestore
func (*NonAdminRestoreStatus) DeepCopy ¶
func (in *NonAdminRestoreStatus) DeepCopy() *NonAdminRestoreStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonAdminRestoreStatus.
func (*NonAdminRestoreStatus) DeepCopyInto ¶
func (in *NonAdminRestoreStatus) DeepCopyInto(out *NonAdminRestoreStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueueInfo ¶
type QueueInfo struct {
// estimatedQueuePosition is the number of operations ahead in the queue (0 if not queued)
EstimatedQueuePosition int `json:"estimatedQueuePosition"`
}
QueueInfo holds the queue position for a specific operation.
func (*QueueInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueInfo.
func (*QueueInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceNonAdminBSL ¶
type SourceNonAdminBSL struct {
// requestedSpec contains the requested Velero BackupStorageLocation spec from the NonAdminBackupStorageLocation
// +optionl
RequestedSpec *velerov1.BackupStorageLocationSpec `json:"requestedSpec"`
// nacuuid references the NonAdminBackupStorageLocation object by it's label containing same NACUUID.
// +optional
NACUUID string `json:"nacuuid,omitempty"`
// name references the NonAdminBackupStorageLocation object by it's name.
// +optional
Name string `json:"name,omitempty"`
// namespace references the Namespace in which NonAdminBackupStorageLocation exists.
// +optional
Namespace string `json:"namespace,omitempty"`
}
SourceNonAdminBSL contains information of the NonAdminBackupStorageLocation object that triggered NonAdminBSLRequest
func (*SourceNonAdminBSL) DeepCopy ¶
func (in *SourceNonAdminBSL) DeepCopy() *SourceNonAdminBSL
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceNonAdminBSL.
func (*SourceNonAdminBSL) DeepCopyInto ¶
func (in *SourceNonAdminBSL) DeepCopyInto(out *SourceNonAdminBSL)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VeleroBackup ¶
type VeleroBackup struct {
// spec captures the current spec of the Velero backup.
// +optional
Spec *velerov1.BackupSpec `json:"spec,omitempty"`
// status captures the current status of the Velero backup.
// +optional
Status *velerov1.BackupStatus `json:"status,omitempty"`
// nacuuid references the Velero Backup object by it's label containing same NACUUID.
// +optional
NACUUID string `json:"nacuuid,omitempty"`
// references the Velero Backup object by it's name.
// +optional
Name string `json:"name,omitempty"`
// namespace references the Namespace in which Velero backup exists.
// +optional
Namespace string `json:"namespace,omitempty"`
}
VeleroBackup contains information of the related Velero backup object.
func (*VeleroBackup) DeepCopy ¶
func (in *VeleroBackup) DeepCopy() *VeleroBackup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VeleroBackup.
func (*VeleroBackup) DeepCopyInto ¶
func (in *VeleroBackup) DeepCopyInto(out *VeleroBackup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VeleroBackupStorageLocation ¶
type VeleroBackupStorageLocation struct {
// status captures the current status of the Velero backup storage location.
// +optional
Status *velerov1.BackupStorageLocationStatus `json:"status,omitempty"`
// nacuuid references the Velero BackupStorageLocation object by it's label containing same NACUUID.
// +optional
NACUUID string `json:"nacuuid,omitempty"`
// references the Velero BackupStorageLocation object by it's name.
// +optional
Name string `json:"name,omitempty"`
// namespace references the Namespace in which Velero backup storage location exists.
// +optional
Namespace string `json:"namespace,omitempty"`
}
VeleroBackupStorageLocation contains information of the related Velero backup object.
func (*VeleroBackupStorageLocation) DeepCopy ¶
func (in *VeleroBackupStorageLocation) DeepCopy() *VeleroBackupStorageLocation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VeleroBackupStorageLocation.
func (*VeleroBackupStorageLocation) DeepCopyInto ¶
func (in *VeleroBackupStorageLocation) DeepCopyInto(out *VeleroBackupStorageLocation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VeleroDeleteBackupRequest ¶
type VeleroDeleteBackupRequest struct {
// status captures the current status of the Velero delete backup request.
// +optional
Status *velerov1.DeleteBackupRequestStatus `json:"status,omitempty"`
// nacuuid references the Velero delete backup request object by it's label containing same NACUUID.
// +optional
NACUUID string `json:"nacuuid,omitempty"`
// name references the Velero delete backup request object by it's name.
// +optional
Name string `json:"name,omitempty"`
// namespace references the Namespace in which Velero delete backup request exists.
// +optional
Namespace string `json:"namespace,omitempty"`
}
VeleroDeleteBackupRequest contains information of the related Velero delete backup request object.
func (*VeleroDeleteBackupRequest) DeepCopy ¶
func (in *VeleroDeleteBackupRequest) DeepCopy() *VeleroDeleteBackupRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VeleroDeleteBackupRequest.
func (*VeleroDeleteBackupRequest) DeepCopyInto ¶
func (in *VeleroDeleteBackupRequest) DeepCopyInto(out *VeleroDeleteBackupRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VeleroDownloadRequest ¶
type VeleroDownloadRequest struct {
// VeleroDownloadRequestStatus represents VeleroDownloadRequestStatus
// +optional
Status *velerov1.DownloadRequestStatus `json:"status,omitempty"`
}
VeleroDownloadRequest represents VeleroDownloadRequest
func (*VeleroDownloadRequest) DeepCopy ¶
func (in *VeleroDownloadRequest) DeepCopy() *VeleroDownloadRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VeleroDownloadRequest.
func (*VeleroDownloadRequest) DeepCopyInto ¶
func (in *VeleroDownloadRequest) DeepCopyInto(out *VeleroDownloadRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VeleroRestore ¶
type VeleroRestore struct {
// status captures the current status of the Velero restore.
// +optional
Status *velerov1.RestoreStatus `json:"status,omitempty"`
// references the Velero Restore object by it's name.
// +optional
Name string `json:"name,omitempty"`
// nacuuid references the Velero Restore object by it's label containing same NACUUID.
// +optional
NACUUID string `json:"nacuuid,omitempty"`
// namespace references the Namespace in which Velero Restore exists.
// +optional
Namespace string `json:"namespace,omitempty"`
}
VeleroRestore contains information of the related Velero restore object.
func (*VeleroRestore) DeepCopy ¶
func (in *VeleroRestore) DeepCopy() *VeleroRestore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VeleroRestore.
func (*VeleroRestore) DeepCopyInto ¶
func (in *VeleroRestore) DeepCopyInto(out *VeleroRestore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.