wait

package
v1.10.1 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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCommandWaitHandler

func RunCommandWaitHandler(ctx context.Context, a runcommand.DefaultAPI, projectId, serverId, region, commandId string) *wait.AsyncActionHandler[runcommand.CommandDetails]

RunCommandWaitHandler will wait for a run command to reach a terminal state. COMPLETED is treated as success and returns the CommandDetails with no error. FAILED is treated as an error: the handler returns a non-nil error and the CommandDetails (containing exit code and output) so callers can surface diagnostic information without an additional API call.

Types

This section is empty.

Jump to

Keyboard shortcuts

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