lxd-client-0.1.0.3: LXD client written in Haskell.

Safe HaskellNone
LanguageHaskell2010

Network.LXD.Client

Contents

Description

This module exposes functionality to create LXD clients. These can be used to communciate to an LXD daemon, either using the high-level Network.LXD.Client.Commands module, or the low-level Network.LXD.Client.API module.

You are probably looking for Network.LXD.Client.Commands, which exposes a high-level interface to communicate with the LXD daemon.

If you are simply connecting to the LXD daemon on your local host, you shouldn't import this module. The Network.LXD.Client.Commands module probably re-exports enough functionality for your needs.

Synopsis

Documentation

LXD Host Management

HTTPS Clients

Types

data RemoteHost Source #

A structure containing everything to connect to a remote LXD host.

Constructors

RemoteHost 

Fields

Instances

data ClientAuth Source #

Specifies the client authentication method.

Constructors

NoClientAuth

Do not authenticate the client.

DefaultClientAuth

Look in ~.configlxc and fetch the client certificate.

ClientAuthKey PrivateKey

Use a custom private key.

data ServerAuth Source #

Specifies the server authentication method.

Constructors

DefaultCAStore

Use the default CA store when checking the certificate.

DefaultServerAuth RemoteName

Look in ~.configlxc/servercerts and fetch the server certificate for the specified remote.

ServerAuth Certificate

Use a custom server certificate.

Functions

Unix Clients

newtype LocalHost Source #

A structure containing everything to connect to a lcoal LXD host.

Constructors

LocalHost 

Fields

Instances

WebSockets Clients