incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Updates ruby client for buckets+blobs (create,destroy,data)
Date Tue, 29 Mar 2011 19:39:26 GMT

Updates for the ruby client and command line client for working with buckets/blobs:

deltacloudc buckets create -i 'bucket_name'  -u 'http://user:pass@localhost:3001/api'
deltacloudc buckets destroy -i 'bucket_name'  -u 'http://user:pass@localhost:3001/api'
deltacloudc blob -l -u 'http://user:pass@localhost:3001/api' 
deltacloudc blob create -i 'blob_name' -b 'bucket_name' -f '/local/path/to/file' -m 'metakey=value,key2=value,
key3 = value3' -u 'http://user:pass@localhost:3001/api'
deltacloudc blob destroy -i 'blob_name' -b 'bucket_name' -u 'http://user:pass@localhost:3001/api'
deltacloudc blob data -i 'blob_name' -b 'bucket_name' -u 'http://user:pass@localhost:3001/api'

(can already do the show/index ops for both buckets and blobs already from an earlier patch
series which was committed)


View raw message