Safe Haskell | None |
---|---|
Language | Haskell2010 |
The API part of feed-gipeda
. The console client is just a thin wrapper
around this.
- data Endpoint = Endpoint {}
- feedGipeda :: Paths -> Command -> Deployment -> ProcessRole -> Verbosity -> IO ()
- data Paths = Paths {
- configFile :: FilePath
- gipeda :: FilePath
- data Endpoint = Endpoint {}
- data Command
- data BuildMode
- data Deployment
- data ProcessRole
- masterEndpoint :: ProcessRole -> Maybe Endpoint
- slaveEndpoint :: ProcessRole -> Maybe Endpoint
- isBoth :: ProcessRole -> Bool
- data Verbosity
Documentation
An IP endpoint, or rather some string and some integer delimited by a colon.
feedGipeda :: Paths -> Command -> Deployment -> ProcessRole -> Verbosity -> IO () Source
The parameters correspond exactly to the command line parameters, to
you should read the --help
message for more thorough documentation.
feedGipeda
determines the appropriate mode of operation (e.g. watching or one-shot).
It also works as master or slave node, depending on which endpoints are given.
Lastly, verbose
will lead to more debug output.
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.
isBoth :: ProcessRole -> Bool Source