- Feature: Add support for nullable models
- Feature: New API methods
CreateDatabase
,DeleteDatabase
,ListDatabase
,ListDatabaseParameters
to manage PostgreSQL Flex databases - Feature: New API method
UpdateInstance
to update the instance - Feature: New API method
ListMetrics
to list metrics of an instance - Feature: New API method
DisableService
to terminate the whole project
- Breaking change: Remove unused model data types.
- Set config.ContextHTTPRequest in Execute method
- Support WithMiddleware configuration option in the client
- Update
core
tov0.12.0
- Improvement: Update
DeleteInstanceWaitHandler
to support new deletion method. - Feature: New waiter
ForceDeleteInstanceWaitHandler
for async operationForceDeleteInstance
- Feature: New API method
ForceDeleteInstance
that forces the deletion of a delayed deleted instance
- Feature: New API method
CloneInstance
to clone the instance
- Update
core
tov0.10.0
- Bug fix: Fix
CreateInstanceWaitHandler
failing when instance isn't shown right after creation request
- Feature: New API method
UpdateUser
to update user - Feature: New API method
PartialUpdateUser
to patch update user - Feature: New API method
ResetUser
to reset a user's password
- Improvement: Required fields in
CreateInstancePayload
andUpdateBackupSchedulePayload
are now labelled as such - Update
core
tov0.7.7
. Thehttp.request
context is now passed in the clientDo
call.
- Bug fix:
NewAPIClient
now initializes a new client instead of usinghttp.DefaultClient
(#236)
- Add license and notice files
- Dependency updates
- Dependency updates
API methods, structs and waiters were renamed to have the same look and feel across all services and according to user feedback.
- Changed methods:
GetBackups
renamed toListBackups
GetFlavors
renamed toListFlavors
GetInstances
renamed toListInstances
GetStorages
renamed toListStorages
GetUsers
renamed toListUsers
GetVersions
renamed toListVersions
UpdateInstance
renamed toPartialUpdateInstance
- Changed structs:
BackupResponse
renamed toGetBackupResponse
BackupsResponse
renamed toListBackupsResponse
FlavorsResponse
renamed toListFlavorsResponse
GetUsersResponse
renamed toListUsersResponse
InstanceAcl
renamed toACL
InstanceBackup
renamed toBackup
InstanceError
renamed toError
InstanceFlavor
renamed toFlavor
InstanceListUser
renamed toListUsersResponseItem
InstanceResetUserResponse
renamed toResetUserResponse
InstanceSingleInstance
renamed toInstance
InstanceStorage
renamed toStorage
InstanceStorageRange
renamed toStorageRange
InstanceUser
renamed toUser
InstancesResponse
renamed toListInstancesResponse
StoragesResponse
renamed toListStoragesResponse
UpdateInstancePayload
renamed toPartialUpdateInstancePayload
UpdateInstanceResponse
renamed toPartialUpdateInstanceResponse
UserResponse
renamed toGetUserResponse
UsersResponse
renamed toListUsersResponse
VersionsResponse
renamed toListVersionsResponse
Changed waiters:UpdateInstanceWaitHandler
renamed toPartialUpdateInstanceWaitHandler
- Manage your STACKIT PostgreSQL Flex resources:
Instance
,Versions
,Flavors
,User
,Storages
- Waiters for async operations:
CreateInstanceWaitHandler
,UpdateInstanceWaitHandler
,DeleteInstanceWaitHandler
,DeleteUserWaitHandler
- Usage example