lxd-client-config-0.1.0.1: Read the configuration file of the standard LXD client.

Safe HaskellNone
LanguageHaskell2010

System.LXD.Client.Config

Contents

Synopsis

Files

defaultFile :: IO FilePath Source #

Return the file path of the default configuration file.

parseDefaultFile :: IO Config Source #

Parse the default configuration file

Throws an IO exception or a ParseException

parseFile :: FilePath -> IO Config Source #

Parse the given configuration file.

Throws an IO exception or a ParseException

Types

data Config Source #

The main configuration of the default LXD client.

Represents the file at ~/.config/lxc/config.yml.