type of config map
ConfigMap constructor
type of config map
schema of config map
iterable of config loaders
optional config options (logger, namespace)
Ensure that the specified keys are loaded and cached in the ConfigMap. If any key fails to load, the error will be returned.
The key or iterable of keys to ensure are loaded.
OptionalencodeOptions: EncodeOptions
Optional encode options to use when loading the keys.
get all env value objects from config map
Promise of all values
get all env values from config map as string
OptionalencodeOptions: EncodeOptions
optional encode options
Promise of all values as string
get env object from config map
key of config map
OptionalencodeOptions: EncodeOptions
optional encode options
Promise of env object or undefined
get env object from config map as Result
key of config map
OptionalencodeOptions: EncodeOptions
optional encode options
Result Promise of env object or undefined
get env value as string from config map
key of config map
OptionalencodeOptions: EncodeOptions
optional encode options
Promise of string value or undefined
get env value as string from config map as Result
key of config map
OptionalencodeOptions: EncodeOptions
optional encode options
Result Promise of string value or undefined
Read the cached configuration value for the given key. (use ensure to load/reload the value first)
The type of the key to look up in the configuration schema.
Read the cached configuration value for the given key. (use ensure to load/reload the value first)
Read the cached configuration value for the given key as a Result. (use ensure to load/reload the value first)
The type of the key to look up in the configuration schema.
The key to look up in the configuration schema.
Read the cached configuration value for the given key as a Result. (use ensure to load/reload the value first)
The type of the key to look up in the configuration schema.
Read the cached configuration value as a string for the given key. (use ensure to load/reload the value first)
The type of the key to look up in the configuration schema.
The key to look up in the configuration schema.
Read the cached configuration value as a string for the given key. (use ensure to load/reload the value first)
The type of the key to look up in the configuration schema.
The key to look up in the configuration schema.
ConfigMap
Example
Since
v1.1.0