Skip to content

dominicporteous/rancher-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  })
  .catch((err)=>{
    console.error(' ERROR : ', err)
  });

About

This is nodejs client for rancher apis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%