File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
doc/reference/reference_lua/config Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ the role configuration:
5252 :end-before: local function validate
5353 :dedent:
5454
55+ Learn more in :ref: `config_utils_schema_definition `.
56+
55573. Use the :ref: `validate() <config-schema_object-validate >` method of the schema object to
5658 validate configuration values against the schema. In case of a role, call this
5759 method inside the role's :ref: `validate() <roles_create_custom_role_validate >` function:
@@ -62,14 +64,12 @@ the role configuration:
6264 :end-before: local function apply
6365 :dedent:
6466
65- 4. Obtain values of configuration options using the :ref: `get() <config-schema_object-get >` method.
66- In case of a role, call it inside the role's :ref: `apply() <roles_create_custom_role_apply >` function:
67+ Learn more in :ref: `config_utils_schema_validating_configuration `.
68+
69+ 4. Refer to values of configuration options using the :ref: `get() <config-schema_object-get >`
70+ method inside the role's :ref: `apply() <roles_create_custom_role_apply >` function.
71+ Learn more in :ref: `config_utils_schema_get_configuration `.
6772
68- .. literalinclude :: /code_snippets/snippets/config/instances.enabled/config_schema_nodes_scalar/http_api.lua
69- :language: lua
70- :start-at: local function apply
71- :end-before: local function stop
72- :dedent:
7373
7474
7575.. _config_utils_schema_definition :
You can’t perform that action at this time.
0 commit comments