Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
google-cloud-sdk /
lib /
surface /
run /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
compose
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
configurations
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
domain_mappings
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
instances
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
integrations
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
jobs
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
multi_region_services
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
presets
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
regions
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
revisions
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
routes
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
services
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
worker_pools
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
__init__.py
1.59
KB
-rw-r--r--
1980-01-01 08:00
deploy.py
41.84
KB
-rw-r--r--
1980-01-01 08:00
start_iap_tunnel.py
2.67
KB
-rw-r--r--
1980-01-01 08:00
Save
Rename
# -*- coding: utf-8 -*- # # Copyright 2025 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Implements the command for starting a tunnel with Cloud IAP.""" from googlecloudsdk.calliope import base from googlecloudsdk.command_lib.compute import iap_tunnel from googlecloudsdk.command_lib.run import flags from googlecloudsdk.command_lib.run import iap_tunnel as run_iap_tunnel @base.Hidden @base.DefaultUniverseOnly @base.ReleaseTracks(base.ReleaseTrack.ALPHA, base.ReleaseTrack.BETA) class StartIapTunnel(base.Command): """Starts an IAP tunnel to a Cloud Run instance.""" detailed_help = { "DESCRIPTION": """\ Starts a tunnel to Cloud Identity-Aware Proxy for TCP forwarding through which another process can SSH into a Cloud Run instance. This command is only to be used by other gcloud commands (gcloud run ssh), and should not be used directly. """, } @staticmethod def Args(parser): """Adds arguments to the parser.""" parser.add_argument( "--project_number", required=True, help="The project number of the project that the deployment is in.", ) parser.add_argument( "--project_id", required=True, help="The project id of the project that the deployment is in.", ) parser.add_argument( "--workload_type", required=True, help="The type of the workload. One of service, job, or worker-pool.", ) parser.add_argument( "--deployment_name", required=True, help="The name of the deployment to connect to.", ) parser.add_argument( "--iap-tunnel-url-override", hidden=True, help=( "Allows for overriding the connection endpoint for integration " "testing." ), ) flags.AddContainerArg(parser) flags.AddInstanceArg(parser) flags.AddRegionArg(parser) def Run(self, args): """Runs the command.""" tunneler = run_iap_tunnel.CloudRunIAPWebsocketTunnelHelper(args) iap_tunnel_helper = iap_tunnel.IapTunnelStdinHelper( tunneler, with_graceful_shutdown=True, ignore_windows_broken_pipe=True ) iap_tunnel_helper.Run()