Documentation
¶
Overview ¶
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
Index ¶
- Constants
- func CreateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, ...) *wait.AsyncActionHandler[postgresflex.GetInstanceResponse]deprecated
- func DeleteInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, ...) *wait.AsyncActionHandler[struct{}]deprecated
- func DeleteUserWaitHandler(ctx context.Context, a APIClientUserInterface, ...) *wait.AsyncActionHandler[struct{}]deprecated
- func ForceDeleteInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, ...) *wait.AsyncActionHandler[struct{}]deprecated
- func PartialUpdateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, ...) *wait.AsyncActionHandler[postgresflex.GetInstanceResponse]deprecated
- type APIClientInstanceInterfacedeprecated
- type APIClientUserInterfacedeprecated
Constants ¶
const ( // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead InstanceStateEmpty = "" // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead InstanceStateProgressing = "Progressing" // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead InstanceStateSuccess = "Ready" // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead InstanceStateFailed = "Failure" // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead InstanceStateDeleted = "Deleted" )
Variables ¶
This section is empty.
Functions ¶
func CreateInstanceWaitHandler
deprecated
func CreateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, projectId, region, instanceId string) *wait.AsyncActionHandler[postgresflex.GetInstanceResponse]
CreateInstanceWaitHandler will wait for instance creation
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
func DeleteInstanceWaitHandler
deprecated
func DeleteInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, projectId, region, instanceId string) *wait.AsyncActionHandler[struct{}]
DeleteInstanceWaitHandler will wait for instance deletion
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
func DeleteUserWaitHandler
deprecated
func DeleteUserWaitHandler(ctx context.Context, a APIClientUserInterface, projectId, region, instanceId string, userId int64) *wait.AsyncActionHandler[struct{}]
DeleteUserWaitHandler will wait for delete
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
func ForceDeleteInstanceWaitHandler
deprecated
added in
v0.12.0
func ForceDeleteInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, projectId, region, instanceId string) *wait.AsyncActionHandler[struct{}]
ForceDeleteInstanceWaitHandler will wait for instance deletion
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
func PartialUpdateInstanceWaitHandler
deprecated
func PartialUpdateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, projectId, region, instanceId string) *wait.AsyncActionHandler[postgresflex.GetInstanceResponse]
PartialUpdateInstanceWaitHandler will wait for instance update
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
Types ¶
type APIClientInstanceInterface
deprecated
type APIClientInstanceInterface interface {
GetInstanceExecute(ctx context.Context, projectId, region, instanceId string) (*postgresflex.GetInstanceResponse, error)
ListUsersExecute(ctx context.Context, projectId, region, instanceId string) (*postgresflex.ListUsersResponse, error)
}
Interface needed for tests
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
type APIClientUserInterface
deprecated
type APIClientUserInterface interface {
GetUserExecute(ctx context.Context, projectId, region, instanceId string, userId int64) (*postgresflex.GetUserResponse, error)
}
Interface needed for tests
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead