client

package
v0.0.0-...-4e41282 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

func New

func New() (*Client, error)

func (*Client) AddVirtualMachineInstanceVolume

func (c *Client) AddVirtualMachineInstanceVolume(ctx context.Context, namespace, name string,
	addVolumeOptions *kvcorev1.AddVolumeOptions) error

func (*Client) CreateDataVolume

func (c *Client) CreateDataVolume(ctx context.Context, namespace string, dv *cdiv1.DataVolume) (*cdiv1.DataVolume, error)

func (*Client) CreateVirtualMachine

func (c *Client) CreateVirtualMachine(ctx context.Context, namespace string, vm *kvcorev1.VirtualMachine) (
	*kvcorev1.VirtualMachine, error)

func (*Client) CreateVirtualMachineInstanceMigration

func (c *Client) CreateVirtualMachineInstanceMigration(ctx context.Context, namespace string,
	vmim *kvcorev1.VirtualMachineInstanceMigration) (*kvcorev1.VirtualMachineInstanceMigration, error)

func (*Client) DeleteDataVolume

func (c *Client) DeleteDataVolume(ctx context.Context, namespace, name string) error

func (*Client) DeletePersistentVolumeClaim

func (c *Client) DeletePersistentVolumeClaim(ctx context.Context, namespace, name string) error

func (*Client) DeleteVirtualMachine

func (c *Client) DeleteVirtualMachine(ctx context.Context, namespace, name string) error

func (*Client) GetCSIDriver

func (c *Client) GetCSIDriver(ctx context.Context, name string) (*storagev1.CSIDriver, error)

func (*Client) GetClusterVersion

func (c *Client) GetClusterVersion(ctx context.Context, name string) (*configv1.ClusterVersion, error)

func (*Client) GetDataSource

func (c *Client) GetDataSource(ctx context.Context, namespace, name string) (*cdiv1.DataSource, error)

func (*Client) GetPersistentVolume

func (c *Client) GetPersistentVolume(ctx context.Context, name string) (*corev1.PersistentVolume, error)

func (*Client) GetPersistentVolumeClaim

func (c *Client) GetPersistentVolumeClaim(ctx context.Context, namespace, name string) (*corev1.PersistentVolumeClaim, error)

func (*Client) GetVirtualMachineInstance

func (c *Client) GetVirtualMachineInstance(ctx context.Context, namespace, name string) (*kvcorev1.VirtualMachineInstance, error)

func (*Client) GetVolumeSnapshot

func (c *Client) GetVolumeSnapshot(ctx context.Context, namespace, name string) (*snapshotv1.VolumeSnapshot, error)

func (*Client) ListCDIs

func (c *Client) ListCDIs(ctx context.Context) (*cdiv1.CDIList, error)

func (*Client) ListDataImportCrons

func (c *Client) ListDataImportCrons(ctx context.Context, namespace string) (*cdiv1.DataImportCronList, error)

func (*Client) ListNamespaces

func (c *Client) ListNamespaces(ctx context.Context) (*corev1.NamespaceList, error)

func (*Client) ListStorageClasses

func (c *Client) ListStorageClasses(ctx context.Context) (*storagev1.StorageClassList, error)

func (*Client) ListStorageProfiles

func (c *Client) ListStorageProfiles(ctx context.Context) (*cdiv1.StorageProfileList, error)

func (*Client) ListVirtualMachinesInstances

func (c *Client) ListVirtualMachinesInstances(ctx context.Context, namespace string) (*kvcorev1.VirtualMachineInstanceList, error)

func (*Client) ListVolumeSnapshotClasses

func (c *Client) ListVolumeSnapshotClasses(ctx context.Context) (*snapshotv1.VolumeSnapshotClassList, error)

func (*Client) RemoveVirtualMachineInstanceVolume

func (c *Client) RemoveVirtualMachineInstanceVolume(ctx context.Context, namespace, name string,
	removeVolumeOptions *kvcorev1.RemoveVolumeOptions) error

Jump to

Keyboard shortcuts

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