diff --git a/cmd/scw/testdata/test-all-usage-apple-silicon-server-update-usage.golden b/cmd/scw/testdata/test-all-usage-apple-silicon-server-update-usage.golden index 7895b5d5f..d84be4eb7 100644 --- a/cmd/scw/testdata/test-all-usage-apple-silicon-server-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-apple-silicon-server-update-usage.golden @@ -3,11 +3,11 @@ Update the parameters of an existing Apple silicon server, specified by its server ID. USAGE: - scw apple-silicon server update [arg=value ...] + scw apple-silicon server update [arg=value ...] ARGS: server-id UUID of the server you want to update - name Updated name for your server + [name] Updated name for your server [schedule-deletion] Specify whether the server should be flagged for automatic deletion [enable-vpc] Activate or deactivate Private Network support for this server [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3) diff --git a/cmd/scw/testdata/test-all-usage-container-domain-create-usage.golden b/cmd/scw/testdata/test-all-usage-container-domain-create-usage.golden index f141f0302..a365a53b6 100644 --- a/cmd/scw/testdata/test-all-usage-container-domain-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-container-domain-create-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Create a domain name binding for the container with the specified ID. +Create a custom domain for the container with the specified ID. USAGE: scw container domain create [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-container-domain-delete-usage.golden b/cmd/scw/testdata/test-all-usage-container-domain-delete-usage.golden index 773a22f1f..fe91e34b1 100644 --- a/cmd/scw/testdata/test-all-usage-container-domain-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-container-domain-delete-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Delete the domain name binding with the specific ID. +Delete the custom domain with the specific ID. USAGE: scw container domain delete [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-container-domain-get-usage.golden b/cmd/scw/testdata/test-all-usage-container-domain-get-usage.golden index d158b0fca..3453833b5 100644 --- a/cmd/scw/testdata/test-all-usage-container-domain-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-container-domain-get-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Get a domain name binding for the container with the specified ID. +Get a custom domain for the container with the specified ID. USAGE: scw container domain get [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-container-domain-list-usage.golden b/cmd/scw/testdata/test-all-usage-container-domain-list-usage.golden index e5c2ea205..45fa7f192 100644 --- a/cmd/scw/testdata/test-all-usage-container-domain-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-container-domain-list-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -List all domain name bindings in a specified region. +List all custom domains in a specified region. USAGE: scw container domain list [arg=value ...] diff --git a/cmd/scw/testdata/test-all-usage-container-domain-usage.golden b/cmd/scw/testdata/test-all-usage-container-domain-usage.golden index 089f061ce..48b14b1e8 100644 --- a/cmd/scw/testdata/test-all-usage-container-domain-usage.golden +++ b/cmd/scw/testdata/test-all-usage-container-domain-usage.golden @@ -6,10 +6,10 @@ USAGE: scw container domain AVAILABLE COMMANDS: - create Create a domain name binding - delete Delete a domain name binding - get Get a domain name binding - list List all domain name bindings + create Create a custom domain + delete Delete a custom domain + get Get a custom domain + list List all custom domains FLAGS: -h, --help help for domain diff --git a/docs/commands/apple-silicon.md b/docs/commands/apple-silicon.md index 0bb2cea94..614d7bdf7 100644 --- a/docs/commands/apple-silicon.md +++ b/docs/commands/apple-silicon.md @@ -228,7 +228,7 @@ Update the parameters of an existing Apple silicon server, specified by its serv **Usage:** ``` -scw apple-silicon server update [arg=value ...] +scw apple-silicon server update [arg=value ...] ``` @@ -237,7 +237,7 @@ scw apple-silicon server update [arg=value ...] | Name | | Description | |------|---|-------------| | server-id | Required | UUID of the server you want to update | -| name | Required | Updated name for your server | +| name | | Updated name for your server | | schedule-deletion | | Specify whether the server should be flagged for automatic deletion | | enable-vpc | | Activate or deactivate Private Network support for this server | | zone | Default: `fr-par-1`
One of: `fr-par-3` | Zone to target. If none is passed will use default zone from the config | diff --git a/docs/commands/container.md b/docs/commands/container.md index 9ee1331ff..4277f3826 100644 --- a/docs/commands/container.md +++ b/docs/commands/container.md @@ -17,10 +17,10 @@ This API allows you to manage your Serverless Containers. - [Update an existing cron](#update-an-existing-cron) - [Deploy a container](#deploy-a-container) - [Domain management commands](#domain-management-commands) - - [Create a domain name binding](#create-a-domain-name-binding) - - [Delete a domain name binding](#delete-a-domain-name-binding) - - [Get a domain name binding](#get-a-domain-name-binding) - - [List all domain name bindings](#list-all-domain-name-bindings) + - [Create a custom domain](#create-a-custom-domain) + - [Delete a custom domain](#delete-a-custom-domain) + - [Get a custom domain](#get-a-custom-domain) + - [List all custom domains](#list-all-custom-domains) - [Namespace management commands](#namespace-management-commands) - [Create a new namespace](#create-a-new-namespace) - [Delete an existing namespace](#delete-an-existing-namespace) @@ -366,9 +366,9 @@ scw container deploy [arg=value ...] Domain management commands. -### Create a domain name binding +### Create a custom domain -Create a domain name binding for the container with the specified ID. +Create a custom domain for the container with the specified ID. **Usage:** @@ -387,9 +387,9 @@ scw container domain create [arg=value ...] -### Delete a domain name binding +### Delete a custom domain -Delete the domain name binding with the specific ID. +Delete the custom domain with the specific ID. **Usage:** @@ -407,9 +407,9 @@ scw container domain delete [arg=value ...] -### Get a domain name binding +### Get a custom domain -Get a domain name binding for the container with the specified ID. +Get a custom domain for the container with the specified ID. **Usage:** @@ -427,9 +427,9 @@ scw container domain get [arg=value ...] -### List all domain name bindings +### List all custom domains -List all domain name bindings in a specified region. +List all custom domains in a specified region. **Usage:** diff --git a/go.mod b/go.mod index 802dd66bf..1683a9006 100644 --- a/go.mod +++ b/go.mod @@ -6,8 +6,8 @@ toolchain go1.22.2 require ( github.com/alecthomas/assert v1.0.0 - github.com/aws/aws-sdk-go-v2 v1.32.7 - github.com/aws/aws-sdk-go-v2/service/s3 v1.72.0 + github.com/aws/aws-sdk-go-v2 v1.32.8 + github.com/aws/aws-sdk-go-v2/service/s3 v1.72.2 github.com/buildpacks/pack v0.34.2 github.com/c-bata/go-prompt v0.2.6 github.com/charmbracelet/bubbletea v1.2.4 @@ -26,7 +26,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.30.0.20241226101018-6140d56d1e5c + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20250108093124-1be16fad27b2 github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.8.1 github.com/spf13/pflag v1.0.5 @@ -63,16 +63,16 @@ require ( github.com/aws/aws-sdk-go-v2/config v1.27.7 // indirect github.com/aws/aws-sdk-go-v2/credentials v1.17.7 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.15.3 // indirect - github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.26 // indirect - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.26 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.27 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.27 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 // indirect - github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.26 // indirect + github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.27 // indirect github.com/aws/aws-sdk-go-v2/service/ecr v1.24.5 // indirect github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.21.5 // indirect github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.1 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.7 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.7 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.7 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.8 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.8 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.8 // indirect github.com/aws/aws-sdk-go-v2/service/sso v1.20.2 // indirect github.com/aws/aws-sdk-go-v2/service/ssooidc v1.23.2 // indirect github.com/aws/aws-sdk-go-v2/service/sts v1.28.4 // indirect diff --git a/go.sum b/go.sum index d5e0b3331..ae5ffcdec 100644 --- a/go.sum +++ b/go.sum @@ -66,8 +66,8 @@ github.com/aphistic/sweet v0.2.0/go.mod h1:fWDlIh/isSE9n6EPsRmC0det+whmX6dJid3st github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/aws/aws-sdk-go v1.20.6/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go-v2 v1.32.7 h1:ky5o35oENWi0JYWUZkB7WYvVPP+bcRF5/Iq7JWSb5Rw= -github.com/aws/aws-sdk-go-v2 v1.32.7/go.mod h1:P5WJBrYqqbWVaOxgH0X/FYYD47/nooaPOZPlQdmiN2U= +github.com/aws/aws-sdk-go-v2 v1.32.8 h1:cZV+NUS/eGxKXMtmyhtYPJ7Z4YLoI/V8bkTdRZfYhGo= +github.com/aws/aws-sdk-go-v2 v1.32.8/go.mod h1:P5WJBrYqqbWVaOxgH0X/FYYD47/nooaPOZPlQdmiN2U= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.7 h1:lL7IfaFzngfx0ZwUGOZdsFFnQ5uLvR0hWqqhyE7Q9M8= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.7/go.mod h1:QraP0UcVlQJsmHfioCrveWOC1nbiWUl3ej08h4mXWoc= github.com/aws/aws-sdk-go-v2/config v1.27.7 h1:JSfb5nOQF01iOgxFI5OIKWwDiEXWTyTgg1Mm1mHi0A4= @@ -76,28 +76,28 @@ github.com/aws/aws-sdk-go-v2/credentials v1.17.7 h1:WJd+ubWKoBeRh7A5iNMnxEOs982S github.com/aws/aws-sdk-go-v2/credentials v1.17.7/go.mod h1:UQi7LMR0Vhvs+44w5ec8Q+VS+cd10cjwgHwiVkE0YGU= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.15.3 h1:p+y7FvkK2dxS+FEwRIDHDe//ZX+jDhP8HHE50ppj4iI= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.15.3/go.mod h1:/fYB+FZbDlwlAiynK9KDXlzZl3ANI9JkD0Uhz5FjNT4= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.26 h1:I/5wmGMffY4happ8NOCuIUEWGUvvFp5NSeQcXl9RHcI= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.26/go.mod h1:FR8f4turZtNy6baO0KJ5FJUmXH/cSkI9fOngs0yl6mA= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.26 h1:zXFLuEuMMUOvEARXFUVJdfqZ4bvvSgdGRq/ATcrQxzM= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.26/go.mod h1:3o2Wpy0bogG1kyOPrgkXA8pgIfEEv0+m19O9D5+W8y8= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.27 h1:jSJjSBzw8VDIbWv+mmvBSP8ezsztMYJGH+eKqi9AmNs= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.27/go.mod h1:/DAhLbFRgwhmvJdOfSm+WwikZrCuUJiA4WgJG0fTNSw= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.27 h1:l+X4K77Dui85pIj5foXDhPlnqcNRG2QUyvca300lXh8= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.27/go.mod h1:KvZXSFEXm6x84yE8qffKvT3x8J5clWnVFXphpohhzJ8= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 h1:hT8rVHwugYE2lEfdFE0QWVo81lF7jMrYJVDWI+f+VxU= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0/go.mod h1:8tu/lYfQfFe6IGnaOdrpVgEL2IrrDOf6/m9RQum4NkY= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.26 h1:GeNJsIFHB+WW5ap2Tec4K6dzcVTsRbsT1Lra46Hv9ME= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.26/go.mod h1:zfgMpwHDXX2WGoG84xG2H+ZlPTkJUU4YUvx2svLQYWo= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.27 h1:AmB5QxnD+fBFrg9LcqzkgF/CaYvMyU/BTlejG4t1S7Q= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.27/go.mod h1:Sai7P3xTiyv9ZUYO3IFxMnmiIP759/67iQbU4kdmkyU= github.com/aws/aws-sdk-go-v2/service/ecr v1.24.5 h1:wLPDAUFT50NEXGXpywRU3AA74pg35RJjWol/68ruvQQ= github.com/aws/aws-sdk-go-v2/service/ecr v1.24.5/go.mod h1:AOHmGMoPtSY9Zm2zBuwUJQBisIvYAZeA1n7b6f4e880= github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.21.5 h1:PQp21GBlGNaQ+AVJAB8w2KTmLx0DkFS2fDET2Iy3+f0= github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.21.5/go.mod h1:WMntdAol8KgeYsa5sDZPsRTXs4jVZIMYu0eQVVIQxnc= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.1 h1:iXtILhvDxB6kPvEXgsDhGaZCSC6LQET5ZHSdJozeI0Y= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.1/go.mod h1:9nu0fVANtYiAePIBh2/pFUSwtJ402hLnp854CNoDOeE= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.7 h1:tB4tNw83KcajNAzaIMhkhVI2Nt8fAZd5A5ro113FEMY= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.7/go.mod h1:lvpyBGkZ3tZ9iSsUIcC2EWp+0ywa7aK3BLT+FwZi+mQ= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.7 h1:8eUsivBQzZHqe/3FE+cqwfH+0p5Jo8PFM/QYQSmeZ+M= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.7/go.mod h1:kLPQvGUmxn/fqiCrDeohwG33bq2pQpGeY62yRO6Nrh0= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.7 h1:Hi0KGbrnr57bEHWM0bJ1QcBzxLrL/k2DHvGYhb8+W1w= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.7/go.mod h1:wKNgWgExdjjrm4qvfbTorkvocEstaoDl4WCvGfeCy9c= -github.com/aws/aws-sdk-go-v2/service/s3 v1.72.0 h1:SAfh4pNx5LuTafKKWR02Y+hL3A+3TX8cTKG1OIAJaBk= -github.com/aws/aws-sdk-go-v2/service/s3 v1.72.0/go.mod h1:r+xl5yzMk9083rMR+sJ5TYj9Tihvf/l1oxzZXDgGj2Q= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.8 h1:iwYS40JnrBeA9e9aI5S6KKN4EB2zR4iUVYN0nwVivz4= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.8/go.mod h1:Fm9Mi+ApqmFiknZtGpohVcBGvpTu542VC4XO9YudRi0= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.8 h1:cWno7lefSH6Pp+mSznagKCgfDGeZRin66UvYUqAkyeA= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.8/go.mod h1:tPD+VjU3ABTBoEJ3nctu5Nyg4P4yjqSH5bJGGkY4+XE= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.8 h1:/Mn7gTedG86nbpjT4QEKsN1D/fThiYe1qvq7WsBGNHg= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.8/go.mod h1:Ae3va9LPmvjj231ukHB6UeT8nS7wTPfC3tMZSZMwNYg= +github.com/aws/aws-sdk-go-v2/service/s3 v1.72.2 h1:a7aQ3RW+ug4IbhoQp29NZdc7vqrzKZZfWZSaQAXOZvQ= +github.com/aws/aws-sdk-go-v2/service/s3 v1.72.2/go.mod h1:xMekrnhmJ5aqmyxtmALs7mlvXw5xRh+eYjOjvrIIFJ4= github.com/aws/aws-sdk-go-v2/service/sso v1.20.2 h1:XOPfar83RIRPEzfihnp+U6udOveKZJvPQ76SKWrLRHc= github.com/aws/aws-sdk-go-v2/service/sso v1.20.2/go.mod h1:Vv9Xyk1KMHXrR3vNQe8W5LMFdTjSeWk0gBZBzvf3Qa0= github.com/aws/aws-sdk-go-v2/service/ssooidc v1.23.2 h1:pi0Skl6mNl2w8qWZXcdOyg197Zsf4G97U7Sso9JXGZE= @@ -464,8 +464,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.30.0.20241226101018-6140d56d1e5c h1:GvJhbvUDbkkz8ts+hmLhv9SPgj/DLaH+Qj7rbxV+jkw= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241226101018-6140d56d1e5c/go.mod h1:kzh+BSAvpoyHHdHBCDhmSWtBc1NbLMZ2lWHqnBoxFks= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20250108093124-1be16fad27b2 h1:zPlwMJ1eKWpII1TWrasa7/Q+mC1KumZlxyqTQrhHKA8= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20250108093124-1be16fad27b2/go.mod h1:kzh+BSAvpoyHHdHBCDhmSWtBc1NbLMZ2lWHqnBoxFks= 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/applesilicon/v1alpha1/applesilicon_cli.go b/internal/namespaces/applesilicon/v1alpha1/applesilicon_cli.go index cd594a564..57ae21a40 100644 --- a/internal/namespaces/applesilicon/v1alpha1/applesilicon_cli.go +++ b/internal/namespaces/applesilicon/v1alpha1/applesilicon_cli.go @@ -352,14 +352,14 @@ func appleSiliconServerUpdate() *core.Command { Short: `UUID of the server you want to update`, Required: true, Deprecated: false, - Positional: false, + Positional: true, }, { Name: "name", Short: `Updated name for your server`, - Required: true, + Required: false, Deprecated: false, - Positional: true, + Positional: false, }, { Name: "schedule-deletion", diff --git a/internal/namespaces/container/v1beta1/container_cli.go b/internal/namespaces/container/v1beta1/container_cli.go index 01ef39553..4b23c8735 100644 --- a/internal/namespaces/container/v1beta1/container_cli.go +++ b/internal/namespaces/container/v1beta1/container_cli.go @@ -1137,8 +1137,8 @@ func containerCronDelete() *core.Command { func containerDomainList() *core.Command { return &core.Command{ - Short: `List all domain name bindings`, - Long: `List all domain name bindings in a specified region.`, + Short: `List all custom domains`, + Long: `List all custom domains in a specified region.`, Namespace: "container", Resource: "domain", Verb: "list", @@ -1184,8 +1184,8 @@ func containerDomainList() *core.Command { func containerDomainGet() *core.Command { return &core.Command{ - Short: `Get a domain name binding`, - Long: `Get a domain name binding for the container with the specified ID.`, + Short: `Get a custom domain`, + Long: `Get a custom domain for the container with the specified ID.`, Namespace: "container", Resource: "domain", Verb: "get", @@ -1214,8 +1214,8 @@ func containerDomainGet() *core.Command { func containerDomainCreate() *core.Command { return &core.Command{ - Short: `Create a domain name binding`, - Long: `Create a domain name binding for the container with the specified ID.`, + Short: `Create a custom domain`, + Long: `Create a custom domain for the container with the specified ID.`, Namespace: "container", Resource: "domain", Verb: "create", @@ -1251,8 +1251,8 @@ func containerDomainCreate() *core.Command { func containerDomainDelete() *core.Command { return &core.Command{ - Short: `Delete a domain name binding`, - Long: `Delete the domain name binding with the specific ID.`, + Short: `Delete a custom domain`, + Long: `Delete the custom domain with the specific ID.`, Namespace: "container", Resource: "domain", Verb: "delete",