@metadonors/rancher-node

0.0.13 • Public • Published

rancher-node

Node client for the Rancher API

Client

An API client is included in this package

const Rancher = require('rancher-node');

const client = new Rancher.Client({ host: '127.0.0.1', port: 8080, access_key: 'SoMeToKeN', secret_key: 'someSecRetToken', environment: '1a5' });

client.getContainer(containerId).then((container) => {

  // gets the container for the provided container id
});

Many methods are available, until they're documented see lib/index.js for details.

Readme

Keywords

none

Package Sidebar

Install

npm i @metadonors/rancher-node

Weekly Downloads

0

Version

0.0.13

License

Apache-2.0

Unpacked Size

19.7 kB

Total Files

5

Last publish

Collaborators

  • farze