types

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupName                             = gatewayv1.GroupName
	HTTPProtocolType                      = gatewayv1.HTTPProtocolType
	HTTPSProtocolType                     = gatewayv1.HTTPSProtocolType
	TLSProtocolType                       = gatewayv1.TLSProtocolType
	UDPProtocolType                       = gatewayv1.UDPProtocolType
	TCPProtocolType                       = gatewayv1.TCPProtocolType
	HTTPRouteFilterExtensionRef           = gatewayv1.HTTPRouteFilterExtensionRef
	GRPCRouteFilterExtensionRef           = gatewayv1.GRPCRouteFilterExtensionRef
	HTTPRouteFilterRequestHeaderModifier  = gatewayv1.HTTPRouteFilterRequestHeaderModifier
	ListenerConditionProgrammed           = gatewayv1.ListenerConditionProgrammed
	NamespacesFromAll                     = gatewayv1.NamespacesFromAll
	NamespacesFromSame                    = gatewayv1.NamespacesFromSame
	NamespacesFromSelector                = gatewayv1.NamespacesFromSelector
	RouteConditionAccepted                = gatewayv1.RouteConditionAccepted
	RouteConditionResolvedRefs            = gatewayv1.RouteConditionResolvedRefs
	RouteReasonAccepted                   = gatewayv1.RouteReasonAccepted
	RouteReasonBackendNotFound            = gatewayv1.RouteReasonBackendNotFound
	RouteReasonInvalidKind                = gatewayv1.RouteReasonInvalidKind
	RouteReasonNoMatchingListenerHostname = gatewayv1.RouteReasonNoMatchingListenerHostname
	RouteReasonNoMatchingParent           = gatewayv1.RouteReasonNoMatchingParent
	RouteReasonNotAllowedByListeners      = gatewayv1.RouteReasonNotAllowedByListeners
	RouteReasonRefNotPermitted            = gatewayv1.RouteReasonRefNotPermitted
	RouteReasonResolvedRefs               = gatewayv1.RouteReasonResolvedRefs
	TLSModeTerminate                      = gatewayv1.TLSModeTerminate
	TLSModePassthrough                    = gatewayv1.TLSModePassthrough
)
View Source
const (
	// ControlPlaneDataPlaneTargetRefType is an alias for the v2beta1 ControlPlaneDataPlaneTargetRefType type.
	ControlPlaneDataPlaneTargetRefType = operatorv2beta1.ControlPlaneDataPlaneTargetRefType
	// ControlPlaneDataPlaneTargetManagedByType is an alias for the v2beta1 ControlPlaneDataPlaneTargetManagedByType type.
	ControlPlaneDataPlaneTargetManagedByType = operatorv2beta1.ControlPlaneDataPlaneTargetManagedByType

	// FeatureGateStateEnabled is an alias for the v2beta1 FeatureGateStateEnabled type.
	FeatureGateStateEnabled = operatorv2beta1.FeatureGateStateEnabled
	// FeatureGateStateDisabled is an alias for the v2beta1 FeatureGateStateDisabled type.
	FeatureGateStateDisabled = operatorv2beta1.FeatureGateStateDisabled

	// ControlPlaneControllerStateEnabled is an alias for the v2alpha1 ControlPlaneControllerStateEnabled type.
	ControlPlaneControllerStateEnabled = operatorv2beta1.ControllerStateEnabled
	// ControlPlaneControllerStateDisabled is an alias for the v2alpha1 ControlPlaneControllerStateDisabled type.
	ControlPlaneControllerStateDisabled = operatorv2beta1.ControllerStateDisabled

	// ControlPlaneFallbackConfigurationStateEnabled is an alias for the v2alpha1 ControlPlaneFallbackConfigurationStateEnabled type.
	ControlPlaneFallbackConfigurationStateEnabled = operatorv2beta1.ControlPlaneFallbackConfigurationStateEnabled
	// ControlPlaneFallbackConfigurationStateDisabled is an alias for the v2alpha1 ControlPlaneFallbackConfigurationStateDisabled type.
	ControlPlaneFallbackConfigurationStateDisabled = operatorv2beta1.ControlPlaneFallbackConfigurationStateDisabled

	// ControlPlaneReverseSyncStateEnabled is an alias for the v2alpha1 ControlPlaneReverseSyncStateEnabled type.
	ControlPlaneReverseSyncStateEnabled = operatorv2beta1.ControlPlaneReverseSyncStateEnabled
	// ControlPlaneReverseSyncStateDisabled is an alias for the v2alpha1 ControlPlaneReverseSyncStateDisabled type.
	ControlPlaneReverseSyncStateDisabled = operatorv2beta1.ControlPlaneReverseSyncStateDisabled

	// ControlPlaneDrainSupportStateEnabled is an alias for the v2alpha1 ControlPlaneDrainSupportStateEnabled type.
	ControlPlaneDrainSupportStateEnabled = operatorv2beta1.ControlPlaneDrainSupportStateEnabled
	// ControlPlaneDrainSupportStateDisabled is an alias for the v2alpha1 ControlPlaneDrainSupportStateDisabled type.
	ControlPlaneDrainSupportStateDisabled = operatorv2beta1.ControlPlaneDrainSupportStateDisabled

	// ControlPlaneCombinedServicesFromDifferentHTTPRoutesStateDisabled is an alias for the v2alpha1 ControlPlaneCombinedServicesFromDifferentHTTPRoutesStateDisabled type.
	ControlPlaneCombinedServicesFromDifferentHTTPRoutesStateDisabled = operatorv2beta1.ControlPlaneCombinedServicesFromDifferentHTTPRoutesStateDisabled
	// ControlPlaneCombinedServicesFromDifferentHTTPRoutesStateEnabled is an alias for the v2alpha1 ControlPlaneCombinedServicesFromDifferentHTTPRoutesStateEnabled type.
	ControlPlaneCombinedServicesFromDifferentHTTPRoutesStateEnabled = operatorv2beta1.ControlPlaneCombinedServicesFromDifferentHTTPRoutesStateEnabled
)

Variables

View Source
var GroupVersion = gatewayv1.GroupVersion

Functions

func ControlPlaneGVR

func ControlPlaneGVR() schema.GroupVersionResource

ControlPlaneGVR is an alias for the current ControlPlane GVR.

func GatewayConfigurationGVR

func GatewayConfigurationGVR() schema.GroupVersionResource

GatewayConfigurationGVR is an alias for the current GatewayConfiguration GVR.

Types

type AllowedRoutes

type AllowedRoutes = gatewayv1.AllowedRoutes

type BackendObjectReference

type BackendObjectReference = gatewayv1.BackendObjectReference

type BackendRef

type BackendRef = gatewayv1.BackendRef

func GetBackendRef added in v2.2.0

func GetBackendRef[T SupportedBackendRef](bRef T) BackendRef

GetBackendRef gets the internal BackendRef of supported BackendRef types.

type CommonRouteSpec

type CommonRouteSpec = gatewayv1.CommonRouteSpec

type ControlPlane

type ControlPlane = operatorv2beta1.ControlPlane

ControlPlane is an alias for the v2beta1 ControlPlane type.

type ControlPlaneController

type ControlPlaneController = operatorv2beta1.ControlPlaneController

ControlPlaneController is an alias for the v2beta1 ControlPlaneController type.

type ControlPlaneDataPlaneStatus

type ControlPlaneDataPlaneStatus = operatorv2beta1.ControlPlaneDataPlaneStatus

ControlPlaneDataPlaneStatus is an alias for the v2beta1 ControlPlaneDataPlaneStatus type.

type ControlPlaneDataPlaneSync

type ControlPlaneDataPlaneSync = operatorv2beta1.ControlPlaneDataPlaneSync

ControlPlaneDataPlaneSync is an alias for the v2alpha1 ControlPlaneDataPlaneSync type.

type ControlPlaneDataPlaneTarget

type ControlPlaneDataPlaneTarget = operatorv2beta1.ControlPlaneDataPlaneTarget

ControlPlaneDataPlaneTarget is an alias for the v2beta1 ControlPlaneDataPlaneTarget type.

type ControlPlaneDataPlaneTargetRef

type ControlPlaneDataPlaneTargetRef = operatorv2beta1.ControlPlaneDataPlaneTargetRef

ControlPlaneDataPlaneTargetRef is an alias for the v2beta1 ControlPlaneDataPlaneTargetRef type.

type ControlPlaneFallbackConfiguration

type ControlPlaneFallbackConfiguration = operatorv2beta1.ControlPlaneFallbackConfiguration

ControlPlaneFallbackConfiguration is an alias for the v2alpha1 ControlPlaneFallbackConfiguration type.

type ControlPlaneFeatureGate

type ControlPlaneFeatureGate = operatorv2beta1.ControlPlaneFeatureGate

ControlPlaneFeatureGate is an alias for the v2beta1 ControlPlaneFeatureGate type.

type ControlPlaneList

type ControlPlaneList = operatorv2beta1.ControlPlaneList

ControlPlaneList is an alias for the v2beta1 ControlPlaneList type.

type ControlPlaneOptions

type ControlPlaneOptions = operatorv2beta1.ControlPlaneOptions

ControlPlaneOptions is an alias for the v2beta1 ControlPlaneOptions type.

type ControlPlaneReverseSyncState

type ControlPlaneReverseSyncState = operatorv2beta1.ControlPlaneReverseSyncState

ControlPlaneReverseSyncState is an alias for the v2alpha1 ControlPlaneReverseSyncState type.

type ControlPlaneSpec

type ControlPlaneSpec = operatorv2beta1.ControlPlaneSpec

ControlPlaneSpec is an alias for the v2beta1 ControlPlaneSpec type.

type ControlPlaneStatus

type ControlPlaneStatus = operatorv2beta1.ControlPlaneStatus

ControlPlaneStatus is an alias for the v2beta1 ControlPlaneStatus type.

type ControlPlaneTranslationOptions

type ControlPlaneTranslationOptions = operatorv2beta1.ControlPlaneTranslationOptions

ControlPlaneTranslationOptions is an alias for the v2alpha1 ControlPlaneTranslationOptions type.

type ControllerState

type ControllerState = operatorv2beta1.ControllerState

ControllerState is an alias for the v2alpha1 ControllerState type.

type GRPCBackendRef added in v2.3.0

type GRPCBackendRef = gatewayv1.GRPCBackendRef

type GRPCRoute

type GRPCRoute = gatewayv1.GRPCRoute

type GRPCRouteList added in v2.3.0

type GRPCRouteList = gatewayv1.GRPCRouteList

type GRPCRouteRule added in v2.3.0

type GRPCRouteRule = gatewayv1.GRPCRouteRule

type GRPCRouteSpec added in v2.3.0

type GRPCRouteSpec = gatewayv1.GRPCRouteSpec

type Gateway

type Gateway = gatewayv1.Gateway

type GatewayClass

type GatewayClass = gatewayv1.GatewayClass

type GatewayClassSpec

type GatewayClassSpec = gatewayv1.GatewayClassSpec

type GatewayConfigDataPlaneOptions

type GatewayConfigDataPlaneOptions = operatorv2beta1.GatewayConfigDataPlaneOptions

GatewayConfigDataPlaneOptions is an alias for the v2beta1 GatewayConfigDataPlaneOptions type.

type GatewayConfiguration

type GatewayConfiguration = operatorv2beta1.GatewayConfiguration

GatewayConfiguration is an alias for the v2beta1 GatewayConfiguration type.

type GatewayConfigurationSpec

type GatewayConfigurationSpec = operatorv2beta1.GatewayConfigurationSpec

GatewayConfigurationSpec is an alias for the v2beta1 GatewayConfigurationSpec type.

type GatewayController

type GatewayController = gatewayv1.GatewayController

type GatewayList

type GatewayList = gatewayv1.GatewayList

type GatewaySpec

type GatewaySpec = gatewayv1.GatewaySpec

type GatewayStatusAddress

type GatewayStatusAddress = gatewayv1.GatewayStatusAddress

type GatewayTLSConfig added in v2.1.1

type GatewayTLSConfig = gatewayv1.ListenerTLSConfig

type Group

type Group = gatewayv1.Group

type GroupVersionKind added in v2.1.1

type GroupVersionKind = gatewayv1.Group

type HTTPBackendRef

type HTTPBackendRef = gatewayv1.HTTPBackendRef

type HTTPHeader added in v2.1.1

type HTTPHeader = gatewayv1.HTTPHeader

type HTTPHeaderFilter added in v2.1.1

type HTTPHeaderFilter = gatewayv1.HTTPHeaderFilter

type HTTPRoute

type HTTPRoute = gatewayv1.HTTPRoute

type HTTPRouteFilter added in v2.1.1

type HTTPRouteFilter = gatewayv1.HTTPRouteFilter

type HTTPRouteFilterType added in v2.1.1

type HTTPRouteFilterType = gatewayv1.HTTPRouteFilterType

type HTTPRouteList

type HTTPRouteList = gatewayv1.HTTPRouteList

type HTTPRouteMatch added in v2.1.1

type HTTPRouteMatch = gatewayv1.HTTPRouteMatch

type HTTPRouteRule

type HTTPRouteRule = gatewayv1.HTTPRouteRule

type HTTPRouteSpec

type HTTPRouteSpec = gatewayv1.HTTPRouteSpec

type HTTPRouteStatus added in v2.1.1

type HTTPRouteStatus = gatewayv1.HTTPRouteStatus

type Hostname added in v2.1.1

type Hostname = gatewayv1.Hostname

func GetSpecHostnames added in v2.2.0

func GetSpecHostnames[T SupportedRoute](route T) []Hostname

GetSpecHostnames returns the hostnames in the route spec. UDPRoute has no hostnames as it is an L4 protocol.

type Kind

type Kind = gatewayv1.Kind

type Listener

type Listener = gatewayv1.Listener

type LocalObjectReference added in v2.1.1

type LocalObjectReference = gatewayv1.LocalObjectReference

type Namespace

type Namespace = gatewayv1.Namespace

type ObjectName

type ObjectName = gatewayv1.ObjectName

type ParametersReference

type ParametersReference = gatewayv1.ParametersReference

type ParentReference

type ParentReference = gatewayv1.ParentReference

func GetSpecParentRefs added in v2.2.0

func GetSpecParentRefs[T SupportedRoute](route T) []ParentReference

GetSpecParentRefs returns the parent references of a supported route.

type PortNumber

type PortNumber = gatewayv1.PortNumber

type ReferenceGrant added in v2.1.1

type ReferenceGrant = gatewayv1.ReferenceGrant

type ReferenceGrantFrom added in v2.2.0

type ReferenceGrantFrom = gatewayv1.ReferenceGrantFrom

type ReferenceGrantList added in v2.1.1

type ReferenceGrantList = gatewayv1.ReferenceGrantList

type ReferenceGrantSpec added in v2.1.1

type ReferenceGrantSpec = gatewayv1.ReferenceGrantSpec

type ReferenceGrantTo added in v2.2.0

type ReferenceGrantTo = gatewayv1.ReferenceGrantTo

type RouteGroupKind

type RouteGroupKind = gatewayv1.RouteGroupKind

type RouteNamespaces

type RouteNamespaces = gatewayv1.RouteNamespaces

type RouteParentStatus

type RouteParentStatus = gatewayv1.RouteParentStatus

type SectionName

type SectionName = gatewayv1.SectionName

type SupportedBackendRef added in v2.2.0

type SupportedBackendRef interface {
	BackendRef | HTTPBackendRef | GRPCBackendRef
}

SupportedBackendRef defines a supported backendRef type.

type SupportedRoute added in v2.2.0

type SupportedRoute interface {
	HTTPRoute | TLSRoute | TCPRoute | GRPCRoute | UDPRoute
}

SupportedRoute defines a supported route type.

type SupportedRouteList added in v2.2.0

type SupportedRouteList interface {
	HTTPRouteList | TLSRouteList | GRPCRouteList | TCPRouteList | UDPRouteList
}

SupportedRouteList defines a list of supported route.

type SupportedRouteListPtr added in v2.2.0

type SupportedRouteListPtr[T SupportedRouteList] interface {
	*T
	client.ObjectList
}

SupportedRouteListPtr defines a pointer of a supported route list. It includes the client.ObjectList interface to be used as the receiver in the client.List.

type SupportedRoutePtr added in v2.2.0

type SupportedRoutePtr[T SupportedRoute] interface {
	*T
	client.Object
}

SupportedRoutePtr defines a pointer of a supported route type. It includes the client.Object interface to extract metadata.

type SupportedRouteRule added in v2.2.0

type SupportedRouteRule interface {
	HTTPRouteRule | GRPCRouteRule | TLSRouteRule | TCPRouteRule | UDPRouteRule
}

SupportedRouteRule defines a rule in a supported route.

type TCPRoute added in v2.3.0

type TCPRoute = gatewayv1.TCPRoute

type TCPRouteList added in v2.3.0

type TCPRouteList = gatewayv1.TCPRouteList

type TCPRouteRule added in v2.3.0

type TCPRouteRule = gatewayv1.TCPRouteRule

type TCPRouteSpec added in v2.3.0

type TCPRouteSpec = gatewayv1.TCPRouteSpec

type TCPRouteStatus added in v2.3.0

type TCPRouteStatus = gatewayv1.TCPRouteStatus

type TLSRoute added in v2.2.0

type TLSRoute = gatewayv1.TLSRoute

type TLSRouteList added in v2.2.0

type TLSRouteList = gatewayv1.TLSRouteList

type TLSRouteRule added in v2.2.0

type TLSRouteRule = gatewayv1.TLSRouteRule

type TLSRouteSpec added in v2.2.0

type TLSRouteSpec = gatewayv1.TLSRouteSpec

type TLSRouteStatus added in v2.2.0

type TLSRouteStatus = gatewayv1.TLSRouteStatus

type UDPRoute added in v2.3.0

type UDPRoute = gatewayv1.UDPRoute

type UDPRouteList added in v2.3.0

type UDPRouteList = gatewayv1.UDPRouteList

type UDPRouteRule added in v2.3.0

type UDPRouteRule = gatewayv1.UDPRouteRule

type UDPRouteSpec added in v2.3.0

type UDPRouteSpec = gatewayv1.UDPRouteSpec

type UDPRouteStatus added in v2.3.0

type UDPRouteStatus = gatewayv1.UDPRouteStatus

Jump to

Keyboard shortcuts

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