Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add _cs #222

Merged
merged 2 commits into from
Oct 19, 2015
Merged

Add _cs #222

merged 2 commits into from
Oct 19, 2015

Conversation

QuentinPerez
Copy link
Contributor

Size string `json:"size"`
}

type ScalewayGetContainers struct {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported type ScalewayGetContainers should have comment or be unexported

@moul
Copy link
Contributor

moul commented Oct 19, 2015

Can you try to get a similar output as s3cmd ?

  • list containers -> you won't have all the needed informations using only this API, so just print the name
$ s3cmd ls
2014-10-18 16:38  s3://moul
2014-10-18 16:38  s3://manfredtouron
...

  • list container contents: here you can get an equivalent output
$ s3cmd ls s3://moul
                       DIR   s3://moul/3.19.8-std/
                       DIR   s3://moul/4.0.2-std/
                       DIR   s3://moul/4.1-std/
                       DIR   s3://moul/tmp/
2015-01-16 11:46 100000000   s3://moul/100Mo.dat
2015-03-11 11:56 100000000   s3://moul/101Mo.dat
2015-05-08 15:39     15930   s3://moul/bitrig-bsd-dtb
2015-05-12 13:08  26460224   s3://moul/bitrig-bsd-uImage
2015-09-04 13:33     16674   s3://moul/dev-dtb
2015-09-04 14:42   3339272   s3://moul/dev-uImage
...

@moul
Copy link
Contributor

moul commented Oct 19, 2015

I will merge this for now + create a new issue for the new format as this is actually already useful as it

moul added a commit that referenced this pull request Oct 19, 2015
@moul moul merged commit 98a4665 into scaleway:master Oct 19, 2015
@moul moul removed the in progress label Oct 19, 2015
@moul
Copy link
Contributor

moul commented Oct 19, 2015

#223

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants