There are many paths to register a check. Many of these use different struct types, so to properly validate and convert a check, all of these paths must be reviewed and tested.
- API /v1/catalog/register - the
Checksfield - API /v1/agent/check/register
- API /v1/agent/service/register - the
CheckorChecksfields - Config Checks - also
Checkfield - Config Service.Checks
- CLI consul services register