gatewayapi

package
v0.59.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertificateRef

func CertificateRef(name, namespace string) *gatewayapi_v1alpha2.SecretObjectReference

func GatewayListenerParentRef

func GatewayListenerParentRef(namespace, name, listener string) gatewayapi_v1alpha2.ParentReference

func GatewayParentRef

func GatewayParentRef(namespace, name string) gatewayapi_v1alpha2.ParentReference

func GroupPtr

func GroupPtr(group string) *gatewayapi_v1alpha2.Group

func HTTPBackendRef

func HTTPBackendRef(serviceName string, port int, weight int32) []gatewayapi_v1alpha2.HTTPBackendRef

func IsValidHostname

func IsValidHostname(hostname string) error

IsValidHostname validates that a given hostname is syntactically valid. It returns nil if valid and an error if not valid.

func KindPtr

func KindPtr(kind string) *gatewayapi_v1alpha2.Kind

func ListenerHostname

func ListenerHostname(host string) *gatewayapi_v1alpha2.Hostname

func NamespacePtr

func NamespacePtr(namespace string) *gatewayapi_v1alpha2.Namespace

func ObjectNamePtr

func ObjectNamePtr(name string) *gatewayapi_v1alpha2.ObjectName

func PortNumPtr

func PortNumPtr(port int) *gatewayapi_v1alpha2.PortNumber

func PreciseHostname

func PreciseHostname(host string) *gatewayapi_v1alpha2.PreciseHostname

func SectionNamePtr

func SectionNamePtr(sectionName string) *gatewayapi_v1alpha2.SectionName

func ServiceBackendObjectRef

func ServiceBackendObjectRef(name string, port int) gatewayapi_v1alpha2.BackendObjectReference

func TLSRouteBackendRef

func TLSRouteBackendRef(serviceName string, port int, weight *int32) []gatewayapi_v1alpha2.BackendRef

func TLSRouteBackendRefs

func TLSRouteBackendRefs(backendRefs ...[]gatewayapi_v1alpha2.BackendRef) []gatewayapi_v1alpha2.BackendRef

Types

This section is empty.

Jump to

Keyboard shortcuts

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