| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.Consul.Types
Documentation
Constructors
| Check | |
Constructors
| Config | |
Fields
| |
data Consistency #
Constructors
| Consistent | |
| Default | |
| Stale |
Instances
data ConsulClient #
Constructors
| ConsulClient | |
Fields
| |
data Datacenter #
Constructors
| Datacenter Text |
Instances
| Eq Datacenter # | |
Defined in Network.Consul.Types | |
| Ord Datacenter # | |
Defined in Network.Consul.Types Methods compare :: Datacenter -> Datacenter -> Ordering # (<) :: Datacenter -> Datacenter -> Bool # (<=) :: Datacenter -> Datacenter -> Bool # (>) :: Datacenter -> Datacenter -> Bool # (>=) :: Datacenter -> Datacenter -> Bool # max :: Datacenter -> Datacenter -> Datacenter # min :: Datacenter -> Datacenter -> Datacenter # | |
| Show Datacenter # | |
Defined in Network.Consul.Types Methods showsPrec :: Int -> Datacenter -> ShowS # show :: Datacenter -> String # showList :: [Datacenter] -> ShowS # | |
| FromJSON Datacenter # | |
Defined in Network.Consul.Types | |
data HealthCheck #
Instances
| Eq HealthCheck # | |
Defined in Network.Consul.Types | |
| Ord HealthCheck # | |
Defined in Network.Consul.Types Methods compare :: HealthCheck -> HealthCheck -> Ordering # (<) :: HealthCheck -> HealthCheck -> Bool # (<=) :: HealthCheck -> HealthCheck -> Bool # (>) :: HealthCheck -> HealthCheck -> Bool # (>=) :: HealthCheck -> HealthCheck -> Bool # max :: HealthCheck -> HealthCheck -> HealthCheck # min :: HealthCheck -> HealthCheck -> HealthCheck # | |
| Show HealthCheck # | |
Defined in Network.Consul.Types Methods showsPrec :: Int -> HealthCheck -> ShowS # show :: HealthCheck -> String # showList :: [HealthCheck] -> ShowS # | |
| ToJSON HealthCheck # | |
Defined in Network.Consul.Types Methods toJSON :: HealthCheck -> Value # toEncoding :: HealthCheck -> Encoding # toJSONList :: [HealthCheck] -> Value # toEncodingList :: [HealthCheck] -> Encoding # | |
data HealthCheckStatus #
Instances
Constructors
| KeyValue | |
Fields
| |
data KeyValuePut #
Constructors
| KeyValuePut | |
Fields
| |
Constructors
| Member | |
Fields
| |
data RegisterRequest #
Constructors
| RegisterRequest | |
data RegisterHealthCheck #
Constructors
| RegisterHealthCheck | |
Instances
| ToJSON RegisterHealthCheck # | |
Defined in Network.Consul.Types Methods toJSON :: RegisterHealthCheck -> Value # toEncoding :: RegisterHealthCheck -> Encoding # toJSONList :: [RegisterHealthCheck] -> Value # toEncodingList :: [RegisterHealthCheck] -> Encoding # | |
data RegisterService #
Constructors
| RegisterService | |
Instances
| ToJSON RegisterService # | |
Defined in Network.Consul.Types Methods toJSON :: RegisterService -> Value # toEncoding :: RegisterService -> Encoding # toJSONList :: [RegisterService] -> Value # toEncodingList :: [RegisterService] -> Encoding # | |
data ServiceResult #
Constructors
| ServiceResult | |
Fields
| |
Instances
| Show ServiceResult # | |
Defined in Network.Consul.Types Methods showsPrec :: Int -> ServiceResult -> ShowS # show :: ServiceResult -> String # showList :: [ServiceResult] -> ShowS # | |
| ToJSON ServiceResult # | |
Defined in Network.Consul.Types Methods toJSON :: ServiceResult -> Value # toEncoding :: ServiceResult -> Encoding # toJSONList :: [ServiceResult] -> Value # toEncodingList :: [ServiceResult] -> Encoding # | |
| FromJSON ServiceResult # | |
Defined in Network.Consul.Types Methods parseJSON :: Value -> Parser ServiceResult # parseJSONList :: Value -> Parser [ServiceResult] # | |
data SessionBehavior #
Instances
data SessionInfo #
Constructors
| SessionInfo | |
Fields
| |
Instances
| Eq SessionInfo # | |
Defined in Network.Consul.Types | |
| Show SessionInfo # | |
Defined in Network.Consul.Types Methods showsPrec :: Int -> SessionInfo -> ShowS # show :: SessionInfo -> String # showList :: [SessionInfo] -> ShowS # | |
| FromJSON SessionInfo # | |
Defined in Network.Consul.Types | |
data SessionRequest #
Constructors
| SessionRequest | |
Instances
| ToJSON SessionRequest # | |
Defined in Network.Consul.Types Methods toJSON :: SessionRequest -> Value # toEncoding :: SessionRequest -> Encoding # toJSONList :: [SessionRequest] -> Value # toEncodingList :: [SessionRequest] -> Encoding # | |