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 HandleSecretGet(k8sClient *fakek8sclient.Clientset, secretName string)
- func HandleVMExportCreate(client *kubevirtfake.Clientset, vme *exportv1.VirtualMachineExport)
- func HandleVMExportGet(client *kubevirtfake.Clientset, vme *exportv1.VirtualMachineExport, ...)
- func VMExportSpec(name, namespace, kind, resourceName, secretName string) *exportv1.VirtualMachineExport
- func WaitExportCompleteDefault(kubecli.KubevirtClient, *vmexport.VMExportInfo, time.Duration, time.Duration) error
- func WaitExportCompleteError(kubecli.KubevirtClient, *vmexport.VMExportInfo, time.Duration, time.Duration) error
- 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 HandleSecretGet ¶ added in v0.59.0
func HandleSecretGet(k8sClient *fakek8sclient.Clientset, secretName string)
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 VMExportSpec ¶ added in v0.59.0
func VMExportSpec(name, namespace, kind, resourceName, secretName string) *exportv1.VirtualMachineExport
func WaitExportCompleteDefault ¶ added in v0.59.0
func WaitExportCompleteDefault(kubecli.KubevirtClient, *vmexport.VMExportInfo, time.Duration, time.Duration) error
func WaitExportCompleteError ¶ added in v0.59.0
func WaitExportCompleteError(kubecli.KubevirtClient, *vmexport.VMExportInfo, time.Duration, time.Duration) error
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.