package
0.1.0
Repository: https://github.com/caddyserver/gateway.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package caddy .
No description provided by the author
No description provided by the author
Package routechecks .

# Functions

ComputeHosts returns a list of the intersecting hostnames between the route and the listener.
GetBackendServiceName attempts to get the name of a Service from a BackendObjectReference.
IsBackendReferenceAllowed returns true if the backend reference is allowed by the reference grant.
IsGateway checks if the given ParentReference references a Gateway resource.
IsLocalConfigMap checks if the given LocalObjectReference references a ConfigMap resource.
IsPolicyTargetService checks if the given PolicyTargetReference references a Service resource.
IsLocalSecret checks if the given LocalObjectReference references a Secret resource.
IsSecret checks if the given SecretObjectReference references a Secret resource.
IsService checks if the given BackendObjectReference references a Service resource.
MatchesControllerName checks if the given string matches the name of our gateway controller.
NamespaceDerefOr attempts to dereference the given Namespace if it is present, otherwise the provided default value will be returned.

# Constants

ControllerDomain is the domain for this Gateway Controller.
ControllerName is the name of this Gateway Controller, used in Gateway Classes.