class HealthChecker
<init> |
HealthChecker(environment: Environment) |
environment |
val environment: Environment |
retry |
var retry: Retry |
check |
fun check(verbose: Boolean = true): List<HealthStatus> |
define |
fun define(name: String, check: () -> Unit): Unit |
http |
fun http(options: HttpClient.() -> Unit): Unit |
url |
Check URL using specified criteria (HTTP options and e.g text & status code assertions). fun url(checkName: String, url: String, criteria: UrlCheck.() -> Unit): Unit |