diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d16291a..4763697a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## To Be Released +## 7.0.0 + +* feat(domains): Add `letsencrypt_enabled` parameter +* BREAKING: api(domains): Change signature of `DomainsAdd`, add method `DomainsUpdate` + ## 6.7.7 * feat(databases): add databases user update diff --git a/README.md b/README.md index 6a6411e6..17a14ae1 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 v6.7.7 +# Go client for Scalingo API v7.0.0 This repository is the Go client for the [Scalingo APIs](https://developers.scalingo.com/). @@ -10,7 +10,7 @@ This repository is the Go client for the [Scalingo APIs](https://developers.scal package main import ( - "github.com/Scalingo/go-scalingo/v6" + "github.com/Scalingo/go-scalingo/v7" ) func getClient() (*scalingo.Client, error) { @@ -80,7 +80,7 @@ Bump new version number in: Commit, tag and create a new release: ```sh -version="6.7.7" +version="7.0.0" git switch --create release/${version} git add CHANGELOG.md README.md version.go diff --git a/addons.go b/addons.go index bd3d2b1e..25e7f62e 100644 --- a/addons.go +++ b/addons.go @@ -9,7 +9,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v7/http" ) type AddonsService interface { diff --git a/addons_providers.go b/addons_providers.go index f2955f03..69940727 100644 --- a/addons_providers.go +++ b/addons_providers.go @@ -5,7 +5,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v7/http" ) type AddonProvidersService interface { diff --git a/apps.go b/apps.go index 9ac461ca..b0d4256c 100644 --- a/apps.go +++ b/apps.go @@ -7,7 +7,7 @@ import ( "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v6/http" + httpclient "github.com/Scalingo/go-scalingo/v7/http" ) type AppStatus string diff --git a/auth_mock.go b/auth_mock.go index 899d120f..41ac9e55 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/v6/http" - "github.com/Scalingo/go-scalingo/v6/http/httpmock" + httpclient "github.com/Scalingo/go-scalingo/v7/http" + "github.com/Scalingo/go-scalingo/v7/http/httpmock" ) func MockAuth(ctrl *gomock.Controller) *httpmock.MockClient { diff --git a/backups.go b/backups.go index 766205de..5d9badc6 100644 --- a/backups.go +++ b/backups.go @@ -7,7 +7,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v7/http" ) type BackupsService interface { diff --git a/client.go b/client.go index ba3c87fa..f57a4fd0 100644 --- a/client.go +++ b/client.go @@ -7,7 +7,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v7/http" ) type API interface { diff --git a/cmd/gen_events_specialize/main.go b/cmd/gen_events_specialize/main.go index 37213c09..f1bacc20 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/v6/debug" + "github.com/Scalingo/go-scalingo/v7/debug" ) func (pev *Event) Specialize() DetailedEvent { diff --git a/container.go b/container.go index 43dafff1..f89d813d 100644 --- a/container.go +++ b/container.go @@ -7,7 +7,7 @@ import ( "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v6/http" + httpclient "github.com/Scalingo/go-scalingo/v7/http" ) type ContainersService interface { diff --git a/container_sizes.go b/container_sizes.go index f9e5208e..3c3e316f 100644 --- a/container_sizes.go +++ b/container_sizes.go @@ -5,7 +5,7 @@ import ( "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v6/http" + httpclient "github.com/Scalingo/go-scalingo/v7/http" ) type ContainerSize struct { diff --git a/database_type_versions.go b/database_type_versions.go index 2be8efa6..6ea24b62 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/v6/http" + "github.com/Scalingo/go-scalingo/v7/http" ) type DatabaseTypeVersionPlugin struct { diff --git a/databases.go b/databases.go index a151f108..cde5591e 100644 --- a/databases.go +++ b/databases.go @@ -7,7 +7,7 @@ import ( "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v6/http" + httpclient "github.com/Scalingo/go-scalingo/v7/http" "github.com/Scalingo/go-utils/errors/v2" ) diff --git a/deployments.go b/deployments.go index 9a7a5e32..439c8948 100644 --- a/deployments.go +++ b/deployments.go @@ -10,7 +10,7 @@ import ( "github.com/gorilla/websocket" "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v6/http" + httpclient "github.com/Scalingo/go-scalingo/v7/http" ) type DeploymentsService interface { diff --git a/env.go b/env.go index d2af5cef..9481471d 100644 --- a/env.go +++ b/env.go @@ -6,7 +6,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v7/http" ) type VariablesService interface { diff --git a/events.go b/events.go index 781e802d..4dedea19 100644 --- a/events.go +++ b/events.go @@ -9,7 +9,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v7/http" ) type EventsService interface { diff --git a/events_billing.go b/events_billing.go index ee87f7a6..9329b824 100644 --- a/events_billing.go +++ b/events_billing.go @@ -3,7 +3,7 @@ package scalingo import ( "fmt" - "github.com/Scalingo/go-scalingo/v6/billing" + "github.com/Scalingo/go-scalingo/v7/billing" ) type EventAddCreditType struct { diff --git a/events_specialize.go b/events_specialize.go index 972269cd..d445815e 100644 --- a/events_specialize.go +++ b/events_specialize.go @@ -5,7 +5,7 @@ package scalingo import ( "encoding/json" - "github.com/Scalingo/go-scalingo/v6/debug" + "github.com/Scalingo/go-scalingo/v7/debug" ) func (pev *Event) Specialize() DetailedEvent { diff --git a/events_test.go b/events_test.go index aa5878fa..6ff6c891 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/v6/http/httpmock" + "github.com/Scalingo/go-scalingo/v7/http/httpmock" ) var eventsListCases = map[string]struct { diff --git a/events_types.go b/events_types.go index 3fdb4066..1da9e8ae 100644 --- a/events_types.go +++ b/events_types.go @@ -5,7 +5,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v7/http" ) type EventCategory struct { diff --git a/examples/app_show/main.go b/examples/app_show/main.go index d6bbea1f..8aa97853 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/v6" + "github.com/Scalingo/go-scalingo/v7" ) func main() { diff --git a/examples/backup_download/main.go b/examples/backup_download/main.go index 26296878..3d00d1a1 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/v6" + "github.com/Scalingo/go-scalingo/v7" ) func main() { diff --git a/go.mod b/go.mod index 93a9af3d..bdba8dac 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Scalingo/go-scalingo/v6 +module github.com/Scalingo/go-scalingo/v7 go 1.20 diff --git a/http/api_request.go b/http/api_request.go index 5078d08f..f50f049a 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/v6/debug" - pkgio "github.com/Scalingo/go-scalingo/v6/io" + "github.com/Scalingo/go-scalingo/v7/debug" + pkgio "github.com/Scalingo/go-scalingo/v7/io" ) type APIRequest struct { diff --git a/http/api_token_generator_test.go b/http/api_token_generator_test.go index 26f7b7f5..9c61e8eb 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/v6/http/tokensservicemock" + "github.com/Scalingo/go-scalingo/v7/http/tokensservicemock" ) func TestAPITokenGenerator_GetAccessToken(t *testing.T) { diff --git a/http/errors.go b/http/errors.go index 02424244..73a48d29 100644 --- a/http/errors.go +++ b/http/errors.go @@ -8,7 +8,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/debug" + "github.com/Scalingo/go-scalingo/v7/debug" errorspkg "github.com/Scalingo/go-utils/errors/v2" ) diff --git a/http/httpmock/client_mock.go b/http/httpmock/client_mock.go index 63e23c2b..e07e3064 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/v6/http (interfaces: Client) +// Source: github.com/Scalingo/go-scalingo/v7/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/v6/http" + http "github.com/Scalingo/go-scalingo/v7/http" gomock "github.com/golang/mock/gomock" ) diff --git a/http/tokensservicemock/tokensservice_mock.go b/http/tokensservicemock/tokensservice_mock.go index 16305acd..628f5524 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/v6/http (interfaces: TokensService) +// Source: github.com/Scalingo/go-scalingo/v7/http (interfaces: TokensService) // Package tokensservicemock is a generated GoMock package. package tokensservicemock diff --git a/log_drains.go b/log_drains.go index cbaeae9a..1c593eaf 100644 --- a/log_drains.go +++ b/log_drains.go @@ -6,7 +6,7 @@ import ( "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v6/http" + httpclient "github.com/Scalingo/go-scalingo/v7/http" ) type LogDrainsService interface { diff --git a/logs-archives.go b/logs-archives.go index 479d4077..37055680 100644 --- a/logs-archives.go +++ b/logs-archives.go @@ -8,7 +8,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v7/http" ) type LogsArchivesService interface { diff --git a/logs.go b/logs.go index 55750f2b..c0dd64e7 100644 --- a/logs.go +++ b/logs.go @@ -7,7 +7,7 @@ import ( "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v6/http" + httpclient "github.com/Scalingo/go-scalingo/v7/http" ) type LogsService interface { diff --git a/mocks.json b/mocks.json index e4fa58e7..6cfe45b0 100644 --- a/mocks.json +++ b/mocks.json @@ -1,6 +1,6 @@ { "base_directory": "github.com/Scalingo/go-scalingo", - "base_package": "github.com/Scalingo/go-scalingo/v6", + "base_package": "github.com/Scalingo/go-scalingo/v7", "mocks": [ { "interface": "Client", diff --git a/notification_platforms.go b/notification_platforms.go index dbabaf82..1ff7780d 100644 --- a/notification_platforms.go +++ b/notification_platforms.go @@ -6,8 +6,8 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/debug" - "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v7/debug" + "github.com/Scalingo/go-scalingo/v7/http" ) type NotificationPlatformsService interface { diff --git a/notifier_types.go b/notifier_types.go index 7c2dbcd0..f288f007 100644 --- a/notifier_types.go +++ b/notifier_types.go @@ -3,7 +3,7 @@ package scalingo import ( "encoding/json" - "github.com/Scalingo/go-scalingo/v6/debug" + "github.com/Scalingo/go-scalingo/v7/debug" ) // Used to omit attributes diff --git a/notifiers.go b/notifiers.go index 65d570ef..542836a3 100644 --- a/notifiers.go +++ b/notifiers.go @@ -7,7 +7,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/debug" + "github.com/Scalingo/go-scalingo/v7/debug" ) type NotifiersService interface { diff --git a/operations.go b/operations.go index e9141f89..70e53b1c 100644 --- a/operations.go +++ b/operations.go @@ -6,7 +6,7 @@ import ( "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v6/http" + httpclient "github.com/Scalingo/go-scalingo/v7/http" ) type OperationsService interface { diff --git a/region_migrations.go b/region_migrations.go index 4f868eea..f858d943 100644 --- a/region_migrations.go +++ b/region_migrations.go @@ -6,7 +6,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v7/http" ) const ( diff --git a/regions.go b/regions.go index c7e2dcdd..942e3f49 100644 --- a/regions.go +++ b/regions.go @@ -6,7 +6,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v7/http" ) var ( diff --git a/run.go b/run.go index 59549c9e..fdfdfcd9 100644 --- a/run.go +++ b/run.go @@ -5,7 +5,7 @@ import ( "encoding/json" "strings" - "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v7/http" errors "github.com/Scalingo/go-utils/errors/v2" ) diff --git a/scalingomock/addonprovidersservice_mock.go b/scalingomock/addonprovidersservice_mock.go index 2f1cfd5a..2a06f64a 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/v6 (interfaces: AddonProvidersService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/addonsservice_mock.go b/scalingomock/addonsservice_mock.go index ee718a00..926731a8 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/v6 (interfaces: AddonsService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/alertsservice_mock.go b/scalingomock/alertsservice_mock.go index 90c63a19..0eae810e 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/v6 (interfaces: AlertsService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/api_mock.go b/scalingomock/api_mock.go index 7e9925a5..fe18642e 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/v6 (interfaces: API) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" - http "github.com/Scalingo/go-scalingo/v6/http" + scalingo "github.com/Scalingo/go-scalingo/v7" + http "github.com/Scalingo/go-scalingo/v7/http" gomock "github.com/golang/mock/gomock" websocket "github.com/gorilla/websocket" ) diff --git a/scalingomock/appsservice_mock.go b/scalingomock/appsservice_mock.go index 18975c15..6e2fcbee 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/v6 (interfaces: AppsService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/autoscalersservice_mock.go b/scalingomock/autoscalersservice_mock.go index 67ca7e60..47566fc6 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/v6 (interfaces: AutoscalersService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/backupsservice_mock.go b/scalingomock/backupsservice_mock.go index ed3c8054..d5412641 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/v6 (interfaces: BackupsService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/collaboratorsservice_mock.go b/scalingomock/collaboratorsservice_mock.go index 00ac587f..1118da8b 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/v6 (interfaces: CollaboratorsService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/containersizesservice_mock.go b/scalingomock/containersizesservice_mock.go index d065547f..74dcc244 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/v6 (interfaces: ContainerSizesService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/containersservice_mock.go b/scalingomock/containersservice_mock.go index bb528e02..f87aac56 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/v6 (interfaces: ContainersService) +// Source: github.com/Scalingo/go-scalingo/v7 (interfaces: ContainersService) // Package scalingomock is a generated GoMock package. package scalingomock diff --git a/scalingomock/crontasksservice_mock.go b/scalingomock/crontasksservice_mock.go index 90f04210..24daef99 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/v6 (interfaces: CronTasksService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/databasesservice_mock.go b/scalingomock/databasesservice_mock.go index ef1aa6ee..523ba729 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/v6 (interfaces: DatabasesService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/deploymentsservice_mock.go b/scalingomock/deploymentsservice_mock.go index afa226c6..6d68dfb4 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/v6 (interfaces: DeploymentsService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" websocket "github.com/gorilla/websocket" ) diff --git a/scalingomock/domainsservice_mock.go b/scalingomock/domainsservice_mock.go index cad4ccd3..66ca8b71 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/v6 (interfaces: DomainsService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/eventsservice_mock.go b/scalingomock/eventsservice_mock.go index e2cbe4af..e8168231 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/v6 (interfaces: EventsService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/keysservice_mock.go b/scalingomock/keysservice_mock.go index d23cc266..7cc09c70 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/v6 (interfaces: KeysService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/logdrainsservice_mock.go b/scalingomock/logdrainsservice_mock.go index eed402ea..a8c57cb1 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/v6 (interfaces: LogDrainsService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/logsarchivesservice_mock.go b/scalingomock/logsarchivesservice_mock.go index c962db46..2c263cb6 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/v6 (interfaces: LogsArchivesService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/logsservice_mock.go b/scalingomock/logsservice_mock.go index 2e8b3fcc..40bbbc0a 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/v6 (interfaces: LogsService) +// Source: github.com/Scalingo/go-scalingo/v7 (interfaces: LogsService) // Package scalingomock is a generated GoMock package. package scalingomock diff --git a/scalingomock/notificationplatformsservice_mock.go b/scalingomock/notificationplatformsservice_mock.go index d69aa148..6d6de9bc 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/v6 (interfaces: NotificationPlatformsService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/notifiersservice_mock.go b/scalingomock/notifiersservice_mock.go index cf87a610..40198dee 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/v6 (interfaces: NotifiersService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/operationsservice_mock.go b/scalingomock/operationsservice_mock.go index 890f879e..737561b6 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/v6 (interfaces: OperationsService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/regionmigrationsservice_mock.go b/scalingomock/regionmigrationsservice_mock.go index 0fb408b9..dc90a34c 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/v6 (interfaces: RegionMigrationsService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/regionsservice_mock.go b/scalingomock/regionsservice_mock.go index 008ac47d..ad38e131 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/v6 (interfaces: RegionsService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/runsservice_mock.go b/scalingomock/runsservice_mock.go index da29919d..c914f5d8 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/v6 (interfaces: RunsService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/scmrepolinkservice_mock.go b/scalingomock/scmrepolinkservice_mock.go index 29ddbf19..d5cc8656 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/v6 (interfaces: SCMRepoLinkService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/signupservice_mock.go b/scalingomock/signupservice_mock.go index 5e9f1f3c..aa1ca459 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/v6 (interfaces: SignUpService) +// Source: github.com/Scalingo/go-scalingo/v7 (interfaces: SignUpService) // Package scalingomock is a generated GoMock package. package scalingomock diff --git a/scalingomock/sourcesservice_mock.go b/scalingomock/sourcesservice_mock.go index f7c73e22..dd2cd9f4 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/v6 (interfaces: SourcesService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/tokensservice_mock.go b/scalingomock/tokensservice_mock.go index c4974ca5..7930a8fb 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/v6 (interfaces: TokensService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/usersservice_mock.go b/scalingomock/usersservice_mock.go index c89178d5..e902bdaf 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/v6 (interfaces: UsersService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scalingomock/variablesservice_mock.go b/scalingomock/variablesservice_mock.go index 52054c8f..6ca4b5d3 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/v6 (interfaces: VariablesService) +// Source: github.com/Scalingo/go-scalingo/v7 (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/v6" + scalingo "github.com/Scalingo/go-scalingo/v7" gomock "github.com/golang/mock/gomock" ) diff --git a/scm_integrations.go b/scm_integrations.go index ef29ba9b..e55d2a19 100644 --- a/scm_integrations.go +++ b/scm_integrations.go @@ -6,7 +6,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v7/http" ) type SCMType string diff --git a/scm_repo_link.go b/scm_repo_link.go index bb567416..b025d0ce 100644 --- a/scm_repo_link.go +++ b/scm_repo_link.go @@ -7,7 +7,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v7/http" ) type SCMRepoLinkService interface { diff --git a/signup.go b/signup.go index a74c1ca9..4b6c1dfc 100644 --- a/signup.go +++ b/signup.go @@ -5,7 +5,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v7/http" ) type SignUpService interface { diff --git a/stacks.go b/stacks.go index 67efbe80..552da674 100644 --- a/stacks.go +++ b/stacks.go @@ -6,7 +6,7 @@ import ( "gopkg.in/errgo.v1" - httpclient "github.com/Scalingo/go-scalingo/v6/http" + httpclient "github.com/Scalingo/go-scalingo/v7/http" ) type DeprecationDate struct { diff --git a/stacks_test.go b/stacks_test.go index b46b9d3a..3d845257 100644 --- a/stacks_test.go +++ b/stacks_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/Scalingo/go-scalingo/v6/http/httpmock" + "github.com/Scalingo/go-scalingo/v7/http/httpmock" ) func TestStackIsDeprecated(t *testing.T) { diff --git a/tokens.go b/tokens.go index 591c2146..8952d7f0 100644 --- a/tokens.go +++ b/tokens.go @@ -8,7 +8,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v7/http" ) type TokensService interface { diff --git a/users.go b/users.go index 02715921..954ee162 100644 --- a/users.go +++ b/users.go @@ -6,7 +6,7 @@ import ( "gopkg.in/errgo.v1" - "github.com/Scalingo/go-scalingo/v6/http" + "github.com/Scalingo/go-scalingo/v7/http" ) type UsersService interface { diff --git a/version.go b/version.go index 5c10257f..fd5c9f49 100644 --- a/version.go +++ b/version.go @@ -1,3 +1,3 @@ package scalingo -var Version = "6.7.7" +var Version = "7.0.0"