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

wait

package
v0.25.3 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: Apache-2.0 Imports: 5 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: CreateSuccess is deprecated and will be removed after 14th November 2025. Use [observability.GETINSTANCERESPONSESTATUS_CREATE_SUCCEEDED] instead.
	CreateSuccess = "CREATE_SUCCEEDED"
	// Deprecated: CreateFail is deprecated and will be removed after 14th November 2025. Use [observability.GETINSTANCERESPONSESTATUS_CREATE_FAILED] instead.
	CreateFail = "CREATE_FAILED"
	// Deprecated: UpdateSuccess is deprecated and will be removed after 14th November 2025. Use [observability.GETINSTANCERESPONSESTATUS_UPDATE_SUCCEEDED] instead.
	UpdateSuccess = "UPDATE_SUCCEEDED"
	// Deprecated: UpdateFail is deprecated and will be removed after 14th November 2025. Use [observability.GETINSTANCERESPONSESTATUS_UPDATE_FAILED] instead.
	UpdateFail = "UPDATE_FAILED"
	// Deprecated: DeleteSuccess is deprecated and will be removed after 12th November 2025. Use [observability.GETINSTANCERESPONSESTATUS_DELETE_SUCCEEDED] instead.
	DeleteSuccess = "DELETE_SUCCEEDED"
	// Deprecated: DeleteFail is deprecated and will be removed after 12th November 2025. Use [observability.GETINSTANCERESPONSESTATUS_DELETE_FAILED] instead.
	DeleteFail = "DELETE_FAILED"
)

Variables

This section is empty.

Functions

func CreateInstanceWaitHandler deprecated

func CreateInstanceWaitHandler(ctx context.Context, a APIClientInterface, instanceId, projectId string) *wait.AsyncActionHandler[observability.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 CreateScrapeConfigWaitHandler deprecated

func CreateScrapeConfigWaitHandler(ctx context.Context, a APIClientInterface, instanceId, jobName, projectId string) *wait.AsyncActionHandler[observability.ListScrapeConfigsResponse]

CreateScrapeConfigWaitHandler will wait for scrape config 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 APIClientInterface, instanceId, projectId string) *wait.AsyncActionHandler[observability.GetInstanceResponse]

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

func DeleteScrapeConfigWaitHandler(ctx context.Context, a APIClientInterface, instanceId, jobName, projectId string) *wait.AsyncActionHandler[observability.ListScrapeConfigsResponse]

DeleteScrapeConfigWaitHandler will wait for scrape config deletion

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 APIClientInterface, instanceId, projectId string) *wait.AsyncActionHandler[observability.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 APIClientInterface deprecated

type APIClientInterface interface {
	GetInstanceExecute(ctx context.Context, instanceId, projectId string) (*observability.GetInstanceResponse, error)
	ListScrapeConfigsExecute(ctx context.Context, instanceId, projectId string) (*observability.ListScrapeConfigsResponse, error)
}

APIClientInterface Interfaces 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