Documentation ¶
Index ¶
- type Client
- func (c *Client) AddVirtualMachineInstanceVolume(ctx context.Context, namespace, name string, ...) error
- func (c *Client) CreateDataVolume(ctx context.Context, namespace string, dv *cdiv1.DataVolume) (*cdiv1.DataVolume, error)
- func (c *Client) CreateVirtualMachine(ctx context.Context, namespace string, vm *kvcorev1.VirtualMachine) (*kvcorev1.VirtualMachine, error)
- func (c *Client) CreateVirtualMachineInstanceMigration(ctx context.Context, namespace string, ...) (*kvcorev1.VirtualMachineInstanceMigration, error)
- func (c *Client) DeleteDataVolume(ctx context.Context, namespace, name string) error
- func (c *Client) DeletePersistentVolumeClaim(ctx context.Context, namespace, name string) error
- func (c *Client) DeleteVirtualMachine(ctx context.Context, namespace, name string) error
- func (c *Client) GetCSIDriver(ctx context.Context, name string) (*storagev1.CSIDriver, error)
- func (c *Client) GetClusterVersion(ctx context.Context, name string) (*configv1.ClusterVersion, error)
- func (c *Client) GetDataSource(ctx context.Context, namespace, name string) (*cdiv1.DataSource, error)
- func (c *Client) GetPersistentVolume(ctx context.Context, name string) (*corev1.PersistentVolume, error)
- func (c *Client) GetPersistentVolumeClaim(ctx context.Context, namespace, name string) (*corev1.PersistentVolumeClaim, error)
- func (c *Client) GetVirtualMachineInstance(ctx context.Context, namespace, name string) (*kvcorev1.VirtualMachineInstance, error)
- func (c *Client) GetVolumeSnapshot(ctx context.Context, namespace, name string) (*snapshotv1.VolumeSnapshot, error)
- func (c *Client) ListCDIs(ctx context.Context) (*cdiv1.CDIList, error)
- func (c *Client) ListDataImportCrons(ctx context.Context, namespace string) (*cdiv1.DataImportCronList, error)
- func (c *Client) ListNamespaces(ctx context.Context) (*corev1.NamespaceList, error)
- func (c *Client) ListNodes(ctx context.Context) (*corev1.NodeList, error)
- func (c *Client) ListStorageClasses(ctx context.Context) (*storagev1.StorageClassList, error)
- func (c *Client) ListStorageProfiles(ctx context.Context) (*cdiv1.StorageProfileList, error)
- func (c *Client) ListVirtualMachinesInstances(ctx context.Context, namespace string) (*kvcorev1.VirtualMachineInstanceList, error)
- func (c *Client) ListVolumeSnapshotClasses(ctx context.Context) (*snapshotv1.VolumeSnapshotClassList, error)
- func (c *Client) RemoveVirtualMachineInstanceVolume(ctx context.Context, namespace, name string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { kubecli.KubevirtClient configv1client.ClusterVersionsGetter }
func (*Client) AddVirtualMachineInstanceVolume ¶
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 (*Client) DeletePersistentVolumeClaim ¶
func (*Client) DeleteVirtualMachine ¶
func (*Client) GetCSIDriver ¶
func (*Client) GetClusterVersion ¶
func (*Client) GetDataSource ¶
func (*Client) GetPersistentVolume ¶
func (*Client) GetPersistentVolumeClaim ¶
func (*Client) GetVirtualMachineInstance ¶
func (*Client) GetVolumeSnapshot ¶
func (c *Client) GetVolumeSnapshot(ctx context.Context, namespace, name string) (*snapshotv1.VolumeSnapshot, error)
func (*Client) ListDataImportCrons ¶
func (*Client) ListNamespaces ¶
func (*Client) ListStorageClasses ¶
func (*Client) ListStorageProfiles ¶
func (*Client) ListVirtualMachinesInstances ¶
func (*Client) ListVolumeSnapshotClasses ¶
func (c *Client) ListVolumeSnapshotClasses(ctx context.Context) (*snapshotv1.VolumeSnapshotClassList, error)
func (*Client) RemoveVirtualMachineInstanceVolume ¶
Click to show internal directories.
Click to hide internal directories.