Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Poller ¶
type Poller struct {
// contains filtered or unexported fields
}
func NewPoller ¶
func NewPoller(options PollerOptions) (*Poller, error)
NewPoller creates new Poller.
An error may be returned if you passed invalid options.
type PollerOptions ¶
type PollerOptions struct {
// TableArn is an ARN of the table that the poller waits for export jobs
TableArn string
// InitialDelay is used for first interval
InitialDelay time.Duration
// MaxDelay is maximum interval for each requests
MaxDelay time.Duration
// MaxAttempts is a number to send export job status check requests
MaxAttempts int
Concurrency int64
// Timeout is used for all export job status check requests. No requests are sent over this timeout.
Timeout time.Duration
}
PollerOptions is a set of Poller's options
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
dynamodb-export-poller
command
|
|
|
internal
|
|
|
ddb
Package ddb is a generated GoMock package.
|
Package ddb is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.