SetS3EnableDualstack turns s3 dual-stack endpoints on or off for all requests. The feature is only specific to S3 and is on by default. To read more about Amazon S3 dual-stack endpoints visit - https://docs.aws.amazon.com/AmazonS3/latest/userguide/dual-stack-endpoints.html
(enabled bool)
| 416 | // Amazon S3 dual-stack endpoints visit - |
| 417 | // https://docs.aws.amazon.com/AmazonS3/latest/userguide/dual-stack-endpoints.html |
| 418 | func (c *Client) SetS3EnableDualstack(enabled bool) { |
| 419 | if s3utils.IsAmazonEndpoint(*c.endpointURL) { |
| 420 | c.s3DualstackEnabled = enabled |
| 421 | } |
| 422 | } |
| 423 | |
| 424 | // Hash materials provides relevant initialized hash algo writers |
| 425 | // based on the expected signature type. |
nothing calls this directly
no test coverage detected