MCPcopy
hub / github.com/minio/minio-go / IsAmazonExpressRegionalEndpoint

Function IsAmazonExpressRegionalEndpoint

pkg/s3utils/utils.go:213–215  ·  view source on GitHub ↗

IsAmazonExpressRegionalEndpoint Match if the endpoint is S3 Express regional endpoint.

(endpointURL url.URL)

Source from the content-addressed store, hash-verified

211
212// IsAmazonExpressRegionalEndpoint Match if the endpoint is S3 Express regional endpoint.
213func IsAmazonExpressRegionalEndpoint(endpointURL url.URL) bool {
214 return amazonS3HostExpressControl.MatchString(endpointURL.Hostname())
215}
216
217// IsAmazonExpressZonalEndpoint Match if the endpoint is S3 Express zonal endpoint.
218func IsAmazonExpressZonalEndpoint(endpointURL url.URL) bool {

Callers 2

newRequestMethod · 0.92
makeTargetURLMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected