resources

package
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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

func ValidateActorID(id string) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL