klient
A client for Katalog, the simple Docker service catalog and discovery application
Usage
var klient = host: 'http://<host/ip for Katalog>:<katalog port>' autoclear: true/false; klient; klientvalue'<key name>' { // Get a value from the Katalog key/value store}; klient;
Options
host
Type: String
The full URI to the Katalog API.
autoclear
Type: Boolean
Default: false
If set items from the internal response cache are removed if they've been there for more than 3 hours.
promise
Type: Boolean
If true
the returned api will be promisified, i.e. klient.value('<key>').then(...)
.