indexers

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceExportByCustomResourceDefinition = "serviceExportByCustomResourceDefinition"
	ServiceExportByBoundSchema              = "serviceExportByBoundSchema"
)
View Source
const (
	ServiceExportRequestByGroupResource = "ServiceExportRequestByGroupResource"
	ServiceExportRequestByServiceExport = "ServiceExportRequestByServiceExport"
)
View Source
const (
	BindableResourcesRequestByTemplate = "BindableResourcesRequestByTemplate"
)
View Source
const (
	//nolint:gosec
	ByServiceBindingBundleKubeconfigSecret = "byKubeconfigSecretBundle"
)
View Source
const (
	//nolint:gosec
	ByServiceBindingKubeconfigSecret = "byKubeconfigSecret"
)
View Source
const (
	CRDByServiceBinding = "CRDByServiceBinding"
)
View Source
const (
	ServiceNamespaceByNamespace = "serviceNamespaceByNamespace"
)

Variables

This section is empty.

Functions

func AddIfNotPresentOrDie

func AddIfNotPresentOrDie(indexer cache.Indexer, toAdd cache.Indexers)

AddIfNotPresentOrDie tries to add everything from toAdd to indexer's indexers that does not already exist. It panics if it encounters an error.

func Append

func Append(indexers ...cache.Indexers) (cache.Indexers, error)

Append is a helper function that merged a set of indexers.

func AppendOrDie

func AppendOrDie(indexers ...cache.Indexers) cache.Indexers

func ByServiceBindingBundleKubeconfigSecretKey added in v0.7.0

func ByServiceBindingBundleKubeconfigSecretKey(bundle *kubebindv1alpha2.APIServiceBindingBundle) string

func ByServiceBindingKubeconfigSecretKey added in v0.0.9

func ByServiceBindingKubeconfigSecretKey(binding *kubebindv1alpha2.APIServiceBinding) string

func IndexBindableResourcesRequestByTemplate added in v0.7.0

func IndexBindableResourcesRequestByTemplate(obj client.Object) []string

IndexBindableResourcesRequestByTemplate is a controller-runtime compatible indexer function that indexes BindableResourcesRequests by their template name.

func IndexCRDByServiceBinding added in v0.0.9

func IndexCRDByServiceBinding(obj any) ([]string, error)

func IndexServiceBindingBundleByKubeconfigSecret added in v0.7.0

func IndexServiceBindingBundleByKubeconfigSecret(obj any) ([]string, error)

func IndexServiceBindingByKubeconfigSecret added in v0.0.9

func IndexServiceBindingByKubeconfigSecret(obj any) ([]string, error)

func IndexServiceExportByBoundSchema added in v0.5.0

func IndexServiceExportByBoundSchema(obj any) ([]string, error)

IndexServiceExportByBoundSchema is a controller-runtime compatible indexer function.

func IndexServiceExportByBoundSchemaControllerRuntime added in v0.6.0

func IndexServiceExportByBoundSchemaControllerRuntime(obj client.Object) []string

IndexServiceExportByBoundSchema is a controller-runtime compatible indexer function.

func IndexServiceExportByCustomResourceDefinition added in v0.0.9

func IndexServiceExportByCustomResourceDefinition(obj any) ([]string, error)

func IndexServiceExportRequestByGroupResource added in v0.3.0

func IndexServiceExportRequestByGroupResource(obj client.Object) []string

IndexServiceExportRequestByGroupResource is a controller-runtime compatible indexer function that indexes APIServiceExportRequests by their Group.Resource name.

func IndexServiceExportRequestByServiceExport added in v0.3.0

func IndexServiceExportRequestByServiceExport(obj client.Object) []string

IndexServiceExportRequestByServiceExport is a controller-runtime compatible indexer function that indexes APIServiceExportRequests by their related ServiceExport name.

func IndexServiceNamespaceByNamespace added in v0.0.9

func IndexServiceNamespaceByNamespace(obj any) ([]string, error)

func IndexServiceNamespaceByNamespaceControllerRuntime added in v0.5.0

func IndexServiceNamespaceByNamespaceControllerRuntime(obj client.Object) []string

IndexServiceNamespaceByNamespaceControllerRuntime is a controller-runtime compatible indexer function that indexes APIServiceNamespaces by their status namespace.

Types

This section is empty.

Jump to

Keyboard shortcuts

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