clusterrouter

package
v0.0.0-...-78af6d6 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 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, clusterLister v3.ClusterLister) 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