
                         >   S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r  \R                  " \R                  R                  \R                  R                  \R                  R                   5      \R"                   " S S	\R$                  5      5       5       rg
)z=Implements a command to forward TCP traffic to a workstation.    )absolute_import)division)unicode_literals)workstations)base)flagsc                   .    \ rS rSrSr\S 5       rS rSrg)StartTcpTunnel   a  Start a tunnel through which a local process can forward TCP traffic to the workstation.

Start a tunnel through which a local process can forward TCP traffic to the
workstation.

Note that arguments for the `NO_PROXY` environment variable must be FQDNs.

## EXAMPLES

  To start a tunnel to port 22 on a workstation, run:

  $ {command} --project=my-project --region=us-central1 --cluster=my-cluster
  --config=my-config my-workstation 22
c                     [         R                  " U 5        [         R                  " U 5        [         R                  " U 5        g N)workstations_flagsAddWorkstationResourceArgAddWorkstationPortFieldAddLocalHostPortField)parsers    ,lib/surface/workstations/start_tcp_tunnel.pyArgsStartTcpTunnel.Args.   s,    008..v6,,V4    c                 n    [         R                  " U R                  5       5      nUR                  U5        g r   )r   WorkstationsReleaseTrackr
   )selfargsclients      r   RunStartTcpTunnel.Run4   s)    &&t'8'8':;F
$r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r   __static_attributes__r   r   r   r
   r
      s     
 5 5
 r   r
   N)r$   
__future__r   r   r   #googlecloudsdk.api_lib.workstationsr   googlecloudsdk.callioper   'googlecloudsdk.command_lib.workstationsr   r   ReleaseTracksr   GABETAALPHADefaultUniverseOnlyCommandr
   r   r   r   <module>r1      s    D &  ' < ( O $++00$2C2C2I2I  T\\    r   