-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export health check definition via the API #1680
Comments
@slackpad discussed this earlier today with you - no need to create a duplicate... :) Need to determine what the HealthCheck type needs to look like, to augment it to expose the actual checks. There were thoughts regarding future use of HCL from @sethvargo - and structuring the Go type/s to future proof it. An initial brainstorm of a response JSON body would be something like:
Not super well thought out and I'm almost certain it will need to be tweaked, but something to start iterating against. Related types: Things to consider:
|
Once the internal structure of the types is finalised, I can look at starting a PR for this. |
@slackpad bump :) |
Sorry for the delay on this! I'll pin this to an upcoming release so we can slot a little time for it. |
@slackpad great thx ;) |
@slackpad bump, I noticed it missed 0.7.3/0.7.4 :) |
Any updates on this? I'll be happy to take a look if no progress has been made yet |
+1 to getting some movement on this one. |
Useful context in #623 (comment), pointing out that some endpoints have a buggy/incomplete implementation of this. |
Right now you can know the state of a health check but not what is the health check itself, ie: the provided script/http line when registering it.
The text was updated successfully, but these errors were encountered: