koofr / go-swiftclient

Go OpenStack Swift client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-swiftclient

Go OpenStack Swift client.

GoDoc

Install

go get github.com/koofr/go-swiftclient

Testing

To run tests you will need to run a test Ceph RGW docker container:

docker run --rm -it -p 8080:8080 bancek/ceph-rgw-swift-test:0.1.0-nautilus

sh -c 'while ! curl --fail -H "X-Auth-User: test:test" -H "X-Auth-Key: test" http://localhost:8080/auth/v1.0 2>/dev/null; do echo "waiting for swift" && sleep 1; done; echo'

go test -v ./...

About

Go OpenStack Swift client

License:MIT License


Languages

Language:Go 100.0%