utils

package
v0.0.0-...-664f50f Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SafeExecuteBatch

func SafeExecuteBatch(b *storage.TableBatch) error

executes a table batch with retry

func SafeExecuteEntityGet

func SafeExecuteEntityGet(entity *storage.Entity, timeout uint, ml storage.MetadataLevel, options *storage.GetEntityOptions) error

executes Entity.Get() with retry

func SafeExecuteNextResult

func SafeExecuteNextResult(lastResult *storage.EntityQueryResult, options *storage.TableOptions) (*storage.EntityQueryResult, error)

executes NextResult() with retry

func SafeExecuteQuery

func SafeExecuteQuery(t *storage.Table,
	timeout uint,
	ml storage.MetadataLevel,
	options *storage.QueryOptions) (*storage.EntityQueryResult, error)

executes a table query with retry

Types

This section is empty.

Jump to

Keyboard shortcuts

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