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 ¶
ClusterScoped returns cache.Indexers appropriate for cluster-scoped resources.
func IndexByLogicalCluster ¶
IndexByLogicalCluster is an index function that indexes by an object's logical cluster.
func IndexByLogicalClusterAndNamespace ¶
IndexByLogicalClusterAndNamespace is an index function that indexes by an object's logical cluster and namespace.
func NamespaceScoped ¶
NamespaceScoped returns cache.Indexers appropriate for namespace-scoped resources.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.