rougail-output-doc/tests/results/test_examples/00_6port.md

27 lines
5.9 KiB
Markdown
Raw Normal View History

---
gitea: none
include_toc: true
---
2024-12-02 20:21:31 +01:00
# Variables
| Variable                                                                                                 | Description                                                                                              |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
2025-02-10 09:52:12 +01:00
| **variable1**<br/>[`port`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A port variable.<br/>**Validators**: <br/>- ports 1 to 1023 are allowed<br/>- ports 1024 to 49151 are allowed<br/>- ports greater than 49152 are allowed |
| **variable2**<br/>[`port`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A port variable with default value.<br/>**Validators**: <br/>- ports 1 to 1023 are allowed<br/>- ports 1024 to 49151 are allowed<br/>- ports greater than 49152 are allowed<br/>**Default**: 8080 |
| **variable3**<br/>[`port`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A port variable with integer default value.<br/>**Validators**: <br/>- ports 1 to 1023 are allowed<br/>- ports 1024 to 49151 are allowed<br/>- ports greater than 49152 are allowed<br/>**Default**: 8080 |
2024-12-02 20:21:31 +01:00
# Example with mandatory variables not filled in
```yaml
---
2024-12-02 20:21:31 +01:00
variable1: '111'
```
2024-12-02 20:21:31 +01:00
# Example with all variables modifiable
2024-12-02 20:21:31 +01:00
```yaml
---
variable1: '111'
variable2: '8080'
variable3: '8080'
```