Documentation ¶
Index ¶
- Constants
- func AddIfNotPresentOrDie(indexer cache.Indexer, toAdd cache.Indexers)
- func Append(indexers ...cache.Indexers) (cache.Indexers, error)
- func AppendOrDie(indexers ...cache.Indexers) cache.Indexers
- func IndexByClusterResourceStateLabelKey(obj interface{}) ([]string, error)
- func IndexBySyncerFinalizerKey(obj interface{}) ([]string, error)
- func IndexSyncTargetsBySyncTargetKey(obj interface{}) ([]string, error)
Constants ¶
View Source
const ( // BySyncerFinalizerKey is the name for the index that indexes by syncer finalizer label keys. BySyncerFinalizerKey = "bySyncerFinalizerKey" // ByClusterResourceStateLabelKey indexes resources based on the cluster state label key. ByClusterResourceStateLabelKey = "ByClusterResourceStateLabelKey" )
View Source
const (
SyncTargetsBySyncTargetKey = "SyncTargetsBySyncTargetKey"
)
Variables ¶
This section is empty.
Functions ¶
func AddIfNotPresentOrDie ¶
AddIfNotPresentOrDie tries to add everything from toAdd to indexer's indexers that does not already exist. It panics if it encounters an error.
func IndexByClusterResourceStateLabelKey ¶
IndexByClusterResourceStateLabelKey indexes resources based on the cluster state key label.
func IndexBySyncerFinalizerKey ¶
IndexBySyncerFinalizerKey indexes by syncer finalizer label keys.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.