Help us shape the future of Go! Take the 2026 Go Developer Survey

wait

package
v1.3.1 Latest Latest
Warning

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

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

Documentation

Overview

Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead

Index

Constants

View Source
const (
	// Deprecated: InstanceStatusActive is deprecated and will be removed after 14th November 2025. Use [mariadb.INSTANCESTATUS_ACTIVE] instead.
	InstanceStatusActive = "active"
	// Deprecated: InstanceStatusFailed is deprecated and will be removed after 14th November 2025. Use [mariadb.INSTANCESTATUS_FAILED] instead.
	InstanceStatusFailed = "failed"
	// Deprecated: InstanceStatusStopped is deprecated and will be removed after 14th November 2025. Use [mariadb.INSTANCESTATUS_STOPPED] instead.
	InstanceStatusStopped = "stopped"
	// Deprecated: InstanceStatusCreating is deprecated and will be removed after 14th November 2025. Use [mariadb.INSTANCESTATUS_CREATING] instead.
	InstanceStatusCreating = "creating"
	// Deprecated: InstanceStatusDeleting is deprecated and will be removed after 14th November 2025. Use [mariadb.INSTANCESTATUS_DELETING] instead.
	InstanceStatusDeleting = "deleting"
	// Deprecated: InstanceStatusUpdating is deprecated and will be removed after 14th November 2025. Use [mariadb.INSTANCESTATUS_UPDATING] instead.
	InstanceStatusUpdating = "updating"

	// Deprecated: InstanceOperationStateInProgress is deprecated and will be removed after 14th November 2025. Use [mariadb.INSTANCELASTOPERATIONSTATE_IN_PROGRESS] instead.
	InstanceOperationStateInProgress = "in progress"
	// Deprecated: InstanceOperationStateSucceeded is deprecated and will be removed after 14th November 2025. Use [mariadb.INSTANCELASTOPERATIONSTATE_SUCCEEDED] instead.
	InstanceOperationStateSucceeded = "succeeded"
	// Deprecated: InstanceOperationStateFailed is deprecated and will be removed after 12th November 2025. Use [mariadb.INSTANCELASTOPERATIONSTATE_FAILED] instead.
	InstanceOperationStateFailed = "failed"

	// Deprecated: InstanceOperationTypeCreate is deprecated and will be removed after 12th November 2025. Use [mariadb.INSTANCELASTOPERATIONTYPE_CREATE] instead.
	InstanceOperationTypeCreate = "create"
	// Deprecated: InstanceOperationTypeUpdate is deprecated and will be removed after 12th November 2025. Use [mariadb.INSTANCELASTOPERATIONTYPE_UPDATE] instead.
	InstanceOperationTypeUpdate = "update"
	// Deprecated: InstanceOperationTypeDelete is deprecated and will be removed after 12th November 2025. Use [mariadb.INSTANCELASTOPERATIONTYPE_DELETE] instead.
	InstanceOperationTypeDelete = "delete"

	// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025. Use [mariadb.INSTANCELASTOPERATIONSTATE_SUCCEEDED] instead.
	InstanceStateSuccess = "succeeded"
	// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025. Use [mariadb.INSTANCELASTOPERATIONSTATE_FAILED] instead.
	InstanceStateFailed = "failed"
	// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025. Use [mariadb.INSTANCELASTOPERATIONTYPE_CREATE] instead.
	InstanceTypeCreate = "create"
	// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025. Use [mariadb.INSTANCELASTOPERATIONTYPE_UPDATE] instead.
	InstanceTypeUpdate = "update"
	// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025. Use [mariadb.INSTANCELASTOPERATIONTYPE_DELETE] instead.
	InstanceTypeDelete = "delete"
)

Variables

This section is empty.

Functions

func CreateCredentialsWaitHandler deprecated

func CreateCredentialsWaitHandler(ctx context.Context, a APIClientCredentialsInterface, projectId, instanceId, credentialsId string) *wait.AsyncActionHandler[mariadb.CredentialsResponse]

CreateCredentialsWaitHandler will wait for credentials creation

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 string) *wait.AsyncActionHandler[mariadb.Instance]

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 DeleteCredentialsWaitHandler deprecated

func DeleteCredentialsWaitHandler(ctx context.Context, a APIClientCredentialsInterface, projectId, instanceId, credentialsId string) *wait.AsyncActionHandler[struct{}]

DeleteCredentialsWaitHandler will wait for credentials deletion

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 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 string) *wait.AsyncActionHandler[mariadb.Instance]

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 APIClientCredentialsInterface deprecated

type APIClientCredentialsInterface interface {
	GetCredentialsExecute(ctx context.Context, projectId, instanceId, credentialsId string) (*mariadb.CredentialsResponse, 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 APIClientInstanceInterface deprecated

type APIClientInstanceInterface interface {
	GetInstanceExecute(ctx context.Context, projectId, instanceId string) (*mariadb.Instance, error)
}

Interface needed for tests

Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead

Jump to

Keyboard shortcuts

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