Astarte.Core.Realm (astarte_core v1.3.0)

Copy Markdown View Source

Functions that deal with Astarte realms

Summary

Functions

Returns true if realm_name is a valid realm name, false otherwise.

Functions

valid_name?(realm_name)

Returns true if realm_name is a valid realm name, false otherwise.

Valid realm names match this regular expression: ~r/^[a-z][a-z0-9]{0,47}$/. In addition, the astarte and system names and the system_ prefix are reserved.