change from stackforge to openstack

Change-Id: I232a8c125d1b1c5de30df47a255c294afb1b9b64
This commit is contained in:
Fangzhou Xu 2016-04-21 20:00:51 -07:00
parent 9de84b3c5d
commit 1bc5f497bb
14 changed files with 28 additions and 26 deletions

4
.gitignore vendored
View File

@ -1,3 +1,5 @@
*.json
*.sublime-project
*.sublime-workspace
*.sublime-workspace
*.swp
.DS_Store

View File

@ -1,4 +1,4 @@
[gerrit]
host=review.openstack.org
port=29418
project=stackforge/golang-client.git
project=openstack/golang-client.git

View File

@ -3,7 +3,7 @@ OpenStack Golang Client
NOTE(dtroyer) Apr 2015: This repo is under heavy revision as it is being revived.
`stackforge/golang-client` is an implementation of [OpenStack]
`openstack/golang-client` is an implementation of [OpenStack]
(http://www.openstack.org/) API client in [Go language](http://golang.org).
The code follows OpenStack licensing and uses the Stackforge infrastructure
for hosting. It currently implements [Identity Service v2]
@ -31,7 +31,7 @@ Code maturity is considered experimental.
Installation
------------
Use `go get git.openstack.org/stackforge/golang-client.git`. Or alternatively,
Use `go get git.openstack.org/openstack/golang-client.git`. Or alternatively,
download or clone the repository.
The lib was developed and tested on go 1.3. No external dependencies, so far.
@ -79,4 +79,4 @@ Coding Style
The source code is automatically formatted to follow `go fmt` by the [IDE]
(https://code.google.com/p/liteide/). And where pragmatic, the source code
follows this general [coding style]
(http://slamet.neocities.org/coding-style.html).
(http://slamet.neocities.org/coding-style.html).

View File

@ -19,7 +19,7 @@ import (
// "git.openstack.org/stackforge/golang-client.git/identity/v2"
"time"
"git.openstack.org/stackforge/golang-client.git/openstack"
"git.openstack.org/openstack/golang-client.git/openstack"
)
// Authentication examples.

View File

@ -22,8 +22,8 @@ import (
"net/http"
"time"
"git.openstack.org/stackforge/golang-client.git/objectstorage/v1"
"git.openstack.org/stackforge/golang-client.git/openstack"
"git.openstack.org/openstack/golang-client.git/objectstorage/v1"
"git.openstack.org/openstack/golang-client.git/openstack"
)
func main() {

View File

@ -19,8 +19,8 @@ import (
"net/http"
"time"
"git.openstack.org/stackforge/golang-client.git/image/v1"
"git.openstack.org/stackforge/golang-client.git/openstack"
"git.openstack.org/openstack/golang-client.git/image/v1"
"git.openstack.org/openstack/golang-client.git/openstack"
)
// Image examples.

View File

@ -23,7 +23,7 @@ import (
"strings"
"time"
"git.openstack.org/stackforge/golang-client.git/openstack"
"git.openstack.org/openstack/golang-client.git/openstack"
)
type Auth struct {

View File

@ -30,8 +30,8 @@ import (
"net/http"
"net/url"
"git.openstack.org/stackforge/golang-client.git/openstack"
"git.openstack.org/stackforge/golang-client.git/util"
"git.openstack.org/openstack/golang-client.git/openstack"
"git.openstack.org/openstack/golang-client.git/util"
)
// Service is a client service that can make

View File

@ -21,10 +21,10 @@ import (
"strings"
"testing"
"git.openstack.org/stackforge/golang-client.git/image/v1"
"git.openstack.org/stackforge/golang-client.git/openstack"
"git.openstack.org/stackforge/golang-client.git/testUtil"
"git.openstack.org/stackforge/golang-client.git/util"
"git.openstack.org/openstack/golang-client.git/image/v1"
"git.openstack.org/openstack/golang-client.git/openstack"
"git.openstack.org/openstack/golang-client.git/testUtil"
"git.openstack.org/openstack/golang-client.git/util"
)
var tokn = "eaaafd18-0fed-4b3a-81b4-663c99ec1cbb"

View File

@ -20,8 +20,8 @@ import (
"net/url"
"strconv"
"git.openstack.org/stackforge/golang-client.git/openstack"
"git.openstack.org/stackforge/golang-client.git/util"
"git.openstack.org/openstack/golang-client.git/openstack"
"git.openstack.org/openstack/golang-client.git/util"
)
var zeroByte = &([]byte{}) //pointer to empty []byte

View File

@ -16,7 +16,7 @@ package objectstorage_test
import (
"errors"
"git.openstack.org/stackforge/golang-client.git/objectstorage/v1"
"git.openstack.org/openstack/golang-client.git/objectstorage/v1"
"io/ioutil"
"net/http"
"net/http/httptest"

View File

@ -20,8 +20,8 @@ import (
"net/http"
"testing"
"git.openstack.org/stackforge/golang-client.git/openstack"
"git.openstack.org/stackforge/golang-client.git/testUtil"
"git.openstack.org/openstack/golang-client.git/openstack"
"git.openstack.org/openstack/golang-client.git/testUtil"
)
type TestStruct struct {

View File

@ -19,8 +19,8 @@ import (
"testing"
"time"
"git.openstack.org/stackforge/golang-client.git/testUtil"
"git.openstack.org/stackforge/golang-client.git/util"
"git.openstack.org/openstack/golang-client.git/testUtil"
"git.openstack.org/openstack/golang-client.git/util"
)
var testValue = `{"created_at":"2014-09-29T14:44:31"}`

View File

@ -23,8 +23,8 @@ import (
"strconv"
"testing"
"git.openstack.org/stackforge/golang-client.git/testUtil"
"git.openstack.org/stackforge/golang-client.git/util"
"git.openstack.org/openstack/golang-client.git/testUtil"
"git.openstack.org/openstack/golang-client.git/util"
)
var token = "2350971-5716-8165"