
    &	                         d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm	Z	 ddl
mZ dd	l
mZ dd
lmZ  G d de	j                        Zy)z/The command group for cloud container clusters.    )absolute_import)division)unicode_literals)
transforms)actions)base)container_command_util)flags)logc                   >    e Zd ZdZej
                  Zed        Zd Z	y)Clustersa  Deploy and teardown Google Kubernetes Engine clusters.

  The gcloud container clusters command group lets you deploy and teardown
  Google Kubernetes Engine clusters.

  See $ gcloud docker --help for information about deploying docker images
  to clusters.
  c                     t        j                  |        | j                  j                  t	        j
                                y)zAdd arguments to the parser.

    Args:
      parser: argparse.ArgumentParser, This is a standard argparser parser with
        which you can register arguments.  See the public argparse documentation
        for its capabilities.
    N)r
   AddLocationFlagsdisplay_infoAddTransformsr   GetTransforms)parsers    *lib/surface/container/clusters/__init__.pyArgszClusters.Args)   s/     
6"
%%j&>&>&@A    c                 V    t        j                  |       t        j                  |d<   |S )ak  Modify the context that will be given to this group's commands when run.

    Args:
      context: {str:object}, A set of key-value pairs that can be used for
        common initialization among commands.
      args: argparse.Namespace: The same namespace given to the corresponding
        .Run() invocation.

    Returns:
      The refined command context.
    location_get)r   RequireProjectIDr	   GetZoneOrRegion)selfcontextargss      r   FilterzClusters.Filter5   s'     	$4DDGNNr   N)
__name__
__module____qualname____doc__r   COMPUTE_CATEGORYcategorystaticmethodr   r    r   r   r   r      s-     ""(	B 	Br   r   N)r"   
__future__r   r   r    googlecloudsdk.api_lib.containerr   googlecloudsdk.callioper   r   $googlecloudsdk.command_lib.containerr	   r
   googlecloudsdk.corer   Groupr   r&   r   r   <module>r-      s5    6 &  ' 7 + ( G 6 #&tzz &r   