Expand description
Supports Governed Map key-value pair store management
Functions§
- run_get
- Queries the provided
keyfrom the governed map. - run_
insert - Inserts an entry into the governed map.
If the
keyis already set to the providedvaluea transaction is not submitted and the operation succeeds. Else if thekeyis already set, the operation fails. - run_
insert_ with_ force - Necessary to test rare case, where two inserts for the same key are executed
- run_
list - Queries all entries stored in the governed map.
- run_
remove - Removes an entry from the governed map.
If the
keydoesn’t exist in the map a transaction is not submitted and the operation succeeds. - run_
update - Updates an entry in the governed map.
If
expected_current_valueis provided, the currentvaluefor thekeymust match it, otherwise the operation fails. If thekeyis not set, the operation fails. If thekeyis already set to the providedvaluea transaction is not submitted and the operation succeeds.