IsAliyunOSSEndpoint - Match if it is exactly Aliyun OSS endpoint.
(endpointURL url.URL)
| 206 | |
| 207 | // IsAliyunOSSEndpoint - Match if it is exactly Aliyun OSS endpoint. |
| 208 | func IsAliyunOSSEndpoint(endpointURL url.URL) bool { |
| 209 | return strings.HasSuffix(endpointURL.Hostname(), "aliyuncs.com") |
| 210 | } |
| 211 | |
| 212 | // IsAmazonExpressRegionalEndpoint Match if the endpoint is S3 Express regional endpoint. |
| 213 | func IsAmazonExpressRegionalEndpoint(endpointURL url.URL) bool { |
no outgoing calls
no test coverage detected