router

package
v3.6.0-rc.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package router contains the abstraction for router backend implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin interface {
	HandleRoute(watch.EventType, *routeapi.Route) error
	HandleEndpoints(watch.EventType, *kapi.Endpoints) error
	// If sent, filter the list of accepted routes and endpoints to this set
	HandleNamespaces(namespaces sets.String) error
	HandleNode(watch.EventType, *kapi.Node) error
	Commit() error
}

Plugin is the interface the router controller dispatches watch events for the Routes and Endpoints resources to.

Directories

Path Synopsis
Package controller contains the router controller.
Package controller contains the router controller.
factory
Package factory contains code used to create the router controller.
Package factory contains code used to create the router controller.
haproxy
Package haproxy is inspired by https://github.com/prometheus/haproxy_exporter
Package haproxy is inspired by https://github.com/prometheus/haproxy_exporter

Jump to

Keyboard shortcuts

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