Commit Graph

9 Commits

Author SHA1 Message Date
e0af17a599 Refactor test package and some field types
Fairly big test refactor and changing some of the fields from pointers
2024-11-15 11:37:03 -08:00
a0a6b8199a WIP: Try migration to hcl 2024-11-14 13:42:50 -08:00
32745c816c Improve test structures using subtests
Some checks failed
continuous-integration/drone/push Build is failing
2024-11-14 11:35:26 -08:00
f58b4c1495 Adds ability to run specified alerts on startup
Some checks failed
continuous-integration/drone/push Build is failing
This is helpful to determine if your alerts are valid before an actual failure
2024-04-03 12:03:17 -07:00
9072d97bb8 Make linters happy
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
2022-01-24 10:39:53 -08:00
f0e179851f Update linting and a test case
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-08 18:31:22 -05:00
25c5179d3d Switch to a single key for command and command shell
All checks were successful
continuous-integration/drone/push Build is passing
This makes the configuration more similar to Minitor-py and
docker-compose. If a string is passed, it will be executed in a shell.
If an array is passed, it will be executed in as a command directly.

This breaks compatiblity with previous versions of Minitor-go, but
closer to compatiblity with Minitor-py.
2020-02-19 17:38:06 -08:00
6b9edf75d7 Move panics up to main function 2019-10-04 16:17:36 -07:00
f99ee9891e Add some test cases to cover main
These don't include any asserts, but they do check panics
2019-10-04 15:46:49 -07:00