Submit
Path:
~
/
/
lib
/
python2.7
/
site-packages
/
awscli
/
customizations
/
File Content:
ecr.pyc
� =��Xc @ sh d d l m Z d d l m Z d d l m Z d d l Z d � Z d � Z d e f d � � YZ d S( i����( t BasicCommand( t! create_client_from_parsed_globals( t b64decodeNc C s | j d t � d S( Ns building-command-table.ecr( t registert _inject_get_login( t cli( ( s9 /tmp/pip-build-uEGWVr/awscli/awscli/customizations/ecr.pyt register_ecr_commands s c K s t | � | d <d S( Ns get-login( t ECRLogin( t command_tablet sessiont kwargs( ( s9 /tmp/pip-build-uEGWVr/awscli/awscli/customizations/ecr.pyR s R c B sQ e Z d Z d Z e j d � Z i d d 6d d 6e d 6d d 6g Z d � Z RS( s Log in with docker logins get-logins ecr/get-login_description.rsts registry-idst namesb A list of AWS account IDs that correspond to the Amazon ECR registries that you want to log in to.t help_textt requiredt +t nargsc C s� t | j d | � } | j s- | j � } n | j d | j � } x^ | d D]R } t | d � j � } | j d � \ } } t j j d | | | d f � qM Wd S( Nt ecrt registryIdst authorizationDatat authorizationTokent :s$ docker login -u %s -p %s -e none %s t proxyEndpointi ( R t _sessiont registry_idst get_authorization_tokenR t decodet splitt syst stdoutt write( t selft parsed_argst parsed_globalst ecr_clientt resultt autht auth_tokent usernamet password( ( s9 /tmp/pip-build-uEGWVr/awscli/awscli/customizations/ecr.pyt _run_main, s ( t __name__t __module__t __doc__t NAMER t FROM_FILEt DESCRIPTIONt Falset ARG_TABLER'