Skip to content

Commit 536c634

Browse files
authored
feat(webhosting): add public search domains (#4485)
1 parent 4bcc0e3 commit 536c634

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ require (
2626
github.com/mattn/go-isatty v0.0.20
2727
github.com/moby/buildkit v0.13.2
2828
github.com/opencontainers/go-digest v1.0.0
29-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.31.0.20250131092239-a51ebdefdc36
29+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32
3030
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
3131
github.com/spf13/cobra v1.8.1
3232
github.com/spf13/pflag v1.0.6

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz
463463
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
464464
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
465465
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
466-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.31.0.20250131092239-a51ebdefdc36 h1:dLROID2+dkIx3iRcFa8lHuEM0L07PJjgS5SeveaJl6A=
467-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.31.0.20250131092239-a51ebdefdc36/go.mod h1:kzh+BSAvpoyHHdHBCDhmSWtBc1NbLMZ2lWHqnBoxFks=
466+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32 h1:4+LP7qmsLSGbmc66m1s5dKRMBwztRppfxFKlYqYte/c=
467+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32/go.mod h1:kzh+BSAvpoyHHdHBCDhmSWtBc1NbLMZ2lWHqnBoxFks=
468468
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
469469
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
470470
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=

internal/namespaces/webhosting/v1/webhosting_cli.go

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -704,8 +704,8 @@ func webhostingDNSRecordsGetDNSRecords() *core.Command {
704704

705705
func webhostingDomainCheckOwnership() *core.Command {
706706
return &core.Command{
707-
Short: `"Check whether you own this domain or not."`,
708-
Long: `"Check whether you own this domain or not.".`,
707+
Short: `Check whether you own this domain or not.`,
708+
Long: `Check whether you own this domain or not.`,
709709
Namespace: "webhosting",
710710
Resource: "domain",
711711
Verb: "check-ownership",
@@ -735,8 +735,8 @@ func webhostingDomainCheckOwnership() *core.Command {
735735

736736
func webhostingDomainSyncDNSRecords() *core.Command {
737737
return &core.Command{
738-
Short: `"Synchronize your DNS records on the Elements Console and on cPanel."`,
739-
Long: `"Synchronize your DNS records on the Elements Console and on cPanel.".`,
738+
Short: `Synchronize your DNS records on the Elements Console and on cPanel.`,
739+
Long: `Synchronize your DNS records on the Elements Console and on cPanel.`,
740740
Namespace: "webhosting",
741741
Resource: "domain",
742742
Verb: "sync-dns-records",
@@ -771,6 +771,13 @@ func webhostingDomainSyncDNSRecords() *core.Command {
771771
Deprecated: false,
772772
Positional: false,
773773
},
774+
{
775+
Name: "update-nameservers",
776+
Short: `Whether or not to synchronize domain nameservers.`,
777+
Required: false,
778+
Deprecated: false,
779+
Positional: false,
780+
},
774781
{
775782
Name: "custom-records.{index}.name",
776783
Required: false,

0 commit comments

Comments
 (0)