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

Function IsAliyunOSSEndpoint

pkg/s3utils/utils.go:208–210  ·  view source on GitHub ↗

IsAliyunOSSEndpoint - Match if it is exactly Aliyun OSS endpoint.

(endpointURL url.URL)

Source from the content-addressed store, hash-verified

206
207// IsAliyunOSSEndpoint - Match if it is exactly Aliyun OSS endpoint.
208func 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.
213func IsAmazonExpressRegionalEndpoint(endpointURL url.URL) bool {

Callers 1

IsVirtualHostSupportedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected