commit | fd78c30473c2f64b2c0ef3263b0f1e1f963c36a8 | [log] [tgz] |
---|---|---|
author | Samuel A. Falvo II <sam.falvo@rackspace.com> | Tue Jun 25 16:35:32 2013 -0700 |
committer | Samuel A. Falvo II <sam.falvo@rackspace.com> | Tue Jun 25 16:35:32 2013 -0700 |
tree | 212a485ebff4a28e1c9e9e1f9a10b7a07088923c | |
parent | 1d3fa667c76ec6dabb67a0b13ce07c3022768f4c [diff] [blame] |
Add provider registry support.
diff --git a/context.go b/context.go new file mode 100644 index 0000000..0a73890 --- /dev/null +++ b/context.go
@@ -0,0 +1,11 @@ +package gophercloud + +type Context struct { + providerMap map[string]*Provider +} + +func TestContext() *Context { + return &Context{ + providerMap: make(map[string]*Provider), + } +}