Package Exports
- cn-shell
 
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cn-shell) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Cloud Native Shell
Cloud Native Shell is shortened to cn-shell.
cn-shell is a JS wrapper, like a shell, for cloud native applications.
The following configuration environmental variables are used:
CNA_LOG_LEVEL: Used to specify the log level of the CNA. Allowed values are:
"TRACE": Include trace and debug messages in logging "DEBUG": Include debug messages in logging "INFO": Default. Log only informational messages (default value) "QUIET": Disable all logging except for fatals, errors and warnings "SILENT": Disable all logging without exception
HTTP_KEEP_ALIVE_TIMEOUT: Use to spcify the HTTP keep alive timeout value in ms
CNA_HTTP_INTERFACE: Used to specify the interface to listen on. Default is "0.0.0.0"
CNA_HTTP_PORT: Used to specify the port to listen on. Default is "80"
CNA_HEALTHCHECK_PATH: Used to specify the path to use for the healcheck endpoint. Default is "/healthcheck"
CNA_HTTP_LISTEN_LOCAL: Used to listen on localhost for HTTP requests
Documentation will be along shortly!