toggle menu
common-ext
2.1.0
jvm
switch theme
search in API
common-ext
/
io.github.caijiang.common.orchestration
/
HttpHealthCheck
Http
Health
Check
class
HttpHealthCheck
(
uri
:
String
,
code3xxHealthy
:
Boolean
=
false
,
code2xxHealthy
:
Boolean
=
true
)
:
HealthCheck
通过 curl 检查
Author
CJ
Members
Constructors
Http
Health
Check
Link copied to clipboard
constructor
(
uri
:
String
,
code3xxHealthy
:
Boolean
=
false
,
code2xxHealthy
:
Boolean
=
true
)
Functions
check
Health
Link copied to clipboard
open
override
fun
checkHealth
(
stdOutput
:
String
?
,
exitCode
:
Int
)
:
Boolean
to
Health
Check
Command
Link copied to clipboard
open
override
fun
toHealthCheckCommand
(
node
:
ServiceNode
)
:
String