Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCR: Add support for multiple-registry open beta endpoints #1611

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions commands/command_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ type CmdConfig struct {
Kubernetes func() do.KubernetesService
Databases func() do.DatabasesService
Registry func() do.RegistryService
Registries func() do.RegistriesService
VPCs func() do.VPCsService
OneClicks func() do.OneClickService
Apps func() do.AppsService
Expand Down Expand Up @@ -118,6 +119,7 @@ func NewCmdConfig(ns string, dc doctl.Config, out io.Writer, args []string, init
c.Kubernetes = func() do.KubernetesService { return do.NewKubernetesService(godoClient) }
c.Databases = func() do.DatabasesService { return do.NewDatabasesService(godoClient) }
c.Registry = func() do.RegistryService { return do.NewRegistryService(godoClient) }
c.Registries = func() do.RegistriesService { return do.NewRegistriesService(godoClient) }
c.VPCs = func() do.VPCsService { return do.NewVPCsService(godoClient) }
c.OneClicks = func() do.OneClickService { return do.NewOneClickService(godoClient) }
c.Apps = func() do.AppsService { return do.NewAppsService(godoClient) }
Expand Down
1 change: 1 addition & 0 deletions commands/doit.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ func addCommands() {
DoitCmd.AddCommand(Projects())
DoitCmd.AddCommand(Version())
DoitCmd.AddCommand(Registry())
DoitCmd.AddCommand(Registries())
DoitCmd.AddCommand(VPCs())
DoitCmd.AddCommand(OneClicks())
DoitCmd.AddCommand(Monitoring())
Expand Down
316 changes: 289 additions & 27 deletions commands/registry.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions do/mocks/AccountService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/ActionService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/AppsService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/BalanceService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/BillingHistoryService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/CDNsService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/CertificatesService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/DatabasesService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/DomainService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/DropletActionService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/FirewallsService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/ImageActionsService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/ImageService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/InvoicesService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/KeysService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/KubernetesService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/Listen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/LoadBalancersService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/MonitoringService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/OAuthService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/OneClickService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/ProjectsService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/RegionsService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

99 changes: 99 additions & 0 deletions do/mocks/RegistryService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/ReservedIPActionsService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/ReservedIPsService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/Runner.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/ServerlessService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/SizesService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/SnapshotsService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/TagsService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/UptimeChecksService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/VPCsService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions do/mocks/VolumeActionsService.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading