diff --git a/cmd/scw/testdata/test-all-usage-datawarehouse-endpoint-create-usage.golden b/cmd/scw/testdata/test-all-usage-datawarehouse-endpoint-create-usage.golden new file mode 100644 index 0000000000..f6c61a6951 --- /dev/null +++ b/cmd/scw/testdata/test-all-usage-datawarehouse-endpoint-create-usage.golden @@ -0,0 +1,21 @@ +🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 +πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ +Create a new endpoint for a deployment. + +USAGE: + scw datawarehouse endpoint create [arg=value ...] + +ARGS: + [deployment-id] UUID of the deployment + [endpoint.private-network.private-network-id] UUID of the Private Network + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + +FLAGS: + -h, --help help for create + --list-sub-commands List all subcommands + +GLOBAL FLAGS: + -c, --config string The path to the config file + -D, --debug Enable debug mode + -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") + -p, --profile string The config profile to use diff --git a/cmd/scw/testdata/test-all-usage-datawarehouse-endpoint-delete-usage.golden b/cmd/scw/testdata/test-all-usage-datawarehouse-endpoint-delete-usage.golden new file mode 100644 index 0000000000..a013e1b6c5 --- /dev/null +++ b/cmd/scw/testdata/test-all-usage-datawarehouse-endpoint-delete-usage.golden @@ -0,0 +1,20 @@ +🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 +πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ +Delete an endpoint from a deployment. + +USAGE: + scw datawarehouse endpoint delete [arg=value ...] + +ARGS: + endpoint-id UUID of the Endpoint to delete + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par) + +FLAGS: + -h, --help help for delete + --list-sub-commands List all subcommands + +GLOBAL FLAGS: + -c, --config string The path to the config file + -D, --debug Enable debug mode + -o, --output string Output format: json or human, see 'scw help output' for more info (default "human") + -p, --profile string The config profile to use diff --git a/go.mod b/go.mod index 77bb4e83da..f6dc129a20 100644 --- a/go.mod +++ b/go.mod @@ -23,7 +23,7 @@ require ( github.com/mattn/go-isatty v0.0.20 github.com/moby/buildkit v0.26.3 github.com/opencontainers/go-digest v1.0.0 - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260116124856-e43316650348 + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260122164551-ccce19cd242c github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.0.10 diff --git a/go.sum b/go.sum index 4baafa5631..547877de32 100644 --- a/go.sum +++ b/go.sum @@ -468,8 +468,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7 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.36.0.20260116124856-e43316650348 h1:ARt54LdmZZC+mOyLvAK5/JvF5pt8NBYfsvdmoAc9tkk= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260116124856-e43316650348/go.mod h1:VbEqG0nAXcEFyHLKWwbhgbDNimnLf24Qat73/12DU9o= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260122164551-ccce19cd242c h1:nCrW3tGV0n6zSbk4RPzfLYngOPCSnF3EvH+3ft8DAz0= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260122164551-ccce19cd242c/go.mod h1:VbEqG0nAXcEFyHLKWwbhgbDNimnLf24Qat73/12DU9o= 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.9.1 h1:nZZaNz4DiERIQguNy0cL5qTdn9lR8XKHf4RUyG1Sx3g= diff --git a/internal/namespaces/k8s/v1/testdata/test-get-cluster-simple.golden b/internal/namespaces/k8s/v1/testdata/test-get-cluster-simple.golden index b9765c6193..64e48b9e21 100644 --- a/internal/namespaces/k8s/v1/testdata/test-get-cluster-simple.golden +++ b/internal/namespaces/k8s/v1/testdata/test-get-cluster-simple.golden @@ -19,7 +19,6 @@ PrivateNetworkID 4a64f3e9-f128-4679-84ac-af05eec5b520 CommitmentEndsAt few seconds ago ACLAvailable true IamNodesGroupID - -NewImagesEnabled true PodCidr 100.64.0.0/15 ServiceCidr 10.32.0.0/20 ServiceDNSIP 10.32.0.10 @@ -104,7 +103,6 @@ ID NAME STATUS VERSION NODE TYPE MIN "commitment_ends_at": "1970-01-01T00:00:00.0Z", "acl_available": true, "iam_nodes_group_id": "", - "new_images_enabled": true, "pod_cidr": "100.64.0.0/15", "service_cidr": "10.32.0.0/20", "service_dns_ip": "10.32.0.10", diff --git a/internal/namespaces/k8s/v1/testdata/test-wait-cluster-wait-for-pools.golden b/internal/namespaces/k8s/v1/testdata/test-wait-cluster-wait-for-pools.golden index a585b3765d..741ee1d196 100644 --- a/internal/namespaces/k8s/v1/testdata/test-wait-cluster-wait-for-pools.golden +++ b/internal/namespaces/k8s/v1/testdata/test-wait-cluster-wait-for-pools.golden @@ -19,7 +19,6 @@ PrivateNetworkID f932db89-93ed-4779-b9d4-2231b507aea2 CommitmentEndsAt few seconds ago ACLAvailable true IamNodesGroupID 30185f78-13c6-470e-a589-bc4f33fd9119 -NewImagesEnabled true PodCidr 100.64.0.0/15 ServiceCidr 10.32.0.0/20 ServiceDNSIP 10.32.0.10 @@ -100,7 +99,6 @@ GroupsPrefix - "commitment_ends_at": "1970-01-01T00:00:00.0Z", "acl_available": true, "iam_nodes_group_id": "30185f78-13c6-470e-a589-bc4f33fd9119", - "new_images_enabled": true, "pod_cidr": "100.64.0.0/15", "service_cidr": "10.32.0.0/20", "service_dns_ip": "10.32.0.10"