Skip to content

Commit

Permalink
Moving the 'cloudfoundry' package inside 'cloudproviders'
Browse files Browse the repository at this point in the history
  • Loading branch information
hush-hush committed Nov 3, 2021
1 parent 7d00d93 commit 7538b9a
Show file tree
Hide file tree
Showing 22 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
/pkg/otlp/ @DataDog/agent-platform
/pkg/tagger/ @DataDog/container-integrations
/pkg/tagger/collectors/garden*.go @DataDog/integrations-tools-and-libraries
/pkg/util/cloudfoundry/ @DataDog/integrations-tools-and-libraries
/pkg/util/cloudproviders/cloudfoundry/ @DataDog/integrations-tools-and-libraries
/pkg/util/clusteragent/ @DataDog/container-integrations
/pkg/util/containerd/ @DataDog/container-integrations
/pkg/util/containers/ @DataDog/container-integrations
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ run:
skip-files:
- cmd/agent/app/reloadcheck.go # ignore unused command for now
- cmd/agent/app/listchecks.go # ignore unused command for now
- pkg/util/cloudfoundry/bbscache_test.go # implements interface from imported package whose method names fail linting
- pkg/util/cloudproviders/cloudfoundry/bbscache_test.go # implements interface from imported package whose method names fail linting
skip-dirs:
# ignore test helper
- pkg/util/testutil
Expand Down
2 changes: 1 addition & 1 deletion cmd/cluster-agent/api/v1/cloudfoundry_metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"net/http"
"strconv"

"github.com/DataDog/datadog-agent/pkg/util/cloudfoundry"
"github.com/DataDog/datadog-agent/pkg/util/cloudproviders/cloudfoundry"
"github.com/DataDog/datadog-agent/pkg/util/log"
"github.com/gorilla/mux"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/autodiscovery/listeners/cloudfoundry.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"time"

"github.com/DataDog/datadog-agent/pkg/autodiscovery/integration"
"github.com/DataDog/datadog-agent/pkg/util/cloudfoundry"
"github.com/DataDog/datadog-agent/pkg/util/cloudproviders/cloudfoundry"
"github.com/DataDog/datadog-agent/pkg/util/containers"
"github.com/DataDog/datadog-agent/pkg/util/log"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/autodiscovery/listeners/cloudfoundry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"time"

"github.com/DataDog/datadog-agent/pkg/autodiscovery/integration"
"github.com/DataDog/datadog-agent/pkg/util/cloudfoundry"
"github.com/DataDog/datadog-agent/pkg/util/cloudproviders/cloudfoundry"
"github.com/DataDog/datadog-agent/pkg/util/testutil"

"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion pkg/autodiscovery/providers/cloudfoundry.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/DataDog/datadog-agent/pkg/autodiscovery/integration"
"github.com/DataDog/datadog-agent/pkg/autodiscovery/providers/names"
"github.com/DataDog/datadog-agent/pkg/config"
"github.com/DataDog/datadog-agent/pkg/util/cloudfoundry"
"github.com/DataDog/datadog-agent/pkg/util/cloudproviders/cloudfoundry"
"github.com/DataDog/datadog-agent/pkg/util/log"

"github.com/bhmj/jsonslice"
Expand Down
2 changes: 1 addition & 1 deletion pkg/autodiscovery/providers/cloudfoundry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"time"

"github.com/DataDog/datadog-agent/pkg/autodiscovery/integration"
"github.com/DataDog/datadog-agent/pkg/util/cloudfoundry"
"github.com/DataDog/datadog-agent/pkg/util/cloudproviders/cloudfoundry"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/tagger/collectors/garden_extract.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package collectors
import (
"fmt"

"github.com/DataDog/datadog-agent/pkg/util/cloudfoundry"
"github.com/DataDog/datadog-agent/pkg/util/cloudproviders/cloudfoundry"
"github.com/DataDog/datadog-agent/pkg/util/log"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/tagger/collectors/garden_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"fmt"

"github.com/DataDog/datadog-agent/pkg/config"
"github.com/DataDog/datadog-agent/pkg/util/cloudfoundry"
"github.com/DataDog/datadog-agent/pkg/util/cloudproviders/cloudfoundry"
"github.com/DataDog/datadog-agent/pkg/util/clusteragent"
"github.com/DataDog/datadog-agent/pkg/util/containers"
"github.com/DataDog/datadog-agent/pkg/util/log"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/util/cloudproviders/cloudproviders.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ import (
"github.com/DataDog/datadog-agent/pkg/util/hostname/kubelet"
"github.com/DataDog/datadog-agent/pkg/util/log"

"github.com/DataDog/datadog-agent/pkg/util/cloudfoundry"
"github.com/DataDog/datadog-agent/pkg/util/ec2"
"github.com/DataDog/datadog-agent/pkg/util/ecs"

"github.com/DataDog/datadog-agent/pkg/util/cloudproviders/alibaba"
"github.com/DataDog/datadog-agent/pkg/util/cloudproviders/azure"
"github.com/DataDog/datadog-agent/pkg/util/cloudproviders/cloudfoundry"
"github.com/DataDog/datadog-agent/pkg/util/cloudproviders/gce"
"github.com/DataDog/datadog-agent/pkg/util/cloudproviders/tencent"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/util/containers/collectors/cloudfoundry.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
package collectors

import (
"github.com/DataDog/datadog-agent/pkg/util/cloudfoundry"
"github.com/DataDog/datadog-agent/pkg/util/cloudproviders/cloudfoundry"
"github.com/DataDog/datadog-agent/pkg/util/containers"
)

Expand Down

0 comments on commit 7538b9a

Please sign in to comment.