From 74f16c964c2b059d2fb7dd39bf39945fce4c4208 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Tue, 30 Jul 2024 16:02:09 +0000 Subject: [PATCH] feat: update generated APIs --- ...t-all-usage-tem-domain-create-usage.golden | 1 + docs/commands/tem.md | 1 + go.mod | 2 +- go.sum | 4 +- .../testdata/test-create-simple.golden | 40 ++++++++++--------- 5 files changed, 26 insertions(+), 22 deletions(-) diff --git a/cmd/scw/testdata/test-all-usage-tem-domain-create-usage.golden b/cmd/scw/testdata/test-all-usage-tem-domain-create-usage.golden index 9412fdd82a..b8f78f6b6f 100644 --- a/cmd/scw/testdata/test-all-usage-tem-domain-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-tem-domain-create-usage.golden @@ -9,6 +9,7 @@ ARGS: [project-id] Project ID to use. If none is passed the default project ID will be used [domain-name] Fully qualified domain dame [accept-tos] Accept Scaleway's Terms of Service + [autoconfig] Activate auto-configuration of the domain's DNS zone [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) FLAGS: diff --git a/docs/commands/tem.md b/docs/commands/tem.md index de273863bb..48694455ac 100644 --- a/docs/commands/tem.md +++ b/docs/commands/tem.md @@ -67,6 +67,7 @@ scw tem domain create [arg=value ...] | project-id | | Project ID to use. If none is passed the default project ID will be used | | domain-name | | Fully qualified domain dame | | accept-tos | | Accept Scaleway's Terms of Service | +| autoconfig | | Activate auto-configuration of the domain's DNS zone | | region | Default: `fr-par`
One of: `fr-par` | Region to target. If none is passed will use default region from the config | diff --git a/go.mod b/go.mod index 0d57332285..133a93b97f 100644 --- a/go.mod +++ b/go.mod @@ -27,7 +27,7 @@ require ( github.com/mattn/go-isatty v0.0.20 github.com/moby/buildkit v0.13.2 github.com/opencontainers/go-digest v1.0.0 - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.29.0.20240729155332-ce25a04774bb + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.29.0.20240730152536-2cf320026e2f github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.8.1 github.com/spf13/pflag v1.0.5 diff --git a/go.sum b/go.sum index ffe4c62093..3235f40d3f 100644 --- a/go.sum +++ b/go.sum @@ -463,8 +463,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.29.0.20240729155332-ce25a04774bb h1:DKG/qk3CxPxDSUk8yE6/rDubPgGttx4vxqa0tLmCj5E= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.29.0.20240729155332-ce25a04774bb/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.29.0.20240730152536-2cf320026e2f h1:UGmbzEnNNaArWkgfhD+ppd1MIJZdwT/ySlGoxQRS56k= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.29.0.20240730152536-2cf320026e2f/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8= github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM= github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA= diff --git a/internal/namespaces/container/v1beta1/testdata/test-create-simple.golden b/internal/namespaces/container/v1beta1/testdata/test-create-simple.golden index ecc450f712..fb631cfa57 100644 --- a/internal/namespaces/container/v1beta1/testdata/test-create-simple.golden +++ b/internal/namespaces/container/v1beta1/testdata/test-create-simple.golden @@ -1,24 +1,25 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟩🟩🟩 STDOUT️ 🟩🟩🟩️ -ID eff8830f-5f3b-4e42-a2f0-8e4a77ec4cb0 -Name cli-test-kind-herschel -NamespaceID 550f7065-ee73-4399-a32b-49b179950b57 -Status pending -MinScale 0 -MaxScale 5 -MemoryLimit 256 -CPULimit 140 -Timeout 5 minutes -Privacy public -Description - -RegistryImage rg.fr-par.scw.cloud/funcscwclicnssillyshirleyusnp0hk3/cli-test-kind-herschel:latest -MaxConcurrency 50 -DomainName clicnssillyshirleyusnp0hk3-cli-test-kind-herschel.functions.fnc.fr-par.scw.cloud -Protocol http1 -Port 8080 -HTTPOption enabled -Sandbox unknown_sandbox -Region fr-par +ID eff8830f-5f3b-4e42-a2f0-8e4a77ec4cb0 +Name cli-test-kind-herschel +NamespaceID 550f7065-ee73-4399-a32b-49b179950b57 +Status pending +MinScale 0 +MaxScale 5 +MemoryLimit 256 +CPULimit 140 +Timeout 5 minutes +Privacy public +Description - +RegistryImage rg.fr-par.scw.cloud/funcscwclicnssillyshirleyusnp0hk3/cli-test-kind-herschel:latest +MaxConcurrency 50 +DomainName clicnssillyshirleyusnp0hk3-cli-test-kind-herschel.functions.fnc.fr-par.scw.cloud +Protocol http1 +Port 8080 +HTTPOption enabled +Sandbox unknown_sandbox +LocalStorageLimit 0 +Region fr-par 🟩🟩🟩 JSON STDOUT 🟩🟩🟩 { "id": "eff8830f-5f3b-4e42-a2f0-8e4a77ec4cb0", @@ -42,5 +43,6 @@ Region fr-par "secret_environment_variables": [], "http_option": "enabled", "sandbox": "unknown_sandbox", + "local_storage_limit": 0, "region": "fr-par" }