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 #

Return the file path of the default configuration file.

parseDefaultFile :: IO Config #

Parse the default configuration file

Throws an IO exception or a ParseException

parseFile :: FilePath -> IO Config #

Parse the given configuration file.

Throws an IO exception or a ParseException

Types

data Config #

The main configuration of the default LXD client.

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

data Remote #

The configuration of a remote.

Used by Config.