Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemovePortForward ¶
RemovePortForward removes a single port forward
func Resolve ¶ added in v1.5.0
Resolve resolves an address of the form <ip>:<port> to a direct address to the endpoint IF - the ip address is a local address of this machine - port has a forwarding rule ELSE - return address unchanged
func ResolveURL ¶ added in v1.5.0
ResolveURL rewrites a url to a direct address to the end point. Return original url if no forwarding rule configured that matches the given address note, the url host part must be an ip, can't use host names
func SetPortForward ¶
SetPortForward create a single port forward from host(port), to ip(addr) and dest(port) in this namespace The namespace is used to group port forward rules so they all can get terminated with one call later.
Types ¶
This section is empty.