package
3.6.0-alpha.1+incompatible
Repository: https://github.com/chlunde/origin.git
Documentation: pkg.go.dev

# Packages

Package factory contains code used to create the router controller.

# Functions

GetNameForHost returns the name of the ingress if the route name was generated from a path, otherwise it returns the name as given.
GetSafeRouteName returns a name that is safe for use in an HAproxy config.
HostForRoute returns the host set on the route.
IsGeneratedRoute indicates whether the given route name was generated from an ingress.
NewExtendedValidator creates a plugin wrapper that ensures only routes that pass extended validation are relayed to the next plugin in the chain.
NewHostAdmitter creates a plugin wrapper that checks whether or not to admit routes and relay them to the next plugin in the chain.
NewIngressTranslator creates a new cache for the given client.
NewStatusAdmitter creates a plugin wrapper that ensures every accepted route has a status field set that matches this router.
NewUniqueHost creates a plugin wrapper that ensures only unique routes are passed into the underlying plugin.

# Variables

No description provided by the author

# Structs

ExtendedValidator implements the router.Plugin interface to provide extended config validation for template based, backend-agnostic routers.
HostAdmitter implements the router.Plugin interface to add admission control checks for routes in template based, backend-agnostic routers.
IngressTranslator converts secret and ingress events into route events.
RouterController abstracts the details of watching the Route and Endpoints resources from the Plugin implementation being used.
StatusAdmitter ensures routes added to the plugin have status set.
UniqueHost implements the router.Plugin interface to provide a template based, backend-agnostic router.

# Interfaces

NamespaceLister returns all the names that should be watched by the client.
RejectionRecorder is an object capable of recording why a route was rejected.

# Type aliases

No description provided by the author
RouteAdmissionFunc determines whether or not to admit a route.
RouteHostFunc returns a host for a route.
RouteMap contains all routes associated with a key.
No description provided by the author