Interface ElasticAgentTunnelManager
- All Known Implementing Classes:
ElasticAgentTunnelManagerImpl
public interface ElasticAgentTunnelManager
-
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<com.atlassian.tunnel.tunnel.client.Tunnel>
startBambooTunnels
(@NotNull com.atlassian.aws.ec2.RemoteEC2Instance ec2Instance, int tunnelTimeoutMinutes) Starts TCP tunnels to an EC2 instance.
-
Method Details
-
startBambooTunnels
@NotNull @NotNull Collection<com.atlassian.tunnel.tunnel.client.Tunnel> startBambooTunnels(@NotNull @NotNull com.atlassian.aws.ec2.RemoteEC2Instance ec2Instance, int tunnelTimeoutMinutes) throws URISyntaxException Starts TCP tunnels to an EC2 instance.- Parameters:
ec2Instance
- instance with tunnel servertunnelTimeoutMinutes
- time interval after we can assume that the tunnel cannot be initialised- Returns:
- started tunnels
- Throws:
URISyntaxException
-