gatewayapi

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: Apache-2.0 Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractGatewayKeys

func ExtractGatewayKeys(gvk schema.GroupVersionKind, route *gatewayapisv1.HTTPRoute) []client.ObjectKey

ExtractGatewayKeys extracts the gateway keys from the given HTTPRoute resource

func GetDNSSpecInput

func GetDNSSpecInput[T client.Object](ctx context.Context, r *common.SourceReconciler[T], gatewayObj client.Object) (*common.DNSSpecInput, error)

GetDNSSpecInput constructs a DNSSpecInput from the given Gateway resource.

func GetGVKV1

func GetGVKV1() schema.GroupVersionKind

GetGVKV1 returns the GroupVersionKind for Gateway API v1 Gateway resource.

func GetGVKV1beta1

func GetGVKV1beta1() schema.GroupVersionKind

GetGVKV1beta1 returns the GroupVersionKind for Gateway API v1beta1 Gateway resource.

Types

type APIVersion

type APIVersion string

APIVersion represents the Gateway API version.

const (
	// V1Beta1 represents Gateway API v1beta1.
	V1Beta1 APIVersion = "v1beta1"
	// V1 represents Gateway API v1.
	V1 APIVersion = "v1"
)

func DetermineAPIVersion

func DetermineAPIVersion(dc discovery.DiscoveryInterface) (*APIVersion, error)

DetermineAPIVersion determines the Gateway API version supported by the API server. It prefers v1 over v1beta1 if both are available and returns nil if neither is supported.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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