Skip to content

Commit

Permalink
IF-10358 Move MSS v3 support to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
ikegami-shota committed May 8, 2024
1 parent e4b6a3a commit 63cd278
Show file tree
Hide file tree
Showing 562 changed files with 51,113 additions and 19 deletions.
12 changes: 6 additions & 6 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ way than just downloading it. Here are the basic instructions:
[README](/README.md#how-to-install).

```bash
go get github.com/nttcom/eclcloud/v4
go get github.com/nttcom/eclcloud/v3
```

2. Move into the directory that houses your local repository:

```bash
cd ${GOPATH}/src/github.com/nttcom/eclcloud/v4
cd ${GOPATH}/src/github.com/nttcom/eclcloud/v3
```

3. Fork the `nttcom/eclcloud` repository and update your remote refs. You
Expand Down Expand Up @@ -130,7 +130,7 @@ process of testing expectations with assertions:
import (
"testing"

"github.com/nttcom/eclcloud/v4/testhelper"
"github.com/nttcom/eclcloud/v3/testhelper"
)

func TestSomething(t *testing.T) {
Expand All @@ -156,9 +156,9 @@ Here is a truncated example of mocked HTTP responses:
import (
"testing"

th "github.com/nttcom/eclcloud/v4/testhelper"
fake "github.com/nttcom/eclcloud/v4/testhelper/client"
"github.com/nttcom/eclcloud/v4/ecl/network/v2/networks"
th "github.com/nttcom/eclcloud/v3/testhelper"
fake "github.com/nttcom/eclcloud/v3/testhelper/client"
"github.com/nttcom/eclcloud/v3/ecl/network/v2/networks"
)

func TestGet(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ fmtcheck:
(! gofmt -s -d . | grep '^')

vet:
go vet ./... && cd v2 && go vet ./... && cd ../v4 && go vet ./...
go vet ./... && cd v2 && go vet ./... && cd ../v3 && go vet ./... && cd ../v4 && go vet ./...

test:
go test ./... -count=1 && cd v2 && go test ./... -count=1 && cd ../v4 && go test ./... -count=1
go test ./... -count=1 && cd v2 && go test ./... -count=1 && cd ../v3 && go test ./... -count=1 && cd ../v4 && go test ./... -count=1

.PHONY: fmt fmtcheck vet test
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ explicitly, or tell eclcloud to use environment variables:

```go
import (
"github.com/nttcom/eclcloud/v4"
"github.com/nttcom/eclcloud/v4"
"github.com/nttcom/eclcloud/v4/utils"
"github.com/nttcom/eclcloud/v3"
"github.com/nttcom/eclcloud/v3"
"github.com/nttcom/eclcloud/v3/utils"
)

// Option 1: Pass in the values yourself
Expand Down Expand Up @@ -82,7 +82,7 @@ in the flavor ID (hardware specification) and image ID (operating system) we're
interested in:

```go
import "github.com/nttcom/eclcloud/v4/compute/v2/servers"
import "github.com/nttcom/eclcloud/v3/compute/v2/servers"

server, err := servers.Create(client, servers.CreateOpts{
Name: "My new server!",
Expand Down
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
module github.com/nttcom/eclcloud

go 1.17

require github.com/nttcom/eclcloud/v3 v3.0.0
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
github.com/nttcom/eclcloud/v3 v3.0.0 h1:22E69Z9zpHL+SLeoLDy19DfLJJCQ43rXJtPgK4j7RBM=
github.com/nttcom/eclcloud/v3 v3.0.0/go.mod h1:pBz3/QyEWpngA1RBzyMj/OvmAzOHZfP1Dc847PDVE4Y=
2 changes: 1 addition & 1 deletion v2/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/nttcom/eclcloud/v2

go 1.13
go 1.17
Loading

0 comments on commit 63cd278

Please sign in to comment.