package common
import "k8s.io/kubernetes/pkg/controller/volume/common"
Index ¶
- Constants
- func AddIndexerIfNotPresent(indexer cache.Indexer, indexName string, indexFunc cache.IndexFunc) error
- func PodPVCIndexFunc(obj interface{}) ([]string, error)
Constants ¶
const ( // PodPVCIndex is the lookup name for the index function, which is to index by pod pvcs. PodPVCIndex = "pod-pvc-index" )
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 PodPVCIndexFunc ¶
PodPVCIndexFunc returns PVC keys for given pod
Source Files ¶
common.go
- Version
- v1.19.0-beta.2
- Published
- Jun 12, 2020
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 32 minutes ago –
Tools for package owners.