query

package
v1.17.0-beta35 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ListenerOptionTargetField = "listenerOption.targetRef"
)

Variables

This section is empty.

Functions

func IterateIndices

func IterateIndices(f func(client.Object, string, client.IndexerFunc) error) error

Types

type ListenerOptionQueries

type ListenerOptionQueries interface {
	// GetAttachedListenerOptions returns a slice of ListenerOption resources attached to a gateway on which
	// the listener resides and have either targeted the listener with section name or omitted section name.
	// The returned ListenerOption list is sorted by specificity in the order of
	//
	// - older with section name
	//
	// - newer with section name
	//
	// - older without section name
	//
	// - newer without section name
	//
	// Note that currently, only ListenerOptions in the same namespace as the Gateway can be attached.
	GetAttachedListenerOptions(ctx context.Context, listener *gwv1.Listener, parentGw *gwv1.Gateway) ([]*solokubev1.ListenerOption, error)
}

Jump to

Keyboard shortcuts

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