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

wait

package
v0.13.2 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

Index

Constants

View Source
const (
	// Deprecated: symbol is not used anymore, use the packages enum instead, will be removed 2026-12, use `go fix` for automatic fixing
	//go:fix inline
	INSTANCESTATUS_ERROR = edge.INSTANCESTATUS_ERROR
	// Deprecated: symbol is not used anymore, use the packages enum instead, will be removed 2026-12, use `go fix` for automatic fixing
	//go:fix inline
	INSTANCESTATUS_RECONCILING = edge.INSTANCESTATUS_RECONCILING
	// Deprecated: symbol is not used anymore, use the packages enum instead, will be removed 2026-12, use `go fix` for automatic fixing
	//go:fix inline
	INSTANCESTATUS_ACTIVE = edge.INSTANCESTATUS_ACTIVE
	// Deprecated: symbol is not used anymore, use the packages enum instead, will be removed 2026-12, use `go fix` for automatic fixing
	//go:fix inline
	INSTANCESTATUS_DELETING = edge.INSTANCESTATUS_DELETING
)

Variables

View Source
var (
	ErrInstanceNotFound = errors.New("instance not found")
	// Deprecated: ErrInstanceStatusUndefined is no longer used and will be removed after 2026-11-07
	ErrInstanceStatusUndefined = errors.New("instance status undefined")
	// Deprecated: ErrInstanceCreationFailed is no longer used and will be removed after 2026-11-07
	ErrInstanceCreationFailed = errors.New("instance creation failed")
	// Deprecated: ErrInstanceIsBeingDeleted is no longer used and will be removed after 2026-11-07
	ErrInstanceIsBeingDeleted = errors.New("instance is being deleted")
)

Functions

func CreateOrUpdateInstanceByNameWaitHandler

func CreateOrUpdateInstanceByNameWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, displayName string) *wait.AsyncActionHandler[edge.Instance]

CreateOrUpdateInstanceByNameWaitHandler waits for instance creation or update by name to complete.

func CreateOrUpdateInstanceWaitHandler

func CreateOrUpdateInstanceWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, instanceId string) *wait.AsyncActionHandler[edge.Instance]

CreateOrUpdateInstanceWaitHandler waits for instance creation or update by ID to complete.

func DeleteInstanceByNameWaitHandler

func DeleteInstanceByNameWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, displayName string) *wait.AsyncActionHandler[edge.Instance]

DeleteInstanceByNameWaitHandler waits for instance deletion by name.

func DeleteInstanceWaitHandler

func DeleteInstanceWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, instanceId string) *wait.AsyncActionHandler[edge.Instance]

DeleteInstanceWaitHandler waits for instance deletion by ID.

func KubeconfigByInstanceNameWaitHandler

func KubeconfigByInstanceNameWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, displayName string, expirationSeconds *int64) *wait.AsyncActionHandler[edge.Kubeconfig]

KubeconfigByInstanceNameWaitHandler waits the instance to become ready before retrieving the kubeconfig by instance displayName.

func KubeconfigWaitHandler

func KubeconfigWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, instanceId string, expirationSeconds *int64) *wait.AsyncActionHandler[edge.Kubeconfig]

KubeconfigWaitHandler waits the instance to become ready before retrieving the kubeconfig by instance ID.

func TokenByInstanceNameWaitHandler

func TokenByInstanceNameWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, displayName string, expirationSeconds *int64) *wait.AsyncActionHandler[edge.Token]

TokenByInstanceNameWaitHandler waits for the instance to become ready before retrieving the service token by instance displayName.

func TokenWaitHandler

func TokenWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, instanceId string, expirationSeconds *int64) *wait.AsyncActionHandler[edge.Token]

TokenWaitHandler waits for the instance to become ready before retrieving the service token by instance ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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