wait

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

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

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: 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
	InstanceStateProcessing = "Progressing"
	// Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead
	InstanceStateUnknown = "Unknown"
	// 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 = "Failed"
)

Variables

This section is empty.

Functions

func CreateInstanceWaitHandler

func CreateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, projectId, instanceId, region string) *wait.AsyncActionHandler[sqlserverflex.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

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

func PartialUpdateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, projectId, instanceId, region string) *wait.AsyncActionHandler[sqlserverflex.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

func UpdateInstanceWaitHandler

func UpdateInstanceWaitHandler(ctx context.Context, a APIClientInstanceInterface, projectId, instanceId, region string) *wait.AsyncActionHandler[sqlserverflex.GetInstanceResponse]

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

type APIClientInstanceInterface interface {
	GetInstanceExecute(ctx context.Context, projectId, instanceId, region string) (*sqlserverflex.GetInstanceResponse, 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