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
Checks
field - API /v1/agent/check/register
- API /v1/agent/service/register - the
Check
orChecks
fields - Config Checks - also
Check
field - Config Service.Checks
- CLI consul services register