/usr/lib/python2.6/site-packages/openstackclient/object/v1
Edit: /usr/lib/python2.6/site-packages/openstackclient/object/v1/container.pyc (7064B)
Ñò
;vVc @ sß d Z d d k Z d d k Z d d k l Z d d k l Z d d k l Z d d k l Z d e i f d „ ƒ YZ
d e i f d
„ ƒ YZ d e i f d „ ƒ YZ
d
e i f d „ ƒ YZ d e i f d „ ƒ YZ d S( s# Container v1 action implementationsiÿÿÿÿN( t command( t lister( t show( t utilst CreateContainerc B sB e Z d Z e i e d ƒ Z d „ Z e i e ƒ d „ ƒ Z RS( s Create new containers .CreateContainerc C s; t t | ƒ i | ƒ } | i d d d d d d d ƒ| S( Nt
containerst metavars
t nargst +t helps New container name(s)( t superR t
get_parsert add_argument( t selft prog_namet parser( ( sS /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/object/v1/container.pyR " s c sb g } x9 | i D]. } | i i i i d | ƒ } | i | ƒ q Wd ‰ ˆ ‡ f d † | Dƒ f S( Nt containert accounts
x-trans-idc 3 s+ x$ | ] } t i | ˆ d h ƒVq Wd S( t
formattersN( R t get_dict_properties( t .0t s( t columns( sS /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/object/v1/container.pys 8 s ( R R s
x-trans-id( R t appt client_managert object_storet container_createt append( R
t parsed_argst resultsR t data( ( R sS /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/object/v1/container.pyt take_action, s
(
t __name__t
__module__t __doc__t loggingt getLoggert logR R t
log_methodR ( ( ( sS /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/object/v1/container.pyR s
t DeleteContainerc B sB e Z d Z e i e d ƒ Z d „ Z e i e ƒ d „ ƒ Z RS( s Delete containers .DeleteContainerc C s; t t | ƒ i | ƒ } | i d d d d d d d ƒ| S( NR R s R R R s Container(s) to delete( R
R' R R ( R
R R ( ( sS /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/object/v1/container.pyR C s c C s1 x* | i D] } | i i i i d | ƒ q
Wd S( NR ( R R R R t container_delete( R
R R ( ( sS /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/object/v1/container.pyR M s
(
R R! R" R# R$ R% R R R&