Documentation ¶
Index ¶
Constants ¶
View Source
const (
PodByVMNameIndex = "harvesterhci.io/pod-by-vmname"
)
View Source
const (
StorageClassBySecretIndex = "harvesterhci.io/storageclass-by-secret"
)
View Source
const (
VMByPVCIndex = "harvesterhci.io/vm-by-pvc"
)
The file contains the indexers which are used by controller and webhook.
Variables ¶
This section is empty.
Functions ¶
func StorageClassBySecret ¶
func StorageClassBySecret(sc *storagev1.StorageClass) ([]string, error)
func VMByPVC ¶
func VMByPVC(obj *kubevirtv1.VirtualMachine) ([]string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.