Skip to content

Commit

Permalink
Upgrade all (#112)
Browse files Browse the repository at this point in the history
* upgrade terraform-plugin-docs

* upgrade go-openapi/strfmt

* upgrade go action
  • Loading branch information
shiyuhang0 authored Mar 11, 2024
1 parent 8d3c54d commit a81516b
Show file tree
Hide file tree
Showing 13 changed files with 92 additions and 104 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
# Allow goreleaser to access older tag information.
fetch-depth: 0
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
Expand All @@ -38,7 +38,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
Expand All @@ -55,7 +55,7 @@ jobs:
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
Expand Down
2 changes: 0 additions & 2 deletions docs/data-sources/backups.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,3 @@ Read-Only:
- `size` (String) The bytes of the backup.
- `status` (String) Enum: PENDING/RUNNING/FAILED/SUCCESS.The status of backup.
- `type` (String) Enum: MANUAL/AUTO.The type of backup. TiDB Cloud only supports manual and auto backup. For more information, see [TiDB Cloud Documentation](https://docs.pingcap.com/tidbcloud/backup-and-restore#backup).


2 changes: 0 additions & 2 deletions docs/data-sources/cluster_specs.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,3 @@ Read-Only:

- `max` (Number) The maximum storage size for each node of the component in the cluster.
- `min` (Number) The minimum storage size for each node of the component in the cluster.


2 changes: 0 additions & 2 deletions docs/data-sources/clusters.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,3 @@ Read-Only:

- `host` (String) The host of VPC peering connection.
- `port` (Number) The TiDB port for connection. The port must be in the range of 1024-65535 except 10080.


2 changes: 0 additions & 2 deletions docs/data-sources/projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,3 @@ Read-Only:
- `name` (String) The name of the project.
- `org_id` (String) The ID of the TiDB Cloud organization to which the project belongs.
- `user_count` (Number) The number of users in the project.


2 changes: 0 additions & 2 deletions docs/data-sources/restores.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,3 @@ Read-Only:
- `id` (String) The ID of the restored cluster. The restored cluster is the new cluster your backup data is restored to.
- `name` (String) The name of the restored cluster. The restored cluster is the new cluster your backup data is restored to.
- `status` (String) The status of the restored cluster. Possible values are "AVAILABLE", "CREATING", "MODIFYING", "PAUSED", "RESUMING", and "CLEARED".


2 changes: 0 additions & 2 deletions docs/resources/backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,3 @@ resource "tidbcloud_backup" "example" {
- `size` (String) The bytes of the backup.
- `status` (String) Enum: PENDING/RUNNING/FAILED/SUCCESS.The status of backup.
- `type` (String) Enum: MANUAL/AUTO.The type of backup. TiDB Cloud only supports manual and auto backup. For more information, see [TiDB Cloud Documentation](https://docs.pingcap.com/tidbcloud/backup-and-restore#backup).


2 changes: 0 additions & 2 deletions docs/resources/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,5 +195,3 @@ Read-Only:

- `host` (String) The host of VPC peering connection.
- `port` (Number) The TiDB port for connection. The port must be in the range of 1024-65535 except 10080.


2 changes: 0 additions & 2 deletions docs/resources/import.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,3 @@ Read-Only:
- `message` (String)
- `result` (String)
- `table_name` (String)


2 changes: 0 additions & 2 deletions docs/resources/restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,3 @@ Read-Only:
- `id` (String) The ID of the restored cluster. The restored cluster is the new cluster your backup data is restored to.
- `name` (String) The name of the restored cluster. The restored cluster is the new cluster your backup data is restored to.
- `status` (String) The status of the restored cluster. Possible values are "AVAILABLE", "CREATING", "MODIFYING", "PAUSED", "RESUMING","UNAVAILABLE", "IMPORTING" and "CLEARED".


45 changes: 25 additions & 20 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ go 1.21

require (
github.com/c4pt0r/go-tidbcloud-sdk-v1 v0.0.0-20221102224337-3b1c2179c517
github.com/go-openapi/errors v0.20.3
github.com/go-openapi/errors v0.21.0
github.com/go-openapi/runtime v0.25.0
github.com/go-openapi/strfmt v0.21.3
github.com/go-openapi/strfmt v0.22.0
github.com/go-openapi/swag v0.22.3
github.com/go-openapi/validate v0.22.0
github.com/golang/mock v1.6.0
github.com/hashicorp/terraform-plugin-docs v0.13.0
github.com/hashicorp/terraform-plugin-docs v0.18.0
github.com/hashicorp/terraform-plugin-framework v1.6.1
github.com/hashicorp/terraform-plugin-go v0.22.0
github.com/hashicorp/terraform-plugin-log v0.9.0
Expand All @@ -19,19 +19,20 @@ require (
)

require (
github.com/Kunde21/markdownfmt/v3 v3.1.0 // indirect
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/semver/v3 v3.1.1 // indirect
github.com/Masterminds/sprig/v3 v3.2.2 // indirect
github.com/Masterminds/semver/v3 v3.2.0 // indirect
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
github.com/PuerkitoBio/purell v1.1.1 // indirect
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
github.com/agext/levenshtein v1.2.2 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
github.com/bgentry/speakeasy v0.1.0 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/fatih/color v1.13.0 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-openapi/analysis v0.21.2 // indirect
Expand All @@ -41,7 +42,8 @@ require (
github.com/go-openapi/spec v0.20.4 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/uuid v1.4.0 // indirect
github.com/google/uuid v1.5.0 // indirect
github.com/hashicorp/cli v1.1.6 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
Expand All @@ -51,21 +53,21 @@ require (
github.com/hashicorp/go-plugin v1.6.0 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/hashicorp/hc-install v0.6.1 // indirect
github.com/hashicorp/hc-install v0.6.2 // indirect
github.com/hashicorp/hcl/v2 v2.19.1 // indirect
github.com/hashicorp/logutils v1.0.0 // indirect
github.com/hashicorp/terraform-exec v0.19.0 // indirect
github.com/hashicorp/terraform-json v0.17.1 // indirect
github.com/hashicorp/terraform-exec v0.20.0 // indirect
github.com/hashicorp/terraform-json v0.21.0 // indirect
github.com/hashicorp/terraform-registry-address v0.2.3 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
github.com/hashicorp/yamux v0.1.1 // indirect
github.com/huandu/xstrings v1.3.2 // indirect
github.com/huandu/xstrings v1.3.3 // indirect
github.com/imdario/mergo v0.3.15 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/mitchellh/cli v1.1.5 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/go-wordwrap v1.0.0 // indirect
Expand All @@ -81,14 +83,17 @@ require (
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/yuin/goldmark v1.6.0 // indirect
github.com/yuin/goldmark-meta v1.1.0 // indirect
github.com/zclconf/go-cty v1.14.1 // indirect
go.mongodb.org/mongo-driver v1.10.0 // indirect
go.mongodb.org/mongo-driver v1.13.1 // indirect
go.opentelemetry.io/otel v1.11.1 // indirect
go.opentelemetry.io/otel/trace v1.11.1 // indirect
golang.org/x/crypto v0.15.0 // indirect
golang.org/x/mod v0.13.0 // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.18.0 // indirect
golang.org/x/sys v0.14.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect
Expand Down
Loading

0 comments on commit a81516b

Please sign in to comment.