key is the key, in bytes, to put into the key-value store.
value is the value, in bytes, to associate with the key in the key-value store.
lease is the lease ID to associate with the key in the key-value store. A lease value of 0 indicates no lease.
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.
If ignore_value is set, etcd updates the key using its current value. Returns an error if the key does not exist.
If ignore_lease is set, etcd updates the key using its current lease. Returns an error if the key does not exist.
If ignore_lease is set, etcd updates the key using its current lease.
If ignore_lease is set, etcd updates the key using its current lease. Returns an error if the key does not exist.
If ignore_value is set, etcd updates the key using its current value.
If ignore_value is set, etcd updates the key using its current value. Returns an error if the key does not exist.
key is the key, in bytes, to put into the key-value store.
lease is the lease ID to associate with the key in the key-value store.
lease is the lease ID to associate with the key in the key-value store. A lease value of 0 indicates no lease.
If prev_kv is set, etcd gets the previous key-value pair before changing it.
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.
value is the value, in bytes, to associate with the key in the key-value store.
(Since version 0.6.0) Use toPMessage
(Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue
key is the key, in bytes, to put into the key-value store.
value is the value, in bytes, to associate with the key in the key-value store.
lease is the lease ID to associate with the key in the key-value store. A lease value of 0 indicates no lease.
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.
If ignore_value is set, etcd updates the key using its current value. Returns an error if the key does not exist.
If ignore_lease is set, etcd updates the key using its current lease. Returns an error if the key does not exist.