From 8dfba1f2f8f66eeb091cee96bf09f62ecd7b1522 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 Jan 2025 16:13:28 +0000 Subject: [PATCH] Bump github.com/gridscale/gsclient-go/v3 from 3.14.2 to 3.16.0 Bumps [github.com/gridscale/gsclient-go/v3](https://github.com/gridscale/gsclient-go) from 3.14.2 to 3.16.0. - [Release notes](https://github.com/gridscale/gsclient-go/releases) - [Changelog](https://github.com/gridscale/gsclient-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/gridscale/gsclient-go/compare/v3.14.2...v3.16.0) --- updated-dependencies: - dependency-name: github.com/gridscale/gsclient-go/v3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- .../gridscale/gsclient-go/v3/CHANGELOG.md | 10 ++++++++++ .../github.com/gridscale/gsclient-go/v3/config.go | 2 +- .../github.com/gridscale/gsclient-go/v3/paas.go | 15 +++++++++++++++ vendor/modules.txt | 2 +- 6 files changed, 30 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 26df80e..5e7cfa8 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.21.0 toolchain go1.21.5 require ( - github.com/gridscale/gsclient-go/v3 v3.14.2 + github.com/gridscale/gsclient-go/v3 v3.16.0 github.com/hashicorp/hcl/v2 v2.19.1 github.com/hashicorp/packer-plugin-sdk v0.5.4 github.com/mitchellh/go-vnc v0.0.0-20150629162542-723ed9867aed diff --git a/go.sum b/go.sum index 201f754..9a80c2c 100644 --- a/go.sum +++ b/go.sum @@ -130,8 +130,8 @@ github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfF github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas= github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= -github.com/gridscale/gsclient-go/v3 v3.14.2 h1:0Vlj1UNeeM46zcKBnqmCt8Z6INUUiGiYL8Z4hIeJ5TY= -github.com/gridscale/gsclient-go/v3 v3.14.2/go.mod h1:B/xAA91QRonCLb+ScJix4ODj6wHWaDpPwvFHQD2KqsM= +github.com/gridscale/gsclient-go/v3 v3.16.0 h1:NroV9q8QQn6KIwu4d7qXkvf3Z5YCKtR3rEcYeL9W6+4= +github.com/gridscale/gsclient-go/v3 v3.16.0/go.mod h1:B/xAA91QRonCLb+ScJix4ODj6wHWaDpPwvFHQD2KqsM= github.com/hashicorp/consul/api v1.25.1 h1:CqrdhYzc8XZuPnhIYZWH45toM0LB9ZeYr/gvpLVI3PE= github.com/hashicorp/consul/api v1.25.1/go.mod h1:iiLVwR/htV7mas/sy0O+XSuEnrdBUUydemjxcUrAt4g= github.com/hashicorp/consul/sdk v0.14.1 h1:ZiwE2bKb+zro68sWzZ1SgHF3kRMBZ94TwOCFRF4ylPs= diff --git a/vendor/github.com/gridscale/gsclient-go/v3/CHANGELOG.md b/vendor/github.com/gridscale/gsclient-go/v3/CHANGELOG.md index 04cf5da..b0b87c5 100644 --- a/vendor/github.com/gridscale/gsclient-go/v3/CHANGELOG.md +++ b/vendor/github.com/gridscale/gsclient-go/v3/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 3.16.0 (Jan 07, 2025) + +FEATURES: +- Add bool property active to paas template properties [#237](https://github.com/gridscale/gsclient-go/pull/237). + +## 3.15.0 (Sep 18, 2024) + +FEATURES: +- Allow nested schema in parameter schema of paas service template [#236](https://github.com/gridscale/gsclient-go/pull/236). + ## 3.14.2 (May 17, 2024) BUG FIXES: diff --git a/vendor/github.com/gridscale/gsclient-go/v3/config.go b/vendor/github.com/gridscale/gsclient-go/v3/config.go index c403b7c..a69676a 100644 --- a/vendor/github.com/gridscale/gsclient-go/v3/config.go +++ b/vendor/github.com/gridscale/gsclient-go/v3/config.go @@ -13,7 +13,7 @@ import ( const ( defaultMaxNumberOfRetries = 5 defaultDelayIntervalMilliSecs = 1000 - version = "3.14.2" + version = "3.16.0" defaultAPIURL = "https://api.gridscale.io" resourceActiveStatus = "active" requestDoneStatus = "done" diff --git a/vendor/github.com/gridscale/gsclient-go/v3/paas.go b/vendor/github.com/gridscale/gsclient-go/v3/paas.go index 17b0aff..a42d08e 100644 --- a/vendor/github.com/gridscale/gsclient-go/v3/paas.go +++ b/vendor/github.com/gridscale/gsclient-go/v3/paas.go @@ -240,6 +240,9 @@ type PaaSTemplateProperties struct { // Values of the autoscaling resources. Autoscaling AutoscalingProperties `json:"autoscaling"` + + // Is the service template active. + Active bool `json:"active"` } // AutoscalingProperties holds properties of resource autoscalings. @@ -295,6 +298,18 @@ type Parameter struct { // Immutable. Immutable bool `json:"immutable"` + + // Nested schema + Schema Schema `json:"schema"` +} + +// Schema represents the structure of a nested parameter. +type Schema struct { + // Type of the schema. + Type string `json:"type"` + + // If the type is "dict", this defines the schema of the dictionary fields. + Schema map[string]Parameter `json:"schema"` } // Resource represents the amount of concurrent connections for the service. diff --git a/vendor/modules.txt b/vendor/modules.txt index e06c1ff..953b690 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -176,7 +176,7 @@ github.com/googleapis/gax-go/v2/apierror github.com/googleapis/gax-go/v2/apierror/internal/proto github.com/googleapis/gax-go/v2/callctx github.com/googleapis/gax-go/v2/internal -# github.com/gridscale/gsclient-go/v3 v3.14.2 +# github.com/gridscale/gsclient-go/v3 v3.16.0 ## explicit; go 1.21 github.com/gridscale/gsclient-go/v3 # github.com/hashicorp/consul/api v1.25.1