Commit Graph

7 Commits

Author SHA1 Message Date
Davanum Srinivas ce3bd97613 Sanitize the package names
* All files in the same directory should belong to
  the same package
* Avoid xyz/xyz_v123 format (example volume/volume_v2)
* Added a doc.go so we can support a different import
  path later:
    https://golang.org/doc/go1.4#canonicalimports
* Drop the trailing ".git" in the imports

Change-Id: If4a880c62a2142f7015ed693e07af239bbbcf8e5
2017-03-07 13:39:59 -05:00
Fangzhou Xu 1bc5f497bb change from stackforge to openstack
Change-Id: I232a8c125d1b1c5de30df47a255c294afb1b9b64
2016-04-21 20:08:28 -07:00
Dean Troyer 9de84b3c5d Add auth package
Includes AuthOpts struct and AuthRef interface, plus an Identity v2
password auth implementation.

Note: the examples work, the objectstore_test is broken, will be fixed
along with additional session and auth tests.

Change-Id: I77b07c92586c37e855b466e18dea133a4a938aaa
2015-04-19 16:44:51 -05:00
Dean Troyer ef7386d2c4 Rename session package to openstack
Change-Id: I711c4190836b98d415d6cbe85d6f28e05537013f
2015-04-18 01:33:32 -05:00
Dean Troyer a279956280 Add Session as base REST interface
This is the initial implementation of a Session object that handles
the REST calls similar to the new Session in python-keystoneclient.
It will be expanded to utilize a callback to an appropriate authentication
handler to re-authenticate as required.

This is intended to replace CallAPI in the util/util package.

Change-Id: I585968cc584327427da3429ef7005dd909c8b8b0
2015-04-18 01:24:46 -05:00
Dean Troyer 124ac5cc92 Docs revision for current status
* Update README to add a note about the reorg in progress
* Rename misc to uitl
* Add openstack directory

Change-Id: I3f318116b1406fa862715236cc9001dea0f9231c
2015-04-18 01:24:36 -05:00
Chris Robinson 219cc1c2c1 Added Capability to get images and images with details
new file:   examples/30-image-v1.go
	modified:   examples/config.json.dist
	modified:   examples/setup.go
	modified:   identity/v2/auth.go
	new file:   image/v1/image.go
	new file:   image/v1/image_test.go
	new file:   misc/rfc8601DateTime.go
	new file:   misc/rfc8601DateTime_test.go
	modified:   misc/util.go
	modified:   misc/util_test.go
	modified:   objectstorage/v1/objectstorage.go
	modified:   objectstorage/v1/objectstorage_test.go
	new file:   testUtil/testUtil.go

Partially implements blueprint image-v1

Change-Id: I6277a5c8915f45f4b7585855d836015ffd9e1c12
2014-10-27 14:09:26 -07:00