]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proxy: implement "show defaults"
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 4 Aug 2026 15:33:24 +0000 (17:33 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 5 Aug 2026 09:38:21 +0000 (11:38 +0200)
commit4ffd90c2f00afe56354d019ff00ad1574f4d8682
treeb2587749665411e205e6fbcaa55bdbf798af1fe7
parent1f5b78d892f08864f1f5c37809eefa7c464e7350
MINOR: proxy: implement "show defaults"

Implement a new command "show defaults" whose purpose is to list the
existing named defaults section. This may be needed when adding a new
backend via the CLI.

For now, only the names of the defaults instances are listed. In the
future, it could be useful to have at least some details about their
configuration.

Command does not take any argument and is implemented via a single
io_handler. No need for a watcher as iteration is performed over
defaults instances which cannot be removed at runtime.
doc/configuration.txt
doc/management.txt
reg-tests/proxy/cli_add_backend.vtc
src/proxy.c