virtualmachines

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager provides operations on virtualmachines

func NewManager

func NewManager(client client.Client) Manager

NewManager creates new virtualmachines manager

func (*Manager) DeleteFor

func (m *Manager) DeleteFor(vmiCrName types.NamespacedName) error

DeleteFor removes virtualmachine associated with vmiCrName.

func (*Manager) FindFor

func (m *Manager) FindFor(vmiCrName types.NamespacedName) (*kubevirtv1.VirtualMachine, error)

FindFor return virtualmachine for the VM import object

Jump to

Keyboard shortcuts

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