wait

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INSTANCESTATUS_READY      = "READY"
	INSTANCESTATUS_PENDING    = "PENDING"
	INSTANCESTATUS_PROCESSING = "PROCESSING"
	INSTANCESTATUS_FAILED     = "FAILED"
	INSTANCESTATUS_UNKNOWN    = "UNKNOWN"

	RestoreJobProcessing = "IN_PROGRESS"
	RestoreJobFinished   = "FINISHED"
	RestoreJobBroken     = "BROKEN"
	RestoreJobKilled     = "KILLED"
)

Variables

This section is empty.

Functions

func CloneInstanceWaitHandler

func CloneInstanceWaitHandler(ctx context.Context, a mongodbflex.DefaultAPI, projectId, instanceId, region string) *wait.AsyncActionHandler[mongodbflex.InstanceResponse]

CloneInstanceWaitHandler will wait for instance clone to be created

func CreateInstanceWaitHandler

func CreateInstanceWaitHandler(ctx context.Context, a mongodbflex.DefaultAPI, projectId, instanceId, region string) *wait.AsyncActionHandler[mongodbflex.InstanceResponse]

CreateInstanceWaitHandler will wait for instance creation

func DeleteInstanceWaitHandler

func DeleteInstanceWaitHandler(ctx context.Context, a mongodbflex.DefaultAPI, projectId, instanceId, region string) *wait.AsyncActionHandler[struct{}]

DeleteInstanceWaitHandler will wait for instance deletion

func PartialUpdateInstanceWaitHandler

func PartialUpdateInstanceWaitHandler(ctx context.Context, a mongodbflex.DefaultAPI, projectId, instanceId, region string) *wait.AsyncActionHandler[mongodbflex.InstanceResponse]

PartialUpdateInstanceWaitHandler will wait for instance update

func RestoreInstanceWaitHandler

func RestoreInstanceWaitHandler(ctx context.Context, a mongodbflex.DefaultAPI, projectId, instanceId, backupId, region string) *wait.AsyncActionHandler[mongodbflex.ListRestoreJobsResponse]

func UpdateInstanceWaitHandler

func UpdateInstanceWaitHandler(ctx context.Context, a mongodbflex.DefaultAPI, projectId, instanceId, region string) *wait.AsyncActionHandler[mongodbflex.InstanceResponse]

UpdateInstanceWaitHandler will wait for instance update

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL