Struct: client.NoOpRetryer
import "../ibm-cos-sdk-go/aws/client"
Overview
MaxRetries returns the number of maximum returns the service will use to make an individual API; For NoOpRetryer the MaxRetries will always be zero.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Retryer, s3manager.WriterReadFrom
Method Summary collapse
- func (d NoOpRetryer) MaxRetries() int
-
func (d NoOpRetryer) RetryRules(_ *request.Request) time.Duration
RetryRules returns the delay duration before retrying this request again; since NoOpRetryer does not retry, RetryRules always returns 0.
-
func (d NoOpRetryer) ShouldRetry(_ *request.Request) bool
ShouldRetry will always return false for NoOpRetryer, as it should never retry.
Method Details
func (d NoOpRetryer) MaxRetries() int
14 15 16 |
// File 'aws/client/no_op_retryer.go', line 14
|
func (d NoOpRetryer) RetryRules(_ *request.Request) time.Duration
RetryRules returns the delay duration before retrying this request again; since NoOpRetryer does not retry, RetryRules always returns 0.
25 26 27 |
// File 'aws/client/no_op_retryer.go', line 25
|
func (d NoOpRetryer) ShouldRetry(_ *request.Request) bool
ShouldRetry will always return false for NoOpRetryer, as it should never retry.
19 20 21 |
// File 'aws/client/no_op_retryer.go', line 19
|