
    \                         S r SSKJr  SSKJr  SSKJr  SSKJr  \R                   " S S\R                  5      5       r	g)	z!Get cluster upgrade info command.    )absolute_import)division)unicode_literals)basec                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
GetUpgradeInfo   zGet information about upgrades for existing clusters including auto upgrade status, upgrade history, upgrade targets, and end of support timelines.z{description}zu          To get upgrade information for an existing cluster, run:

            $ {command} sample-cluster
          )DESCRIPTIONEXAMPLESc                 $    U R                  SSS9  g)zRegister flags for this command.

Args:
  parser: An argparse.ArgumentParser-like object. It is mocked out in order
    to capture some information, but behaves like an ArgumentParser.
namez"The name of your existing cluster.)helpN)add_argument)parsers    2lib/surface/container/clusters/get_upgrade_info.pyArgsGetUpgradeInfo.Args'   s     %IJ    c                     U R                   S   nU R                   S   nU" U5      nUR                  UR                  UR                  U5      5      $ )zThis is what gets called when the user runs this command.

Args:
  args: an argparse namespace. All the arguments that were provided to this
    command invocation.

Returns:
  Some value that we want to have printed later.
api_adapterlocation_get)contextGetClusterUpgradeInfoParseClusterr   )selfargsadapterr   locations        r   RunGetUpgradeInfo.Run1   sV     ll=)G<</LD!H(()=)=dii>F*H I Ir    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r   __static_attributes__r!   r   r   r   r      s5     \ 		- K KIr   r   N)
r&   
__future__r   r   r   googlecloudsdk.callioper   UniverseCompatibleCommandr   r!   r   r   <module>r.      s>    ( &  ' ( 'IT\\ 'I 'Ir   