clusterrouter

package
v2.0.0-beta1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClusterID

func GetClusterID(req *http.Request) string

func New

func New(localConfig *rest.Config, lookup ClusterLookup, dialer dialer.Factory) http.Handler

Types

type ClusterLookup

type ClusterLookup interface {
	Lookup(req *http.Request) (*v3.Cluster, error)
}

type Router

type Router struct {
	// contains filtered or unexported fields
}

func (*Router) ServeHTTP

func (r *Router) ServeHTTP(rw http.ResponseWriter, req *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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