Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorResponseString ¶
ErrorResponseString will return OpenAPI's model error (the original error, not the one that's wrapped by OpenAPI)
func HandleErrorAndExit ¶
func HandleErrorAndExit(err error)
func WaitForAsyncTaskDone ¶
func WaitForAsyncTaskDone(ctx context.Context, taskID string, client *sdk.APIClient) (sdk.GetTaskStatusResponse, error)
WaitForAsyncTaskDone waits for async tasks with ID `taskID` to be done, meaning not in `in_progress` or `pending` results. It then returns the last GetTaskStatusResponse response (the one with the complete results)
Types ¶
type AssetTransfersConfig ¶
func InitAPIClient ¶
func InitAPIClient() (*sdk.APIClient, *AssetTransfersConfig, error)
Click to show internal directories.
Click to hide internal directories.