Documentation
¶
Overview ¶
Package storage provides validators for Google Cloud Storage identifiers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidBucketName ¶
IsValidBucketName validates a Google Cloud Storage bucket name.
A valid bucket name must:
- Contain only lowercase letters, digits, dashes (-), underscores (_), and dots (.)
- Start and end with a number or letter
- Be 3 to 63 characters long (or up to 222 for dotted names)
- Not contain consecutive dots
- Not look like an IP address
Note: This validates format only, not whether the bucket name is available.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.