Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PierceVpcVeil ¶
func PierceVpcVeil(ctx context.Context, config aws.Config, instanceId string, targetHost string, port uint16) (*gimlet.ConnInfo, error)
PierceVpcVeil prepares a tunnel to the `targetHost:port` endpoint via the EC2 instance identified by `instanceId`. Leave `targetHost` empty to connect to the EC2 instance identified by `instanceId` itself. Returns the ConnInfo object that can be serialized into JSON and communicated to another host that will in turn use it to open the Gimlet channel using gimlet.NewChannel call.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.