Versions in this module Expand all Collapse all v0 v0.2.2 Jan 15, 2025 Changes in this version + const MountTypeAuto + const MountTypeVirtiofs + func CreateImage(file string, cfg Configuration) error + type Configuration struct + Extension Extension + Metadata Metadata + Mounts []Mount + Network []Ethernet + Users []User + type Ethernet struct + Addresses []string + DHCP4 bool + Gateway4 string + Gateway6 string + Mac MacMatch + Name string + Nameservers *Nameservers + Routes []Route + type Extension struct + Entrypoint string + Environment map[string]string + type MacMatch string + func (n MacMatch) MarshalYAML() (interface{}, error) + func (n MacMatch) String() string + type Metadata struct + Hostname string + InstanceID string + type Mount struct + Source string + Target string + Type MountType + func (m Mount) MarshalYAML() (interface{}, error) + type MountType string + type Nameservers struct + Addresses []string + Search []string + type NetworkObjectType string + type Route struct + Metric int + To string + Via string + type SubnetType string + type User struct + Keys []string + Name string