6d44df6216
fix(pkg): range parser supports single numbers
...
These are `[0:X]` ranges, according to the Nagios doc.
2024-07-20 18:17:53 +02:00
7c8c624b17
fix(pkg): fix type issue for rps*
constants in perfdata
2024-07-20 18:12:01 +02:00
1a35167eab
feat(pkg): thresholds on perfdata can be cleared using Set...(nil)
2024-07-20 18:11:06 +02:00
14c7a0e5e8
feat(pkg): add parser for perf data ranges
2024-07-20 16:22:22 +02:00
78af496fe9
refactor: make internals easier to test and add unit tests ( #2 )
...
Run tests and linters / test (push) Successful in 44s
Run tests and linters / build (push) Successful in 47s
Run tests and linters / lint (push) Successful in 1m20s
This PR refactors most of the internals to make them easier to test (and also because the names didn't make sense). It adds unit tests for all internal components.
Reviewed-on: #2
Co-authored-by: Emmanuel BENOÎT <tseeker@nocternity.net>
Co-committed-by: Emmanuel BENOÎT <tseeker@nocternity.net>
2024-07-20 10:01:05 +02:00
2fa0e37900
refactor: reorganize project in order to include automation ( #1 )
...
Run tests and linters / test (push) Successful in 43s
Run tests and linters / build (push) Successful in 41s
Run tests and linters / lint (push) Successful in 1m22s
Reviewed-on: #1
Co-authored-by: Emmanuel BENOÎT <tseeker@nocternity.net>
Co-committed-by: Emmanuel BENOÎT <tseeker@nocternity.net>
2024-07-19 22:01:34 +02:00