Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReverseProxyContainer ¶
type ReverseProxyContainer struct { ProxiesPortRange PortRange // map[kubeID + serviceID]*ServiceReverseProxy Proxies map[string]*ServiceReverseProxy PortToProxy map[int32]*ServiceReverseProxy // contains filtered or unexported fields }
func NewReverseProxyContainer ¶
func NewReverseProxyContainer(proxiesPortRange PortRange, logger logrus.FieldLogger) *ReverseProxyContainer
func (*ReverseProxyContainer) GetProxies ¶
func (p *ReverseProxyContainer) GetProxies(prefix string) map[string]*ServiceReverseProxy
func (*ReverseProxyContainer) RegisterProxies ¶
func (p *ReverseProxyContainer) RegisterProxies(targets []*Target) error
func (*ReverseProxyContainer) Shutdown ¶
func (p *ReverseProxyContainer) Shutdown(ctx context.Context)
type ServiceReverseProxy ¶
type ServiceReverseProxy struct { TargetURL string // contains filtered or unexported fields }
func NewServiceProxy ¶
func NewServiceProxy(port int32, targetURL, selfLink, user, password string, logger logrus.FieldLogger) (*ServiceReverseProxy, error)
func (*ServiceReverseProxy) Port ¶
func (sp *ServiceReverseProxy) Port() string
Click to show internal directories.
Click to hide internal directories.