Documentation
¶
Index ¶
- func FieldIndexName(field string) string
- func KeyToNamespacedKey(ns string, baseKey string) string
- func MultiNamespacedFilteredCacheBuilder(gvkLabelMap map[schema.GroupVersionKind]Selector, namespaces []string) cache.NewCacheFunc
- func NewEnhancedFilteredCacheBuilder(gvkLabelsMap map[schema.GroupVersionKind][]Selector) cache.NewCacheFunc
- func NewFilteredCacheBuilder(gvkLabelMap map[schema.GroupVersionKind]Selector) cache.NewCacheFunc
- type Selector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldIndexName ¶ added in v0.1.3
FieldIndexName constructs the name of the index over the given field, for use with an indexer.
func KeyToNamespacedKey ¶ added in v0.1.3
KeyToNamespacedKey prefixes the given index key with a namespace for use in field selector indexes.
func MultiNamespacedFilteredCacheBuilder ¶ added in v0.1.3
func MultiNamespacedFilteredCacheBuilder(gvkLabelMap map[schema.GroupVersionKind]Selector, namespaces []string) cache.NewCacheFunc
MultiNamespacedFilteredCacheBuilder implements a customized cache with a filter for specified resources with multiple namespaces
func NewEnhancedFilteredCacheBuilder ¶ added in v0.3.1
func NewEnhancedFilteredCacheBuilder(gvkLabelsMap map[schema.GroupVersionKind][]Selector) cache.NewCacheFunc
NewEnhancedFilteredCacheBuilder implements a customized cache with a filter for specified resources
func NewFilteredCacheBuilder ¶
func NewFilteredCacheBuilder(gvkLabelMap map[schema.GroupVersionKind]Selector) cache.NewCacheFunc
NewFilteredCacheBuilder implements a customized cache with a filter for specified resources
Types ¶
Click to show internal directories.
Click to hide internal directories.