# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
NewFakeTemplateRouter provides an empty template router with a simple certificate manager backed by a fake cert writer for testing.
No description provided by the author
NewTemplatePlugin creates a new TemplatePlugin.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
RouterEventReloadEnd indicates end of a template router reload.
RouterEventReloadError indicates error on a template router reload.
RouterEventReloadStart indicates start of a template router reload.
ServiceAliasConfigStatusSaved indicates that the necessary files for this config have been persisted to disk.
# Structs
Certificate represents a pub/private key pair.
ConfigManagerOptions is the options passed to a template router's configuration manager.
Endpoint is an internal representation of a k8s endpoint.
ServiceAliasConfig is a route for a service.
ServiceUnit represents a service and its endpoints.
TemplatePlugin implements the router.Plugin interface to provide a template based, backend-agnostic router.
No description provided by the author
# Interfaces
ConfigManager is used by the router to make configuration changes using the template router's dynamic configuration API (if any).
RouterInterface controls the interaction of the plugin with the underlying router implementation.
ServiceLookup is an interface for fetching the service associated with the given endpoints.
# Type aliases
RouterEventType indicates the type of event fired by the router.
No description provided by the author