indexers

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 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 (
	//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 ByServiceBindingKubeconfigSecretKey added in v0.0.9

func ByServiceBindingKubeconfigSecretKey(binding *kubebindv1alpha2.APIServiceBinding) string

func IndexCRDByServiceBinding added in v0.0.9

func IndexCRDByServiceBinding(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 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