2021-05-21 11:50:40 +00:00
|
|
|
value: some value
|
|
|
|
|
|
|
|
section:
|
|
|
|
any: thing
|
|
|
|
|
2021-06-01 17:12:00 +00:00
|
|
|
sub:
|
|
|
|
sub:
|
|
|
|
sub1:
|
|
|
|
key: val1
|
|
|
|
|
|
|
|
sub2:
|
|
|
|
key: val2
|
|
|
|
|
2021-05-21 11:50:40 +00:00
|
|
|
string_slice:
|
|
|
|
empty: []
|
|
|
|
|
|
|
|
filled:
|
|
|
|
- string1
|
|
|
|
- string2
|
|
|
|
|
2021-05-21 12:50:24 +00:00
|
|
|
incorrect:
|
|
|
|
|
|
|
|
string:
|
|
|
|
correct: some string
|
|
|
|
|
|
|
|
incorrect: []
|
2021-06-01 11:04:00 +00:00
|
|
|
|
|
|
|
duration:
|
|
|
|
correct: 15m
|
2021-06-01 16:45:26 +00:00
|
|
|
incorrect: some string
|
|
|
|
|
|
|
|
number:
|
|
|
|
int_pos: 1
|
|
|
|
int_neg: -1
|
|
|
|
fract_pos: 2.5
|
|
|
|
fract_neg: -2.5
|
|
|
|
incorrect: some string
|
2021-06-01 16:24:44 +00:00
|
|
|
|
|
|
|
bool:
|
|
|
|
correct: true
|
|
|
|
correct_string: "true"
|
|
|
|
incorrect: not true
|
2021-10-07 16:15:48 +00:00
|
|
|
|
|
|
|
sizes:
|
|
|
|
size_kb: 1 kb
|
|
|
|
size_kb_no_space: 2kb
|
|
|
|
size_mb: 12m
|
|
|
|
size_gb: 4g
|
|
|
|
size_tb: 5 TB
|
2021-11-11 11:49:27 +00:00
|
|
|
size_float: .5t
|
|
|
|
size_float_big: 14.123 gb
|
|
|
|
size_i_am_not_very_clever: 12.12345678
|
2021-10-07 16:15:48 +00:00
|
|
|
size_bytes: 2048b
|
|
|
|
size_bytes_no_suffix: 123456
|
2021-10-18 13:36:56 +00:00
|
|
|
|
|
|
|
with_default:
|
|
|
|
default:
|
|
|
|
sub:
|
|
|
|
missing: 123
|
|
|
|
overridden: "x"
|
|
|
|
missing: 42
|
|
|
|
overridden: "a"
|
|
|
|
overridden_with_default: true
|
|
|
|
custom:
|
|
|
|
sub:
|
|
|
|
overridden: "y"
|
|
|
|
overridden: "b"
|
|
|
|
overridden_with_default: false
|