indexers

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 4 Imported by: 18

Documentation

Index

Constants

View Source
const (
	// ByLogicalCluster is the name for the index that indexes by an object's logical cluster.
	ByLogicalCluster = "kcp-global-byLogicalCluster"
	// ByLogicalClusterAndNamespace is the name for the index that indexes by an object's logical cluster and namespace.
	ByLogicalClusterAndNamespace = "kcp-global-byLogicalClusterAndNamespace"
	// IndexAPIExportByIdentity is the indexer name for by identity index for the API Export indexers.
	IndexAPIExportByIdentity = "byIdentity"
)

Variables

This section is empty.

Functions

func ClusterScoped

func ClusterScoped() cache.Indexers

ClusterScoped returns cache.Indexers appropriate for cluster-scoped resources.

func IndexByLogicalCluster

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

IndexByLogicalCluster is an index function that indexes by an object's logical cluster.

func IndexByLogicalClusterAndNamespace

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

IndexByLogicalClusterAndNamespace is an index function that indexes by an object's logical cluster and namespace.

func NamespaceScoped

func NamespaceScoped() cache.Indexers

NamespaceScoped returns cache.Indexers appropriate for namespace-scoped resources.

Types

This section is empty.

Jump to

Keyboard shortcuts

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