Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IPutRequest

Index

Properties

Optional ignore_lease

ignore_lease: undefined | false | true

If ignore_lease is set, etcd updates the key using its current lease. Returns an error if the key does not exist.

Optional ignore_value

ignore_value: undefined | false | true

If ignore_value is set, etcd updates the key using its current value. Returns an error if the key does not exist.

Optional key

key: Buffer

key is the key, in bytes, to put into the key-value store.

Optional lease

lease: string | number

lease is the lease ID to associate with the key in the key-value store. A lease value of 0 indicates no lease.

Optional prev_kv

prev_kv: undefined | false | true

If prev_kv is set, etcd gets the previous key-value pair before changing it. The previous key-value pair will be returned in the put response.

Optional value

value: Buffer

value is the value, in bytes, to associate with the key in the key-value store.

Legend

  • Constructor
  • Method
  • Inherited method

Generated using TypeDoc