Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
createManagedSession :: MonadIO m => ConsulClient -> Maybe Text -> Int -> m (Maybe ManagedSession) Source
deleteKey :: MonadIO m => ConsulClient -> Text -> Bool -> Maybe Datacenter -> m () Source
destroyManagedSession :: MonadIO m => ConsulClient -> ManagedSession -> m () Source
getKey :: MonadIO m => ConsulClient -> Text -> Maybe Word64 -> Maybe Consistency -> Maybe Datacenter -> m (Maybe KeyValue) Source
getKeys :: MonadIO m => ConsulClient -> Text -> Maybe Word64 -> Maybe Consistency -> Maybe Datacenter -> m [KeyValue] Source
initializeConsulClient :: MonadIO m => Text -> PortNumber -> Maybe Manager -> m ConsulClient Source
listKeys :: MonadIO m => ConsulClient -> Text -> Maybe Word64 -> Maybe Consistency -> Maybe Datacenter -> m [Text] Source
putKey :: MonadIO m => ConsulClient -> KeyValuePut -> Maybe Datacenter -> m Bool Source
putKeyAcquireLock :: MonadIO m => ConsulClient -> KeyValuePut -> Session -> Maybe Datacenter -> m Bool Source
putKeyReleaseLock :: MonadIO m => ConsulClient -> KeyValuePut -> Session -> Maybe Datacenter -> m Bool Source
withManagedSession :: MonadIO m => ConsulClient -> Int -> (Session -> m ()) -> m () Source
data Consistency Source
data ConsulClient Source
ConsulClient | |
|
data Datacenter Source
KeyValue | |
|
data KeyValuePut Source
KeyValuePut | |
|