Documentation ¶
Overview ¶
Package kubevirt is a simple library of constants to avoid needing to import the whole KubeVirt SDK.
Index ¶
Constants ¶
const Group = "kubevirt.io"
Group used by KubeVirt resources
const KindKubeVirt = "KubeVirt"
KindKubeVirt is the kind used by KubeVirt resources
const KindVirtualMachine = "VirtualMachine"
KindVirtualMachine is the kind used by VirtualMachine resources
const ResourceKubeVirts = "kubevirts"
ResourceKubeVirts is the resource name used to query KubeVirt resources
const ResourceVirtualMachines = "virtualmachines"
ResourceVirtualMachines is the resource name used to query VirtualMachine resources
const Version = "v1"
Version used by KubeVirt v1 resources
Variables ¶
This section is empty.
Functions ¶
func GVKKubeVirt ¶
func GVKKubeVirt() schema.GroupVersionKind
GVKKubeVirt returns the GroupVersionKind for the KubeVirt resource
func GVKVirtualMachine ¶
func GVKVirtualMachine() schema.GroupVersionKind
GVKVirtualMachine returns a the GroupVersionKind for the VirtualMachine resource
func NewKubeVirtObject ¶
func NewKubeVirtObject() *unstructured.Unstructured
NewKubeVirtObject returns a new Unstructured object for the KubeVirt resource
func NewVirtualMachineObject ¶
func NewVirtualMachineObject() *unstructured.Unstructured
NewVirtualMachineObject returns a new Unstructured object for the VirtualMachine resource
Types ¶
This section is empty.