HttpHealthCheck

class HttpHealthCheck(uri: String, code3xxHealthy: Boolean = false, code2xxHealthy: Boolean = true) : HealthCheck

通过 curl 检查

Author

CJ

Constructors

Link copied to clipboard
constructor(uri: String, code3xxHealthy: Boolean = false, code2xxHealthy: Boolean = true)

Functions

Link copied to clipboard
open override fun checkHealth(stdOutput: String?, exitCode: Int): Boolean
Link copied to clipboard
open override fun toHealthCheckCommand(node: ServiceNode): String