Documentation ¶
Index ¶
- Constants
- func CatalogSubscriberNamespaces(indexers map[string]cache.Indexer, name, namespace string) (map[string]struct{}, error)
- func LabelIndexKeys(indexers map[string]cache.Indexer, labelSets ...labels.Set) ([]string, error)
- func MetaLabelIndexFunc(obj interface{}) ([]string, error)
- func PresentCatalogIndexFunc(obj interface{}) ([]string, error)
- func ProvidedAPIsIndexFunc(obj interface{}) ([]string, error)
- func V1Beta1CRDProviderNames(indexers map[string]cache.Indexer, ...) (map[string]struct{}, error)
- func V1CRDProviderNames(indexers map[string]cache.Indexer, ...) (map[string]struct{}, error)
Constants ¶
const ( // MetaLabelIndexFuncKey is the recommended key to use for registering the index func with an indexer. MetaLabelIndexFuncKey string = "metalabelindexfunc" )
const ( // PresentCatalogIndexFuncKey is the recommended key to use for registering // the index func with an indexer. PresentCatalogIndexFuncKey string = "presentcatalogindexfunc" )
const ( // ProvidedAPIsIndexFuncKey is the recommended key to use for registering the index func with an indexer. ProvidedAPIsIndexFuncKey string = "providedAPIs" )
Variables ¶
This section is empty.
Functions ¶
func CatalogSubscriberNamespaces ¶
func CatalogSubscriberNamespaces(indexers map[string]cache.Indexer, name, namespace string) (map[string]struct{}, error)
CatalogSubscriberNamespaces returns the list of namespace (as a map with namespace as key) which has Suscriptions(s) that subscribe(s) to a given CatalogSource (name/namespace)
func LabelIndexKeys ¶
LabelIndexKeys returns the union of indexed cache keys in the given indexers matching the same labels as the given selector
func MetaLabelIndexFunc ¶
MetaLabelIndexFunc returns indicies from the labels of the given object.
func PresentCatalogIndexFunc ¶
PresentCatalogIndexFunc returns index from CatalogSource/CatalogSourceNamespace of the given object (Subscription)
func ProvidedAPIsIndexFunc ¶
ProvidedAPIsIndexFunc returns indicies from the owned CRDs and APIs of the given object (CSV)
func V1Beta1CRDProviderNames ¶
func V1Beta1CRDProviderNames(indexers map[string]cache.Indexer, crd *apiextensionsv1beta1.CustomResourceDefinition) (map[string]struct{}, error)
CRDProviderNames returns the names of CSVs that own the given CRD
func V1CRDProviderNames ¶
func V1CRDProviderNames(indexers map[string]cache.Indexer, crd *apiextensionsv1.CustomResourceDefinition) (map[string]struct{}, error)
CRDProviderNames returns the names of CSVs that own the given CRD
Types ¶
This section is empty.