Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(configVarResolver *providerconfig.ConfigVarResolver) cloudprovidertypes.Provider
New returns a Kubevirt provider.
Types ¶
type AffinityType ¶ added in v1.46.0
type AffinityType string
type Config ¶
type Config struct { Kubeconfig string RestConfig *rest.Config DNSConfig *corev1.PodDNSConfig DNSPolicy corev1.DNSPolicy CPUs string Memory string Namespace string OsImage OSImage StorageClassName string PVCSize resource.Quantity FlavorName string SecondaryDisks []SecondaryDisks PodAffinityPreset AffinityType PodAntiAffinityPreset AffinityType NodeAffinityPreset NodeAffinityPreset }
type NodeAffinityPreset ¶ added in v1.46.0
type NodeAffinityPreset struct { Type AffinityType Key string Values []string }
NodeAffinityPreset.
type SecondaryDisks ¶ added in v1.46.0
Click to show internal directories.
Click to hide internal directories.