IsAmazonPrivateLinkEndpoint - Match if it is exactly Amazon S3 PrivateLink interface endpoint See https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html.
(endpointURL url.URL)
| 269 | // IsAmazonPrivateLinkEndpoint - Match if it is exactly Amazon S3 PrivateLink interface endpoint |
| 270 | // See https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html. |
| 271 | func IsAmazonPrivateLinkEndpoint(endpointURL url.URL) bool { |
| 272 | if endpointURL == sentinelURL { |
| 273 | return false |
| 274 | } |
| 275 | return amazonS3HostPrivateLink.MatchString(endpointURL.Hostname()) |
| 276 | } |
| 277 | |
| 278 | // IsGoogleEndpoint - Match if it is exactly Google cloud storage endpoint. |
| 279 | func IsGoogleEndpoint(endpointURL url.URL) bool { |
no outgoing calls