Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func WaitOnQuery ¶
func WaitOnQuery(ctx context.Context, api SQL, output *ExecuteQueryOutput) error
WaitOnQuery polls the datasource api until the query finishes, returning an error if it failed.
Types ¶
type ExecuteQueryInput ¶
type ExecuteQueryOutput ¶
type ExecuteQueryOutput struct {
ID string
}
type ExecuteQueryStatus ¶
type SQL ¶
type SQL interface { Execute(aws.Context, *ExecuteQueryInput) (*ExecuteQueryOutput, error) Status(aws.Context, *ExecuteQueryOutput) (*ExecuteQueryStatus, error) Stop(*ExecuteQueryOutput) error }
Click to show internal directories.
Click to hide internal directories.