Skip to content

Commit 0598422

Browse files
committed
Rename cloudfoundry-community to cloudfoundry
1 parent 556aa43 commit 0598422

File tree

107 files changed

+286
-242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+286
-242
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# go-cfclient
22

3-
[![build workflow](https://github.com/cloudfoundry-community/go-cfclient/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/cloudfoundry-community/go-cfclient/actions/workflows/build.yml)
4-
[![GoDoc](https://godoc.org/github.com/cloudfoundry-community/go-cfclient/v3?status.svg)](http://godoc.org/github.com/cloudfoundry-community/go-cfclient/v3)
5-
[![Report card](https://goreportcard.com/badge/github.com/cloudfoundry-community/go-cfclient/v3)](https://goreportcard.com/report/github.com/cloudfoundry-community/go-cfclient/v3)
3+
[![build workflow](https://github.com/cloudfoundry/go-cfclient/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/cloudfoundry/go-cfclient/actions/workflows/build.yml)
4+
[![GoDoc](https://godoc.org/github.com/cloudfoundry/go-cfclient/v3?status.svg)](http://godoc.org/github.com/cloudfoundry/go-cfclient/v3)
5+
[![Report card](https://goreportcard.com/badge/github.com/cloudfoundry/go-cfclient/v3)](https://goreportcard.com/report/github.com/cloudfoundry/go-cfclient/v3)
66

77
## Overview
88
`go-cfclient` is a go module library to assist you in writing apps that need to interact the [Cloud Foundry](http://cloudfoundry.org)
@@ -15,7 +15,7 @@ __NOTE__ - The v3 version in the main branch is currently under development and
1515
## Installation
1616
go-cfclient is compatible with modern Go releases in module mode, with Go installed:
1717
```
18-
go get github.com/cloudfoundry-community/go-cfclient/v3
18+
go get github.com/cloudfoundry/go-cfclient/v3
1919
```
2020
Will resolve and add the package to the current development module, along with its dependencies. Eventually this
2121
library will cut releases that will be tagged with v3.0.0, v3.0.1 etc, see the Versioning section below.
@@ -31,9 +31,9 @@ library will cut releases that will be tagged with v3.0.0, v3.0.1 etc, see the V
3131
Using go modules import the client, config and resource packages:
3232
```go
3333
import (
34-
"github.com/cloudfoundry-community/go-cfclient/v3/client"
35-
"github.com/cloudfoundry-community/go-cfclient/v3/config"
36-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
34+
"github.com/cloudfoundry/go-cfclient/v3/client"
35+
"github.com/cloudfoundry/go-cfclient/v3/config"
36+
"github.com/cloudfoundry/go-cfclient/v3/resource"
3737
)
3838
```
3939

client/admin_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package client
22

33
import (
44
"context"
5-
"github.com/cloudfoundry-community/go-cfclient/v3/testutil"
65
"net/http"
76
"testing"
7+
8+
"github.com/cloudfoundry/go-cfclient/v3/testutil"
89
)
910

1011
func TestAdmin(t *testing.T) {

client/app.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ import (
44
"context"
55
"net/url"
66

7-
"github.com/cloudfoundry-community/go-cfclient/v3/internal/path"
8-
9-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
7+
"github.com/cloudfoundry/go-cfclient/v3/internal/path"
8+
"github.com/cloudfoundry/go-cfclient/v3/resource"
109
)
1110

1211
type AppClient commonClient

client/app_features.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ package client
22

33
import (
44
"context"
5-
"github.com/cloudfoundry-community/go-cfclient/v3/internal/path"
6-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
5+
6+
"github.com/cloudfoundry/go-cfclient/v3/internal/path"
7+
"github.com/cloudfoundry/go-cfclient/v3/resource"
78
)
89

910
type AppFeatureClient commonClient

client/app_features_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package client
22

33
import (
44
"context"
5-
"github.com/cloudfoundry-community/go-cfclient/v3/testutil"
65
"net/http"
76
"testing"
7+
8+
"github.com/cloudfoundry/go-cfclient/v3/testutil"
89
)
910

1011
func TestAppFeatures(t *testing.T) {

client/app_test.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ package client
22

33
import (
44
"context"
5-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
6-
"github.com/cloudfoundry-community/go-cfclient/v3/testutil"
7-
"github.com/stretchr/testify/require"
85
"net/http"
96
"testing"
7+
8+
"github.com/cloudfoundry/go-cfclient/v3/resource"
9+
"github.com/cloudfoundry/go-cfclient/v3/testutil"
10+
11+
"github.com/stretchr/testify/require"
1012
)
1113

1214
func TestApps(t *testing.T) {

client/app_usage.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"net/url"
66

7-
"github.com/cloudfoundry-community/go-cfclient/v3/internal/path"
8-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
7+
"github.com/cloudfoundry/go-cfclient/v3/internal/path"
8+
"github.com/cloudfoundry/go-cfclient/v3/resource"
99
)
1010

1111
type AppUsageClient commonClient

client/app_usage_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package client
22

33
import (
44
"context"
5-
"github.com/cloudfoundry-community/go-cfclient/v3/testutil"
65
"net/http"
76
"testing"
7+
8+
"github.com/cloudfoundry/go-cfclient/v3/testutil"
89
)
910

1011
func TestAppUsages(t *testing.T) {

client/audit_event.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"net/url"
66

7-
"github.com/cloudfoundry-community/go-cfclient/v3/internal/path"
8-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
7+
"github.com/cloudfoundry/go-cfclient/v3/internal/path"
8+
"github.com/cloudfoundry/go-cfclient/v3/resource"
99
)
1010

1111
type AuditEventClient commonClient

client/audit_event_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package client
22

33
import (
44
"context"
5-
"github.com/cloudfoundry-community/go-cfclient/v3/testutil"
65
"net/http"
76
"testing"
7+
8+
"github.com/cloudfoundry/go-cfclient/v3/testutil"
89
)
910

1011
func TestAuditEvents(t *testing.T) {

client/build.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"net/url"
66

7-
"github.com/cloudfoundry-community/go-cfclient/v3/internal/path"
8-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
7+
"github.com/cloudfoundry/go-cfclient/v3/internal/path"
8+
"github.com/cloudfoundry/go-cfclient/v3/resource"
99
)
1010

1111
type BuildClient commonClient

client/build_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ package client
22

33
import (
44
"context"
5-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
6-
"github.com/cloudfoundry-community/go-cfclient/v3/testutil"
75
"net/http"
86
"testing"
7+
8+
"github.com/cloudfoundry/go-cfclient/v3/resource"
9+
"github.com/cloudfoundry/go-cfclient/v3/testutil"
910
)
1011

1112
func TestBuilds(t *testing.T) {

client/buildpack.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"io"
66
"net/url"
77

8-
"github.com/cloudfoundry-community/go-cfclient/v3/internal/path"
9-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
8+
"github.com/cloudfoundry/go-cfclient/v3/internal/path"
9+
"github.com/cloudfoundry/go-cfclient/v3/resource"
1010
)
1111

1212
type BuildpackClient commonClient

client/buildpack_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ package client
22

33
import (
44
"context"
5-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
6-
"github.com/cloudfoundry-community/go-cfclient/v3/testutil"
75
"net/http"
86
"strings"
97
"testing"
8+
9+
"github.com/cloudfoundry/go-cfclient/v3/resource"
10+
"github.com/cloudfoundry/go-cfclient/v3/testutil"
1011
)
1112

1213
func TestBuildpacks(t *testing.T) {

client/client.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ import (
1212
"path/filepath"
1313
"strings"
1414

15-
"github.com/cloudfoundry-community/go-cfclient/v3/config"
16-
"github.com/cloudfoundry-community/go-cfclient/v3/internal/check"
17-
internal "github.com/cloudfoundry-community/go-cfclient/v3/internal/http"
18-
"github.com/cloudfoundry-community/go-cfclient/v3/internal/ios"
19-
"github.com/cloudfoundry-community/go-cfclient/v3/internal/path"
15+
"github.com/cloudfoundry/go-cfclient/v3/config"
16+
"github.com/cloudfoundry/go-cfclient/v3/internal/check"
17+
internal "github.com/cloudfoundry/go-cfclient/v3/internal/http"
18+
"github.com/cloudfoundry/go-cfclient/v3/internal/ios"
19+
"github.com/cloudfoundry/go-cfclient/v3/internal/path"
2020
)
2121

2222
// Client used to communicate with Cloud Foundry

client/client_test.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
package client_test
22

33
import (
4-
"github.com/cloudfoundry-community/go-cfclient/v3/client"
5-
"github.com/cloudfoundry-community/go-cfclient/v3/config"
6-
"github.com/stretchr/testify/require"
74
"testing"
5+
6+
"github.com/cloudfoundry/go-cfclient/v3/client"
7+
"github.com/cloudfoundry/go-cfclient/v3/config"
8+
9+
"github.com/stretchr/testify/require"
810
)
911

1012
func TestClientWithInvalidConfig(t *testing.T) {

client/deployment.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"errors"
66
"net/url"
77

8-
"github.com/cloudfoundry-community/go-cfclient/v3/internal/path"
9-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
8+
"github.com/cloudfoundry/go-cfclient/v3/internal/path"
9+
"github.com/cloudfoundry/go-cfclient/v3/resource"
1010
)
1111

1212
type DeploymentClient commonClient

client/deployment_test.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ package client
22

33
import (
44
"context"
5-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
6-
"github.com/cloudfoundry-community/go-cfclient/v3/testutil"
7-
"github.com/stretchr/testify/require"
85
"net/http"
96
"testing"
7+
8+
"github.com/cloudfoundry/go-cfclient/v3/resource"
9+
"github.com/cloudfoundry/go-cfclient/v3/testutil"
10+
11+
"github.com/stretchr/testify/require"
1012
)
1113

1214
func TestDeployments(t *testing.T) {

client/domain.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"net/url"
66

7-
"github.com/cloudfoundry-community/go-cfclient/v3/internal/path"
8-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
7+
"github.com/cloudfoundry/go-cfclient/v3/internal/path"
8+
"github.com/cloudfoundry/go-cfclient/v3/resource"
99
)
1010

1111
type DomainClient commonClient

client/domain_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ package client
22

33
import (
44
"context"
5-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
6-
"github.com/cloudfoundry-community/go-cfclient/v3/testutil"
75
"net/http"
86
"testing"
7+
8+
"github.com/cloudfoundry/go-cfclient/v3/resource"
9+
"github.com/cloudfoundry/go-cfclient/v3/testutil"
910
)
1011

1112
func TestDomains(t *testing.T) {

client/droplet.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"io"
66
"net/url"
77

8-
"github.com/cloudfoundry-community/go-cfclient/v3/internal/path"
9-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
8+
"github.com/cloudfoundry/go-cfclient/v3/internal/path"
9+
"github.com/cloudfoundry/go-cfclient/v3/resource"
1010
)
1111

1212
type DropletClient commonClient

client/droplet_test.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@ package client
22

33
import (
44
"context"
5-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
6-
"github.com/cloudfoundry-community/go-cfclient/v3/testutil"
7-
"github.com/stretchr/testify/require"
85
"io"
96
"net/http"
107
"net/http/httptest"
118
"strings"
129
"testing"
10+
11+
"github.com/cloudfoundry/go-cfclient/v3/resource"
12+
"github.com/cloudfoundry/go-cfclient/v3/testutil"
13+
14+
"github.com/stretchr/testify/require"
1315
)
1416

1517
func TestDroplets(t *testing.T) {

client/envar_group.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ package client
22

33
import (
44
"context"
5-
"github.com/cloudfoundry-community/go-cfclient/v3/internal/path"
6-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
5+
6+
"github.com/cloudfoundry/go-cfclient/v3/internal/path"
7+
"github.com/cloudfoundry/go-cfclient/v3/resource"
78
)
89

910
type EnvVarGroupClient commonClient

client/envar_group_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ package client
22

33
import (
44
"context"
5-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
6-
"github.com/cloudfoundry-community/go-cfclient/v3/testutil"
75
"net/http"
86
"testing"
7+
8+
"github.com/cloudfoundry/go-cfclient/v3/resource"
9+
"github.com/cloudfoundry/go-cfclient/v3/testutil"
910
)
1011

1112
func TestEnvVarGroups(t *testing.T) {

client/feature_flag.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"net/url"
66

7-
"github.com/cloudfoundry-community/go-cfclient/v3/internal/path"
8-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
7+
"github.com/cloudfoundry/go-cfclient/v3/internal/path"
8+
"github.com/cloudfoundry/go-cfclient/v3/resource"
99
)
1010

1111
type FeatureFlagClient commonClient

client/feature_flag_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ package client
22

33
import (
44
"context"
5-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
6-
"github.com/cloudfoundry-community/go-cfclient/v3/testutil"
75
"net/http"
86
"testing"
7+
8+
"github.com/cloudfoundry/go-cfclient/v3/resource"
9+
"github.com/cloudfoundry/go-cfclient/v3/testutil"
910
)
1011

1112
func TestFeatureFlags(t *testing.T) {

client/isolation_segment.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ import (
44
"context"
55
"net/url"
66

7-
"github.com/cloudfoundry-community/go-cfclient/v3/internal/path"
8-
9-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
7+
"github.com/cloudfoundry/go-cfclient/v3/internal/path"
8+
"github.com/cloudfoundry/go-cfclient/v3/resource"
109
)
1110

1211
type IsolationSegmentClient commonClient

client/isolation_segment_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ package client
22

33
import (
44
"context"
5-
"github.com/cloudfoundry-community/go-cfclient/v3/resource"
6-
"github.com/cloudfoundry-community/go-cfclient/v3/testutil"
75
"net/http"
86
"testing"
7+
8+
"github.com/cloudfoundry/go-cfclient/v3/resource"
9+
"github.com/cloudfoundry/go-cfclient/v3/testutil"
910
)
1011

1112
func TestIsolationSegments(t *testing.T) {

0 commit comments

Comments
 (0)