datavolumes

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: Apache-2.0 Imports: 6 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 datavolumes

func NewManager

func NewManager(client client.Client) Manager

NewManager creates new datavolumes manager

func (*Manager) DeleteFor

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

DeleteFor removes datavolumes associated with vmiCrName.

func (*Manager) FindFor

func (m *Manager) FindFor(vmiCrName types.NamespacedName) ([]*cdiv1.DataVolume, error)

FindFor return list od datavolumes for the VM import object

Jump to

Keyboard shortcuts

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