]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: hlua_fcn: add Patref:prepare() method
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 21 Nov 2024 15:32:05 +0000 (16:32 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Fri, 29 Nov 2024 06:23:14 +0000 (07:23 +0100)
commitfe394598c5d690897b5e6595d289fe62499a7fa9
tree344be5183cb341f67ef8d0ac66e2a45c27d06ac5
parent8bce7ff85481182c74fa45e78831339459d625f5
MINOR: hlua_fcn: add Patref:prepare() method

Just like the "prepare map" or "prepare acl" on the cli, but for Lua:
it leverages the pattern API to create a subset (ie: a new generation id)
that will automatically be used as target for following Patref operations
(add/set/del...) until the "commit" method is invoked to atomically push
the pending updates.
doc/lua-api/index.rst
src/hlua_fcn.c