Documentation ¶
Index ¶
- func AttachConsole(stdinReader, stdoutReader *io.PipeReader, ...) (err error)
- func GetExportVolumeFormat(url string, format exportv1.ExportVolumeFormat) []exportv1.VirtualMachineExportVolumeFormat
- func GetVMEStatus(volumes []exportv1.VirtualMachineExportVolume, secretName string) *exportv1.VirtualMachineExportStatus
- func HandlePodList(k8sClient *fakek8sclient.Clientset, podName string)
- func HandleSecretGet(k8sClient *fakek8sclient.Clientset, secretName string)
- func HandleServiceGet(k8sClient *fakek8sclient.Clientset, serviceName string, port int)
- func HandleVMExportCreate(client *kubevirtfake.Clientset, vme *exportv1.VirtualMachineExport)
- func HandleVMExportGet(client *kubevirtfake.Clientset, vme *exportv1.VirtualMachineExport, ...)
- func VMExportSpecLocalObjectResource(name, namespace, secretName string, source *v1.TypedLocalObjectReference) *exportv1.VirtualMachineExport
- func VMExportSpecPVC(name, namespace, resourceName, secretName string) *exportv1.VirtualMachineExport
- func VMExportSpecSnapshot(name, namespace, resourceName, secretName string) *exportv1.VirtualMachineExport
- func VMExportSpecVM(name, namespace, resourceName, secretName string) *exportv1.VirtualMachineExport
- type AtomicBool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachConsole ¶
func AttachConsole(stdinReader, stdoutReader *io.PipeReader, stdinWriter, stdoutWriter *io.PipeWriter, message string, resChan <-chan error) (err error)
AttachConsole attaches stdin and stdout to the console in -> stdinWriter | stdinReader -> console out <- stdoutReader | stdoutWriter <- console
func GetExportVolumeFormat ¶ added in v0.59.0
func GetExportVolumeFormat(url string, format exportv1.ExportVolumeFormat) []exportv1.VirtualMachineExportVolumeFormat
func GetVMEStatus ¶ added in v0.59.0
func GetVMEStatus(volumes []exportv1.VirtualMachineExportVolume, secretName string) *exportv1.VirtualMachineExportStatus
func HandlePodList ¶ added in v1.1.0
func HandlePodList(k8sClient *fakek8sclient.Clientset, podName string)
func HandleSecretGet ¶ added in v0.59.0
func HandleSecretGet(k8sClient *fakek8sclient.Clientset, secretName string)
func HandleServiceGet ¶ added in v1.1.0
func HandleServiceGet(k8sClient *fakek8sclient.Clientset, serviceName string, port int)
func HandleVMExportCreate ¶ added in v0.59.0
func HandleVMExportCreate(client *kubevirtfake.Clientset, vme *exportv1.VirtualMachineExport)
func HandleVMExportGet ¶ added in v0.59.0
func HandleVMExportGet(client *kubevirtfake.Clientset, vme *exportv1.VirtualMachineExport, vmexportName string)
func VMExportSpecLocalObjectResource ¶ added in v0.59.1
func VMExportSpecLocalObjectResource(name, namespace, secretName string, source *v1.TypedLocalObjectReference) *exportv1.VirtualMachineExport
func VMExportSpecPVC ¶ added in v0.59.1
func VMExportSpecPVC(name, namespace, resourceName, secretName string) *exportv1.VirtualMachineExport
func VMExportSpecSnapshot ¶ added in v0.59.1
func VMExportSpecSnapshot(name, namespace, resourceName, secretName string) *exportv1.VirtualMachineExport
func VMExportSpecVM ¶ added in v0.59.1
func VMExportSpecVM(name, namespace, resourceName, secretName string) *exportv1.VirtualMachineExport
Types ¶
type AtomicBool ¶ added in v0.56.0
func (*AtomicBool) False ¶ added in v0.56.0
func (b *AtomicBool) False()
func (*AtomicBool) IsTrue ¶ added in v0.56.0
func (b *AtomicBool) IsTrue() bool
func (*AtomicBool) True ¶ added in v0.56.0
func (b *AtomicBool) True()
Click to show internal directories.
Click to hide internal directories.