
                         :    S r SSKJr  SSKJr  SS jrS	S jrS rg)
z Utilities for all CRUD commands.    )util)
console_ioNc                     SR                  U S9nU(       a  SR                  US9U-   nU(       a  U(       a  USR                  X#S9-  nU$ )Nzcluster [{name}]namez	{action} actionz  in {kind} location [{location}]kindlocation)format)r   r	   r   r   msgs        ?lib/googlecloudsdk/command_lib/container/vmware/command_util.pyClusterMessager      sZ    !!t!,#


F

+c
1C	h-44 5 & &C	*    c                 0   SR                  U S9/nU(       a  UR                  SR                  US95        U(       a  UR                  SR                  US95        U(       a%  U(       a  UR                  SR                  X4S95        S	R                  U5      $ )
Nznode pool [{name}]r   z{action}r   zin cluster [{cluster}])clusterzin {kind} location [{location}]r
    )r   appendjoin)r   r	   r   r   r   messagess         r   NodePoolMessager       s    "))t)45(OOJ%%V%45OO,33G3DE	hOO5<< = & '	(	r   c                 z    SR                  X5      n[        R                  " [        R                  " X15      SSS9  g )NzThe following {} will be {}.T)messagethrow_if_unattendedcancel_on_no)r   r   PromptContinuegke_utilConstructList)r   itemsverbtitles       r   ConfirmationPromptr#   ,   s4    
(
/
/
;%$$U2r   )NNN)NNNN)	__doc__ googlecloudsdk.api_lib.containerr   r   googlecloudsdk.core.consoler   r   r   r#    r   r   <module>r(      s!    ' > 2	r   