]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: map: dynamic manipulation of maps
authorThierry FOURNIER <tfournier@exceliance.fr>
Wed, 11 Dec 2013 15:55:52 +0000 (16:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 12 Dec 2013 14:58:30 +0000 (15:58 +0100)
commitc0e0d7b7cfdfeaea726133ea6f9ac7e82bdad356
tree2f993b4c101a0a928c3fed9027e5bd9b12ba9273
parent48bcfdab24d1823eb84b261ed2458b9ff9fef315
MEDIUM: map: dynamic manipulation of maps

This patch adds map manipulation commands to the socket interface.

add map <map> <key> <value>
  Add the value <value> in the map <map>, at the entry corresponding to
  the key <key>. This command does not verify if the entry already
  exists.

clear map <map>
  Remove entries from the map <map>

del map <map> <key>
  Delete all the map entries corresponding to the <key> value in the map
  <map>.

set map <map> <key> <value>
  Modify the value corresponding to each key <key> in a map <map>. The
  new value is <value>.

show map [<map>]
  Dump info about map converters. Without argument, the list of all
  available maps are returned. If a <map> is specified, is content is
  dumped.
doc/configuration.txt
include/proto/dumpstats.h
include/types/stream_interface.h
src/dumpstats.c