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
Click to show internal directories.
Click to hide internal directories.