Documentation ¶
Index ¶
- Constants
- func PodByNodeName(obj *corev1.Pod) ([]string, error)
- func PodByPVC(obj *corev1.Pod) ([]string, error)
- func PodByVMName(obj *corev1.Pod) ([]string, error)
- func Setup(ctx context.Context, _ *server.Server, _ *server.Controllers, _ config.Options) error
- func VMBackupBySourceVMName(obj *harvesterv1.VirtualMachineBackup) ([]string, error)
- func VMBackupBySourceVMUID(obj *harvesterv1.VirtualMachineBackup) ([]string, error)
- func VMByNetwork(obj *kubevirtv1.VirtualMachine) ([]string, error)
- func VMTemplateVersionByImageID(obj *harvesterv1.VirtualMachineTemplateVersion) ([]string, error)
- func VolumeByNodeName(obj *lhv1beta2.Volume) ([]string, error)
Constants ¶
View Source
const ( PVCByVMIndex = "harvesterhci.io/pvc-by-vm-index" PVCByDataSourceVolumeSnapshotIndex = "harvesterhci.io/pvc-by-data-source-volume-snapshot" VMByNetworkIndex = "vm.harvesterhci.io/vm-by-network" PodByNodeNameIndex = "harvesterhci.io/pod-by-nodename" PodByPVCIndex = "harvesterhci.io/pod-by-pvc" PodByVMNameIndex = "harvesterhci.io/pod-by-vmname" VolumeByNodeIndex = "harvesterhci.io/volume-by-node" VMBackupBySourceVMUIDIndex = "harvesterhci.io/vmbackup-by-source-vm-uid" VMBackupBySourceVMNameIndex = "harvesterhci.io/vmbackup-by-source-vm-name" VMTemplateVersionByImageIDIndex = "harvesterhci.io/vmtemplateversion-by-image-id" VolumeSnapshotBySourcePVCIndex = "harvesterhci.io/volumesnapshot-by-source-pvc" )
Variables ¶
This section is empty.
Functions ¶
func VMBackupBySourceVMName ¶ added in v1.1.0
func VMBackupBySourceVMName(obj *harvesterv1.VirtualMachineBackup) ([]string, error)
func VMBackupBySourceVMUID ¶ added in v1.1.0
func VMBackupBySourceVMUID(obj *harvesterv1.VirtualMachineBackup) ([]string, error)
func VMByNetwork ¶ added in v0.3.0
func VMByNetwork(obj *kubevirtv1.VirtualMachine) ([]string, error)
func VMTemplateVersionByImageID ¶ added in v1.1.2
func VMTemplateVersionByImageID(obj *harvesterv1.VirtualMachineTemplateVersion) ([]string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.