Help us shape the future of Go! Take the 2026 Go Developer Survey

kubevirt

package
v1.54.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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 OSImage added in v1.46.0

type OSImage struct {
	URL            string
	DataVolumeName string
}

type SecondaryDisks added in v1.46.0

type SecondaryDisks struct {
	Name             string
	Size             resource.Quantity
	StorageClassName string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL