Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the v2v v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=v2v.kubevirt.io
Package v1beta1 contains API Schema definitions for the v2v v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=v2v.kubevirt.io
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- type DataVolumeItem
- type MappingRulesVerifiedReason
- type NetworkResourceMappingItem
- type ObjectIdentifier
- type OvirtMappings
- type ProcessingConditionReason
- type ResourceMapping
- type ResourceMappingList
- type ResourceMappingSpec
- type ResourceMappingStatus
- type Source
- type StorageResourceMappingItem
- type SucceededConditionReason
- type VMImportConfig
- type VMImportConfigList
- type VMImportConfigSpec
- type VMImportConfigStatus
- type ValidConditionReason
- type VirtualMachineImport
- type VirtualMachineImportCondition
- type VirtualMachineImportConditionType
- type VirtualMachineImportList
- type VirtualMachineImportOvirtSourceSpec
- type VirtualMachineImportOvirtSourceVMClusterSpec
- type VirtualMachineImportOvirtSourceVMSpec
- type VirtualMachineImportSourceSpec
- type VirtualMachineImportSpec
- type VirtualMachineImportStatus
- type VirtualMachineImportVmwareSourceSpec
- type VirtualMachineImportVmwareSourceVMSpec
- type VirtualMachineWarmImportStatus
- type VmwareMappings
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "v2v.kubevirt.io", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme may be used to add all resources defined in the project to a Scheme AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type DataVolumeItem ¶
type DataVolumeItem struct {
Name string `json:"name"`
}
DataVolumeItem defines the details of a data volume created by the VM import process +k8s:openapi-gen=true
func (*DataVolumeItem) DeepCopy ¶
func (in *DataVolumeItem) DeepCopy() *DataVolumeItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataVolumeItem.
func (*DataVolumeItem) DeepCopyInto ¶
func (in *DataVolumeItem) DeepCopyInto(out *DataVolumeItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MappingRulesVerifiedReason ¶
type MappingRulesVerifiedReason string
MappingRulesVerifiedReason defines the reasons for the MappingRulesVerified condition of VM import +k8s:openapi-gen=true
const ( // MappingRulesVerificationCompleted represents the completion of the mapping rules checking without warnings or errors MappingRulesVerificationCompleted MappingRulesVerifiedReason = "MappingRulesVerificationCompleted" // MappingRulesVerificationFailed represents the violation of the mapping rules MappingRulesVerificationFailed MappingRulesVerifiedReason = "MappingRulesVerificationFailed" // MappingRulesVerificationReportedWarnings represents the existence of warnings as a result of checking the mapping rules MappingRulesVerificationReportedWarnings MappingRulesVerifiedReason = "MappingRulesVerificationReportedWarnings" )
These are valid reasons for the MappingRulesVerified conditions of VM import.
type NetworkResourceMappingItem ¶
type NetworkResourceMappingItem struct { Source Source `json:"source"` Target ObjectIdentifier `json:"target"` // +optional Type *string `json:"type,omitempty"` }
NetworkResourceMappingItem defines the network mapping of a single resource from the provider to kubevirt +k8s:openapi-gen=true
func (*NetworkResourceMappingItem) DeepCopy ¶
func (in *NetworkResourceMappingItem) DeepCopy() *NetworkResourceMappingItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkResourceMappingItem.
func (*NetworkResourceMappingItem) DeepCopyInto ¶
func (in *NetworkResourceMappingItem) DeepCopyInto(out *NetworkResourceMappingItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectIdentifier ¶
type ObjectIdentifier struct { Name string `json:"name"` // +optional Namespace *string `json:"namespace,omitempty"` }
ObjectIdentifier defines how a resource should be identified on kubevirt +k8s:openapi-gen=true
func (*ObjectIdentifier) DeepCopy ¶
func (in *ObjectIdentifier) DeepCopy() *ObjectIdentifier
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectIdentifier.
func (*ObjectIdentifier) DeepCopyInto ¶
func (in *ObjectIdentifier) DeepCopyInto(out *ObjectIdentifier)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OvirtMappings ¶
type OvirtMappings struct { // NetworkMappings defines the mapping of vnic profile to network attachment definition // When providing source network by name, the format is 'network name/vnic profile name'. // When providing source network by ID, the ID represents the vnic profile ID. // A logical network from ovirt can be mapped to multiple network attachment definitions // on kubevirt by using vnic profile to network attachment definition mapping. // +optional NetworkMappings *[]NetworkResourceMappingItem `json:"networkMappings,omitempty"` // StorageMappings defines the mapping of storage domains to storage classes // +optional StorageMappings *[]StorageResourceMappingItem `json:"storageMappings,omitempty"` // DiskMappings defines the mapping of disks to storage classes // DiskMappings.Source.ID represents the disk ID on ovirt (as opposed to disk-attachment ID) // DiskMappings.Source.Name represents the disk alias on ovirt // DiskMappings is respected only when provided in context of a single VM import within VirtualMachineImport // +optional DiskMappings *[]StorageResourceMappingItem `json:"diskMappings,omitempty"` }
OvirtMappings defines the mappings of ovirt resources to kubevirt +k8s:openapi-gen=true
func (*OvirtMappings) DeepCopy ¶
func (in *OvirtMappings) DeepCopy() *OvirtMappings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvirtMappings.
func (*OvirtMappings) DeepCopyInto ¶
func (in *OvirtMappings) DeepCopyInto(out *OvirtMappings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProcessingConditionReason ¶
type ProcessingConditionReason string
ProcessingConditionReason defines the reasons for the Processing condition of VM import +k8s:openapi-gen=true
const ( // VMTemplateMatching represents the VM template matching process VMTemplateMatching ProcessingConditionReason = "VMTemplateMatching" // CreatingTargetVM represents the creation of the VM spec CreatingTargetVM ProcessingConditionReason = "CreatingTargetVM" // CopyingDisks represents the creation of data volumes based on source VM disks CopyingDisks ProcessingConditionReason = "CopyingDisks" // CopyingStage represents a stage of a warm migration CopyingStage ProcessingConditionReason = "CopyingStage" // CopyingPaused represents waiting for the next warm migration stage CopyingPaused ProcessingConditionReason = "CopyingPaused" // ConvertingGuest represents the guest conversion process ConvertingGuest ProcessingConditionReason = "ConvertingGuest" // ProcessingCompleted represents the successful import processing ProcessingCompleted ProcessingConditionReason = "ProcessingCompleted" // ProcessingFailed represents failed import processing ProcessingFailed ProcessingConditionReason = "ProcessingFailed" // Pending represents pending for PVC to bound Pending ProcessingConditionReason = "Pending" )
These are valid reasons for the Processing conditions of VM import.
type ResourceMapping ¶
type ResourceMapping struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceMappingSpec `json:"spec,omitempty"` Status ResourceMappingStatus `json:"status,omitempty"` }
ResourceMapping is the Schema for the ResourceMappings API +k8s:openapi-gen=true +genclient +kubebuilder:subresource:status
func (*ResourceMapping) DeepCopy ¶
func (in *ResourceMapping) DeepCopy() *ResourceMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMapping.
func (*ResourceMapping) DeepCopyInto ¶
func (in *ResourceMapping) DeepCopyInto(out *ResourceMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceMapping) DeepCopyObject ¶
func (in *ResourceMapping) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceMappingList ¶
type ResourceMappingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ResourceMapping `json:"items"` }
ResourceMappingList contains a list of ResourceMapping
func (*ResourceMappingList) DeepCopy ¶
func (in *ResourceMappingList) DeepCopy() *ResourceMappingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMappingList.
func (*ResourceMappingList) DeepCopyInto ¶
func (in *ResourceMappingList) DeepCopyInto(out *ResourceMappingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceMappingList) DeepCopyObject ¶
func (in *ResourceMappingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceMappingSpec ¶
type ResourceMappingSpec struct { // +optional OvirtMappings *OvirtMappings `json:"ovirt,omitempty"` // +optional VmwareMappings *VmwareMappings `json:"vmware,omitempty"` }
ResourceMappingSpec defines the desired state of ResourceMapping +k8s:openapi-gen=true
func (*ResourceMappingSpec) DeepCopy ¶
func (in *ResourceMappingSpec) DeepCopy() *ResourceMappingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMappingSpec.
func (*ResourceMappingSpec) DeepCopyInto ¶
func (in *ResourceMappingSpec) DeepCopyInto(out *ResourceMappingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceMappingStatus ¶
type ResourceMappingStatus struct { }
ResourceMappingStatus defines the observed state of ResourceMapping +k8s:openapi-gen=true
func (*ResourceMappingStatus) DeepCopy ¶
func (in *ResourceMappingStatus) DeepCopy() *ResourceMappingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMappingStatus.
func (*ResourceMappingStatus) DeepCopyInto ¶
func (in *ResourceMappingStatus) DeepCopyInto(out *ResourceMappingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Source ¶
type Source struct { // +optional Name *string `json:"name,omitempty"` // +optional ID *string `json:"id,omitempty"` }
Source defines how to identify a resource on the provider, either by ID or by name +k8s:openapi-gen=true
func (*Source) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Source.
func (*Source) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageResourceMappingItem ¶
type StorageResourceMappingItem struct { Source Source `json:"source"` Target ObjectIdentifier `json:"target"` // +optional VolumeMode *corev1.PersistentVolumeMode `json:"volumeMode,omitempty"` // +optional AccessMode *corev1.PersistentVolumeAccessMode `json:"accessMode,omitempty"` }
StorageResourceMappingItem defines the storage mapping of a single resource from the provider to kubevirt +k8s:openapi-gen=true
func (*StorageResourceMappingItem) DeepCopy ¶
func (in *StorageResourceMappingItem) DeepCopy() *StorageResourceMappingItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageResourceMappingItem.
func (*StorageResourceMappingItem) DeepCopyInto ¶
func (in *StorageResourceMappingItem) DeepCopyInto(out *StorageResourceMappingItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SucceededConditionReason ¶
type SucceededConditionReason string
SucceededConditionReason defines the reasons for the Succeeded condition of VM import +k8s:openapi-gen=true
const ( // ValidationFailed represents a failure to validate the eligibility of the VM for import ValidationFailed SucceededConditionReason = "ValidationFailed" // VMTemplateMatchingFailed represents a failure to match VM template VMTemplateMatchingFailed SucceededConditionReason = "VMTemplateMatchingFailed" // VMCreationFailed represents a failure to create the VM entity VMCreationFailed SucceededConditionReason = "VMCreationFailed" // DataVolumeCreationFailed represents a failure to create data volumes based on source VM disks DataVolumeCreationFailed SucceededConditionReason = "DataVolumeCreationFailed" // GuestConversionFailed represents a failure to complete a virt-v2v conversion on the target VM. GuestConversionFailed SucceededConditionReason = "GuestConversionFailed" // WarmImportFailed represents a failure to complete a warm import on the target VM. WarmImportFailed SucceededConditionReason = "WarmImportFailed" // VMNotFound represents a failure to complete an import because // the target VM cannot be found, perhaps due to being deleted during an import. VMNotFound SucceededConditionReason = "VMNotFound" // VirtualMachineReady represents the completion of the vm import VirtualMachineReady SucceededConditionReason = "VirtualMachineReady" // VirtualMachineRunning represents the completion of the vm import and vm in running state VirtualMachineRunning SucceededConditionReason = "VirtualMachineRunning" )
These are valid reasons for the Succeeded conditions of VM import.
type VMImportConfig ¶
type VMImportConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VMImportConfigSpec `json:"spec,omitempty"` Status VMImportConfigStatus `json:"status"` }
VMImportConfig is the Schema for the vmimportconfigs API +kubebuilder:resource:path=vmimportconfigs,scope=Namespaced
func (*VMImportConfig) DeepCopy ¶
func (in *VMImportConfig) DeepCopy() *VMImportConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMImportConfig.
func (*VMImportConfig) DeepCopyInto ¶
func (in *VMImportConfig) DeepCopyInto(out *VMImportConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VMImportConfig) DeepCopyObject ¶
func (in *VMImportConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VMImportConfigList ¶
type VMImportConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VMImportConfig `json:"items"` }
VMImportConfigList contains a list of VMImportConfig
func (*VMImportConfigList) DeepCopy ¶
func (in *VMImportConfigList) DeepCopy() *VMImportConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMImportConfigList.
func (*VMImportConfigList) DeepCopyInto ¶
func (in *VMImportConfigList) DeepCopyInto(out *VMImportConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VMImportConfigList) DeepCopyObject ¶
func (in *VMImportConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VMImportConfigSpec ¶
type VMImportConfigSpec struct { ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"` // Rules on which nodes controller pod(s) will be scheduled // +optional Infra sdkapi.NodePlacement `json:"infra,omitempty"` }
VMImportConfigSpec defines the desired state of VMImportConfig
func (*VMImportConfigSpec) DeepCopy ¶
func (in *VMImportConfigSpec) DeepCopy() *VMImportConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMImportConfigSpec.
func (*VMImportConfigSpec) DeepCopyInto ¶
func (in *VMImportConfigSpec) DeepCopyInto(out *VMImportConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VMImportConfigStatus ¶
VMImportConfigStatus defines the observed state of VMImportConfig
func (*VMImportConfigStatus) DeepCopy ¶
func (in *VMImportConfigStatus) DeepCopy() *VMImportConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMImportConfigStatus.
func (*VMImportConfigStatus) DeepCopyInto ¶
func (in *VMImportConfigStatus) DeepCopyInto(out *VMImportConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValidConditionReason ¶
type ValidConditionReason string
ValidConditionReason defines the reasons for the Valid condition of VM import +k8s:openapi-gen=true
const ( // ValidationCompleted represents the completion of the vm import resource validating ValidationCompleted ValidConditionReason = "ValidationCompleted" // SecretNotFound represents the nonexistence of the provider's secret SecretNotFound ValidConditionReason = "SecretNotFound" // ResourceMappingNotFound represents the nonexistence of the mapping resource ResourceMappingNotFound ValidConditionReason = "ResourceMappingNotFound" // UninitializedProvider represents a failure to initialize the provider UninitializedProvider ValidConditionReason = "UninitializedProvider" // UnreachableProvider represents a failure to connect to the provider UnreachableProvider ValidConditionReason = "UnreachableProvider" // SourceVmNotFound represents the nonexistence of the source VM SourceVMNotFound ValidConditionReason = "SourceVMNotFound" // IncompleteMappingRules represents the inability to prepare the mapping rules IncompleteMappingRules ValidConditionReason = "IncompleteMappingRules" // ValidationReportedWarnings represents the existence of warnings related to resource mapping validation ValidationReportedWarnings ValidConditionReason = "ValidationReportedWarnings" // InvalidTargetVMName represents the target VM name being an invalid k8s name InvalidTargetVMName ValidConditionReason = "InvalidTargetVMName" // DuplicateTargetVMName DuplicateTargetVMName ValidConditionReason = "DuplicateTargetVMName" )
These are valid reasons for the Valid conditions of VM import.
type VirtualMachineImport ¶
type VirtualMachineImport struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VirtualMachineImportSpec `json:"spec,omitempty"` Status VirtualMachineImportStatus `json:"status,omitempty"` }
VirtualMachineImport is the Schema for the virtualmachineimports API +k8s:openapi-gen=true +genclient +kubebuilder:subresource:status
func (*VirtualMachineImport) DeepCopy ¶
func (in *VirtualMachineImport) DeepCopy() *VirtualMachineImport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImport.
func (*VirtualMachineImport) DeepCopyInto ¶
func (in *VirtualMachineImport) DeepCopyInto(out *VirtualMachineImport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineImport) DeepCopyObject ¶
func (in *VirtualMachineImport) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineImportCondition ¶
type VirtualMachineImportCondition struct { // Type of virtual machine import condition Type VirtualMachineImportConditionType `json:"type"` // Status of the condition, one of True, False, Unknown Status k8sv1.ConditionStatus `json:"status"` // A brief CamelCase string that describes why the VM import process is in current condition status // +optional Reason *string `json:"reason,omitempty"` // A human-readable message indicating details about last transition // +optional Message *string `json:"message,omitempty"` // The last time we got an update on a given condition // +optional LastHeartbeatTime *metav1.Time `json:"lastHeartbeatTime,omitempty"` // The last time the condition transit from one status to another // +optional LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` }
VirtualMachineImportCondition defines the observed state of VirtualMachineImport conditions +k8s:openapi-gen=true
func (*VirtualMachineImportCondition) DeepCopy ¶
func (in *VirtualMachineImportCondition) DeepCopy() *VirtualMachineImportCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImportCondition.
func (*VirtualMachineImportCondition) DeepCopyInto ¶
func (in *VirtualMachineImportCondition) DeepCopyInto(out *VirtualMachineImportCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (VirtualMachineImportCondition) String ¶
func (cond VirtualMachineImportCondition) String() string
type VirtualMachineImportConditionType ¶
type VirtualMachineImportConditionType string
VirtualMachineImportConditionType defines the condition of VM import +k8s:openapi-gen=true
const ( // Succeeded represents status of the VM import process being completed successfully Succeeded VirtualMachineImportConditionType = "Succeeded" // Valid represents the status of the validation of the mapping rules and eligibility of source VM for import Valid VirtualMachineImportConditionType = "Valid" // MappingRulesVerified represents the status of the VM import mapping rules checking MappingRulesVerified VirtualMachineImportConditionType = "MappingRulesVerified" // Processing represents the status of the VM import process while in progress Processing VirtualMachineImportConditionType = "Processing" )
These are valid conditions of of VM import.
type VirtualMachineImportList ¶
type VirtualMachineImportList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VirtualMachineImport `json:"items"` }
VirtualMachineImportList contains a list of VirtualMachineImport
func (*VirtualMachineImportList) DeepCopy ¶
func (in *VirtualMachineImportList) DeepCopy() *VirtualMachineImportList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImportList.
func (*VirtualMachineImportList) DeepCopyInto ¶
func (in *VirtualMachineImportList) DeepCopyInto(out *VirtualMachineImportList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineImportList) DeepCopyObject ¶
func (in *VirtualMachineImportList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineImportOvirtSourceSpec ¶
type VirtualMachineImportOvirtSourceSpec struct { VM VirtualMachineImportOvirtSourceVMSpec `json:"vm"` // +optional Mappings *OvirtMappings `json:"mappings,omitempty"` }
VirtualMachineImportOvirtSourceSpec defines the mapping resources and the VM identity for oVirt source provider +k8s:openapi-gen=true
func (*VirtualMachineImportOvirtSourceSpec) DeepCopy ¶
func (in *VirtualMachineImportOvirtSourceSpec) DeepCopy() *VirtualMachineImportOvirtSourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImportOvirtSourceSpec.
func (*VirtualMachineImportOvirtSourceSpec) DeepCopyInto ¶
func (in *VirtualMachineImportOvirtSourceSpec) DeepCopyInto(out *VirtualMachineImportOvirtSourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineImportOvirtSourceVMClusterSpec ¶
type VirtualMachineImportOvirtSourceVMClusterSpec struct { // +optional ID *string `json:"id,omitempty"` // +optional Name *string `json:"name,omitempty"` }
VirtualMachineImportOvirtSourceVMClusterSpec defines the source cluster's identity of the VM in oVirt +k8s:openapi-gen=true +optional
func (*VirtualMachineImportOvirtSourceVMClusterSpec) DeepCopy ¶
func (in *VirtualMachineImportOvirtSourceVMClusterSpec) DeepCopy() *VirtualMachineImportOvirtSourceVMClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImportOvirtSourceVMClusterSpec.
func (*VirtualMachineImportOvirtSourceVMClusterSpec) DeepCopyInto ¶
func (in *VirtualMachineImportOvirtSourceVMClusterSpec) DeepCopyInto(out *VirtualMachineImportOvirtSourceVMClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineImportOvirtSourceVMSpec ¶
type VirtualMachineImportOvirtSourceVMSpec struct { // +optional ID *string `json:"id,omitempty"` // +optional Name *string `json:"name,omitempty"` // +optional Cluster *VirtualMachineImportOvirtSourceVMClusterSpec `json:"cluster,omitempty"` }
VirtualMachineImportOvirtSourceVMSpec defines how to identify the VM in oVirt +k8s:openapi-gen=true
func (*VirtualMachineImportOvirtSourceVMSpec) DeepCopy ¶
func (in *VirtualMachineImportOvirtSourceVMSpec) DeepCopy() *VirtualMachineImportOvirtSourceVMSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImportOvirtSourceVMSpec.
func (*VirtualMachineImportOvirtSourceVMSpec) DeepCopyInto ¶
func (in *VirtualMachineImportOvirtSourceVMSpec) DeepCopyInto(out *VirtualMachineImportOvirtSourceVMSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineImportSourceSpec ¶
type VirtualMachineImportSourceSpec struct { // +optional Ovirt *VirtualMachineImportOvirtSourceSpec `json:"ovirt,omitempty"` // +optional Vmware *VirtualMachineImportVmwareSourceSpec `json:"vmware,omitempty"` }
VirtualMachineImportSourceSpec defines the source provider and the internal mapping resources +k8s:openapi-gen=true
func (*VirtualMachineImportSourceSpec) DeepCopy ¶
func (in *VirtualMachineImportSourceSpec) DeepCopy() *VirtualMachineImportSourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImportSourceSpec.
func (*VirtualMachineImportSourceSpec) DeepCopyInto ¶
func (in *VirtualMachineImportSourceSpec) DeepCopyInto(out *VirtualMachineImportSourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineImportSpec ¶
type VirtualMachineImportSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html ProviderCredentialsSecret ObjectIdentifier `json:"providerCredentialsSecret"` // +optional ResourceMapping *ObjectIdentifier `json:"resourceMapping,omitempty"` Source VirtualMachineImportSourceSpec `json:"source"` // +optional Warm bool `json:"warm"` // +optional FinalizeDate *metav1.Time `json:"finalizeDate,omitempty"` // +optional TargetVMName *string `json:"targetVmName,omitempty"` // +optional StartVM *bool `json:"startVm,omitempty"` }
VirtualMachineImportSpec defines the desired state of VirtualMachineImport +k8s:openapi-gen=true
func (*VirtualMachineImportSpec) DeepCopy ¶
func (in *VirtualMachineImportSpec) DeepCopy() *VirtualMachineImportSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImportSpec.
func (*VirtualMachineImportSpec) DeepCopyInto ¶
func (in *VirtualMachineImportSpec) DeepCopyInto(out *VirtualMachineImportSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineImportStatus ¶
type VirtualMachineImportStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html // +optional TargetVMName string `json:"targetVmName"` // +optional Conditions []VirtualMachineImportCondition `json:"conditions"` // +optional DataVolumes []DataVolumeItem `json:"dataVolumes,omitempty"` // +optional WarmImport VirtualMachineWarmImportStatus `json:"warmImport"` }
VirtualMachineImportStatus defines the observed state of VirtualMachineImport +k8s:openapi-gen=true
func (*VirtualMachineImportStatus) DeepCopy ¶
func (in *VirtualMachineImportStatus) DeepCopy() *VirtualMachineImportStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImportStatus.
func (*VirtualMachineImportStatus) DeepCopyInto ¶
func (in *VirtualMachineImportStatus) DeepCopyInto(out *VirtualMachineImportStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineImportVmwareSourceSpec ¶
type VirtualMachineImportVmwareSourceSpec struct { VM VirtualMachineImportVmwareSourceVMSpec `json:"vm"` // +optional Mappings *VmwareMappings `json:"mappings,omitempty"` }
VirtualMachineImportVmwareSourceSpec defines the mapping resources and the VM identity for vmware source provider +k8s:openapi-gen=true
func (*VirtualMachineImportVmwareSourceSpec) DeepCopy ¶
func (in *VirtualMachineImportVmwareSourceSpec) DeepCopy() *VirtualMachineImportVmwareSourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImportVmwareSourceSpec.
func (*VirtualMachineImportVmwareSourceSpec) DeepCopyInto ¶
func (in *VirtualMachineImportVmwareSourceSpec) DeepCopyInto(out *VirtualMachineImportVmwareSourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineImportVmwareSourceVMSpec ¶
type VirtualMachineImportVmwareSourceVMSpec struct { // UUID of virtual machine // +optional ID *string `json:"id,omitempty"` // +optional Name *string `json:"name,omitempty"` }
VirtualMachineImportVmwareSourceVMSpec defines how to identify the VM in vCenter +k8s:openapi-gen=true
func (*VirtualMachineImportVmwareSourceVMSpec) DeepCopy ¶
func (in *VirtualMachineImportVmwareSourceVMSpec) DeepCopy() *VirtualMachineImportVmwareSourceVMSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineImportVmwareSourceVMSpec.
func (*VirtualMachineImportVmwareSourceVMSpec) DeepCopyInto ¶
func (in *VirtualMachineImportVmwareSourceVMSpec) DeepCopyInto(out *VirtualMachineImportVmwareSourceVMSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineWarmImportStatus ¶ added in v0.3.0
type VirtualMachineWarmImportStatus struct { // +optional NextStageTime *metav1.Time `json:"nextStageTime,omitempty"` Successes int `json:"successes"` Failures int `json:"failures"` ConsecutiveFailures int `json:"consecutiveFailures"` // +optional RootSnapshot *string `json:"rootSnapshot,omitempty"` }
func (*VirtualMachineWarmImportStatus) DeepCopy ¶ added in v0.3.0
func (in *VirtualMachineWarmImportStatus) DeepCopy() *VirtualMachineWarmImportStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineWarmImportStatus.
func (*VirtualMachineWarmImportStatus) DeepCopyInto ¶ added in v0.3.0
func (in *VirtualMachineWarmImportStatus) DeepCopyInto(out *VirtualMachineWarmImportStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VmwareMappings ¶
type VmwareMappings struct { // NetworkMappings defines the mapping of guest network interfaces to kubevirt networks // NetworkMappings.Source.Name represents the `network` field of the GuestNicInfo in vCenter // NetworkMappings.Source.ID represents the `macAddress` field of the network adapter // +optional NetworkMappings *[]NetworkResourceMappingItem `json:"networkMappings,omitempty"` // StorageMappings defines the mapping of datastores to storage classes // StorageMappings.Source.Name represents the name of the Datastore in vCenter // +optional StorageMappings *[]StorageResourceMappingItem `json:"storageMappings,omitempty"` // +optional // DiskMappings defines the mapping of VirtualDisks to storage classes // DiskMappings.Source.Name represents the disk name in vCenter // DiskMappings.Source.ID represents the `DiskObjectId` or `vDiskID` of the VirtualDisk in vCenter DiskMappings *[]StorageResourceMappingItem `json:"diskMappings,omitempty"` }
VmwareMappings defines the mappings of vmware resources to kubevirt +k8s:openapi-gen=true
func (*VmwareMappings) DeepCopy ¶
func (in *VmwareMappings) DeepCopy() *VmwareMappings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VmwareMappings.
func (*VmwareMappings) DeepCopyInto ¶
func (in *VmwareMappings) DeepCopyInto(out *VmwareMappings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.