Documentation ¶
Overview ¶
Package proxy provides transport and upgrade support for proxies
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveCluster ¶ added in v1.7.0
func ResolveEndpoint ¶ added in v1.7.0
func ResolveEndpoint(services listersv1.ServiceLister, endpoints listersv1.EndpointsLister, namespace, id string) (*url.URL, error)
ResourceLocation returns a URL to which one can send traffic for the specified service.
Types ¶
type Transport ¶
type Transport struct { Scheme string Host string PathPrepend string http.RoundTripper }
Transport is a transport for text/html content that replaces URLs in html content with the prefix of the proxy server
func (*Transport) WrappedRoundTripper ¶
func (rt *Transport) WrappedRoundTripper() http.RoundTripper
Click to show internal directories.
Click to hide internal directories.