DOC: lua: fix core.{proxies,frontends,backends} visibility

Despite the doc not mentionning it, core.{proxies,frontends,backends}
methods are also available from init context.
(through core.register_init() functions)

Updating the documentation to reflect this possibility.
This commit is contained in:
Aurelien DARRAGON 2023-05-11 17:31:46 +02:00 committed by Christopher Faulet
parent ceb13b5ed3
commit 2a29571c11

View File

@ -217,7 +217,7 @@ Core class
.. js:attribute:: core.proxies .. js:attribute:: core.proxies
**context**: task, action, sample-fetch, converter **context**: init, task, action, sample-fetch, converter
This attribute is a table of declared proxies (frontend and backends). Each This attribute is a table of declared proxies (frontend and backends). Each
proxy give an access to his list of listeners and servers. The table is proxy give an access to his list of listeners and servers. The table is
@ -232,7 +232,7 @@ Core class
.. js:attribute:: core.backends .. js:attribute:: core.backends
**context**: task, action, sample-fetch, converter **context**: init, task, action, sample-fetch, converter
This attribute is a table of declared proxies with backend capability. Each This attribute is a table of declared proxies with backend capability. Each
proxy give an access to his list of listeners and servers. The table is proxy give an access to his list of listeners and servers. The table is
@ -243,7 +243,7 @@ Core class
.. js:attribute:: core.frontends .. js:attribute:: core.frontends
**context**: task, action, sample-fetch, converter **context**: init, task, action, sample-fetch, converter
This attribute is a table of declared proxies with frontend capability. Each This attribute is a table of declared proxies with frontend capability. Each
proxy give an access to his list of listeners and servers. The table is proxy give an access to his list of listeners and servers. The table is