resourceslice

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 13 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{

	"nodeName": 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