Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
The types for configuring feedGipeda
. Correspond to the different modes
of operation that are possible, but in a type-safe way.
- data Paths = Paths {
- configFile :: FilePath
- gipeda :: FilePath
- data Endpoint = Endpoint {}
- type Timeout = NominalDiffTime
- data Command
- data BuildMode
- = Once
- | WatchForChanges NominalDiffTime
- data Deployment
- data ProcessRole
- masterEndpoint :: ProcessRole -> Endpoint
- slaveEndpoint :: ProcessRole -> Maybe Endpoint
- isBoth :: ProcessRole -> Bool
- data Verbosity
Documentation
Important file paths for the master node.
Paths | |
|
An IP endpoint, or rather some string and some integer delimited by a colon.
feed-gipeda can either check config file syntax or build the sites.
Whether feed-gipeda should exit when done regenerating
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.
NoDeployment | |
Deploy String | A SSH/local directory where to |
data ProcessRole Source #
Whether the current feed-gipeda process is a master node, slave node, or both.
masterEndpoint :: ProcessRole -> Endpoint Source #
slaveEndpoint :: ProcessRole -> Maybe Endpoint Source #
isBoth :: ProcessRole -> Bool Source #