Expand description
Instance name validation and management for LXD VMs and containers
This module provides the InstanceName type which ensures instance names
follow the strict naming requirements imposed by LXD for security and
compatibility reasons. The validated names are used for:
- LXD Virtual Machines: Names for provisioned VMs in production/deployment environments
- Testing Containers: Names for Docker containers used in end-to-end tests
§Naming Requirements
- Length: 1-63 characters
- Characters: ASCII letters, numbers, and dashes only
- Cannot start with digit or dash
- Cannot end with dash
These restrictions ensure compatibility with DNS records, file systems, security profiles, and host names across different environments.
Structs§
- Instance
Name - A validated instance name following LXD naming requirements.
Enums§
- Instance
Name Error - Errors that can occur during instance name validation