package
0.0.0-20250306163500-5f3bb2705e1f
Repository: https://github.com/versoriumx/teleport.git
Documentation: pkg.go.dev

# Packages

Package track provides a simple interface to keep track of proxies as described via "gossip" messages shared by other proxies as part of the reverse tunnel protocol, and to decide if and when it's appropriate to attempt a new connection to a proxy load balancer at any given moment.

# Functions

NewAgentPool returns new instance of the agent pool.
NewConnectedProxyGetter creates a new ConnectedProxyGetter instance.
NewRemoteClusterTunnelManager creates a new stopped tunnel manager with the provided config.
NewServer creates and returns a reverse tunnel server which is fully initialized but hasn't been started yet.
NewServerHandlerToListener creates a new ServerHandlerToListener adapter.
UseTunnel makes a channel request asking for the type of connection.

# Constants

AgentClosed is the state of an agent when the connection and all other resources are cleaned up.
AgentConnected is the state of an agent when is successfully connects to a server and sends its first heartbeat.
AgentConnecting is the state when an agent is starting but not yet connected.
AgentInitial is the state of an agent when first created.

# Structs

AgentPool manages a pool of reverse tunnel agents.
AgentPoolConfig holds configuration parameters for the agent pool.
Config is a reverse tunnel server configuration.
ConnectedProxyGetter gets the proxy ids that the a reverse tunnel pool is connected to.
RemoteClusterTunnelManager manages AgentPools for trusted (remote) clusters.
RemoteClusterTunnelManagerConfig is a bundle of parameters used by a RemoteClusterTunnelManager.
ServerHandlerToListener is an adapter from ServerHandler to net.Listener.

# Interfaces

Agent represents a reverse tunnel agent.
ServerHandler implements an interface which can handle a connection (perform a handshake then process).
SSHClient is a client for an ssh connection.

# Type aliases

No description provided by the author
AgentStateCallback is called when an agent's state changes.