Skip to content

Commit

Permalink
feat: update generated cli (#2401)
Browse files Browse the repository at this point in the history
Co-authored-by: Rémy Léone <rleone@scaleway.com>
  • Loading branch information
scaleway-bot and remyleone authored Jul 7, 2022
1 parent b2c2ceb commit 280a712
Show file tree
Hide file tree
Showing 8 changed files with 94 additions and 102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ ARGS:
[description]
[registry-image]
[max-concurrency]
[domain-name]
[protocol] (unknown_protocol | http1 | h2c)
[port]
[secret-environment-variables.{index}.key]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ ARGS:
[description]
[registry-image]
[max-concurrency]
[domain-name]
[protocol] (unknown_protocol | http1 | h2c)
[port]
[secret-environment-variables.{index}.key]
Expand Down
2 changes: 0 additions & 2 deletions docs/commands/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ scw container container create [arg=value ...]
| description | | |
| registry-image | | |
| max-concurrency | | |
| domain-name | | |
| protocol | One of: `unknown_protocol`, `http1`, `h2c` | |
| port | | |
| secret-environment-variables.{index}.key | | |
Expand Down Expand Up @@ -179,7 +178,6 @@ scw container container update <container-id ...> [arg=value ...]
| description | | |
| registry-image | | |
| max-concurrency | | |
| domain-name | | |
| protocol | One of: `unknown_protocol`, `http1`, `h2c` | |
| port | | |
| secret-environment-variables.{index}.key | | |
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/kubernetes-client/go-base v0.0.0-20190205182333-3d0e39759d98
github.com/mattn/go-colorable v0.1.12
github.com/mattn/go-isatty v0.0.14
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220705125941-2d7ba21ff9de
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220706124610-072bee915715
github.com/spf13/cobra v1.5.0
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.8.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220705125941-2d7ba21ff9de h1:mxZByxAKZl4U2QEeb8WV4Rf4zTOYsXqsm8FdvnGfUYI=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220705125941-2d7ba21ff9de/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220706124610-072bee915715 h1:e+1PXi8wsIPdl8DUOm+R23C1D91UYph6BJcrJL5NpU0=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220706124610-072bee915715/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
github.com/spf13/cobra v1.5.0 h1:X+jTBEBqF0bHN+9cSMgmfuvv2VHJ9ezmFNf9Y/XstYU=
Expand Down
12 changes: 0 additions & 12 deletions internal/namespaces/container/v1beta1/container_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,12 +477,6 @@ func containerContainerCreate() *core.Command {
Deprecated: false,
Positional: false,
},
{
Name: "domain-name",
Required: false,
Deprecated: false,
Positional: false,
},
{
Name: "protocol",
Required: false,
Expand Down Expand Up @@ -611,12 +605,6 @@ func containerContainerUpdate() *core.Command {
Deprecated: false,
Positional: false,
},
{
Name: "domain-name",
Required: false,
Deprecated: false,
Positional: false,
},
{
Name: "protocol",
Required: false,
Expand Down
Loading

0 comments on commit 280a712

Please sign in to comment.