http4k / org.http4k.cloudnative / kotlin.Function1 / asK8sServer
fun
HttpHandler
.asK8sServer(serverConfig: (port:
Int
) ->
ServerConfig
, port:
Int
= 8000, healthApp:
HttpHandler
= Health(), healthPort:
Int
= 8001):
Http4kK8sServer
fun
HttpHandler
.asK8sServer(serverConfig: (port:
Int
) ->
ServerConfig
, env:
Environment
= ENV, healthApp:
HttpHandler
= Health()):
Http4kK8sServer