Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ActorIDRegexPattern is the regular expression pattern for matching valid actor IDs. ActorIDRegexPattern = `[a-z0-9]([-a-z0-9]*[a-z0-9])?` // ActorDNSSuffix is suffix to the DNS name for direct access to Actor // "<actor id>.actors.resources.substrate.ate.dev." ActorDNSSuffix = "actors.resources.substrate.ate.dev" )
Variables ¶
This section is empty.
Functions ¶
func ValidateActorID ¶
ValidateActorID validates whether the provided actor ID is valid or not. Actor IDs must be valid DNS-1123 labels.
1. Must be between 1 and 63 characters in length. 2. Must start with a lower-case alphanumeric character (a-z, 0-9). 3. Must contain only lower-case alphanumeric characters and hyphens (a-z, 0-9, -). 4. Must end with a lower-case alphanumeric character (cannot end with a hyphen).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.