Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=cdi.kubevirt.io
Index ¶
- Constants
- type CDI
- type CDIConfig
- type CDIConfigList
- type CDIConfigSpec
- type CDIConfigStatus
- type CDIList
- type CDIPhase
- type CDISpec
- type CDIStatus
- type DataVolume
- type DataVolumeBlankImage
- type DataVolumeContentType
- type DataVolumeList
- type DataVolumePhase
- type DataVolumeProgress
- type DataVolumeSource
- type DataVolumeSourceHTTP
- type DataVolumeSourcePVC
- type DataVolumeSourceRegistry
- type DataVolumeSourceS3
- type DataVolumeSourceUpload
- type DataVolumeSpec
- type DataVolumeStatus
Constants ¶
const DataVolumeCloneSourceSubresource = "source"
DataVolumeCloneSourceSubresource is the subresource checked for permission to clone
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CDI ¶
type CDI struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CDISpec `json:"spec"` Status CDIStatus `json:"status"` }
CDI is the CDI Operator CRD +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*CDI) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDI.
func (*CDI) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CDI) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CDIConfig ¶
type CDIConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CDIConfigSpec `json:"spec"` Status CDIConfigStatus `json:"status,omitempty"` }
CDIConfig provides a user configuration for CDI +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*CDIConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDIConfig.
func (*CDIConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CDIConfig) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CDIConfigList ¶
type CDIConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` // Items provides a list of CDIConfigs Items []CDIConfig `json:"items"` }
CDIConfigList provides the needed parameters to do request a list of CDIConfigs from the system +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*CDIConfigList) DeepCopy ¶
func (in *CDIConfigList) DeepCopy() *CDIConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDIConfigList.
func (*CDIConfigList) DeepCopyInto ¶
func (in *CDIConfigList) DeepCopyInto(out *CDIConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CDIConfigList) DeepCopyObject ¶
func (in *CDIConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CDIConfigSpec ¶
type CDIConfigSpec struct { UploadProxyURLOverride *string `json:"uploadProxyURLOverride,omitempty"` ScratchSpaceStorageClass *string `json:"scratchSpaceStorageClass,omitempty"` }
CDIConfigSpec defines specification for user configuration
func (*CDIConfigSpec) DeepCopy ¶
func (in *CDIConfigSpec) DeepCopy() *CDIConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDIConfigSpec.
func (*CDIConfigSpec) DeepCopyInto ¶
func (in *CDIConfigSpec) DeepCopyInto(out *CDIConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CDIConfigStatus ¶
type CDIConfigStatus struct { UploadProxyURL *string `json:"uploadProxyURL,omitempty"` ScratchSpaceStorageClass string `json:"scratchSpaceStorageClass,omitempty"` }
CDIConfigStatus provides
func (*CDIConfigStatus) DeepCopy ¶
func (in *CDIConfigStatus) DeepCopy() *CDIConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDIConfigStatus.
func (*CDIConfigStatus) DeepCopyInto ¶
func (in *CDIConfigStatus) DeepCopyInto(out *CDIConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CDIList ¶
type CDIList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` // Items provides a list of CDIs Items []CDI `json:"items"` }
CDIList provides the needed parameters to do request a list of CDIs from the system +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*CDIList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDIList.
func (*CDIList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CDIList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CDIPhase ¶
type CDIPhase string
CDIPhase is the current phase of the CDI deployment
const ( // CDIPhaseDeploying signals that the CDI resources are being deployed CDIPhaseDeploying CDIPhase = "Deploying" // CDIPhaseDeployed signals that the CDI resources are successflly deployed CDIPhaseDeployed CDIPhase = "Deployed" // CDIPhaseDeleting signals that the CDI resources are being removed CDIPhaseDeleting CDIPhase = "Deleting" // CDIPhaseDeleted signals that the CDI resources are deleted CDIPhaseDeleted CDIPhase = "Deleted" // CDIPhaseError signals that the CDI deployment is in an error state CDIPhaseError CDIPhase = "Error" // CDIPhaseUpgrading signals that the CDI resources are being deployed CDIPhaseUpgrading CDIPhase = "Upgrading" )
type CDISpec ¶
type CDISpec struct { ImageRegistry string `json:"imageRegistry,omitempty"` ImageTag string `json:"imageTag,omitempty"` ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty" valid:"required"` }
CDISpec defines our specification for the CDI installation
func (*CDISpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDISpec.
func (*CDISpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CDIStatus ¶
type CDIStatus struct { Phase CDIPhase `json:"phase,omitempty"` OperatorVersion string `json:"operatorVersion,omitempty" optional:"true"` TargetVersion string `json:"targetVersion,omitempty" optional:"true"` ObservedVersion string `json:"observedVersion,omitempty" optional:"true"` }
CDIStatus defines the status of the CDI installation
func (*CDIStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDIStatus.
func (*CDIStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataVolume ¶
type DataVolume struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DataVolumeSpec `json:"spec"` Status DataVolumeStatus `json:"status,omitempty"` }
DataVolume provides a representation of our data volume +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*DataVolume) DeepCopy ¶
func (in *DataVolume) DeepCopy() *DataVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataVolume.
func (*DataVolume) DeepCopyInto ¶
func (in *DataVolume) DeepCopyInto(out *DataVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataVolume) DeepCopyObject ¶
func (in *DataVolume) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DataVolumeBlankImage ¶
type DataVolumeBlankImage struct{}
DataVolumeBlankImage provides the parameters to create a new raw blank image for the PVC
func (*DataVolumeBlankImage) DeepCopy ¶
func (in *DataVolumeBlankImage) DeepCopy() *DataVolumeBlankImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataVolumeBlankImage.
func (*DataVolumeBlankImage) DeepCopyInto ¶
func (in *DataVolumeBlankImage) DeepCopyInto(out *DataVolumeBlankImage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataVolumeContentType ¶
type DataVolumeContentType string
DataVolumeContentType represents the types of the imported data
const ( // DataVolumeKubeVirt is the content-type of the imported file, defaults to kubevirt DataVolumeKubeVirt DataVolumeContentType = "kubevirt" // DataVolumeArchive is the content-type to specify if there is a need to extract the imported archive DataVolumeArchive DataVolumeContentType = "archive" )
type DataVolumeList ¶
type DataVolumeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` // Items provides a list of DataVolumes Items []DataVolume `json:"items"` }
DataVolumeList provides the needed parameters to do request a list of Data Volumes from the system +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*DataVolumeList) DeepCopy ¶
func (in *DataVolumeList) DeepCopy() *DataVolumeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataVolumeList.
func (*DataVolumeList) DeepCopyInto ¶
func (in *DataVolumeList) DeepCopyInto(out *DataVolumeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataVolumeList) DeepCopyObject ¶
func (in *DataVolumeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DataVolumePhase ¶
type DataVolumePhase string
DataVolumePhase is the current phase of the DataVolume
const ( // PhaseUnset represents a data volume with no current phase PhaseUnset DataVolumePhase = "" // Pending represents a data volume with a current phase of Pending Pending DataVolumePhase = "Pending" // PVCBound represents a data volume with a current phase of PVCBound PVCBound DataVolumePhase = "PVCBound" // ImportScheduled represents a data volume with a current phase of ImportScheduled ImportScheduled DataVolumePhase = "ImportScheduled" // ImportInProgress represents a data volume with a current phase of ImportInProgress ImportInProgress DataVolumePhase = "ImportInProgress" // CloneScheduled represents a data volume with a current phase of CloneScheduled CloneScheduled DataVolumePhase = "CloneScheduled" // CloneInProgress represents a data volume with a current phase of CloneInProgress CloneInProgress DataVolumePhase = "CloneInProgress" // SnapshotForSmartCloneInProgress represents a data volume with a current phase of SnapshotForSmartCloneInProgress SnapshotForSmartCloneInProgress DataVolumePhase = "SnapshotForSmartCloneInProgress" // SmartClonePVCInProgress represents a data volume with a current phase of SmartClonePVCInProgress SmartClonePVCInProgress DataVolumePhase = "SmartClonePVCInProgress" // UploadScheduled represents a data volume with a current phase of UploadScheduled UploadScheduled DataVolumePhase = "UploadScheduled" // UploadReady represents a data volume with a current phase of UploadReady UploadReady DataVolumePhase = "UploadReady" // Succeeded represents a DataVolumePhase of Succeeded Succeeded DataVolumePhase = "Succeeded" // Failed represents a DataVolumePhase of Failed Failed DataVolumePhase = "Failed" // Unknown represents a DataVolumePhase of Unknown Unknown DataVolumePhase = "Unknown" )
type DataVolumeProgress ¶
type DataVolumeProgress string
DataVolumeProgress is the current progress of the DataVolume transfer operation. Value between 0 and 100 inclusive
type DataVolumeSource ¶
type DataVolumeSource struct { HTTP *DataVolumeSourceHTTP `json:"http,omitempty"` S3 *DataVolumeSourceS3 `json:"s3,omitempty"` Registry *DataVolumeSourceRegistry `json:"registry,omitempty"` PVC *DataVolumeSourcePVC `json:"pvc,omitempty"` Upload *DataVolumeSourceUpload `json:"upload,omitempty"` Blank *DataVolumeBlankImage `json:"blank,omitempty"` }
DataVolumeSource represents the source for our Data Volume, this can be HTTP, S3, Registry or an existing PVC
func (*DataVolumeSource) DeepCopy ¶
func (in *DataVolumeSource) DeepCopy() *DataVolumeSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataVolumeSource.
func (*DataVolumeSource) DeepCopyInto ¶
func (in *DataVolumeSource) DeepCopyInto(out *DataVolumeSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataVolumeSourceHTTP ¶
type DataVolumeSourceHTTP struct { //URL is the URL of the http source URL string `json:"url,omitempty"` //SecretRef provides the secret reference needed to access the HTTP source SecretRef string `json:"secretRef,omitempty"` //CertConfigMap provides a reference to the Registry certs CertConfigMap string `json:"certConfigMap,omitempty"` }
DataVolumeSourceHTTP provides the parameters to create a Data Volume from an HTTP source
func (*DataVolumeSourceHTTP) DeepCopy ¶
func (in *DataVolumeSourceHTTP) DeepCopy() *DataVolumeSourceHTTP
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataVolumeSourceHTTP.
func (*DataVolumeSourceHTTP) DeepCopyInto ¶
func (in *DataVolumeSourceHTTP) DeepCopyInto(out *DataVolumeSourceHTTP)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataVolumeSourcePVC ¶
type DataVolumeSourcePVC struct { Namespace string `json:"namespace,omitempty"` Name string `json:"name,omitempty"` }
DataVolumeSourcePVC provides the parameters to create a Data Volume from an existing PVC
func (*DataVolumeSourcePVC) DeepCopy ¶
func (in *DataVolumeSourcePVC) DeepCopy() *DataVolumeSourcePVC
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataVolumeSourcePVC.
func (*DataVolumeSourcePVC) DeepCopyInto ¶
func (in *DataVolumeSourcePVC) DeepCopyInto(out *DataVolumeSourcePVC)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataVolumeSourceRegistry ¶
type DataVolumeSourceRegistry struct { //URL is the url of the Registry source URL string `json:"url,omitempty"` //SecretRef provides the secret reference needed to access the Registry source SecretRef string `json:"secretRef,omitempty"` //CertConfigMap provides a reference to the Registry certs CertConfigMap string `json:"certConfigMap,omitempty"` }
DataVolumeSourceRegistry provides the parameters to create a Data Volume from an registry source
func (*DataVolumeSourceRegistry) DeepCopy ¶
func (in *DataVolumeSourceRegistry) DeepCopy() *DataVolumeSourceRegistry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataVolumeSourceRegistry.
func (*DataVolumeSourceRegistry) DeepCopyInto ¶
func (in *DataVolumeSourceRegistry) DeepCopyInto(out *DataVolumeSourceRegistry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataVolumeSourceS3 ¶
type DataVolumeSourceS3 struct { //URL is the url of the S3 source URL string `json:"url,omitempty"` //SecretRef provides the secret reference needed to access the S3 source SecretRef string `json:"secretRef,omitempty"` }
DataVolumeSourceS3 provides the parameters to create a Data Volume from an S3 source
func (*DataVolumeSourceS3) DeepCopy ¶
func (in *DataVolumeSourceS3) DeepCopy() *DataVolumeSourceS3
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataVolumeSourceS3.
func (*DataVolumeSourceS3) DeepCopyInto ¶
func (in *DataVolumeSourceS3) DeepCopyInto(out *DataVolumeSourceS3)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataVolumeSourceUpload ¶
type DataVolumeSourceUpload struct { }
DataVolumeSourceUpload provides the parameters to create a Data Volume by uploading the source
func (*DataVolumeSourceUpload) DeepCopy ¶
func (in *DataVolumeSourceUpload) DeepCopy() *DataVolumeSourceUpload
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataVolumeSourceUpload.
func (*DataVolumeSourceUpload) DeepCopyInto ¶
func (in *DataVolumeSourceUpload) DeepCopyInto(out *DataVolumeSourceUpload)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataVolumeSpec ¶
type DataVolumeSpec struct { //Source is the src of the data for the requested DataVolume Source DataVolumeSource `json:"source"` //PVC is a pointer to the PVC Spec we want to use PVC *corev1.PersistentVolumeClaimSpec `json:"pvc"` //DataVolumeContentType options: "kubevirt", "archive" ContentType DataVolumeContentType `json:"contentType,omitempty"` }
DataVolumeSpec defines our specification for a DataVolume type
func (*DataVolumeSpec) DeepCopy ¶
func (in *DataVolumeSpec) DeepCopy() *DataVolumeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataVolumeSpec.
func (*DataVolumeSpec) DeepCopyInto ¶
func (in *DataVolumeSpec) DeepCopyInto(out *DataVolumeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataVolumeStatus ¶
type DataVolumeStatus struct { //Phase is the current phase of the data volume Phase DataVolumePhase `json:"phase,omitempty"` Progress DataVolumeProgress `json:"progress,omitempty"` }
DataVolumeStatus provides the parameters to store the phase of the Data Volume
func (*DataVolumeStatus) DeepCopy ¶
func (in *DataVolumeStatus) DeepCopy() *DataVolumeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataVolumeStatus.
func (*DataVolumeStatus) DeepCopyInto ¶
func (in *DataVolumeStatus) DeepCopyInto(out *DataVolumeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.