Skip to main content

Module info

Expand description

LXD instance information structures

This module provides the InstanceInfo struct which contains runtime information about LXD instances, including their names and network configuration.

§Key Features

  • Instance name and IP address tracking
  • Optional IP address handling for instances that may not have network connectivity
  • Integration with instance name validation
  • Support for both containers and virtual machines

The instance information is typically retrieved from LXD list commands and used for connecting to and managing deployed instances.

Structs§

InstanceInfo
Instance information from LXD