wait

package
v0.18.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: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GETINSTANCERESPONSESTATUS_CREATING         = "CREATING"
	GETINSTANCERESPONSESTATUS_CREATE_SUCCEEDED = "CREATE_SUCCEEDED"
	GETINSTANCERESPONSESTATUS_CREATE_FAILED    = "CREATE_FAILED"
	GETINSTANCERESPONSESTATUS_DELETING         = "DELETING"
	GETINSTANCERESPONSESTATUS_DELETE_SUCCEEDED = "DELETE_SUCCEEDED"
	GETINSTANCERESPONSESTATUS_DELETE_FAILED    = "DELETE_FAILED"
	GETINSTANCERESPONSESTATUS_UPDATING         = "UPDATING"
	GETINSTANCERESPONSESTATUS_UPDATE_SUCCEEDED = "UPDATE_SUCCEEDED"
	GETINSTANCERESPONSESTATUS_UPDATE_FAILED    = "UPDATE_FAILED"
)

Variables

This section is empty.

Functions

func CreateInstanceWaitHandler

func CreateInstanceWaitHandler(ctx context.Context, a observability.DefaultAPI, instanceId, projectId string) *wait.AsyncActionHandler[observability.GetInstanceResponse]

CreateInstanceWaitHandler will wait for instance creation

func CreateScrapeConfigWaitHandler

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

CreateScrapeConfigWaitHandler will wait for scrape config creation

func DeleteInstanceWaitHandler

func DeleteInstanceWaitHandler(ctx context.Context, a observability.DefaultAPI, instanceId, projectId string) *wait.AsyncActionHandler[observability.GetInstanceResponse]

DeleteInstanceWaitHandler will wait for instance deletion

func DeleteScrapeConfigWaitHandler

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

DeleteScrapeConfigWaitHandler will wait for scrape config deletion

func UpdateInstanceWaitHandler

func UpdateInstanceWaitHandler(ctx context.Context, a observability.DefaultAPI, instanceId, projectId string) *wait.AsyncActionHandler[observability.GetInstanceResponse]

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