Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=harvesterhci.io +k8s:openapi-gen=true
+k8s:deepcopy-gen=package +groupName=harvesterhci.io
+k8s:deepcopy-gen=package +groupName=harvesterhci.io
Index ¶
- Constants
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type BackupTarget
- type Condition
- type DeletionPolicy
- type Error
- type ErrorResponse
- type KeyGenInput
- type KeyPair
- type KeyPairList
- type KeyPairSpec
- type KeyPairStatus
- type NodeUpgradeStatus
- type PersistentVolumeClaimSourceSpec
- type Preference
- type PreferenceList
- type SecretBackup
- type Setting
- type SettingList
- type SettingStatus
- type SupportBundle
- type SupportBundleList
- type SupportBundleSpec
- type SupportBundleStatus
- type Upgrade
- type UpgradeList
- type UpgradeSpec
- type UpgradeStatus
- type Version
- type VersionList
- type VersionSpec
- type VirtualMachineBackup
- type VirtualMachineBackupList
- type VirtualMachineBackupSpec
- type VirtualMachineBackupStatus
- type VirtualMachineImage
- type VirtualMachineImageList
- type VirtualMachineImageSpec
- type VirtualMachineImageStatus
- type VirtualMachineRestore
- type VirtualMachineRestoreList
- type VirtualMachineRestoreSpec
- type VirtualMachineRestoreStatus
- type VirtualMachineSourceSpec
- type VirtualMachineTemplate
- type VirtualMachineTemplateList
- type VirtualMachineTemplateSpec
- type VirtualMachineTemplateStatus
- type VirtualMachineTemplateVersion
- type VirtualMachineTemplateVersionList
- type VirtualMachineTemplateVersionSpec
- type VirtualMachineTemplateVersionStatus
- type VolumeBackup
- type VolumeRestore
Constants ¶
const ( // BackupConditionReady is the "ready" condition type BackupConditionReady condition.Cond = "Ready" // ConditionProgressing is the "progressing" condition type BackupConditionProgressing condition.Cond = "InProgress" )
const ( VirtualMachineImageSourceTypeDownload = "download" VirtualMachineImageSourceTypeUpload = "upload" VirtualMachineImageSourceTypeExportVolume = "export-from-volume" )
Variables ¶
var ( ImageInitialized condition.Cond = "Initialized" ImageImported condition.Cond = "Imported" )
var ( UpgradeCompleted condition.Cond = "Completed" // ImageReady is true when upgrade image is downloaded ImageReady condition.Cond = "ImageReady" // RepoProvisioned is true when upgrade repo is provisioned RepoProvisioned condition.Cond = "RepoReady" // NodesPrepared is true when all nodes are prepared NodesPrepared condition.Cond = "NodesPrepared" // NodesUpgraded is true when all nodes are upgraded NodesUpgraded condition.Cond = "NodesUpgraded" // SystemServicesUpgraded is true when Harvester chart is upgraded SystemServicesUpgraded condition.Cond = "SystemServicesUpgraded" )
var ( KeyPairResourceName = "keypairs" PreferenceResourceName = "preferences" SettingResourceName = "settings" SupportBundleResourceName = "supportbundles" UpgradeResourceName = "upgrades" VersionResourceName = "versions" VirtualMachineBackupResourceName = "virtualmachinebackups" VirtualMachineImageResourceName = "virtualmachineimages" VirtualMachineRestoreResourceName = "virtualmachinerestores" VirtualMachineTemplateResourceName = "virtualmachinetemplates" VirtualMachineTemplateVersionResourceName = "virtualmachinetemplateversions" )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var (
KeyPairValidated condition.Cond = "validated"
)
var SchemeGroupVersion = schema.GroupVersion{Group: harvesterhci.GroupName, Version: "v1beta1"}
SchemeGroupVersion is group version used to register these objects
var (
SettingConfigured condition.Cond = "configured"
)
var (
SupportBundleInitialized condition.Cond = "Initialized"
)
var (
VersionAssigned condition.Cond = "assigned" // version number was assigned to templateVersion object's status.Version
)
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type BackupTarget ¶
type BackupTarget struct { Endpoint string `json:"endpoint,omitempty"` BucketName string `json:"bucketName,omitempty"` BucketRegion string `json:"bucketRegion,omitempty"` }
BackupTarget is where VM Backup stores
func (*BackupTarget) DeepCopy ¶
func (in *BackupTarget) DeepCopy() *BackupTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupTarget.
func (*BackupTarget) DeepCopyInto ¶
func (in *BackupTarget) DeepCopyInto(out *BackupTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
type Condition struct { // Type of the condition. Type condition.Cond `json:"type"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status"` // The last time this condition was updated. LastUpdateTime string `json:"lastUpdateTime,omitempty"` // Last time the condition transitioned from one status to another. LastTransitionTime string `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. Reason string `json:"reason,omitempty"` // Human-readable message indicating details about last transition Message string `json:"message,omitempty"` }
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeletionPolicy ¶
type DeletionPolicy string
DeletionPolicy defines that to do with resources when VirtualMachineRestore is deleted
const ( // VirtualMachineRestoreDelete is the default and causes the // VirtualMachineRestore deleted resources like PVC to be deleted VirtualMachineRestoreDelete DeletionPolicy = "delete" // VirtualMachineRestoreRetain causes the VirtualMachineRestore deleted resources like PVC to be retained VirtualMachineRestoreRetain DeletionPolicy = "retain" )
type Error ¶
type Error struct { // +optional Time *metav1.Time `json:"time,omitempty"` // +optional Message *string `json:"message,omitempty"` }
Error is the last error encountered during the snapshot/restore
func (*Error) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Error.
func (*Error) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ErrorResponse ¶
type ErrorResponse struct { // Errors happened during request. Errors []string `json:"errors,omitempty"` }
func (*ErrorResponse) DeepCopy ¶
func (in *ErrorResponse) DeepCopy() *ErrorResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrorResponse.
func (*ErrorResponse) DeepCopyInto ¶
func (in *ErrorResponse) DeepCopyInto(out *ErrorResponse)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyGenInput ¶
func (*KeyGenInput) DeepCopy ¶
func (in *KeyGenInput) DeepCopy() *KeyGenInput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyGenInput.
func (*KeyGenInput) DeepCopyInto ¶
func (in *KeyGenInput) DeepCopyInto(out *KeyGenInput)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyPair ¶
type KeyPair struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KeyPairSpec `json:"spec"` Status KeyPairStatus `json:"status,omitempty"` }
func NewKeyPair ¶
func (*KeyPair) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPair.
func (*KeyPair) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeyPair) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeyPairList ¶
type KeyPairList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []KeyPair `json:"items"` }
KeyPairList is a list of KeyPair resources
func (*KeyPairList) DeepCopy ¶
func (in *KeyPairList) DeepCopy() *KeyPairList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPairList.
func (*KeyPairList) DeepCopyInto ¶
func (in *KeyPairList) DeepCopyInto(out *KeyPairList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeyPairList) DeepCopyObject ¶
func (in *KeyPairList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeyPairSpec ¶
type KeyPairSpec struct { // +kubebuilder:validation:Required PublicKey string `json:"publicKey"` }
func (*KeyPairSpec) DeepCopy ¶
func (in *KeyPairSpec) DeepCopy() *KeyPairSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPairSpec.
func (*KeyPairSpec) DeepCopyInto ¶
func (in *KeyPairSpec) DeepCopyInto(out *KeyPairSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyPairStatus ¶
type KeyPairStatus struct { // +optional FingerPrint string `json:"fingerPrint,omitempty"` // +optional Conditions []Condition `json:"conditions,omitempty"` }
func (*KeyPairStatus) DeepCopy ¶
func (in *KeyPairStatus) DeepCopy() *KeyPairStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPairStatus.
func (*KeyPairStatus) DeepCopyInto ¶
func (in *KeyPairStatus) DeepCopyInto(out *KeyPairStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeUpgradeStatus ¶
type NodeUpgradeStatus struct { State string `json:"state,omitempty"` Reason string `json:"reason,omitempty"` Message string `json:"message,omitempty"` }
func (*NodeUpgradeStatus) DeepCopy ¶
func (in *NodeUpgradeStatus) DeepCopy() *NodeUpgradeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeUpgradeStatus.
func (*NodeUpgradeStatus) DeepCopyInto ¶
func (in *NodeUpgradeStatus) DeepCopyInto(out *NodeUpgradeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PersistentVolumeClaimSourceSpec ¶
type PersistentVolumeClaimSourceSpec struct { // +kubebuilder:pruning:PreserveUnknownFields // +optional ObjectMeta metav1.ObjectMeta `json:"metadata,omitempty"` // +optional Spec corev1.PersistentVolumeClaimSpec `json:"spec,omitempty"` }
func (*PersistentVolumeClaimSourceSpec) DeepCopy ¶
func (in *PersistentVolumeClaimSourceSpec) DeepCopy() *PersistentVolumeClaimSourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimSourceSpec.
func (*PersistentVolumeClaimSourceSpec) DeepCopyInto ¶
func (in *PersistentVolumeClaimSourceSpec) DeepCopyInto(out *PersistentVolumeClaimSourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Preference ¶
type Preference struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:Required Value string `json:"value"` }
func NewPreference ¶
func NewPreference(namespace, name string, obj Preference) *Preference
func (*Preference) DeepCopy ¶
func (in *Preference) DeepCopy() *Preference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preference.
func (*Preference) DeepCopyInto ¶
func (in *Preference) DeepCopyInto(out *Preference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Preference) DeepCopyObject ¶
func (in *Preference) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PreferenceList ¶
type PreferenceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Preference `json:"items"` }
PreferenceList is a list of Preference resources
func (*PreferenceList) DeepCopy ¶
func (in *PreferenceList) DeepCopy() *PreferenceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferenceList.
func (*PreferenceList) DeepCopyInto ¶
func (in *PreferenceList) DeepCopyInto(out *PreferenceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PreferenceList) DeepCopyObject ¶
func (in *PreferenceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretBackup ¶
type SecretBackup struct { // +kubebuilder:validation:Required Name string `json:"name,omitempty"` // +optional Data map[string][]byte `json:"data,omitempty"` }
SecretBackup contains the secret data need to restore a secret referenced by the VM
func (*SecretBackup) DeepCopy ¶
func (in *SecretBackup) DeepCopy() *SecretBackup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBackup.
func (*SecretBackup) DeepCopyInto ¶
func (in *SecretBackup) DeepCopyInto(out *SecretBackup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Setting ¶
type Setting struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +optional Value string `json:"value,omitempty"` // +optional Default string `json:"default,omitempty"` // +optional Customized bool `json:"customized,omitempty"` // +optional Source string `json:"source,omitempty"` Status SettingStatus `json:"status,omitempty"` }
func NewSetting ¶
func (*Setting) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Setting.
func (*Setting) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Setting) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SettingList ¶
type SettingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Setting `json:"items"` }
SettingList is a list of Setting resources
func (*SettingList) DeepCopy ¶
func (in *SettingList) DeepCopy() *SettingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingList.
func (*SettingList) DeepCopyInto ¶
func (in *SettingList) DeepCopyInto(out *SettingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SettingList) DeepCopyObject ¶
func (in *SettingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SettingStatus ¶
type SettingStatus struct { // +optional Conditions []Condition `json:"conditions,omitempty"` }
func (*SettingStatus) DeepCopy ¶
func (in *SettingStatus) DeepCopy() *SettingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingStatus.
func (*SettingStatus) DeepCopyInto ¶
func (in *SettingStatus) DeepCopyInto(out *SettingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SupportBundle ¶
type SupportBundle struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SupportBundleSpec `json:"spec"` Status SupportBundleStatus `json:"status,omitempty"` }
func NewSupportBundle ¶
func NewSupportBundle(namespace, name string, obj SupportBundle) *SupportBundle
func (*SupportBundle) DeepCopy ¶
func (in *SupportBundle) DeepCopy() *SupportBundle
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupportBundle.
func (*SupportBundle) DeepCopyInto ¶
func (in *SupportBundle) DeepCopyInto(out *SupportBundle)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SupportBundle) DeepCopyObject ¶
func (in *SupportBundle) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SupportBundleList ¶
type SupportBundleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []SupportBundle `json:"items"` }
SupportBundleList is a list of SupportBundle resources
func (*SupportBundleList) DeepCopy ¶
func (in *SupportBundleList) DeepCopy() *SupportBundleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupportBundleList.
func (*SupportBundleList) DeepCopyInto ¶
func (in *SupportBundleList) DeepCopyInto(out *SupportBundleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SupportBundleList) DeepCopyObject ¶
func (in *SupportBundleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SupportBundleSpec ¶
type SupportBundleSpec struct { // +optional IssueURL string `json:"issueURL"` // +kubebuilder:validation:Required Description string `json:"description"` }
func (*SupportBundleSpec) DeepCopy ¶
func (in *SupportBundleSpec) DeepCopy() *SupportBundleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupportBundleSpec.
func (*SupportBundleSpec) DeepCopyInto ¶
func (in *SupportBundleSpec) DeepCopyInto(out *SupportBundleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SupportBundleStatus ¶
type SupportBundleStatus struct { // +optional State string `json:"state,omitempty"` // +optional Progress int `json:"progress,omitempty"` // +optional Filename string `json:"filename,omitempty"` // +optional Filesize int64 `json:"filesize,omitempty"` // +optional Conditions []Condition `json:"conditions,omitempty"` }
func (*SupportBundleStatus) DeepCopy ¶
func (in *SupportBundleStatus) DeepCopy() *SupportBundleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupportBundleStatus.
func (*SupportBundleStatus) DeepCopyInto ¶
func (in *SupportBundleStatus) DeepCopyInto(out *SupportBundleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Upgrade ¶
type Upgrade struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UpgradeSpec `json:"spec"` Status UpgradeStatus `json:"status,omitempty"` }
func NewUpgrade ¶
func (*Upgrade) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Upgrade.
func (*Upgrade) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Upgrade) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UpgradeList ¶
type UpgradeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Upgrade `json:"items"` }
UpgradeList is a list of Upgrade resources
func (*UpgradeList) DeepCopy ¶
func (in *UpgradeList) DeepCopy() *UpgradeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeList.
func (*UpgradeList) DeepCopyInto ¶
func (in *UpgradeList) DeepCopyInto(out *UpgradeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UpgradeList) DeepCopyObject ¶
func (in *UpgradeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UpgradeSpec ¶
type UpgradeSpec struct { // +optional Version string `json:"version"` // +optional Image string `json:"image"` }
func (*UpgradeSpec) DeepCopy ¶
func (in *UpgradeSpec) DeepCopy() *UpgradeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeSpec.
func (*UpgradeSpec) DeepCopyInto ¶
func (in *UpgradeSpec) DeepCopyInto(out *UpgradeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradeStatus ¶
type UpgradeStatus struct { // +optional PreviousVersion string `json:"previousVersion,omitempty"` // +optional ImageID string `json:"imageID,omitempty"` // +optional RepoInfo string `json:"repoInfo,omitempty"` // +optional SingleNode string `json:"singleNode,omitempty"` // +optional NodeStatuses map[string]NodeUpgradeStatus `json:"nodeStatuses,omitempty"` // +optional Conditions []Condition `json:"conditions,omitempty"` }
func (*UpgradeStatus) DeepCopy ¶
func (in *UpgradeStatus) DeepCopy() *UpgradeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeStatus.
func (*UpgradeStatus) DeepCopyInto ¶
func (in *UpgradeStatus) DeepCopyInto(out *UpgradeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Version ¶
type Version struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VersionSpec `json:"spec"` }
func NewVersion ¶
func (*Version) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Version.
func (*Version) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Version) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VersionList ¶
type VersionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Version `json:"items"` }
VersionList is a list of Version resources
func (*VersionList) DeepCopy ¶
func (in *VersionList) DeepCopy() *VersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionList.
func (*VersionList) DeepCopyInto ¶
func (in *VersionList) DeepCopyInto(out *VersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VersionList) DeepCopyObject ¶
func (in *VersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VersionSpec ¶
type VersionSpec struct { // +kubebuilder:validation:Required ISOURL string `json:"isoURL"` // +optional ISOChecksum string `json:"isoChecksum"` // +optional ReleaseDate string `json:"releaseDate"` // +optional MinUpgradableVersion string `json:"minUpgradableVersion,omitempty"` // +optional Tags []string `json:"tags"` }
func (*VersionSpec) DeepCopy ¶
func (in *VersionSpec) DeepCopy() *VersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionSpec.
func (*VersionSpec) DeepCopyInto ¶
func (in *VersionSpec) DeepCopyInto(out *VersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineBackup ¶
type VirtualMachineBackup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VirtualMachineBackupSpec `json:"spec"` // +optional Status *VirtualMachineBackupStatus `json:"status,omitempty"` }
func NewVirtualMachineBackup ¶
func NewVirtualMachineBackup(namespace, name string, obj VirtualMachineBackup) *VirtualMachineBackup
func (*VirtualMachineBackup) DeepCopy ¶
func (in *VirtualMachineBackup) DeepCopy() *VirtualMachineBackup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineBackup.
func (*VirtualMachineBackup) DeepCopyInto ¶
func (in *VirtualMachineBackup) DeepCopyInto(out *VirtualMachineBackup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineBackup) DeepCopyObject ¶
func (in *VirtualMachineBackup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineBackupList ¶
type VirtualMachineBackupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []VirtualMachineBackup `json:"items"` }
VirtualMachineBackupList is a list of VirtualMachineBackup resources
func (*VirtualMachineBackupList) DeepCopy ¶
func (in *VirtualMachineBackupList) DeepCopy() *VirtualMachineBackupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineBackupList.
func (*VirtualMachineBackupList) DeepCopyInto ¶
func (in *VirtualMachineBackupList) DeepCopyInto(out *VirtualMachineBackupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineBackupList) DeepCopyObject ¶
func (in *VirtualMachineBackupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineBackupSpec ¶
type VirtualMachineBackupSpec struct {
Source corev1.TypedLocalObjectReference `json:"source"`
}
func (*VirtualMachineBackupSpec) DeepCopy ¶
func (in *VirtualMachineBackupSpec) DeepCopy() *VirtualMachineBackupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineBackupSpec.
func (*VirtualMachineBackupSpec) DeepCopyInto ¶
func (in *VirtualMachineBackupSpec) DeepCopyInto(out *VirtualMachineBackupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineBackupStatus ¶
type VirtualMachineBackupStatus struct { // +optional SourceUID *types.UID `json:"sourceUID,omitempty"` // +optional CreationTime *metav1.Time `json:"creationTime,omitempty"` // +optional BackupTarget *BackupTarget `json:"backupTarget,omitempty"` // +kubebuilder:validation:Required // SourceSpec contains the vm spec source of the backup target SourceSpec *VirtualMachineSourceSpec `json:"source,omitempty"` // +optional VolumeBackups []VolumeBackup `json:"volumeBackups,omitempty"` // +optional SecretBackups []SecretBackup `json:"secretBackups,omitempty"` // +optional ReadyToUse *bool `json:"readyToUse,omitempty"` // +optional Error *Error `json:"error,omitempty"` // +optional Conditions []Condition `json:"conditions,omitempty"` }
VirtualMachineBackupStatus is the status for a VirtualMachineBackup resource
func (*VirtualMachineBackupStatus) DeepCopy ¶
func (in *VirtualMachineBackupStatus) DeepCopy() *VirtualMachineBackupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineBackupStatus.
func (*VirtualMachineBackupStatus) DeepCopyInto ¶
func (in *VirtualMachineBackupStatus) DeepCopyInto(out *VirtualMachineBackupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineImage ¶
type VirtualMachineImage struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VirtualMachineImageSpec `json:"spec"` Status VirtualMachineImageStatus `json:"status,omitempty"` }
func NewVirtualMachineImage ¶
func NewVirtualMachineImage(namespace, name string, obj VirtualMachineImage) *VirtualMachineImage
func (*VirtualMachineImage) DeepCopy ¶
func (in *VirtualMachineImage) DeepCopy() *VirtualMachineImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImage.
func (*VirtualMachineImage) DeepCopyInto ¶
func (in *VirtualMachineImage) DeepCopyInto(out *VirtualMachineImage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineImage) DeepCopyObject ¶
func (in *VirtualMachineImage) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineImageList ¶
type VirtualMachineImageList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []VirtualMachineImage `json:"items"` }
VirtualMachineImageList is a list of VirtualMachineImage resources
func (*VirtualMachineImageList) DeepCopy ¶
func (in *VirtualMachineImageList) DeepCopy() *VirtualMachineImageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImageList.
func (*VirtualMachineImageList) DeepCopyInto ¶
func (in *VirtualMachineImageList) DeepCopyInto(out *VirtualMachineImageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineImageList) DeepCopyObject ¶
func (in *VirtualMachineImageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineImageSpec ¶
type VirtualMachineImageSpec struct { // +optional Description string `json:"description,omitempty"` // +kubebuilder:validation:Required DisplayName string `json:"displayName"` // +kubebuilder:validation:Required // +kubebuilder:validation:Enum=download;upload;export-from-volume SourceType string `json:"sourceType"` // +optional PVCName string `json:"pvcName"` // +optional PVCNamespace string `json:"pvcNamespace"` // +optional URL string `json:"url"` // +optional Checksum string `json:"checksum"` }
func (*VirtualMachineImageSpec) DeepCopy ¶
func (in *VirtualMachineImageSpec) DeepCopy() *VirtualMachineImageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImageSpec.
func (*VirtualMachineImageSpec) DeepCopyInto ¶
func (in *VirtualMachineImageSpec) DeepCopyInto(out *VirtualMachineImageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineImageStatus ¶
type VirtualMachineImageStatus struct { // +optional AppliedURL string `json:"appliedUrl,omitempty"` // +optional Progress int `json:"progress,omitempty"` // +optional Size int64 `json:"size,omitempty"` // +optional StorageClassName string `json:"storageClassName,omitempty"` // +optional Conditions []Condition `json:"conditions,omitempty"` }
func (*VirtualMachineImageStatus) DeepCopy ¶
func (in *VirtualMachineImageStatus) DeepCopy() *VirtualMachineImageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImageStatus.
func (*VirtualMachineImageStatus) DeepCopyInto ¶
func (in *VirtualMachineImageStatus) DeepCopyInto(out *VirtualMachineImageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineRestore ¶
type VirtualMachineRestore struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VirtualMachineRestoreSpec `json:"spec"` // +optional Status *VirtualMachineRestoreStatus `json:"status,omitempty"` }
func NewVirtualMachineRestore ¶
func NewVirtualMachineRestore(namespace, name string, obj VirtualMachineRestore) *VirtualMachineRestore
func (*VirtualMachineRestore) DeepCopy ¶
func (in *VirtualMachineRestore) DeepCopy() *VirtualMachineRestore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineRestore.
func (*VirtualMachineRestore) DeepCopyInto ¶
func (in *VirtualMachineRestore) DeepCopyInto(out *VirtualMachineRestore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineRestore) DeepCopyObject ¶
func (in *VirtualMachineRestore) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineRestoreList ¶
type VirtualMachineRestoreList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []VirtualMachineRestore `json:"items"` }
VirtualMachineRestoreList is a list of VirtualMachineRestore resources
func (*VirtualMachineRestoreList) DeepCopy ¶
func (in *VirtualMachineRestoreList) DeepCopy() *VirtualMachineRestoreList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineRestoreList.
func (*VirtualMachineRestoreList) DeepCopyInto ¶
func (in *VirtualMachineRestoreList) DeepCopyInto(out *VirtualMachineRestoreList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineRestoreList) DeepCopyObject ¶
func (in *VirtualMachineRestoreList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineRestoreSpec ¶
type VirtualMachineRestoreSpec struct { // initially only VirtualMachine type supported Target corev1.TypedLocalObjectReference `json:"target"` // +kubebuilder:validation:Required VirtualMachineBackupName string `json:"virtualMachineBackupName"` // +kubebuilder:validation:Required VirtualMachineBackupNamespace string `json:"virtualMachineBackupNamespace"` // +optional NewVM bool `json:"newVM,omitempty"` // +optional DeletionPolicy DeletionPolicy `json:"deletionPolicy,omitempty"` }
VirtualMachineRestoreSpec is the spec for a VirtualMachineRestore resource
func (*VirtualMachineRestoreSpec) DeepCopy ¶
func (in *VirtualMachineRestoreSpec) DeepCopy() *VirtualMachineRestoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineRestoreSpec.
func (*VirtualMachineRestoreSpec) DeepCopyInto ¶
func (in *VirtualMachineRestoreSpec) DeepCopyInto(out *VirtualMachineRestoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineRestoreStatus ¶
type VirtualMachineRestoreStatus struct { // +optional VolumeRestores []VolumeRestore `json:"restores,omitempty"` // +optional RestoreTime *metav1.Time `json:"restoreTime,omitempty"` // +optional DeletedVolumes []string `json:"deletedVolumes,omitempty"` // +optional Complete *bool `json:"complete,omitempty"` // +optional Conditions []Condition `json:"conditions,omitempty"` TargetUID *types.UID `json:"targetUID,omitempty"` }
VirtualMachineRestoreStatus is the spec for a VirtualMachineRestore resource
func (*VirtualMachineRestoreStatus) DeepCopy ¶
func (in *VirtualMachineRestoreStatus) DeepCopy() *VirtualMachineRestoreStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineRestoreStatus.
func (*VirtualMachineRestoreStatus) DeepCopyInto ¶
func (in *VirtualMachineRestoreStatus) DeepCopyInto(out *VirtualMachineRestoreStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineSourceSpec ¶
type VirtualMachineSourceSpec struct { // +kubebuilder:pruning:PreserveUnknownFields // +optional ObjectMeta metav1.ObjectMeta `json:"metadata,omitempty"` Spec kubevirtv1.VirtualMachineSpec `json:"spec,omitempty"` }
func (*VirtualMachineSourceSpec) DeepCopy ¶
func (in *VirtualMachineSourceSpec) DeepCopy() *VirtualMachineSourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineSourceSpec.
func (*VirtualMachineSourceSpec) DeepCopyInto ¶
func (in *VirtualMachineSourceSpec) DeepCopyInto(out *VirtualMachineSourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineTemplate ¶
type VirtualMachineTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VirtualMachineTemplateSpec `json:"spec,omitempty"` Status VirtualMachineTemplateStatus `json:"status,omitempty"` }
func NewVirtualMachineTemplate ¶
func NewVirtualMachineTemplate(namespace, name string, obj VirtualMachineTemplate) *VirtualMachineTemplate
func (*VirtualMachineTemplate) DeepCopy ¶
func (in *VirtualMachineTemplate) DeepCopy() *VirtualMachineTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineTemplate.
func (*VirtualMachineTemplate) DeepCopyInto ¶
func (in *VirtualMachineTemplate) DeepCopyInto(out *VirtualMachineTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineTemplate) DeepCopyObject ¶
func (in *VirtualMachineTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineTemplateList ¶
type VirtualMachineTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []VirtualMachineTemplate `json:"items"` }
VirtualMachineTemplateList is a list of VirtualMachineTemplate resources
func (*VirtualMachineTemplateList) DeepCopy ¶
func (in *VirtualMachineTemplateList) DeepCopy() *VirtualMachineTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineTemplateList.
func (*VirtualMachineTemplateList) DeepCopyInto ¶
func (in *VirtualMachineTemplateList) DeepCopyInto(out *VirtualMachineTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineTemplateList) DeepCopyObject ¶
func (in *VirtualMachineTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineTemplateSpec ¶
type VirtualMachineTemplateSpec struct { // +optional DefaultVersionID string `json:"defaultVersionId"` // +optional Description string `json:"description,omitempty"` }
func (*VirtualMachineTemplateSpec) DeepCopy ¶
func (in *VirtualMachineTemplateSpec) DeepCopy() *VirtualMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineTemplateSpec.
func (*VirtualMachineTemplateSpec) DeepCopyInto ¶
func (in *VirtualMachineTemplateSpec) DeepCopyInto(out *VirtualMachineTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineTemplateStatus ¶
type VirtualMachineTemplateStatus struct { // +optional DefaultVersion int `json:"defaultVersion,omitempty"` // +optional LatestVersion int `json:"latestVersion,omitempty"` }
func (*VirtualMachineTemplateStatus) DeepCopy ¶
func (in *VirtualMachineTemplateStatus) DeepCopy() *VirtualMachineTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineTemplateStatus.
func (*VirtualMachineTemplateStatus) DeepCopyInto ¶
func (in *VirtualMachineTemplateStatus) DeepCopyInto(out *VirtualMachineTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineTemplateVersion ¶
type VirtualMachineTemplateVersion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VirtualMachineTemplateVersionSpec `json:"spec"` Status VirtualMachineTemplateVersionStatus `json:"status,omitempty"` }
func NewVirtualMachineTemplateVersion ¶
func NewVirtualMachineTemplateVersion(namespace, name string, obj VirtualMachineTemplateVersion) *VirtualMachineTemplateVersion
func (*VirtualMachineTemplateVersion) DeepCopy ¶
func (in *VirtualMachineTemplateVersion) DeepCopy() *VirtualMachineTemplateVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineTemplateVersion.
func (*VirtualMachineTemplateVersion) DeepCopyInto ¶
func (in *VirtualMachineTemplateVersion) DeepCopyInto(out *VirtualMachineTemplateVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineTemplateVersion) DeepCopyObject ¶
func (in *VirtualMachineTemplateVersion) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineTemplateVersionList ¶
type VirtualMachineTemplateVersionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []VirtualMachineTemplateVersion `json:"items"` }
VirtualMachineTemplateVersionList is a list of VirtualMachineTemplateVersion resources
func (*VirtualMachineTemplateVersionList) DeepCopy ¶
func (in *VirtualMachineTemplateVersionList) DeepCopy() *VirtualMachineTemplateVersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineTemplateVersionList.
func (*VirtualMachineTemplateVersionList) DeepCopyInto ¶
func (in *VirtualMachineTemplateVersionList) DeepCopyInto(out *VirtualMachineTemplateVersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineTemplateVersionList) DeepCopyObject ¶
func (in *VirtualMachineTemplateVersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineTemplateVersionSpec ¶
type VirtualMachineTemplateVersionSpec struct { // +kubebuilder:validation:Required TemplateID string `json:"templateId"` // +optional Description string `json:"description,omitempty"` // +optional ImageID string `json:"imageId,omitempty"` // +optional KeyPairIDs []string `json:"keyPairIds,omitempty"` // +optional VM VirtualMachineSourceSpec `json:"vm,omitempty"` }
func (*VirtualMachineTemplateVersionSpec) DeepCopy ¶
func (in *VirtualMachineTemplateVersionSpec) DeepCopy() *VirtualMachineTemplateVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineTemplateVersionSpec.
func (*VirtualMachineTemplateVersionSpec) DeepCopyInto ¶
func (in *VirtualMachineTemplateVersionSpec) DeepCopyInto(out *VirtualMachineTemplateVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineTemplateVersionStatus ¶
type VirtualMachineTemplateVersionStatus struct { // +optional Version int `json:"version,omitempty"` // +optional Conditions []Condition `json:"conditions,omitempty"` }
func (*VirtualMachineTemplateVersionStatus) DeepCopy ¶
func (in *VirtualMachineTemplateVersionStatus) DeepCopy() *VirtualMachineTemplateVersionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineTemplateVersionStatus.
func (*VirtualMachineTemplateVersionStatus) DeepCopyInto ¶
func (in *VirtualMachineTemplateVersionStatus) DeepCopyInto(out *VirtualMachineTemplateVersionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeBackup ¶
type VolumeBackup struct { // +optional Name *string `json:"name,omitempty"` // +kubebuilder:validation:Required VolumeName string `json:"volumeName"` // +optional CreationTime *metav1.Time `json:"creationTime,omitempty"` // +kubebuilder:validation:Required PersistentVolumeClaim PersistentVolumeClaimSourceSpec `json:"persistentVolumeClaim"` // +optional LonghornBackupName *string `json:"longhornBackupName,omitempty"` // +optional ReadyToUse *bool `json:"readyToUse,omitempty"` // +optional Error *Error `json:"error,omitempty"` }
VolumeBackup contains the volume data need to restore a PVC
func (*VolumeBackup) DeepCopy ¶
func (in *VolumeBackup) DeepCopy() *VolumeBackup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeBackup.
func (*VolumeBackup) DeepCopyInto ¶
func (in *VolumeBackup) DeepCopyInto(out *VolumeBackup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeRestore ¶
type VolumeRestore struct { VolumeName string `json:"volumeName,omitempty"` PersistentVolumeClaim PersistentVolumeClaimSourceSpec `json:"persistentVolumeClaimSpec,omitempty"` VolumeBackupName string `json:"volumeBackupName,omitempty"` }
VolumeRestore contains the volume data need to restore a PVC
func (*VolumeRestore) DeepCopy ¶
func (in *VolumeRestore) DeepCopy() *VolumeRestore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeRestore.
func (*VolumeRestore) DeepCopyInto ¶
func (in *VolumeRestore) DeepCopyInto(out *VolumeRestore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.