Safe Haskell | None |
---|---|
Language | Haskell2010 |
Zuul
Contents
Description
This module contains the zuul REST client
Synopsis
- data ZuulClient
- withClient :: Text -> (ZuulClient -> IO ()) -> IO ()
- getStatus :: ZuulClient -> IO Status
- data Status = Status {}
Client
data ZuulClient Source #
The ZuulClient record, use withClient
to create
Arguments
:: Text | The zuul api url |
-> (ZuulClient -> IO ()) | The callback |
-> IO () | withClient performs the IO |
Create the ZuulClient
Api
Main data types
Constructors
Status | |
Fields
|
Instances
Show Status Source # | |
Generic Status Source # | |
FromJSON Status Source # | |
type Rep Status Source # | |
Defined in Zuul.Status type Rep Status = D1 ('MetaData "Status" "Zuul.Status" "zuul-0.0.0.0-IdeecVaPpZS5SpfMJpAFET" 'False) (C1 ('MetaCons "Status" 'PrefixI 'True) (S1 ('MetaSel ('Just "statusZuulVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "statusPipelines") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Pipeline]))) |