Documentation
¶
Overview ¶
Package v1alpha1 contains the kubevirt provider API resources. +groupName=kubevirt.provider.extensions.gardener.cloud
Index ¶
- Constants
- Variables
- func Convert_kubevirt_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig(in *kubevirt.CloudControllerManagerConfig, out *CloudControllerManagerConfig, ...) error
- func Convert_kubevirt_CloudProfileConfig_To_v1alpha1_CloudProfileConfig(in *kubevirt.CloudProfileConfig, out *CloudProfileConfig, s conversion.Scope) error
- func Convert_kubevirt_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig(in *kubevirt.ControlPlaneConfig, out *ControlPlaneConfig, s conversion.Scope) error
- func Convert_kubevirt_Devices_To_v1alpha1_Devices(in *kubevirt.Devices, out *Devices, s conversion.Scope) error
- func Convert_kubevirt_InfrastructureConfig_To_v1alpha1_InfrastructureConfig(in *kubevirt.InfrastructureConfig, out *InfrastructureConfig, ...) error
- func Convert_kubevirt_InfrastructureStatus_To_v1alpha1_InfrastructureStatus(in *kubevirt.InfrastructureStatus, out *InfrastructureStatus, ...) error
- func Convert_kubevirt_MachineImageVersion_To_v1alpha1_MachineImageVersion(in *kubevirt.MachineImageVersion, out *MachineImageVersion, s conversion.Scope) error
- func Convert_kubevirt_MachineImage_To_v1alpha1_MachineImage(in *kubevirt.MachineImage, out *MachineImage, s conversion.Scope) error
- func Convert_kubevirt_MachineImages_To_v1alpha1_MachineImages(in *kubevirt.MachineImages, out *MachineImages, s conversion.Scope) error
- func Convert_kubevirt_MachineType_To_v1alpha1_MachineType(in *kubevirt.MachineType, out *MachineType, s conversion.Scope) error
- func Convert_kubevirt_NetworkAttachmentDefinitionReference_To_v1alpha1_NetworkAttachmentDefinitionReference(in *kubevirt.NetworkAttachmentDefinitionReference, ...) error
- func Convert_kubevirt_NetworkStatus_To_v1alpha1_NetworkStatus(in *kubevirt.NetworkStatus, out *NetworkStatus, s conversion.Scope) error
- func Convert_kubevirt_NetworksConfig_To_v1alpha1_NetworksConfig(in *kubevirt.NetworksConfig, out *NetworksConfig, s conversion.Scope) error
- func Convert_kubevirt_ResourcesLimits_To_v1alpha1_ResourcesLimits(in *kubevirt.ResourcesLimits, out *ResourcesLimits, s conversion.Scope) error
- func Convert_kubevirt_TenantNetwork_To_v1alpha1_TenantNetwork(in *kubevirt.TenantNetwork, out *TenantNetwork, s conversion.Scope) error
- func Convert_kubevirt_WorkerConfig_To_v1alpha1_WorkerConfig(in *kubevirt.WorkerConfig, out *WorkerConfig, s conversion.Scope) error
- func Convert_kubevirt_WorkerStatus_To_v1alpha1_WorkerStatus(in *kubevirt.WorkerStatus, out *WorkerStatus, s conversion.Scope) error
- func Convert_v1alpha1_CloudControllerManagerConfig_To_kubevirt_CloudControllerManagerConfig(in *CloudControllerManagerConfig, out *kubevirt.CloudControllerManagerConfig, ...) error
- func Convert_v1alpha1_CloudProfileConfig_To_kubevirt_CloudProfileConfig(in *CloudProfileConfig, out *kubevirt.CloudProfileConfig, s conversion.Scope) error
- func Convert_v1alpha1_ControlPlaneConfig_To_kubevirt_ControlPlaneConfig(in *ControlPlaneConfig, out *kubevirt.ControlPlaneConfig, s conversion.Scope) error
- func Convert_v1alpha1_Devices_To_kubevirt_Devices(in *Devices, out *kubevirt.Devices, s conversion.Scope) error
- func Convert_v1alpha1_InfrastructureConfig_To_kubevirt_InfrastructureConfig(in *InfrastructureConfig, out *kubevirt.InfrastructureConfig, ...) error
- func Convert_v1alpha1_InfrastructureStatus_To_kubevirt_InfrastructureStatus(in *InfrastructureStatus, out *kubevirt.InfrastructureStatus, ...) error
- func Convert_v1alpha1_MachineImageVersion_To_kubevirt_MachineImageVersion(in *MachineImageVersion, out *kubevirt.MachineImageVersion, s conversion.Scope) error
- func Convert_v1alpha1_MachineImage_To_kubevirt_MachineImage(in *MachineImage, out *kubevirt.MachineImage, s conversion.Scope) error
- func Convert_v1alpha1_MachineImages_To_kubevirt_MachineImages(in *MachineImages, out *kubevirt.MachineImages, s conversion.Scope) error
- func Convert_v1alpha1_MachineType_To_kubevirt_MachineType(in *MachineType, out *kubevirt.MachineType, s conversion.Scope) error
- func Convert_v1alpha1_NetworkAttachmentDefinitionReference_To_kubevirt_NetworkAttachmentDefinitionReference(in *NetworkAttachmentDefinitionReference, ...) error
- func Convert_v1alpha1_NetworkStatus_To_kubevirt_NetworkStatus(in *NetworkStatus, out *kubevirt.NetworkStatus, s conversion.Scope) error
- func Convert_v1alpha1_NetworksConfig_To_kubevirt_NetworksConfig(in *NetworksConfig, out *kubevirt.NetworksConfig, s conversion.Scope) error
- func Convert_v1alpha1_ResourcesLimits_To_kubevirt_ResourcesLimits(in *ResourcesLimits, out *kubevirt.ResourcesLimits, s conversion.Scope) error
- func Convert_v1alpha1_TenantNetwork_To_kubevirt_TenantNetwork(in *TenantNetwork, out *kubevirt.TenantNetwork, s conversion.Scope) error
- func Convert_v1alpha1_WorkerConfig_To_kubevirt_WorkerConfig(in *WorkerConfig, out *kubevirt.WorkerConfig, s conversion.Scope) error
- func Convert_v1alpha1_WorkerStatus_To_kubevirt_WorkerStatus(in *WorkerStatus, out *kubevirt.WorkerStatus, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type CloudControllerManagerConfig
- type CloudProfileConfig
- type ControlPlaneConfig
- type Devices
- type InfrastructureConfig
- type InfrastructureStatus
- type MachineImage
- type MachineImageVersion
- type MachineImages
- type MachineType
- type NetworkAttachmentDefinitionReference
- type NetworkStatus
- type NetworksConfig
- type ResourcesLimits
- type TenantNetwork
- type WorkerConfig
- type WorkerStatus
Constants ¶
const GroupName = "kubevirt.provider.extensions.gardener.cloud"
GroupName is the group name use in this package
Variables ¶
var ( // SchemeBuilder used to register the Shoot resource. SchemeBuilder runtime.SchemeBuilder // AddToScheme is a pointer to SchemeBuilder.AddToScheme. AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_kubevirt_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig ¶
func Convert_kubevirt_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig(in *kubevirt.CloudControllerManagerConfig, out *CloudControllerManagerConfig, s conversion.Scope) error
Convert_kubevirt_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig is an autogenerated conversion function.
func Convert_kubevirt_CloudProfileConfig_To_v1alpha1_CloudProfileConfig ¶
func Convert_kubevirt_CloudProfileConfig_To_v1alpha1_CloudProfileConfig(in *kubevirt.CloudProfileConfig, out *CloudProfileConfig, s conversion.Scope) error
Convert_kubevirt_CloudProfileConfig_To_v1alpha1_CloudProfileConfig is an autogenerated conversion function.
func Convert_kubevirt_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig ¶
func Convert_kubevirt_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig(in *kubevirt.ControlPlaneConfig, out *ControlPlaneConfig, s conversion.Scope) error
Convert_kubevirt_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig is an autogenerated conversion function.
func Convert_kubevirt_Devices_To_v1alpha1_Devices ¶
func Convert_kubevirt_Devices_To_v1alpha1_Devices(in *kubevirt.Devices, out *Devices, s conversion.Scope) error
Convert_kubevirt_Devices_To_v1alpha1_Devices is an autogenerated conversion function.
func Convert_kubevirt_InfrastructureConfig_To_v1alpha1_InfrastructureConfig ¶
func Convert_kubevirt_InfrastructureConfig_To_v1alpha1_InfrastructureConfig(in *kubevirt.InfrastructureConfig, out *InfrastructureConfig, s conversion.Scope) error
Convert_kubevirt_InfrastructureConfig_To_v1alpha1_InfrastructureConfig is an autogenerated conversion function.
func Convert_kubevirt_InfrastructureStatus_To_v1alpha1_InfrastructureStatus ¶
func Convert_kubevirt_InfrastructureStatus_To_v1alpha1_InfrastructureStatus(in *kubevirt.InfrastructureStatus, out *InfrastructureStatus, s conversion.Scope) error
Convert_kubevirt_InfrastructureStatus_To_v1alpha1_InfrastructureStatus is an autogenerated conversion function.
func Convert_kubevirt_MachineImageVersion_To_v1alpha1_MachineImageVersion ¶
func Convert_kubevirt_MachineImageVersion_To_v1alpha1_MachineImageVersion(in *kubevirt.MachineImageVersion, out *MachineImageVersion, s conversion.Scope) error
Convert_kubevirt_MachineImageVersion_To_v1alpha1_MachineImageVersion is an autogenerated conversion function.
func Convert_kubevirt_MachineImage_To_v1alpha1_MachineImage ¶
func Convert_kubevirt_MachineImage_To_v1alpha1_MachineImage(in *kubevirt.MachineImage, out *MachineImage, s conversion.Scope) error
Convert_kubevirt_MachineImage_To_v1alpha1_MachineImage is an autogenerated conversion function.
func Convert_kubevirt_MachineImages_To_v1alpha1_MachineImages ¶
func Convert_kubevirt_MachineImages_To_v1alpha1_MachineImages(in *kubevirt.MachineImages, out *MachineImages, s conversion.Scope) error
Convert_kubevirt_MachineImages_To_v1alpha1_MachineImages is an autogenerated conversion function.
func Convert_kubevirt_MachineType_To_v1alpha1_MachineType ¶
func Convert_kubevirt_MachineType_To_v1alpha1_MachineType(in *kubevirt.MachineType, out *MachineType, s conversion.Scope) error
Convert_kubevirt_MachineType_To_v1alpha1_MachineType is an autogenerated conversion function.
func Convert_kubevirt_NetworkAttachmentDefinitionReference_To_v1alpha1_NetworkAttachmentDefinitionReference ¶
func Convert_kubevirt_NetworkAttachmentDefinitionReference_To_v1alpha1_NetworkAttachmentDefinitionReference(in *kubevirt.NetworkAttachmentDefinitionReference, out *NetworkAttachmentDefinitionReference, s conversion.Scope) error
Convert_kubevirt_NetworkAttachmentDefinitionReference_To_v1alpha1_NetworkAttachmentDefinitionReference is an autogenerated conversion function.
func Convert_kubevirt_NetworkStatus_To_v1alpha1_NetworkStatus ¶
func Convert_kubevirt_NetworkStatus_To_v1alpha1_NetworkStatus(in *kubevirt.NetworkStatus, out *NetworkStatus, s conversion.Scope) error
Convert_kubevirt_NetworkStatus_To_v1alpha1_NetworkStatus is an autogenerated conversion function.
func Convert_kubevirt_NetworksConfig_To_v1alpha1_NetworksConfig ¶
func Convert_kubevirt_NetworksConfig_To_v1alpha1_NetworksConfig(in *kubevirt.NetworksConfig, out *NetworksConfig, s conversion.Scope) error
Convert_kubevirt_NetworksConfig_To_v1alpha1_NetworksConfig is an autogenerated conversion function.
func Convert_kubevirt_ResourcesLimits_To_v1alpha1_ResourcesLimits ¶
func Convert_kubevirt_ResourcesLimits_To_v1alpha1_ResourcesLimits(in *kubevirt.ResourcesLimits, out *ResourcesLimits, s conversion.Scope) error
Convert_kubevirt_ResourcesLimits_To_v1alpha1_ResourcesLimits is an autogenerated conversion function.
func Convert_kubevirt_TenantNetwork_To_v1alpha1_TenantNetwork ¶
func Convert_kubevirt_TenantNetwork_To_v1alpha1_TenantNetwork(in *kubevirt.TenantNetwork, out *TenantNetwork, s conversion.Scope) error
Convert_kubevirt_TenantNetwork_To_v1alpha1_TenantNetwork is an autogenerated conversion function.
func Convert_kubevirt_WorkerConfig_To_v1alpha1_WorkerConfig ¶
func Convert_kubevirt_WorkerConfig_To_v1alpha1_WorkerConfig(in *kubevirt.WorkerConfig, out *WorkerConfig, s conversion.Scope) error
Convert_kubevirt_WorkerConfig_To_v1alpha1_WorkerConfig is an autogenerated conversion function.
func Convert_kubevirt_WorkerStatus_To_v1alpha1_WorkerStatus ¶
func Convert_kubevirt_WorkerStatus_To_v1alpha1_WorkerStatus(in *kubevirt.WorkerStatus, out *WorkerStatus, s conversion.Scope) error
Convert_kubevirt_WorkerStatus_To_v1alpha1_WorkerStatus is an autogenerated conversion function.
func Convert_v1alpha1_CloudControllerManagerConfig_To_kubevirt_CloudControllerManagerConfig ¶
func Convert_v1alpha1_CloudControllerManagerConfig_To_kubevirt_CloudControllerManagerConfig(in *CloudControllerManagerConfig, out *kubevirt.CloudControllerManagerConfig, s conversion.Scope) error
Convert_v1alpha1_CloudControllerManagerConfig_To_kubevirt_CloudControllerManagerConfig is an autogenerated conversion function.
func Convert_v1alpha1_CloudProfileConfig_To_kubevirt_CloudProfileConfig ¶
func Convert_v1alpha1_CloudProfileConfig_To_kubevirt_CloudProfileConfig(in *CloudProfileConfig, out *kubevirt.CloudProfileConfig, s conversion.Scope) error
Convert_v1alpha1_CloudProfileConfig_To_kubevirt_CloudProfileConfig is an autogenerated conversion function.
func Convert_v1alpha1_ControlPlaneConfig_To_kubevirt_ControlPlaneConfig ¶
func Convert_v1alpha1_ControlPlaneConfig_To_kubevirt_ControlPlaneConfig(in *ControlPlaneConfig, out *kubevirt.ControlPlaneConfig, s conversion.Scope) error
Convert_v1alpha1_ControlPlaneConfig_To_kubevirt_ControlPlaneConfig is an autogenerated conversion function.
func Convert_v1alpha1_Devices_To_kubevirt_Devices ¶
func Convert_v1alpha1_Devices_To_kubevirt_Devices(in *Devices, out *kubevirt.Devices, s conversion.Scope) error
Convert_v1alpha1_Devices_To_kubevirt_Devices is an autogenerated conversion function.
func Convert_v1alpha1_InfrastructureConfig_To_kubevirt_InfrastructureConfig ¶
func Convert_v1alpha1_InfrastructureConfig_To_kubevirt_InfrastructureConfig(in *InfrastructureConfig, out *kubevirt.InfrastructureConfig, s conversion.Scope) error
Convert_v1alpha1_InfrastructureConfig_To_kubevirt_InfrastructureConfig is an autogenerated conversion function.
func Convert_v1alpha1_InfrastructureStatus_To_kubevirt_InfrastructureStatus ¶
func Convert_v1alpha1_InfrastructureStatus_To_kubevirt_InfrastructureStatus(in *InfrastructureStatus, out *kubevirt.InfrastructureStatus, s conversion.Scope) error
Convert_v1alpha1_InfrastructureStatus_To_kubevirt_InfrastructureStatus is an autogenerated conversion function.
func Convert_v1alpha1_MachineImageVersion_To_kubevirt_MachineImageVersion ¶
func Convert_v1alpha1_MachineImageVersion_To_kubevirt_MachineImageVersion(in *MachineImageVersion, out *kubevirt.MachineImageVersion, s conversion.Scope) error
Convert_v1alpha1_MachineImageVersion_To_kubevirt_MachineImageVersion is an autogenerated conversion function.
func Convert_v1alpha1_MachineImage_To_kubevirt_MachineImage ¶
func Convert_v1alpha1_MachineImage_To_kubevirt_MachineImage(in *MachineImage, out *kubevirt.MachineImage, s conversion.Scope) error
Convert_v1alpha1_MachineImage_To_kubevirt_MachineImage is an autogenerated conversion function.
func Convert_v1alpha1_MachineImages_To_kubevirt_MachineImages ¶
func Convert_v1alpha1_MachineImages_To_kubevirt_MachineImages(in *MachineImages, out *kubevirt.MachineImages, s conversion.Scope) error
Convert_v1alpha1_MachineImages_To_kubevirt_MachineImages is an autogenerated conversion function.
func Convert_v1alpha1_MachineType_To_kubevirt_MachineType ¶
func Convert_v1alpha1_MachineType_To_kubevirt_MachineType(in *MachineType, out *kubevirt.MachineType, s conversion.Scope) error
Convert_v1alpha1_MachineType_To_kubevirt_MachineType is an autogenerated conversion function.
func Convert_v1alpha1_NetworkAttachmentDefinitionReference_To_kubevirt_NetworkAttachmentDefinitionReference ¶
func Convert_v1alpha1_NetworkAttachmentDefinitionReference_To_kubevirt_NetworkAttachmentDefinitionReference(in *NetworkAttachmentDefinitionReference, out *kubevirt.NetworkAttachmentDefinitionReference, s conversion.Scope) error
Convert_v1alpha1_NetworkAttachmentDefinitionReference_To_kubevirt_NetworkAttachmentDefinitionReference is an autogenerated conversion function.
func Convert_v1alpha1_NetworkStatus_To_kubevirt_NetworkStatus ¶
func Convert_v1alpha1_NetworkStatus_To_kubevirt_NetworkStatus(in *NetworkStatus, out *kubevirt.NetworkStatus, s conversion.Scope) error
Convert_v1alpha1_NetworkStatus_To_kubevirt_NetworkStatus is an autogenerated conversion function.
func Convert_v1alpha1_NetworksConfig_To_kubevirt_NetworksConfig ¶
func Convert_v1alpha1_NetworksConfig_To_kubevirt_NetworksConfig(in *NetworksConfig, out *kubevirt.NetworksConfig, s conversion.Scope) error
Convert_v1alpha1_NetworksConfig_To_kubevirt_NetworksConfig is an autogenerated conversion function.
func Convert_v1alpha1_ResourcesLimits_To_kubevirt_ResourcesLimits ¶
func Convert_v1alpha1_ResourcesLimits_To_kubevirt_ResourcesLimits(in *ResourcesLimits, out *kubevirt.ResourcesLimits, s conversion.Scope) error
Convert_v1alpha1_ResourcesLimits_To_kubevirt_ResourcesLimits is an autogenerated conversion function.
func Convert_v1alpha1_TenantNetwork_To_kubevirt_TenantNetwork ¶
func Convert_v1alpha1_TenantNetwork_To_kubevirt_TenantNetwork(in *TenantNetwork, out *kubevirt.TenantNetwork, s conversion.Scope) error
Convert_v1alpha1_TenantNetwork_To_kubevirt_TenantNetwork is an autogenerated conversion function.
func Convert_v1alpha1_WorkerConfig_To_kubevirt_WorkerConfig ¶
func Convert_v1alpha1_WorkerConfig_To_kubevirt_WorkerConfig(in *WorkerConfig, out *kubevirt.WorkerConfig, s conversion.Scope) error
Convert_v1alpha1_WorkerConfig_To_kubevirt_WorkerConfig is an autogenerated conversion function.
func Convert_v1alpha1_WorkerStatus_To_kubevirt_WorkerStatus ¶
func Convert_v1alpha1_WorkerStatus_To_kubevirt_WorkerStatus(in *WorkerStatus, out *kubevirt.WorkerStatus, s conversion.Scope) error
Convert_v1alpha1_WorkerStatus_To_kubevirt_WorkerStatus is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type CloudControllerManagerConfig ¶
type CloudControllerManagerConfig struct { // FeatureGates contains information about enabled feature gates. // +optional FeatureGates map[string]bool `json:"featureGates,omitempty"` }
CloudControllerManagerConfig contains configuration settings for the cloud-controller-manager.
func (*CloudControllerManagerConfig) DeepCopy ¶
func (in *CloudControllerManagerConfig) DeepCopy() *CloudControllerManagerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudControllerManagerConfig.
func (*CloudControllerManagerConfig) DeepCopyInto ¶
func (in *CloudControllerManagerConfig) DeepCopyInto(out *CloudControllerManagerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudProfileConfig ¶
type CloudProfileConfig struct { metav1.TypeMeta `json:",inline"` // MachineImages is the list of machine images that are understood by the controller. It maps // logical names and versions to provider-specific identifiers. MachineImages []MachineImages `json:"machineImages"` // MachineTypes extend machineType object to KubeVirt provider specific config // +optional MachineTypes []MachineType `json:"machineTypes,omitempty"` }
CloudProfileConfig contains provider-specific configuration that is embedded into Gardener's `CloudProfile` resource.
func (*CloudProfileConfig) DeepCopy ¶
func (in *CloudProfileConfig) DeepCopy() *CloudProfileConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudProfileConfig.
func (*CloudProfileConfig) DeepCopyInto ¶
func (in *CloudProfileConfig) DeepCopyInto(out *CloudProfileConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudProfileConfig) DeepCopyObject ¶
func (in *CloudProfileConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ControlPlaneConfig ¶
type ControlPlaneConfig struct { metav1.TypeMeta `json:",inline"` // CloudControllerManager contains configuration settings for the cloud-controller-manager. // +optional CloudControllerManager *CloudControllerManagerConfig `json:"cloudControllerManager,omitempty"` }
ControlPlaneConfig contains configuration settings for the control plane.
func (*ControlPlaneConfig) DeepCopy ¶
func (in *ControlPlaneConfig) DeepCopy() *ControlPlaneConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneConfig.
func (*ControlPlaneConfig) DeepCopyInto ¶
func (in *ControlPlaneConfig) DeepCopyInto(out *ControlPlaneConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControlPlaneConfig) DeepCopyObject ¶
func (in *ControlPlaneConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Devices ¶
type Devices struct { // Disks allows to customize disks attached to KubeVirt VM // +optional Disks []kubevirtv1.Disk `json:"disks,omitempty"` // Whether to have random number generator from host // +optional Rng *kubevirtv1.Rng `json:"rng,omitempty"` // Whether or not to enable virtio multi-queue for block devices // +optional BlockMultiQueue bool `json:"blockMultiQueue,omitempty"` // If specified, virtual network interfaces configured with a virtio bus will also enable the vhost multiqueue feature // +optional NetworkInterfaceMultiQueue bool `json:"networkInterfaceMultiqueue,omitempty"` }
Devices allows to fine-tune devices attached to KubeVirt VM
func (*Devices) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Devices.
func (*Devices) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InfrastructureConfig ¶
type InfrastructureConfig struct { metav1.TypeMeta `json:",inline"` // Networks is the configuration of the infrastructure networks. // +optional Networks NetworksConfig `json:"networks,omitempty"` }
InfrastructureConfig is the infrastructure configuration resource.
func (*InfrastructureConfig) DeepCopy ¶
func (in *InfrastructureConfig) DeepCopy() *InfrastructureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureConfig.
func (*InfrastructureConfig) DeepCopyInto ¶
func (in *InfrastructureConfig) DeepCopyInto(out *InfrastructureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfrastructureConfig) DeepCopyObject ¶
func (in *InfrastructureConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InfrastructureStatus ¶
type InfrastructureStatus struct { metav1.TypeMeta `json:",inline"` // Networks is the status of the infrastructure networks. // +optional Networks []NetworkStatus `json:"networks,omitempty"` }
InfrastructureStatus contains information about the status of the infrastructure resources.
func (*InfrastructureStatus) DeepCopy ¶
func (in *InfrastructureStatus) DeepCopy() *InfrastructureStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureStatus.
func (*InfrastructureStatus) DeepCopyInto ¶
func (in *InfrastructureStatus) DeepCopyInto(out *InfrastructureStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfrastructureStatus) DeepCopyObject ¶
func (in *InfrastructureStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineImage ¶
type MachineImage struct { // Name is the logical name of the machine image. Name string `json:"name"` // Version is the logical version of the machine image. Version string `json:"version"` // SourceURL is the url of the machine image SourceURL string `json:"sourceUrl"` }
MachineImage is a mapping from logical names and versions to provider-specific machine image data.
func (*MachineImage) DeepCopy ¶
func (in *MachineImage) DeepCopy() *MachineImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineImage.
func (*MachineImage) DeepCopyInto ¶
func (in *MachineImage) DeepCopyInto(out *MachineImage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineImageVersion ¶
type MachineImageVersion struct { // Version is the version of the image. Version string `json:"version"` // SourceURL is the url of the image SourceURL string `json:"sourceURL"` }
MachineImageVersion contains a version and a provider-specific identifier.
func (*MachineImageVersion) DeepCopy ¶
func (in *MachineImageVersion) DeepCopy() *MachineImageVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineImageVersion.
func (*MachineImageVersion) DeepCopyInto ¶
func (in *MachineImageVersion) DeepCopyInto(out *MachineImageVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineImages ¶
type MachineImages struct { // Name is the logical name of the machine image. Name string `json:"name"` // Versions contains versions and a provider-specific identifier. Versions []MachineImageVersion `json:"versions"` }
MachineImages is a mapping from logical names and versions to provider-specific identifiers.
func (*MachineImages) DeepCopy ¶
func (in *MachineImages) DeepCopy() *MachineImages
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineImages.
func (*MachineImages) DeepCopyInto ¶
func (in *MachineImages) DeepCopyInto(out *MachineImages)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineType ¶
type MachineType struct { // Name is a reference for a machine type object Name string `json:"name"` // Limits defines resources limits of KubeVirt VMs // +optional Limits *ResourcesLimits `json:"limits,omitempty"` }
MachineType extend machineType object to KubeVirt provider specific config
func (*MachineType) DeepCopy ¶
func (in *MachineType) DeepCopy() *MachineType
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineType.
func (*MachineType) DeepCopyInto ¶
func (in *MachineType) DeepCopyInto(out *MachineType)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkAttachmentDefinitionReference ¶
type NetworkAttachmentDefinitionReference struct { // Name is the name of the referenced NetworkAttachmentDefinition. Name string `json:"name"` // Namespace is the namespace of the referenced NetworkAttachmentDefinition. // +optional Namespace string `json:"namespace,omitempty"` }
NetworkAttachmentDefinitionReference represents a NetworkAttachmentDefinition reference.
func (*NetworkAttachmentDefinitionReference) DeepCopy ¶
func (in *NetworkAttachmentDefinitionReference) DeepCopy() *NetworkAttachmentDefinitionReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAttachmentDefinitionReference.
func (*NetworkAttachmentDefinitionReference) DeepCopyInto ¶
func (in *NetworkAttachmentDefinitionReference) DeepCopyInto(out *NetworkAttachmentDefinitionReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkStatus ¶
type NetworkStatus struct { // Name is the name (in the format <name> or <namespace>/<name>) of the network. Name string `json:"name"` // Default is whether the network is the default or not. // +optional Default bool `json:"default,omitempty"` // SHA is an SHA256 checksum of the network configuration. // +optional SHA string `json:"sha,omitempty"` }
NetworkStatus contains information about the status of an infrastructure network.
func (*NetworkStatus) DeepCopy ¶
func (in *NetworkStatus) DeepCopy() *NetworkStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkStatus.
func (*NetworkStatus) DeepCopyInto ¶
func (in *NetworkStatus) DeepCopyInto(out *NetworkStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworksConfig ¶
type NetworksConfig struct { // +optional SharedNetworks []NetworkAttachmentDefinitionReference `json:"sharedNetworks,omitempty"` // TenantNetworks is a list of "tenant" networks that are only used by this cluster. // +optional TenantNetworks []TenantNetwork `json:"tenantNetworks,omitempty"` }
NetworksConfig contains information about the configuration of the infrastructure networks.
func (*NetworksConfig) DeepCopy ¶
func (in *NetworksConfig) DeepCopy() *NetworksConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworksConfig.
func (*NetworksConfig) DeepCopyInto ¶
func (in *NetworksConfig) DeepCopyInto(out *NetworksConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcesLimits ¶
type ResourcesLimits struct { // CPU limits // +optional CPU resource.Quantity `json:"cpu,omitempty"` // Memory limits // +optional Memory resource.Quantity `json:"memory,omitempty"` }
ResourceLimits define resources limits of KubeVirt VMs
func (*ResourcesLimits) DeepCopy ¶
func (in *ResourcesLimits) DeepCopy() *ResourcesLimits
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesLimits.
func (*ResourcesLimits) DeepCopyInto ¶
func (in *ResourcesLimits) DeepCopyInto(out *ResourcesLimits)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TenantNetwork ¶
type TenantNetwork struct { // Name is the name of the tenant network. Name string `json:"name"` // Config is the configuration of the tenant network. Config string `json:"config"` // Default is whether the tenant network is the default or not. // +optional Default bool `json:"default,omitempty"` }
TenantNetwork represents a "tenant" network that is only used by a single cluster.
func (*TenantNetwork) DeepCopy ¶
func (in *TenantNetwork) DeepCopy() *TenantNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantNetwork.
func (*TenantNetwork) DeepCopyInto ¶
func (in *TenantNetwork) DeepCopyInto(out *TenantNetwork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkerConfig ¶
type WorkerConfig struct { metav1.TypeMeta `json:",inline"` // Devices allows to customize devices attached to KubeVirt VM // +optional Devices *Devices `json:"devices,omitempty"` // CPU allows specifying the CPU topology of KubeVirt VM. // +optional CPU *kubevirtv1.CPU `json:"cpu,omitempty"` // Memory allows specifying the VirtualMachineInstance memory features like huge pages and guest memory settings. // Each feature might require appropriate FeatureGate enabled. // For hugepages take a look at: // k8s - https://kubernetes.io/docs/tasks/manage-hugepages/scheduling-hugepages/ // okd - https://docs.okd.io/3.9/scaling_performance/managing_hugepages.html#huge-pages-prerequisites // +optional Memory *kubevirtv1.Memory `json:"memory,omitempty"` // Set DNS policy for the VM (the same as for the pod) // Defaults to "ClusterFirst". // Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. // DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. // To have DNS options set along with hostNetwork, you have to specify DNS policy // explicitly to 'ClusterFirstWithHostNet'. // +optional DNSPolicy corev1.DNSPolicy `json:"dnsPolicy,omitempty"` // Specifies the DNS parameters of a VM. // Parameters specified here will be merged to the generated DNS // configuration based on DNSPolicy. // +optional DNSConfig *corev1.PodDNSConfig `json:"dnsConfig,omitempty"` // DisablePreAllocatedDataVolumes disables using pre-allocated DataVolumes for VMs. Default is false. // +optional DisablePreAllocatedDataVolumes bool `json:"disablePreAllocatedDataVolumes,omitempty"` // OvercommitGuestOverhead informs the scheduler to not take the guest-management overhead into account. Instead // put the overhead only into the container's memory limit. This can lead to crashes if // all memory is in use on a node. Defaults to false. // +optional OvercommitGuestOverhead bool `json:"overcommitGuestOverhead,omitempty"` }
WorkerConfig contains configuration for VMs
func (*WorkerConfig) DeepCopy ¶
func (in *WorkerConfig) DeepCopy() *WorkerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerConfig.
func (*WorkerConfig) DeepCopyInto ¶
func (in *WorkerConfig) DeepCopyInto(out *WorkerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkerConfig) DeepCopyObject ¶
func (in *WorkerConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkerStatus ¶
type WorkerStatus struct { metav1.TypeMeta `json:",inline"` // MachineImages is a list of machine images that have been used in this worker. Usually, the extension controller // gets the mapping from name/version to the provider-specific machine image data in its componentconfig. However, if // a version that is still in use gets removed from this componentconfig it cannot reconcile anymore existing `Worker` // resources that are still using this version. Hence, it stores the used versions in the provider status to ensure // reconciliation is possible. // +optional MachineImages []MachineImage `json:"machineImages,omitempty"` }
WorkerStatus contains information about created worker resources.
func (*WorkerStatus) DeepCopy ¶
func (in *WorkerStatus) DeepCopy() *WorkerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerStatus.
func (*WorkerStatus) DeepCopyInto ¶
func (in *WorkerStatus) DeepCopyInto(out *WorkerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkerStatus) DeepCopyObject ¶
func (in *WorkerStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.