indexeres

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

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 PodByVMName

func PodByVMName(obj *corev1.Pod) ([]string, error)

func StorageClassBySecret

func StorageClassBySecret(sc *storagev1.StorageClass) ([]string, error)

func VMByPVC

func VMByPVC(obj *kubevirtv1.VirtualMachine) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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