Documentation ¶
Index ¶
- Constants
- func Append(indexers ...cache.Indexers) (cache.Indexers, error)
- func AppendOrDie(indexers ...cache.Indexers) cache.Indexers
- func ClusterScoped() cache.Indexers
- func IndexByLogicalCluster(obj interface{}) ([]string, error)
- func IndexByLogicalClusterAndNamespace(obj interface{}) ([]string, error)
- func IndexBySyncerFinalizerKey(obj interface{}) ([]string, error)
- func IndexSyncTargetsBySyncTargetKey(obj interface{}) ([]string, error)
- func NamespaceScoped() cache.Indexers
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" // BySyncerFinalizerKey is the name for the index that indexes by syncer finalizer label keys. BySyncerFinalizerKey = "bySyncerFinalizerKey" )
View Source
const (
SyncTargetsBySyncTargetKey = "SyncTargetsBySyncTargetKey"
)
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 IndexBySyncerFinalizerKey ¶ added in v0.7.0
IndexBySyncerFinalizerKey indexes by syncer finalizer label keys.
func IndexSyncTargetsBySyncTargetKey ¶ added in v0.7.0
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.