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

26 lines
5.9 KiB
Markdown

---
gitea: none
include_toc: true
---
# Variables
| Variable                                                                                                 | Description                                                                                              |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **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 |
# Example with mandatory variables not filled in
```yaml
---
variable1: '111'
```
# Example with all variables modifiable
```yaml
---
variable1: '111'
variable2: '8080'
variable3: '8080'
```