| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/google-cloud-sdk/lib/surface/run/workers/__pycache__/ |
Upload File : |
�
��� � �8 � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z ddlm
Z
dd lmZ dd
lmZ ddlm
Z
ddlmZ dd
lmZ ddlmZ ddlmZ d� Zej ej ej j � � G d� dej � � � � � � ZdS )z;Command for updating env vars and other configuration info.� )�
k8s_object)�base)�config_changes)�connection_context)�
exceptions)�flags)�
messages_util)�pretty_print)�
resource_args)�serverless_operations)�stages)�concept_parsers)�presentation_specs)�progress_trackerc �| � d} t j | �� � }|� t j d�� � � � |� t j � � � � |� t j � � � � |� t j � � � � |� t j � � � � |� t j � � � � |� t j
� � � � |� t j � � � � |� t j � � � � |� t j
� � � � |� t j � � � � |S )z9Returns an argument group with all container update args.z@
Container Flags
The following flags apply to the container.
)�helpF)�required)r �
ArgumentGroup�AddArgumentr �ImageArg�MutexEnvVarsFlags�
MemoryFlag�CpuFlag�CommandFlag�ArgsFlag�SecretsFlags�AddVolumeMountFlag�RemoveVolumeMountFlag�ClearVolumeMountsFlag�GpuFlag)� help_text�groups �!lib/surface/run/workers/update.py�ContainerArgGroupr$ ! s_ � ��)�
�
�)�
,�
,�
,�%����E�N�E�2�2�2�3�3�3����E�+�-�-�.�.�.����E�$�&�&�'�'�'����E�M�O�O�$�$�$����E�%�'�'�(�(�(����E�N�$�$�%�%�%����E�&�(�(�)�)�)����E�,�.�.�/�/�/����E�/�1�1�2�2�2����E�/�1�1�2�2�2����E�M�O�O�$�$�$� �,� c �D � e Zd ZdZddd�Zed� � � Zd� Zd� Zd� Z d S )
�UpdatezHUpdate Cloud Run environment variables and other configuration settings.z" {description}
z� To update one or more env vars:
$ {command} myworker --update-env-vars=KEY1=VALUE1,KEY2=VALUE2
)�DESCRIPTION�EXAMPLESc � � t j |� � t j |� � t j |� � t j |� � t j |� � t j |� � t j |� � t j |� � t j |d�� � t j
|d�� � t j |d�� � t j |d�� � t j
|� � t j |� � t j |� � t j |d�� � t j |� � t j |� � t j || � � � � � t j |� � t j � |� � t1 � � }|� |� � t3 j dt7 j d�� � ddd�� � }t j |� � t j |� � t j |� � t j |� � t j! |� � t j"