PURISTA API / @purista/k8s-sdk / GetHttpServerConfig
Type Alias: GetHttpServerConfig
GetHttpServerConfig =
object
Defined in: types.ts:6
The configuration object for creating the k8s http server
Properties
apiMountPath?
optionalapiMountPath:string
Defined in: types.ts:18
the api mount path
Default
/apidisableEndpointExposing?
optionaldisableEndpointExposing:boolean
Defined in: types.ts:16
disables adding of all endpoints for commands which are marked to be exposed as http endpoints
enableHttpCompression?
optionalenableHttpCompression:boolean
Defined in: types.ts:20
enable HTTP compression in web server
Default
truehealthFn()
healthFn: () =>
Promise<boolean>
Defined in: types.ts:12
health function to be executed on health check
Returns
Promise<boolean>
hostname?
optionalhostname:string
Defined in: types.ts:10
hostname used in tracing and logging
logger
logger:
Logger
Defined in: types.ts:8
a logger instance
services?
Defined in: types.ts:14
service or array of services which should expose their commands as endpoints if defined
