func (c *Client) UpsertReverseTunnel(tunnel services.ReverseTunnel, ttl time.Duration) error {
	args := upsertReverseTunnelReq{
		ReverseTunnel: tunnel,
		TTL:           ttl,
	}
	_, err := c.PostJSON(c.Endpoint("reversetunnels"), args)
	return trace.Wrap(err)
}
// UpsertReverseTunnel is used by admins to create a new reverse tunnel
// to the remote proxy to bypass firewall restrictions
UpsertReverseTunnel is used by admins to create a new reverse tunnel
to the remote proxy to bypass firewall restrictions
// UpsertReverseTunnel is used by admins to create a new reverse tunnel // to the remote proxy to bypass firewall restrictions
func (c *Client) UpsertReverseTunnel(tunnel services.ReverseTunnel, ttl time.Duration) error {
	args := upsertReverseTunnelReq{
		ReverseTunnel: tunnel,
		TTL:           ttl,
	}
	_, err := c.PostJSON(c.Endpoint("reversetunnels"), args)
	return trace.Wrap(err)
}
func ( c * Client ) UpsertReverseTunnel ( tunnel services . ReverseTunnel , ttl time . Duration ) error { args := upsertReverseTunnelReq { ReverseTunnel : tunnel , TTL : ttl , } _ , err := c . PostJSON ( c . Endpoint ( " " ) , args ) return trace . Wrap ( err ) }
UpsertReverseTunnel is used by admins to create a new reverse tunnel
to the remote proxy to bypass firewall restrictions
UpsertReverseTunnel is used by admins to create a new reverse tunnel to the remote proxy to bypass firewall restrictions