dispatch

package
v0.0.310 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dispatcher

type Dispatcher interface {
	Dispatch(w http.ResponseWriter, req *http.Request, handler http.Handler)
}

Dispatcher defines how to forward request to designated cluster based on cluster name This should only be used in host cluster when multicluster mode enabled, use in any other cases may cause unexpected behavior

func NewClusterDispatch

func NewClusterDispatch(clusterInformer clusterinformer.ClusterInformer) Dispatcher

Jump to

Keyboard shortcuts

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