Documentation ¶
Index ¶
Constants ¶
View Source
const (
// PodPVCIndex is the lookup name for the index function, which is to index by pod pvcs.
PodPVCIndex = "pod-pvc-index"
)
Variables ¶
This section is empty.
Functions ¶
func AddIndexerIfNotPresent ¶
func AddIndexerIfNotPresent(indexer cache.Indexer, indexName string, indexFunc cache.IndexFunc) error
AddIndexerIfNotPresent adds the index function with the name into the cache indexer if not present
func AddPodPVCIndexerIfNotPresent ¶
AddPodPVCIndexerIfNotPresent adds the PodPVCIndexFunc.
func PodPVCIndexFunc ¶
PodPVCIndexFunc creates an index function that returns PVC keys (= namespace/name) for given pod. This includes the PVCs that might be created for generic ephemeral volumes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.