Documentation
¶
Overview ¶
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
Index ¶
- Constants
- func CloneInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, ...) *wait.AsyncActionHandler[mongodbflex.InstanceResponse]deprecated
- func CreateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, ...) *wait.AsyncActionHandler[mongodbflex.InstanceResponse]deprecated
- func DeleteInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, ...) *wait.AsyncActionHandler[struct{}]deprecated
- func PartialUpdateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, ...) *wait.AsyncActionHandler[mongodbflex.InstanceResponse]deprecated
- func RestoreInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, ...) *wait.AsyncActionHandler[mongodbflex.ListRestoreJobsResponse]deprecated
- func UpdateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, ...) *wait.AsyncActionHandler[mongodbflex.InstanceResponse]deprecated
- type APIClientInstanceInterfacedeprecated
Constants ¶
const ( // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead InstanceStateEmpty = "" // Deprecated: InstanceStateProcessing is deprecated and will be removed after 14th November 2025. Use [mongodbflex.INSTANCESTATUS_PROCESSING] instead. InstanceStateProcessing = "PROCESSING" // Deprecated: InstanceStateUnknown is deprecated and will be removed after 14th November 2025. Use [mongodbflex.INSTANCESTATUS_UNKNOWN] instead. InstanceStateUnknown = "UNKNOWN" // Deprecated: InstanceStateSuccess is deprecated and will be removed after 14th November 2025. Use [mongodbflex.INSTANCESTATUS_READY] instead. InstanceStateSuccess = "READY" // Deprecated: InstanceStateFailed is deprecated and will be removed after 14th November 2025. Use [mongodbflex.INSTANCESTATUS_FAILED] instead. InstanceStateFailed = "FAILED" // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead RestoreJobProcessing = "IN_PROGRESS" // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead RestoreJobFinished = "FINISHED" // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead RestoreJobBroken = "BROKEN" // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead RestoreJobKilled = "KILLED" )
Variables ¶
This section is empty.
Functions ¶
func CloneInstanceWaitHandler
deprecated
func CloneInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, projectId, instanceId, region string) *wait.AsyncActionHandler[mongodbflex.InstanceResponse]
CloneInstanceWaitHandler will wait for instance clone to be created
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
func CreateInstanceWaitHandler
deprecated
func CreateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, projectId, instanceId, region string) *wait.AsyncActionHandler[mongodbflex.InstanceResponse]
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, instanceId, region 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 PartialUpdateInstanceWaitHandler
deprecated
func PartialUpdateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, projectId, instanceId, region string) *wait.AsyncActionHandler[mongodbflex.InstanceResponse]
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
func RestoreInstanceWaitHandler
deprecated
added in
v0.13.0
func RestoreInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, projectId, instanceId, backupId, region string) *wait.AsyncActionHandler[mongodbflex.ListRestoreJobsResponse]
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
func UpdateInstanceWaitHandler
deprecated
func UpdateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, projectId, instanceId, region string) *wait.AsyncActionHandler[mongodbflex.InstanceResponse]
UpdateInstanceWaitHandler 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, instanceId, region string) (*mongodbflex.InstanceResponse, error)
ListRestoreJobsExecute(ctx context.Context, projectId, instanceId, region string) (*mongodbflex.ListRestoreJobsResponse, error)
}
Interface needed for tests
Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead