util

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "undefined"
	GitSha  = "undefined"
	Release = "false"
	Dirty   = "true"
)

Functions

func DebugSleepProgressWithContext added in v0.1.1

func DebugSleepProgressWithContext(waiter *request.Waiter)

DebugSleepProgressWithContext prints extended debugging information to the screen while the waiter is still waiting.

func GetFailOnAbortContext added in v0.1.1

func GetFailOnAbortContext(createdAt time.Time) request.WaiterOption

GetFailOnAbortContext ends a ECS DescribeTask Waiter loop early if it finds messages in the event log that indicate the operation already failed.

func SleepProgressWithContext added in v0.1.1

func SleepProgressWithContext(waiter *request.Waiter)

SleepProgressWithContext prints something to the screen to show the waiter is still waiting.

func VersionString

func VersionString() (string, error)

func WaiterDelay added in v0.1.1

func WaiterDelay(timeout int, defaultDelay int) []request.WaiterOption

WaiterDelay returns the WaiterOptions to be able to delay a given amount of seconds, checking if the operation is done every defaultDelay seconds

Types

This section is empty.

Jump to

Keyboard shortcuts

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