Documentation
¶
Index ¶
Constants ¶
const DotLima = ".lima"
DotLima is a directory that appears under the home directory.
Variables ¶
This section is empty.
Functions ¶
func InstanceDir ¶
InstanceDir returns the instance dir. InstanceDir does not check whether the instance exists.
func LimaConfigDir ¶
LimaConfigDir returns the path of the config directory, $LIMA_HOME/_config.
func LimaDir ¶
LimaDir returns the absolute path of `~/.lima` (or $LIMA_HOME, if set).
NOTE: We do not use `~/Library/Application Support/Lima` on macOS. We use `~/.lima` so that we can have enough space for the length of the socket path, which can be only 104 characters on macOS.
func LimaDisksDir ¶
LimaDisksDir returns the path of the disks directory, $LIMA_HOME/_disks.
func LimaNetworksDir ¶
LimaNetworksDir returns the path of the networks log directory, $LIMA_HOME/_networks.
func LimaTemplatesDir ¶
LimaTemplatesDir returns the path of the templates directory, $LIMA_HOME/_templates.
func ValidateInstName ¶
ValidateInstName checks if the name is a valid instance name. For this it needs to be a valid identifier, and not end in .yml or .yaml (case insensitively).
Types ¶
This section is empty.