query

package
v1.18.0-beta4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	HttpListenerOptionTargetField = "httpListenerOption.targetRef"
)

Variables

This section is empty.

Functions

func IterateIndices

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

Types

type HttpListenerOptionQueries

type HttpListenerOptionQueries interface {
	// GetAttachedHttpListenerOptions returns a slice of HttpListenerOption 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 HttpListenerOption 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 HttpListenerOptions in the same namespace as the Gateway can be attached.
	GetAttachedHttpListenerOptions(
		ctx context.Context,
		listener *gwv1.Listener,
		parentGw *gwv1.Gateway,
	) ([]*solokubev1.HttpListenerOption, error)
}

Jump to

Keyboard shortcuts

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