diff --git a/CHANGELOG.md b/CHANGELOG.md index 6601cc12..31e7f102 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,23 @@ ## To Be Released +## 6.0.0 + +BREAKING CHANGES: + +Linting: +* `App.GitUrl` → `App.GitURL` +* `ContainerStat.CpuUsage` → `ContainerStat.CPUUsage` +* `LogsArchiveItem.Url` → `LogsArchiveItem.URL` +* `PullRequest.Url` → `PullRequest.URL` +* `PullRequest.HtmlUrl` → `PullRequest.HTMLURL` + +Making things more homogeneous: +* `PeriodicBackupsConfig` → `DatabaseUpdatePeriodicBackupsConfig` +* `PeriodicBackupsConfigParams` → `DatabaseUpdatePeriodicBackupsConfigParams` + +Changelog: + * feat(data_access_consent): Add DataAccessConsent field on `app` [#287](https://github.com/Scalingo/go-scalingo/pull/287) * refactor(linting): Fix linter offense on App, ContainerStat, LogsArchiveItem and PullRequest public structs [#288](https://github.com/Scalingo/go-scalingo/pull/288) * feat(databases): Add mock of DatabasesService, unifomize naming [#286](https://github.com/Scalingo/go-scalingo/pull/286) diff --git a/README.md b/README.md index 973c8632..5d1e1715 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [ ![Codeship Status for Scalingo/go-scalingo](https://app.codeship.com/projects/cf518dc0-0034-0136-d6b3-5a0245e77f67/status?branch=master)](https://app.codeship.com/projects/279805) -# Go client for Scalingo API v5.2.2 +# Go client for Scalingo API v6.0.0 This repository is the Go client for the [Scalingo APIs](https://developers.scalingo.com/). @@ -81,10 +81,10 @@ Commit, tag and create a new release: ```sh git add CHANGELOG.md README.md version.go -git commit -m "Bump v5.2.2" -git tag v5.2.2 -git push origin master v5.2.2 -gh release create v5.2.2 +git commit -m "Bump v6.0.0" +git tag v6.0.0 +git push origin master v6.0.0 +gh release create v6.0.0 ``` The title of the release should be the version number and the text of the diff --git a/addons.go b/addons.go index fbbffee4..bd3d2b1e 100644 --- a/addons.go +++ b/addons.go @@ -9,7 +9,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) type AddonsService interface { diff --git a/addons_providers.go b/addons_providers.go index 31d5b7ce..f2955f03 100644 --- a/addons_providers.go +++ b/addons_providers.go @@ -5,7 +5,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) type AddonProvidersService interface { diff --git a/apps.go b/apps.go index 847e9391..fd9fb6d4 100644 --- a/apps.go +++ b/apps.go @@ -7,7 +7,7 @@ import ( "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v5/http" + httpclient "github.com/Scalingo/go-scalingo/v6/http" ) type AppStatus string diff --git a/auth_mock.go b/auth_mock.go index 0d1a726e..899d120f 100644 --- a/auth_mock.go +++ b/auth_mock.go @@ -11,8 +11,8 @@ import ( "github.com/golang-jwt/jwt/v4" "github.com/golang/mock/gomock" - httpclient "github.com/Scalingo/go-scalingo/v5/http" - "github.com/Scalingo/go-scalingo/v5/http/httpmock" + httpclient "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v6/http/httpmock" ) func MockAuth(ctrl *gomock.Controller) *httpmock.MockClient { diff --git a/backups.go b/backups.go index b04a1693..e5ac6a4b 100644 --- a/backups.go +++ b/backups.go @@ -7,7 +7,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) type BackupsService interface { diff --git a/client.go b/client.go index c4ebcdd6..c1d054f5 100644 --- a/client.go +++ b/client.go @@ -7,7 +7,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) type API interface { diff --git a/cmd/gen_events_specialize/main.go b/cmd/gen_events_specialize/main.go index b3b82c18..37213c09 100644 --- a/cmd/gen_events_specialize/main.go +++ b/cmd/gen_events_specialize/main.go @@ -42,7 +42,7 @@ func genSpecialize(types []string) { import ( "encoding/json" - "github.com/Scalingo/go-scalingo/v5/debug" + "github.com/Scalingo/go-scalingo/v6/debug" ) func (pev *Event) Specialize() DetailedEvent { diff --git a/container.go b/container.go index 0cfc8b37..444f9de3 100644 --- a/container.go +++ b/container.go @@ -7,7 +7,7 @@ import ( "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v5/http" + httpclient "github.com/Scalingo/go-scalingo/v6/http" ) type ContainersService interface { diff --git a/container_sizes.go b/container_sizes.go index 13f5d725..f9e5208e 100644 --- a/container_sizes.go +++ b/container_sizes.go @@ -5,7 +5,7 @@ import ( "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v5/http" + httpclient "github.com/Scalingo/go-scalingo/v6/http" ) type ContainerSize struct { diff --git a/database_type_versions.go b/database_type_versions.go index e2bf6d9d..2be8efa6 100644 --- a/database_type_versions.go +++ b/database_type_versions.go @@ -7,7 +7,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) type DatabaseTypeVersionPlugin struct { diff --git a/databases.go b/databases.go index 9069da5c..42fe3b0c 100644 --- a/databases.go +++ b/databases.go @@ -7,7 +7,7 @@ import ( "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v5/http" + httpclient "github.com/Scalingo/go-scalingo/v6/http" ) // DatabasesService is the interface gathering all the methods related to diff --git a/deployments.go b/deployments.go index 9dd0150f..a41bb12e 100644 --- a/deployments.go +++ b/deployments.go @@ -10,7 +10,7 @@ import ( "golang.org/x/net/websocket" "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v5/http" + httpclient "github.com/Scalingo/go-scalingo/v6/http" ) type DeploymentsService interface { diff --git a/env.go b/env.go index 94db28ed..d2af5cef 100644 --- a/env.go +++ b/env.go @@ -6,7 +6,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) type VariablesService interface { diff --git a/events.go b/events.go index 1682952c..781e802d 100644 --- a/events.go +++ b/events.go @@ -9,7 +9,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) type EventsService interface { diff --git a/events_billing.go b/events_billing.go index 76541780..9fdd94cc 100644 --- a/events_billing.go +++ b/events_billing.go @@ -3,7 +3,7 @@ package scalingo import ( "fmt" - "github.com/Scalingo/go-scalingo/v5/billing" + "github.com/Scalingo/go-scalingo/v6/billing" ) type EventAddCreditType struct { diff --git a/events_specialize.go b/events_specialize.go index 12fd101c..70954af0 100644 --- a/events_specialize.go +++ b/events_specialize.go @@ -5,7 +5,7 @@ package scalingo import ( "encoding/json" - "github.com/Scalingo/go-scalingo/v5/debug" + "github.com/Scalingo/go-scalingo/v6/debug" ) func (pev *Event) Specialize() DetailedEvent { diff --git a/events_test.go b/events_test.go index 289626d0..aa5878fa 100644 --- a/events_test.go +++ b/events_test.go @@ -8,7 +8,7 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/Scalingo/go-scalingo/v5/http/httpmock" + "github.com/Scalingo/go-scalingo/v6/http/httpmock" ) var eventsListCases = map[string]struct { diff --git a/events_types.go b/events_types.go index 0fa1af61..3fdb4066 100644 --- a/events_types.go +++ b/events_types.go @@ -5,7 +5,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) type EventCategory struct { diff --git a/examples/app_show/main.go b/examples/app_show/main.go index 11e1f966..d6bbea1f 100644 --- a/examples/app_show/main.go +++ b/examples/app_show/main.go @@ -5,7 +5,7 @@ import ( "fmt" "os" - "github.com/Scalingo/go-scalingo/v5" + "github.com/Scalingo/go-scalingo/v6" ) func main() { diff --git a/examples/backup_download/main.go b/examples/backup_download/main.go index c59dfc6e..26296878 100644 --- a/examples/backup_download/main.go +++ b/examples/backup_download/main.go @@ -7,7 +7,7 @@ import ( "net/http" "os" - "github.com/Scalingo/go-scalingo/v5" + "github.com/Scalingo/go-scalingo/v6" ) func main() { diff --git a/github_link.go b/github_link.go index 5eae55a1..99a9a907 100644 --- a/github_link.go +++ b/github_link.go @@ -5,7 +5,7 @@ import ( "errors" "time" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) var ( diff --git a/go.mod b/go.mod index 3cf75431..3971843b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Scalingo/go-scalingo/v5 +module github.com/Scalingo/go-scalingo/v6 go 1.17 diff --git a/http/api_request.go b/http/api_request.go index 5002776c..74bc7f3c 100644 --- a/http/api_request.go +++ b/http/api_request.go @@ -13,8 +13,8 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/debug" - pkgio "github.com/Scalingo/go-scalingo/v5/io" + "github.com/Scalingo/go-scalingo/v6/debug" + pkgio "github.com/Scalingo/go-scalingo/v6/io" ) type APIRequest struct { diff --git a/http/api_token_generator_test.go b/http/api_token_generator_test.go index ca0c6c82..26f7b7f5 100644 --- a/http/api_token_generator_test.go +++ b/http/api_token_generator_test.go @@ -9,7 +9,7 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/Scalingo/go-scalingo/v5/http/tokensservicemock" + "github.com/Scalingo/go-scalingo/v6/http/tokensservicemock" ) func TestAPITokenGenerator_GetAccessToken(t *testing.T) { diff --git a/http/errors.go b/http/errors.go index 86600d29..75d29f65 100644 --- a/http/errors.go +++ b/http/errors.go @@ -8,7 +8,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/debug" + "github.com/Scalingo/go-scalingo/v6/debug" ) type ( diff --git a/http/httpmock/client_mock.go b/http/httpmock/client_mock.go index f6c560c9..63e23c2b 100644 --- a/http/httpmock/client_mock.go +++ b/http/httpmock/client_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5/http (interfaces: Client) +// Source: github.com/Scalingo/go-scalingo/v6/http (interfaces: Client) // Package httpmock is a generated GoMock package. package httpmock @@ -9,7 +9,7 @@ import ( http0 "net/http" reflect "reflect" - http "github.com/Scalingo/go-scalingo/v5/http" + http "github.com/Scalingo/go-scalingo/v6/http" gomock "github.com/golang/mock/gomock" ) diff --git a/http/tokensservicemock/tokensservice_mock.go b/http/tokensservicemock/tokensservice_mock.go index b18cd251..16305acd 100644 --- a/http/tokensservicemock/tokensservice_mock.go +++ b/http/tokensservicemock/tokensservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5/http (interfaces: TokensService) +// Source: github.com/Scalingo/go-scalingo/v6/http (interfaces: TokensService) // Package tokensservicemock is a generated GoMock package. package tokensservicemock diff --git a/log_drains.go b/log_drains.go index e45e87ff..cbaeae9a 100644 --- a/log_drains.go +++ b/log_drains.go @@ -6,7 +6,7 @@ import ( "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v5/http" + httpclient "github.com/Scalingo/go-scalingo/v6/http" ) type LogDrainsService interface { diff --git a/logs-archives.go b/logs-archives.go index bbd063bf..479d4077 100644 --- a/logs-archives.go +++ b/logs-archives.go @@ -8,7 +8,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) type LogsArchivesService interface { diff --git a/logs.go b/logs.go index 95666098..55750f2b 100644 --- a/logs.go +++ b/logs.go @@ -7,7 +7,7 @@ import ( "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v5/http" + httpclient "github.com/Scalingo/go-scalingo/v6/http" ) type LogsService interface { diff --git a/notification_platforms.go b/notification_platforms.go index 5585bdb1..dbabaf82 100644 --- a/notification_platforms.go +++ b/notification_platforms.go @@ -6,8 +6,8 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/debug" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/debug" + "github.com/Scalingo/go-scalingo/v6/http" ) type NotificationPlatformsService interface { diff --git a/notifier_types.go b/notifier_types.go index 47cf40b7..4ecf6a8e 100644 --- a/notifier_types.go +++ b/notifier_types.go @@ -3,7 +3,7 @@ package scalingo import ( "encoding/json" - "github.com/Scalingo/go-scalingo/v5/debug" + "github.com/Scalingo/go-scalingo/v6/debug" ) // Used to omit attributes diff --git a/notifiers.go b/notifiers.go index 4dbfdd61..65d570ef 100644 --- a/notifiers.go +++ b/notifiers.go @@ -7,7 +7,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/debug" + "github.com/Scalingo/go-scalingo/v6/debug" ) type NotifiersService interface { diff --git a/operations.go b/operations.go index 3db05a9e..bbf58fb3 100644 --- a/operations.go +++ b/operations.go @@ -6,7 +6,7 @@ import ( "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v5/http" + httpclient "github.com/Scalingo/go-scalingo/v6/http" ) type OperationsService interface { diff --git a/region_migrations.go b/region_migrations.go index 2a61bd22..4f868eea 100644 --- a/region_migrations.go +++ b/region_migrations.go @@ -6,7 +6,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) const ( diff --git a/regions.go b/regions.go index 8fa6b0ce..6ccf3007 100644 --- a/regions.go +++ b/regions.go @@ -6,7 +6,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) var ( diff --git a/run.go b/run.go index 1cc9f355..dbfca90e 100644 --- a/run.go +++ b/run.go @@ -7,7 +7,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) type RunsService interface { diff --git a/scalingomock/addonprovidersservice_mock.go b/scalingomock/addonprovidersservice_mock.go index 8c9c19d3..2f1cfd5a 100644 --- a/scalingomock/addonprovidersservice_mock.go +++ b/scalingomock/addonprovidersservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: AddonProvidersService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: AddonProvidersService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/addonsservice_mock.go b/scalingomock/addonsservice_mock.go index 54a88161..ee718a00 100644 --- a/scalingomock/addonsservice_mock.go +++ b/scalingomock/addonsservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: AddonsService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: AddonsService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/alertsservice_mock.go b/scalingomock/alertsservice_mock.go index 132696db..90c63a19 100644 --- a/scalingomock/alertsservice_mock.go +++ b/scalingomock/alertsservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: AlertsService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: AlertsService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/api_mock.go b/scalingomock/api_mock.go index 2c5c70c7..8c40248a 100644 --- a/scalingomock/api_mock.go +++ b/scalingomock/api_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: API) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: API) // Package scalingomock is a generated GoMock package. package scalingomock @@ -9,8 +9,8 @@ import ( http0 "net/http" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" - http "github.com/Scalingo/go-scalingo/v5/http" + scalingo "github.com/Scalingo/go-scalingo/v6" + http "github.com/Scalingo/go-scalingo/v6/http" gomock "github.com/golang/mock/gomock" websocket "golang.org/x/net/websocket" ) diff --git a/scalingomock/appsservice_mock.go b/scalingomock/appsservice_mock.go index 498dc61b..18975c15 100644 --- a/scalingomock/appsservice_mock.go +++ b/scalingomock/appsservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: AppsService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: AppsService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -9,7 +9,7 @@ import ( http "net/http" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/autoscalersservice_mock.go b/scalingomock/autoscalersservice_mock.go index 24537a6f..67ca7e60 100644 --- a/scalingomock/autoscalersservice_mock.go +++ b/scalingomock/autoscalersservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: AutoscalersService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: AutoscalersService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/backupsservice_mock.go b/scalingomock/backupsservice_mock.go index f4210274..ed3c8054 100644 --- a/scalingomock/backupsservice_mock.go +++ b/scalingomock/backupsservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: BackupsService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: BackupsService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/collaboratorsservice_mock.go b/scalingomock/collaboratorsservice_mock.go index bbaec357..00ac587f 100644 --- a/scalingomock/collaboratorsservice_mock.go +++ b/scalingomock/collaboratorsservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: CollaboratorsService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: CollaboratorsService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/containersizesservice_mock.go b/scalingomock/containersizesservice_mock.go index 29252d59..d065547f 100644 --- a/scalingomock/containersizesservice_mock.go +++ b/scalingomock/containersizesservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: ContainerSizesService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: ContainerSizesService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/containersservice_mock.go b/scalingomock/containersservice_mock.go index dd9dad4f..bb528e02 100644 --- a/scalingomock/containersservice_mock.go +++ b/scalingomock/containersservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: ContainersService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: ContainersService) // Package scalingomock is a generated GoMock package. package scalingomock diff --git a/scalingomock/crontasksservice_mock.go b/scalingomock/crontasksservice_mock.go index 65f75614..90f04210 100644 --- a/scalingomock/crontasksservice_mock.go +++ b/scalingomock/crontasksservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: CronTasksService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: CronTasksService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/databasesservice_mock.go b/scalingomock/databasesservice_mock.go index 3608f2fa..ef1aa6ee 100644 --- a/scalingomock/databasesservice_mock.go +++ b/scalingomock/databasesservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: DatabasesService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: DatabasesService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/deploymentsservice_mock.go b/scalingomock/deploymentsservice_mock.go index ade11817..616722d5 100644 --- a/scalingomock/deploymentsservice_mock.go +++ b/scalingomock/deploymentsservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: DeploymentsService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: DeploymentsService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -9,7 +9,7 @@ import ( http "net/http" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" websocket "golang.org/x/net/websocket" ) diff --git a/scalingomock/domainsservice_mock.go b/scalingomock/domainsservice_mock.go index 809496ae..cad4ccd3 100644 --- a/scalingomock/domainsservice_mock.go +++ b/scalingomock/domainsservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: DomainsService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: DomainsService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/eventsservice_mock.go b/scalingomock/eventsservice_mock.go index 2bee0a49..e2cbe4af 100644 --- a/scalingomock/eventsservice_mock.go +++ b/scalingomock/eventsservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: EventsService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: EventsService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/keysservice_mock.go b/scalingomock/keysservice_mock.go index 56d6cc03..d23cc266 100644 --- a/scalingomock/keysservice_mock.go +++ b/scalingomock/keysservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: KeysService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: KeysService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/logdrainsservice_mock.go b/scalingomock/logdrainsservice_mock.go index 42b49da4..eed402ea 100644 --- a/scalingomock/logdrainsservice_mock.go +++ b/scalingomock/logdrainsservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: LogDrainsService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: LogDrainsService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/logsarchivesservice_mock.go b/scalingomock/logsarchivesservice_mock.go index 4c0a487f..c962db46 100644 --- a/scalingomock/logsarchivesservice_mock.go +++ b/scalingomock/logsarchivesservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: LogsArchivesService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: LogsArchivesService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/logsservice_mock.go b/scalingomock/logsservice_mock.go index 8599110c..2e8b3fcc 100644 --- a/scalingomock/logsservice_mock.go +++ b/scalingomock/logsservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: LogsService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: LogsService) // Package scalingomock is a generated GoMock package. package scalingomock diff --git a/scalingomock/notificationplatformsservice_mock.go b/scalingomock/notificationplatformsservice_mock.go index b8d8f165..d69aa148 100644 --- a/scalingomock/notificationplatformsservice_mock.go +++ b/scalingomock/notificationplatformsservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: NotificationPlatformsService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: NotificationPlatformsService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/notifiersservice_mock.go b/scalingomock/notifiersservice_mock.go index 113bd081..cf87a610 100644 --- a/scalingomock/notifiersservice_mock.go +++ b/scalingomock/notifiersservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: NotifiersService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: NotifiersService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/operationsservice_mock.go b/scalingomock/operationsservice_mock.go index b21904c0..890f879e 100644 --- a/scalingomock/operationsservice_mock.go +++ b/scalingomock/operationsservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: OperationsService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: OperationsService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/regionmigrationsservice_mock.go b/scalingomock/regionmigrationsservice_mock.go index 0cfc6fb1..0fb408b9 100644 --- a/scalingomock/regionmigrationsservice_mock.go +++ b/scalingomock/regionmigrationsservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: RegionMigrationsService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: RegionMigrationsService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/regionsservice_mock.go b/scalingomock/regionsservice_mock.go index bac2b008..008ac47d 100644 --- a/scalingomock/regionsservice_mock.go +++ b/scalingomock/regionsservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: RegionsService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: RegionsService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/runsservice_mock.go b/scalingomock/runsservice_mock.go index 7c3c23b9..da29919d 100644 --- a/scalingomock/runsservice_mock.go +++ b/scalingomock/runsservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: RunsService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: RunsService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/scmrepolinkservice_mock.go b/scalingomock/scmrepolinkservice_mock.go index 2564161b..29ddbf19 100644 --- a/scalingomock/scmrepolinkservice_mock.go +++ b/scalingomock/scmrepolinkservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: SCMRepoLinkService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: SCMRepoLinkService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/signupservice_mock.go b/scalingomock/signupservice_mock.go index 46274c15..5e9f1f3c 100644 --- a/scalingomock/signupservice_mock.go +++ b/scalingomock/signupservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: SignUpService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: SignUpService) // Package scalingomock is a generated GoMock package. package scalingomock diff --git a/scalingomock/sourcesservice_mock.go b/scalingomock/sourcesservice_mock.go index 7e0443ca..f7c73e22 100644 --- a/scalingomock/sourcesservice_mock.go +++ b/scalingomock/sourcesservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: SourcesService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: SourcesService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/tokensservice_mock.go b/scalingomock/tokensservice_mock.go index f6d2c41a..c4974ca5 100644 --- a/scalingomock/tokensservice_mock.go +++ b/scalingomock/tokensservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: TokensService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: TokensService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/usersservice_mock.go b/scalingomock/usersservice_mock.go index 6c8e40fd..c89178d5 100644 --- a/scalingomock/usersservice_mock.go +++ b/scalingomock/usersservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: UsersService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: UsersService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/variablesservice_mock.go b/scalingomock/variablesservice_mock.go index b29c73ef..52054c8f 100644 --- a/scalingomock/variablesservice_mock.go +++ b/scalingomock/variablesservice_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/Scalingo/go-scalingo/v5 (interfaces: VariablesService) +// Source: github.com/Scalingo/go-scalingo/v6 (interfaces: VariablesService) // Package scalingomock is a generated GoMock package. package scalingomock @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - scalingo "github.com/Scalingo/go-scalingo/v5" + scalingo "github.com/Scalingo/go-scalingo/v6" gomock "github.com/golang/mock/gomock" ) diff --git a/scm_integrations.go b/scm_integrations.go index d557cc5c..ef29ba9b 100644 --- a/scm_integrations.go +++ b/scm_integrations.go @@ -6,7 +6,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) type SCMType string diff --git a/scm_repo_link.go b/scm_repo_link.go index d61219f1..770fcf09 100644 --- a/scm_repo_link.go +++ b/scm_repo_link.go @@ -6,7 +6,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) type SCMRepoLinkService interface { diff --git a/signup.go b/signup.go index a6434158..1a247c7a 100644 --- a/signup.go +++ b/signup.go @@ -5,7 +5,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) type SignUpService interface { diff --git a/stacks.go b/stacks.go index e8bb688c..67efbe80 100644 --- a/stacks.go +++ b/stacks.go @@ -6,7 +6,7 @@ import ( "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v5/http" + httpclient "github.com/Scalingo/go-scalingo/v6/http" ) type DeprecationDate struct { diff --git a/stacks_test.go b/stacks_test.go index fff4005f..a522455e 100644 --- a/stacks_test.go +++ b/stacks_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/Scalingo/go-scalingo/v5/http/httpmock" + "github.com/Scalingo/go-scalingo/v6/http/httpmock" "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/tokens.go b/tokens.go index 876b39ec..908844c7 100644 --- a/tokens.go +++ b/tokens.go @@ -9,7 +9,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) type TokensService interface { diff --git a/users.go b/users.go index 270517f3..0bbc6654 100644 --- a/users.go +++ b/users.go @@ -6,7 +6,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v5/http" + "github.com/Scalingo/go-scalingo/v6/http" ) type UsersService interface { diff --git a/version.go b/version.go index 86131b1b..5fd6fc8e 100644 --- a/version.go +++ b/version.go @@ -1,3 +1,3 @@ package scalingo -var Version = "5.2.2" +var Version = "6.0.0"