Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientsProxy ¶
type ClientsProxy struct {
// contains filtered or unexported fields
}
func NewClientsProxy ¶
func NewClientsProxy(clients *agents.ClientSet) *ClientsProxy
func (*ClientsProxy) HandlerToCluster ¶
func (p *ClientsProxy) HandlerToCluster(name string) http.Handler
HandlerToCluster returns a http.Handler that proxies requests to the given cluster. Fixme: this is a temporary solution, we will use a better way to proxy requests in the future.
Click to show internal directories.
Click to hide internal directories.