JSPM

  • Created
  • Published
  • Downloads 21
  • Score
    100M100P100Q79860F
  • License MIT

Cloud Native Shell

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

code style: prettier

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_NAME: The name of the CLoud Native App. Default is "CNA"

  • ${CNS_NAME}_LOG_LEVEL: Used to specify the log level of the CNA. Allowed values are:

    "3": Include trace and debug messages in logging "2": Include debug messages in logging "1": Default. Log only informational messages "0": Disable all logging except for fatals, errors and warnings

  • ${CNA_NAME}_HTTP_INTERFACE: Used to specify the interface to listen on. Default is "eth0"

  • ${CNA_NAME}_HTTP_PORT: Used to specify the port to listen on. Default is "80"

  • ${CNA_NAME}_HEALTHCHECK_PATH: Used to specify the path to use for the healcheck endpoint

Documentation will be along shortly!