feed-gipeda-0.3.0.1: CI service around gipeda

Safe HaskellSafe
LanguageHaskell2010

FeedGipeda.Types

Description

The types for configuring feedGipeda. Correspond to the different modes of operation that are possible, but in a type-safe way.

Synopsis

Documentation

data Paths Source #

Important file paths for the master node.

Constructors

Paths 

Fields

Instances

Eq Paths Source # 

Methods

(==) :: Paths -> Paths -> Bool #

(/=) :: Paths -> Paths -> Bool #

Show Paths Source # 

Methods

showsPrec :: Int -> Paths -> ShowS #

show :: Paths -> String #

showList :: [Paths] -> ShowS #

data Endpoint Source #

An IP endpoint, or rather some string and some integer delimited by a colon.

Constructors

Endpoint 

Fields

type Timeout = NominalDiffTime Source #

data Command Source #

feed-gipeda can either check config file syntax or build the sites.

Constructors

Check 
Build BuildMode Timeout 

data BuildMode Source #

Whether feed-gipeda should exit when done regenerating

Constructors

Once

Don't watch the config file or repositories for updates, exit immediately when there are no more commits to benchmark.

WatchForChanges NominalDiffTime

Don't exit; watch config file and repositories for updates.

data Deployment Source #

Signifies deployment to a location accessible via SSH.

Constructors

NoDeployment 
Deploy String

A SSH/local directory where to rsync website changes to.

data ProcessRole Source #

Whether the current feed-gipeda process is a master node, slave node, or both.

Constructors

Master Int

local port

Slave Int Endpoint

local port, remote endpoint of the master node

Both Int Int

local port for master, local port for slave