indexer

package
v0.10.1-1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MetaLabelIndexFuncKey is the recommended key to use for registering the index func with an indexer.
	MetaLabelIndexFuncKey string = "metalabelindexfunc"
)

Variables

This section is empty.

Functions

func LabelIndexKeys

func LabelIndexKeys(indexers map[string]cache.Indexer, labelSets ...labels.Set) ([]string, error)

LabelIndexKeys returns the union of indexed cache keys in the given indexers matching the same labels as the given selector

func MetaLabelIndexFunc

func MetaLabelIndexFunc(obj interface{}) ([]string, error)

MetaLabelIndexFunc returns indicies from the labels of the given object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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