kubevirt

package
v1.15.3 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package kubevirt is a simple library of constants to avoid needing to import the whole KubeVirt SDK.

Index

Constants

View Source
const Group = "kubevirt.io"

Group used by KubeVirt resources

View Source
const KindKubeVirt = "KubeVirt"

KindKubeVirt is the kind used by KubeVirt resources

View Source
const KindVirtualMachine = "VirtualMachine"

KindVirtualMachine is the kind used by VirtualMachine resources

View Source
const ResourceKubeVirts = "kubevirts"

ResourceKubeVirts is the resource name used to query KubeVirt resources

View Source
const ResourceVirtualMachines = "virtualmachines"

ResourceVirtualMachines is the resource name used to query VirtualMachine resources

View Source
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.

Jump to

Keyboard shortcuts

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