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