wait

package
v0.26.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	INSTANCESTATUS_ACTIVE   = "active"
	INSTANCESTATUS_FAILED   = "failed"
	INSTANCESTATUS_STOPPED  = "stopped"
	INSTANCESTATUS_CREATING = "creating"
	INSTANCESTATUS_DELETING = "deleting"
	INSTANCESTATUS_UPDATING = "updating"
)

Variables

This section is empty.

Functions

func CreateCredentialsWaitHandler

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

CreateCredentialsWaitHandler will wait for credentials creation

func CreateInstanceWaitHandler

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

CreateInstanceWaitHandler will wait for instance creation

func DeleteCredentialsWaitHandler

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

DeleteCredentialsWaitHandler will wait for credentials deletion

func DeleteInstanceWaitHandler

func DeleteInstanceWaitHandler(ctx context.Context, a logme.DefaultAPI, projectId, instanceId string) *wait.AsyncActionHandler[struct{}]

DeleteInstanceWaitHandler will wait for instance deletion

func PartialUpdateInstanceWaitHandler

func PartialUpdateInstanceWaitHandler(ctx context.Context, a logme.DefaultAPI, projectId, instanceId string) *wait.AsyncActionHandler[logme.Instance]

PartialUpdateInstanceWaitHandler 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