package resourceslice
import "k8s.io/kubernetes/pkg/registry/resource/resourceslice"
Index ¶
- Variables
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func Indexers() *cache.Indexers
- func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate
Variables ¶
var Strategy = resourceSliceStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}
var TriggerFunc = map[string]storage.IndexerFunc{ resource.ResourceSliceSelectorNodeName: nodeNameTriggerFunc, }
Functions ¶
func GetAttrs ¶
GetAttrs returns labels and fields of a given object for filtering purposes.
func Indexers ¶
Indexers returns the indexers for ResourceSlice.
func Match ¶
Match returns a generic matcher for a given label and field selector.
Source Files ¶
strategy.go
Directories ¶
Path | Synopsis |
---|---|
pkg/registry/resource/resourceslice/storage |
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 16 packages
- Last checked
- 3 hours ago –
Tools for package owners.