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

Function CheckValidBucketNameStrict

pkg/s3utils/utils.go:455–457  ·  view source on GitHub ↗

CheckValidBucketNameStrict - checks if we have a valid input bucket name. This is a stricter version. - http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html

(bucketName string)

Source from the content-addressed store, hash-verified

453// This is a stricter version.
454// - http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html
455func CheckValidBucketNameStrict(bucketName string) (err error) {
456 return checkBucketNameCommon(bucketName, true)
457}
458
459// CheckValidObjectNamePrefix - checks if we have a valid input object name prefix.
460// - http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html

Callers 2

makeBucketMethod · 0.92

Calls 1

checkBucketNameCommonFunction · 0.85

Tested by 1