Documentation ¶
Overview ¶
Package clhealth provides healthcheck functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckHealthAndExit ¶
func CheckHealthAndExit(ctx context.Context, errWriter io.Writer, osArgs []string, exitFn func(int))
CheckHealthAndExit will run the fx.App unless the osArgs indicate that the user wants to run a healthcheck. This is useful since our containers might not contain curl or wget.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.