backendref

package
v1.18.5 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RefIsDelegatedHTTPRoute added in v1.18.4

func RefIsDelegatedHTTPRoute(ref gwv1.BackendObjectReference) bool

RefIsDelegatedHTTPRoute checks if the BackendObjectReference is a delegated HTTPRoute selected by an HTTPRoute GVK reference or a delegation label selector.

func RefIsHTTPRoute

func RefIsHTTPRoute(ref gwv1.BackendObjectReference) bool

RefIsHTTPRoute checks if the BackendObjectReference is an HTTPRoute Parent routes may delegate to child routes using an HTTPRoute backend reference.

func RefIsHTTPRouteDelegationLabelSelector added in v1.18.4

func RefIsHTTPRouteDelegationLabelSelector(ref gwv1.BackendObjectReference) bool

RefIsHTTPRouteDelegationLabelSelector checks if the BackendObjectReference is an HTTPRoute delegation label selector Parent routes may delegate to child routes using an HTTPRoute backend reference.

func RefIsService

func RefIsService(ref gwv1.BackendObjectReference) bool

RefIsService checks if the BackendObjectReference is a service Note: Kind defaults to "Service" when not specified and BackendRef Group defaults to core API group when not specified.

func RefIsUpstream

func RefIsUpstream(ref gwv1.BackendObjectReference) bool

RefIsUpstream checks if the BackendObjectReference is an Upstream.

func ToString

func ToString(ref gwv1.BackendObjectReference) string

ToString returns a string representation of the BackendObjectReference

Types

This section is empty.

Jump to

Keyboard shortcuts

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