Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(machine machina.MachineInfo, opts qemu.Options) []systemdconf.Section
Build returns a set of systemd unit configuration sections for machine with the given options.
func QuoteArg ¶
QuoteArg returns the argument in a form suitable for use in a systemd exec command line. The returned string is only quoted if necessary.
func QuoteOption ¶
QuoteOption returns a string representation of the option.
It returns an empty string if the option is invalid.
The returned string will be properly quoted so that it is suitable for use in a systemd exec command line.
func QuoteOptions ¶
QuoteOptions returns a multiline string for invocation of a QEMU virtual machine with the given options.
The returned string will be properly quoted so that it is suitable for use in a systemd exec command line.
Types ¶
This section is empty.