resourceslice

package
v1.32.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Strategy = resourceSliceStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}
View Source
var TriggerFunc = map[string]storage.IndexerFunc{

	resource.ResourceSliceSelectorNodeName: nodeNameTriggerFunc,
}

Functions

func GetAttrs

func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)

GetAttrs returns labels and fields of a given object for filtering purposes.

func Indexers

func Indexers() *cache.Indexers

Indexers returns the indexers for ResourceSlice.

func Match

Match returns a generic matcher for a given label and field selector.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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