Documentation
¶
Overview ¶
Package common contains various helpers for adapters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustParseARN ¶
MustParseARN parses an ARN and panics in case of error.
func MustParseCognitoIdentityResource ¶
MustParseCognitoIdentityResource parses the resource segment of a Cognito Identity Pool ARN and panics in case of error.
func MustParseCognitoUserPoolResource ¶
MustParseCognitoUserPoolResource parses the resource segment of a Cognito User Pool ARN and panics in case of error.
func MustParseDynamoDBResource ¶
MustParseDynamoDBResource parses the resource segment of a DynamoDB ARN and panics in case of error.
func MustParseKinesisResource ¶
MustParseKinesisResource parses the resource segment of a Kinesis ARN and panics in case of error.
Types ¶
type Backoff ¶
type Backoff struct {
// contains filtered or unexported fields
}
Backoff provides a simple exponential backoff mechanism.
func NewBackoff ¶
NewBackoff accepts optional values for minimum and maximum wait period and returns a new instance of Backoff.
Directories
¶
Path | Synopsis |
---|---|
Package controller contains helpers shared between controllers embedded in source adapters.
|
Package controller contains helpers shared between controllers embedded in source adapters. |
Package env allows propagating runtime configurations via the environment.
|
Package env allows propagating runtime configurations via the environment. |
Package health contains helpers to enable HTTP health checking.
|
Package health contains helpers to enable HTTP health checking. |