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 ByServiceBindingKubeconfigSecretKey(binding *kubebindv1alpha2.APIServiceBinding) string
- func IndexCRDByServiceBinding(obj any) ([]string, error)
- func IndexServiceBindingByKubeconfigSecret(obj any) ([]string, error)
- func IndexServiceExportByBoundSchema(obj any) ([]string, error)
- func IndexServiceExportByBoundSchemaControllerRuntime(obj client.Object) []string
- func IndexServiceExportByCustomResourceDefinition(obj any) ([]string, error)
- func IndexServiceExportRequestByGroupResource(obj client.Object) []string
- func IndexServiceExportRequestByServiceExport(obj client.Object) []string
- func IndexServiceNamespaceByNamespace(obj any) ([]string, error)
- func IndexServiceNamespaceByNamespaceControllerRuntime(obj client.Object) []string
Constants ¶
const ( ServiceExportByCustomResourceDefinition = "serviceExportByCustomResourceDefinition" ServiceExportByBoundSchema = "serviceExportByBoundSchema" )
const ( ServiceExportRequestByGroupResource = "ServiceExportRequestByGroupResource" ServiceExportRequestByServiceExport = "ServiceExportRequestByServiceExport" )
const (
//nolint:gosec
ByServiceBindingKubeconfigSecret = "byKubeconfigSecret"
)
const (
CRDByServiceBinding = "CRDByServiceBinding"
)
const (
ServiceNamespaceByNamespace = "serviceNamespaceByNamespace"
)
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 ByServiceBindingKubeconfigSecretKey ¶ added in v0.0.9
func ByServiceBindingKubeconfigSecretKey(binding *kubebindv1alpha2.APIServiceBinding) string
func IndexCRDByServiceBinding ¶ added in v0.0.9
func IndexServiceBindingByKubeconfigSecret ¶ added in v0.0.9
func IndexServiceExportByBoundSchema ¶ added in v0.5.0
IndexServiceExportByBoundSchema is a controller-runtime compatible indexer function.
func IndexServiceExportByBoundSchemaControllerRuntime ¶ added in v0.6.0
IndexServiceExportByBoundSchema is a controller-runtime compatible indexer function.
func IndexServiceExportByCustomResourceDefinition ¶ added in v0.0.9
func IndexServiceExportRequestByGroupResource ¶ added in v0.3.0
IndexServiceExportRequestByGroupResource is a controller-runtime compatible indexer function that indexes APIServiceExportRequests by their Group.Resource name.
func IndexServiceExportRequestByServiceExport ¶ added in v0.3.0
IndexServiceExportRequestByServiceExport is a controller-runtime compatible indexer function that indexes APIServiceExportRequests by their related ServiceExport name.
func IndexServiceNamespaceByNamespace ¶ added in v0.0.9
func IndexServiceNamespaceByNamespaceControllerRuntime ¶ added in v0.5.0
IndexServiceNamespaceByNamespaceControllerRuntime is a controller-runtime compatible indexer function that indexes APIServiceNamespaces by their status namespace.
Types ¶
This section is empty.