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 *.json
*.sublime-project *.sublime-project
*.sublime-workspace *.sublime-workspace
*.swp
.DS_Store

View File

@ -1,4 +1,4 @@
[gerrit] [gerrit]
host=review.openstack.org host=review.openstack.org
port=29418 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. 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). (http://www.openstack.org/) API client in [Go language](http://golang.org).
The code follows OpenStack licensing and uses the Stackforge infrastructure The code follows OpenStack licensing and uses the Stackforge infrastructure
for hosting. It currently implements [Identity Service v2] for hosting. It currently implements [Identity Service v2]
@ -31,7 +31,7 @@ Code maturity is considered experimental.
Installation 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. download or clone the repository.
The lib was developed and tested on go 1.3. No external dependencies, so far. 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] 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 (https://code.google.com/p/liteide/). And where pragmatic, the source code
follows this general [coding style] 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" // "git.openstack.org/stackforge/golang-client.git/identity/v2"
"time" "time"
"git.openstack.org/stackforge/golang-client.git/openstack" "git.openstack.org/openstack/golang-client.git/openstack"
) )
// Authentication examples. // Authentication examples.

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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