exec

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//StatusDone status done
	StatusDone = "DONE"
)

Variables

This section is empty.

Functions

func RunWithRetries

func RunWithRetries(f func() error, maxRetries int) (err error)

RunWithRetries run with exp backoff retries on http.StatusInternalServerError, http.StatusServiceUnavailable, http.StatusBadGateway

func WaitForJobCompletion

func WaitForJobCompletion(ctx context.Context, service *bigquery.Service, projectID string, location, jobReferenceID string) (*bigquery.Job, error)

WaitForJobCompletion waits for job completion

Types

This section is empty.

Jump to

Keyboard shortcuts

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