Skip to content
This repository was archived by the owner on Jun 17, 2024. It is now read-only.

Commit 226b47d

Browse files
author
Julien Pivotto
committed
Move to terraform-sdk
Signed-off-by: Julien Pivotto <[email protected]>
1 parent f8674c1 commit 226b47d

File tree

1,225 files changed

+60637
-114561
lines changed

Some content is hidden

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

1,225 files changed

+60637
-114561
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ linters:
2020

2121
linters-settings:
2222
errcheck:
23-
ignore: github.com/hashicorp/terraform/helper/schema:ForceNew|Set,fmt:.*,io:Close
23+
ignore: github.com/hashicorp/terraform-plugin-sdk/helper/schema:ForceNew|Set,fmt:.*,io:Close
2424

2525
run:
2626
deadline: 5m

go.mod

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
module github.com/terraform-providers/terraform-provider-vra7
22

33
require (
4-
github.com/hashicorp/go-cleanhttp v0.5.1 // indirect
5-
github.com/hashicorp/go-hclog v0.9.0 // indirect
6-
github.com/hashicorp/go-version v1.2.0 // indirect
74
github.com/hashicorp/hcl v1.0.0 // indirect
5+
github.com/hashicorp/hcl2 v0.0.0-20190821123243-0c888d1241f6 // indirect
86
github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect
9-
github.com/hashicorp/terraform v0.12.6
10-
github.com/mitchellh/go-homedir v1.1.0 // indirect
7+
github.com/hashicorp/terraform-plugin-sdk v1.9.1
118
github.com/mitchellh/mapstructure v1.1.2
12-
github.com/mitchellh/reflectwalk v1.0.1 // indirect
139
github.com/op/go-logging v0.0.0-20160211212156-b2cb9fa56473
1410
github.com/stretchr/testify v1.3.0
15-
golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c // indirect
1611
gopkg.in/jarcoal/httpmock.v1 v1.0.0-20170412085702-cf52904a3cf0
1712
)
1813

go.sum

Lines changed: 150 additions & 310 deletions
Large diffs are not rendered by default.

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package main
22

33
import (
4-
"github.com/hashicorp/terraform/plugin"
5-
"github.com/hashicorp/terraform/terraform"
4+
"github.com/hashicorp/terraform-plugin-sdk/plugin"
5+
"github.com/hashicorp/terraform-plugin-sdk/terraform"
66
"github.com/terraform-providers/terraform-provider-vra7/utils"
77
"github.com/terraform-providers/terraform-provider-vra7/vra7"
88
)

scripts/errcheck.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if ! which errcheck > /dev/null; then
99
fi
1010

1111
err_files=$(errcheck -ignoretests \
12-
-ignore 'github.com/hashicorp/terraform/helper/schema:Set' \
12+
-ignore 'ignore: github.com/hashicorp/terraform-plugin-sdk/helper/schema:ForceNew|Set' \
1313
-ignore 'bytes:.*' \
1414
-ignore 'io:Close|Write' \
1515
$(go list ./...| grep -v /vendor/))
@@ -21,4 +21,4 @@ if [[ -n ${err_files} ]]; then
2121
exit 1
2222
fi
2323

24-
exit 0
24+
exit 0

sdk/vra7_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"fmt"
88
"net/http"
99

10-
"github.com/hashicorp/terraform/helper/logging"
10+
"github.com/hashicorp/terraform-plugin-sdk/helper/logging"
1111
)
1212

1313
// NewClient creates a new APIClient object

vendor/cloud.google.com/go/AUTHORS

Lines changed: 0 additions & 15 deletions
This file was deleted.

vendor/cloud.google.com/go/CONTRIBUTORS

Lines changed: 0 additions & 40 deletions
This file was deleted.

vendor/cloud.google.com/go/compute/metadata/metadata.go

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/cloud.google.com/go/internal/trace/trace.go

Lines changed: 27 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)