api documentation for node-etcd (v5.0.3)

etcd library for node.js (etcd v2 api)

table of contents

  1. module node-etcd
    1. function node-etcd (hosts, options)
    2. function node-etcd.client (hosts, options1, sslopts)
    3. function node-etcd.watcher (etcd, key, index, options)
    4. object node-etcd.client.prototype
    5. object node-etcd.watcher.prototype
  2. module node-etcd.client
    1. function node-etcd.client (hosts, options1, sslopts)
  3. module node-etcd.client.prototype
    1. function node-etcd.client.prototype._doRequest (options, reqRespHandler)
    2. function node-etcd.client.prototype._error (token, callback)
    3. function node-etcd.client.prototype._handleResponse (err, resp, body, callback)
    4. function node-etcd.client.prototype._isHttpError (err, resp)
    5. function node-etcd.client.prototype._isPossibleLeaderElection (errors)
    6. function node-etcd.client.prototype._multiserverHelper (servers, options, token, callback)
    7. function node-etcd.client.prototype._retry (token, options, callback)
    8. function node-etcd.client.prototype._shouldRetry (token)
    9. function node-etcd.client.prototype._waitTime (retries)
    10. function node-etcd.client.prototype.delete (options, callback)
    11. function node-etcd.client.prototype.execute (method, options, callback)
    12. function node-etcd.client.prototype.get (options, callback)
    13. function node-etcd.client.prototype.patch (options, callback)
    14. function node-etcd.client.prototype.post (options, callback)
    15. function node-etcd.client.prototype.put (options, callback)
  4. module node-etcd.watcher
    1. boolean node-etcd.watcher.usingDomains
    2. function node-etcd.watcher (etcd, key, index, options)
    3. function node-etcd.watcher.EventEmitter ()
    4. function node-etcd.watcher.init ()
    5. function node-etcd.watcher.listenerCount (emitter, type)
    6. number node-etcd.watcher.defaultMaxListeners
    7. object node-etcd.watcher.__super__
  5. module node-etcd.watcher.prototype
    1. function node-etcd.watcher.prototype._error (err)
    2. function node-etcd.watcher.prototype._missingValue (headers)
    3. function node-etcd.watcher.prototype._respHandler (err, val, headers)
    4. function node-etcd.watcher.prototype._resync (err)
    5. function node-etcd.watcher.prototype._retry ()
    6. function node-etcd.watcher.prototype._unexpectedData (val, headers)
    7. function node-etcd.watcher.prototype._valueChanged (val, headers)
    8. function node-etcd.watcher.prototype._watch ()
    9. function node-etcd.watcher.prototype.constructor (etcd, key, index, options)
    10. function node-etcd.watcher.prototype.stop ()

module node-etcd

function node-etcd (hosts, options)

function node-etcd.client (hosts, options1, sslopts)

function node-etcd.watcher (etcd, key, index, options)

module node-etcd.client

function node-etcd.client (hosts, options1, sslopts)

module node-etcd.client.prototype

function node-etcd.client.prototype._doRequest (options, reqRespHandler)

function node-etcd.client.prototype._error (token, callback)

function node-etcd.client.prototype._handleResponse (err, resp, body, callback)

function node-etcd.client.prototype._isHttpError (err, resp)

function node-etcd.client.prototype._isPossibleLeaderElection (errors)

function node-etcd.client.prototype._multiserverHelper (servers, options, token, callback)

function node-etcd.client.prototype._retry (token, options, callback)

function node-etcd.client.prototype._shouldRetry (token)

function node-etcd.client.prototype._waitTime (retries)

function node-etcd.client.prototype.delete (options, callback)

function node-etcd.client.prototype.execute (method, options, callback)

function node-etcd.client.prototype.get (options, callback)

function node-etcd.client.prototype.patch (options, callback)

function node-etcd.client.prototype.post (options, callback)

function node-etcd.client.prototype.put (options, callback)

module node-etcd.watcher

function node-etcd.watcher (etcd, key, index, options)

function node-etcd.watcher.EventEmitter ()

function node-etcd.watcher.init ()

function node-etcd.watcher.listenerCount (emitter, type)

module node-etcd.watcher.prototype

function node-etcd.watcher.prototype._error (err)

function node-etcd.watcher.prototype._missingValue (headers)

function node-etcd.watcher.prototype._respHandler (err, val, headers)

function node-etcd.watcher.prototype._resync (err)

function node-etcd.watcher.prototype._retry ()

function node-etcd.watcher.prototype._unexpectedData (val, headers)

function node-etcd.watcher.prototype._valueChanged (val, headers)

function node-etcd.watcher.prototype._watch ()

function node-etcd.watcher.prototype.constructor (etcd, key, index, options)

function node-etcd.watcher.prototype.stop ()

[ this document was created with utility2 ]