Documentation ¶
Overview ¶
Package portforward watches a port on a ProxyReplica and forwards from a local port to the remote port on the ProxyReplica.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortForwarder ¶
type PortForwarder struct {
// contains filtered or unexported fields
}
PortForwarder forwards a local port to a remote port.
func NewPortForwarder ¶
func NewPortForwarder(rc *rest.Config, proxyName, replicaName, cname string) (*PortForwarder, error)
NewPortForwarder creates a new PortForwarder. proxyName specifies a Proxy to watch and cname is the container to forward to. The local port is the same as the remote port if available.
Click to show internal directories.
Click to hide internal directories.