pkg/up: add generic run-this-functions (#1481)
This adds a generic way of start a check function to check a backend. This package can be used to kick off healthchecks. The package makes sure only 1 is run at any one time. It should allow for: See upstream error -> kick off healthcheck and not to worry about overwhelming the upstream with a barrage of queries.
Showing
plugin/pkg/up/up.go
0 → 100644
plugin/pkg/up/up_test.go
0 → 100644
Please register or sign in to comment