export

package
v0.55.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VMExportController

type VMExportController struct {
	Client kubecli.KubevirtClient

	TemplateService services.TemplateService

	VMExportInformer   cache.SharedIndexInformer
	PVCInformer        cache.SharedIndexInformer
	PodInformer        cache.SharedIndexInformer
	DataVolumeInformer cache.SharedIndexInformer
	ConfigMapInformer  cache.SharedIndexInformer
	ServiceInformer    cache.SharedIndexInformer

	Recorder record.EventRecorder

	KubevirtNamespace string
	ResyncPeriod      time.Duration
	// contains filtered or unexported fields
}

VMExportController is resonsible for exporting VMs

func (*VMExportController) Init

func (ctrl *VMExportController) Init()

Init initializes the export controller

func (*VMExportController) Run

func (ctrl *VMExportController) Run(threadiness int, stopCh <-chan struct{}) error

Run the controller

Jump to

Keyboard shortcuts

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