Skip to content

Commit 305cefc

Browse files
feat(webhosting): add support for migrating state (#3215)
Co-authored-by: Rémy Léone <[email protected]>
1 parent 3574a0b commit 305cefc

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

cmd/scw/testdata/test-all-usage-webhosting-hosting-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ EXAMPLES:
1212
ARGS:
1313
[order-by] Sort order for Web Hosting plans in the response (created_at_asc | created_at_desc)
1414
[tags.{index}] Tags to filter for, only Web Hosting plans with matching tags will be returned
15-
[statuses.{index}] Statuses to filter for, only Web Hosting plans with matching statuses will be returned (unknown_status | delivering | ready | deleting | error | locked)
15+
[statuses.{index}] Statuses to filter for, only Web Hosting plans with matching statuses will be returned (unknown_status | delivering | ready | deleting | error | locked | migrating)
1616
[domain] Domain to filter for, only Web Hosting plans associated with this domain will be returned
1717
[project-id] Project ID to filter for, only Web Hosting plans from this Project will be returned
1818
[organization-id] Organization ID to filter for, only Web Hosting plans from this Organization will be returned

docs/commands/webhosting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ scw webhosting hosting list [arg=value ...]
151151
|------|---|-------------|
152152
| order-by | One of: `created_at_asc`, `created_at_desc` | Sort order for Web Hosting plans in the response |
153153
| tags.{index} | | Tags to filter for, only Web Hosting plans with matching tags will be returned |
154-
| statuses.{index} | One of: `unknown_status`, `delivering`, `ready`, `deleting`, `error`, `locked` | Statuses to filter for, only Web Hosting plans with matching statuses will be returned |
154+
| statuses.{index} | One of: `unknown_status`, `delivering`, `ready`, `deleting`, `error`, `locked`, `migrating` | Statuses to filter for, only Web Hosting plans with matching statuses will be returned |
155155
| domain | | Domain to filter for, only Web Hosting plans associated with this domain will be returned |
156156
| project-id | | Project ID to filter for, only Web Hosting plans from this Project will be returned |
157157
| organization-id | | Organization ID to filter for, only Web Hosting plans from this Organization will be returned |

internal/namespaces/webhosting/v1alpha1/webhosting_cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func webhostingHostingList() *core.Command {
148148
Required: false,
149149
Deprecated: false,
150150
Positional: false,
151-
EnumValues: []string{"unknown_status", "delivering", "ready", "deleting", "error", "locked"},
151+
EnumValues: []string{"unknown_status", "delivering", "ready", "deleting", "error", "locked", "migrating"},
152152
},
153153
{
154154
Name: "domain",

0 commit comments

Comments
 (0)