Expand description
Supports Governed Map key-value pair store management
Functions§
- run_get
- Queries the provided
key
from the governed map. - run_
insert - Inserts an entry into the governed map.
If the
key
is already set to the providedvalue
a transaction is not submitted and the operation succeeds. Else if thekey
is 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
key
doesn’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_value
is provided, the currentvalue
for thekey
must match it, otherwise the operation fails. If thekey
is not set, the operation fails. If thekey
is already set to the providedvalue
a transaction is not submitted and the operation succeeds.