Skip to content

Commit 8587d70

Browse files
committed
feat: update generated APIs
1 parent 25445d8 commit 8587d70

5 files changed

Lines changed: 14 additions & 5 deletions

File tree

cmd/scw/testdata/test-all-usage-container-container-create-usage.golden

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
33
Create a new container in the specified region.
44

5+
When creating a container, the `created` status is no longer used. The deployment process is started
6+
and the status is set to `pending` accordingly.
7+
58
USAGE:
69
scw container container create [arg=value ...]
710

docs/commands/container.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ Container management commands.
4949

5050
Create a new container in the specified region.
5151

52+
When creating a container, the `created` status is no longer used. The deployment process is started
53+
and the status is set to `pending` accordingly.
54+
5255
**Usage:**
5356

5457
```

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ require (
2525
github.com/moby/buildkit v0.29.0
2626
github.com/moby/go-archive v0.2.0
2727
github.com/opencontainers/go-digest v1.0.0
28-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260410075832-1d11daa52f3a
28+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260410085437-583409c79721
2929
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
3030
github.com/spf13/cobra v1.10.2
3131
github.com/spf13/pflag v1.0.10

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7
476476
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
477477
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
478478
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
479-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260410075832-1d11daa52f3a h1:QgieCW5f7sJFVpjSo3yvEUIh+kF7wHyDrtkoONBttKA=
480-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260410075832-1d11daa52f3a/go.mod h1:jG9ApeokegM68b/6vebk8fAhBJbqZKUoor/+f19+bH0=
479+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260410085437-583409c79721 h1:cysx/Agxy/gRF3WLMPh/0hcSj8QBRDEyQI/nG3a2j8Y=
480+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260410085437-583409c79721/go.mod h1:jG9ApeokegM68b/6vebk8fAhBJbqZKUoor/+f19+bH0=
481481
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
482482
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
483483
github.com/secure-systems-lab/go-securesystemslib v0.10.0 h1:l+H5ErcW0PAehBNrBxoGv1jjNpGYdZ9RcheFkB2WI14=

internal/namespaces/container/v1beta1/container_cli.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,8 +516,11 @@ func containerContainerGet() *core.Command {
516516

517517
func containerContainerCreate() *core.Command {
518518
return &core.Command{
519-
Short: `Create a new container`,
520-
Long: `Create a new container in the specified region.`,
519+
Short: `Create a new container`,
520+
Long: `Create a new container in the specified region.
521+
522+
When creating a container, the ` + "`" + `created` + "`" + ` status is no longer used. The deployment process is started
523+
and the status is set to ` + "`" + `pending` + "`" + ` accordingly.`,
521524
Namespace: "container",
522525
Resource: "container",
523526
Verb: "create",

0 commit comments

Comments
 (0)