Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • KVClient

Index

Constructors

Methods

Constructors

constructor

Methods

compact

  • Compact compacts the event history in the etcd key-value store. The key-value store should be periodically compacted or the event history will continue to grow indefinitely.

    Parameters

    Returns Promise<ICompactionResponse>

deleteRange

  • DeleteRange deletes the given range from the key-value store. A delete request increments the revision of the key-value store and generates a delete event in the event history for every deleted key.

    Parameters

    Returns Promise<IDeleteRangeResponse>

put

  • Put puts the given key into the key-value store. A put request increments the revision of the key-value store and generates one event in the event history.

    Parameters

    Returns Promise<IPutResponse>

range

txn

  • Txn processes multiple requests in a single transaction. A txn request increments the revision of the key-value store and generates events with the same revision for every completed request. It is not allowed to modify the same key several times within one txn.

    Parameters

    Returns Promise<ITxnResponse>

Legend

  • Constructor
  • Method
  • Inherited method

Generated using TypeDoc