Documentation
¶
Index ¶
Constants ¶
View Source
const PluginName = "aws"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsConnection ¶
type AwsConnection struct {
Profile *string `hcl:"profile"`
AccessKey *string `hcl:"access_key"`
SecretKey *string `hcl:"secret_key"`
SessionToken *string `hcl:"session_token"`
MaxErrorRetryAttempts *int `hcl:"max_error_retry_attempts"`
MinErrorRetryDelay *int `hcl:"min_error_retry_delay"`
EndpointUrl *string `hcl:"endpoint_url"`
S3ForcePathStyle *bool `hcl:"s3_force_path_style"`
}
func (*AwsConnection) GetClientConfiguration ¶
func (*AwsConnection) Identifier ¶
func (c *AwsConnection) Identifier() string
func (*AwsConnection) Validate ¶
func (c *AwsConnection) Validate() error
type ExponentialJitterBackoff ¶
type ExponentialJitterBackoff struct {
// contains filtered or unexported fields
}
ExponentialJitterBackoff provides backoff delays with jitter based on the number of attempts.
func NewExponentialJitterBackoff ¶
func NewExponentialJitterBackoff(minDelay time.Duration, maxAttempts int) *ExponentialJitterBackoff
NewExponentialJitterBackoff returns an ExponentialJitterBackoff configured for the max backoff.
func (*ExponentialJitterBackoff) BackoffDelay ¶
BackoffDelay returns the duration to wait before the next attempt should be made. Returns an error if unable get a duration.
type NoOpRateLimit ¶
type NoOpRateLimit struct{}
NoOpRateLimit https://github.com/aws/aws-sdk-go-v2/issues/543
func (NoOpRateLimit) AddTokens ¶
func (NoOpRateLimit) AddTokens(uint) error
Click to show internal directories.
Click to hide internal directories.