router

package
v3.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 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 added in v0.2.1

type Plugin interface {
	HandleRoute(watch.EventType, *routev1.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.
f5
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