Package-level declarations

Types

Link copied to clipboard

A K8S server consists of a main application and a health application, running on 2 different ports. This class provides unified start/stop control.

Functions

Link copied to clipboard
fun HttpHandler.asK8sServer(serverConfig: (port: Int) -> ServerConfig, env: Environment = ENV, healthApp: HttpHandler = Health()): Http4kK8sServer
fun HttpHandler.asK8sServer(serverConfig: (port: Int) -> ServerConfig, port: Int = 8000, healthApp: HttpHandler = Health(), healthPort: Int = 8001): Http4kK8sServer