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) ProxyToCluster ¶ added in v1.23.12
func (p *ClientsProxy) ProxyToCluster(name string) http.Handler
ProxyToCluster 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.