package
0.0.3
Repository: https://github.com/aws/amazon-ecs-agent.git
Documentation: pkg.go.dev

# Packages

Package ttime implements a testable alternative to the Go "time" package.

# Functions

AddJitter adds an amount of jitter between 0 and the given jitter to the given duration.
CompleteJsonUnmarshal determines if a given struct has members corresponding to every key of a json object (passed as the json string).
No description provided by the author
JsonKeys takes an arbitrary byte array representing a json stringified object and returns all the keys of that object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewSimpleBackoff creates a Backoff which ranges from min to max increasing by multiple each time.
No description provided by the author
No description provided by the author
RetryNWithBackoff takes a Backoff, a maximum number of tries 'n', and a function that returns an error.
RetryWithBackoff takes a Backoff and a function to call that returns an error If the error is nil then the function will no longer be called If the error is Retriable then that will be used to determine if it should be retried.
SlicesDeepEqual checks if slice1 and slice2 are equal, disregarding order.
No description provided by the author
No description provided by the author
Uint16SliceToStringSlice converts a slice of type uint16 to a slice of type *string.
No description provided by the author

# Structs

Implements semaphore.
No description provided by the author
No description provided by the author
Implements error.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author