Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultBackoffInterval = 500 * time.Millisecond DefaultBackoffMultiplier = 1.5 DefaultBackoffMaxInterval = 60 * time.Second DefaultBackoffMaxTime = 15 * time.Minute Protocol = "tcp" RemoteAddr = "0.0.0.0:AUTO" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tunneler ¶
type Tunneler interface {
// StartTunnel connects to load balancer tunnel port and creates connection.
// nodeID is id that is passed in daemon,
// tunnelServerAddress is public address of load balancer tunnel server and
// token is jwt token given when registering with load balancer.
StartTunnel(nodeID string, tunnelServerAddress string, token string)
}
Tunneler defines methods for connecting to load balancer tunnel
Click to show internal directories.
Click to hide internal directories.