Documentation
¶
Index ¶
- Constants
- func CreateInstanceWaitHandler(ctx context.Context, a postgresflex.DefaultAPI, ...) *wait.AsyncActionHandler[postgresflex.InstanceResponse]
- func DeleteInstanceWaitHandler(ctx context.Context, a postgresflex.DefaultAPI, ...) *wait.AsyncActionHandler[struct{}]
- func DeleteUserWaitHandler(ctx context.Context, a postgresflex.DefaultAPI, ...) *wait.AsyncActionHandler[struct{}]
- func ForceDeleteInstanceWaitHandler(ctx context.Context, a postgresflex.DefaultAPI, ...) *wait.AsyncActionHandler[struct{}]
- func PartialUpdateInstanceWaitHandler(ctx context.Context, a postgresflex.DefaultAPI, ...) *wait.AsyncActionHandler[postgresflex.InstanceResponse]
Constants ¶
View Source
const ( InstanceStateEmpty = "" InstanceStateProgressing = "Progressing" InstanceStateSuccess = "Ready" InstanceStateFailed = "Failure" InstanceStateDeleted = "Deleted" )
Variables ¶
This section is empty.
Functions ¶
func CreateInstanceWaitHandler ¶
func CreateInstanceWaitHandler(ctx context.Context, a postgresflex.DefaultAPI, projectId, region, instanceId string) *wait.AsyncActionHandler[postgresflex.InstanceResponse]
CreateInstanceWaitHandler will wait for instance creation
func DeleteInstanceWaitHandler ¶
func DeleteInstanceWaitHandler(ctx context.Context, a postgresflex.DefaultAPI, projectId, region, instanceId string) *wait.AsyncActionHandler[struct{}]
DeleteInstanceWaitHandler will wait for instance deletion
func DeleteUserWaitHandler ¶
func DeleteUserWaitHandler(ctx context.Context, a postgresflex.DefaultAPI, projectId, region, instanceId, userId string) *wait.AsyncActionHandler[struct{}]
DeleteUserWaitHandler will wait for delete
func ForceDeleteInstanceWaitHandler ¶
func ForceDeleteInstanceWaitHandler(ctx context.Context, a postgresflex.DefaultAPI, projectId, region, instanceId string) *wait.AsyncActionHandler[struct{}]
ForceDeleteInstanceWaitHandler will wait for instance deletion
func PartialUpdateInstanceWaitHandler ¶
func PartialUpdateInstanceWaitHandler(ctx context.Context, a postgresflex.DefaultAPI, projectId, region, instanceId string) *wait.AsyncActionHandler[postgresflex.InstanceResponse]
PartialUpdateInstanceWaitHandler will wait for instance update
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.