Documentation ¶
Index ¶
Constants ¶
View Source
const ( ProtocolHTTP = "http" ProtocolHTTPS = "https" ProtocolTLS = "tls" )
View Source
const ( TermEdge = "TERM_EDGE" TermGear = "TERM_GEAR" TermRessl = "TERM_RESSL" )
View Source
const (
RouteFile = "/var/lib/containers/router/routes.json"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type TemplatePlugin ¶
type TemplatePlugin struct {
Router router
}
TemplatePlugin implements the router.Plugin interface to provide a template based, backend-agnostic router.
func NewTemplatePlugin ¶
func NewTemplatePlugin(templatePath, reloadScriptPath string) (*TemplatePlugin, error)
NewTemplatePlugin creates a new TemplatePlugin.
func (*TemplatePlugin) HandleEndpoints ¶
func (p *TemplatePlugin) HandleEndpoints(eventType watch.EventType, endpoints *kapi.Endpoints) error
HandleEndpoints processes watch events on the Endpoints resource.
func (*TemplatePlugin) HandleRoute ¶
HandleRoute processes watch events on the Route resource.
Click to show internal directories.
Click to hide internal directories.