fieldindexers

package
v0.11.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTPRouteGatewayParentField = ".metadata.parentRefs.gateway"
)

Variables

This section is empty.

Functions

func HTTPRouteIndexByGateway

func HTTPRouteIndexByGateway(mgr ctrl.Manager, baseLogger logr.Logger) error

HTTPRouteByGatewayIndexer declares an index key that we can later use with the client as a pseudo-field name, allowing to query all the routes parented by a given gateway to prevent creating the same index field multiple times, the function is declared private to be called only by this controller

Types

This section is empty.

Jump to

Keyboard shortcuts

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