Skip to content

Repository files navigation

swarmerode

Build StatusTest CoverageDependency StatusdevDependency Statusjs-standard-style

Swarmerode is a tool to extend dockerode with nice swarm helper functions.

Example

varSwarmerode=require('swarmerode')varDockerode=require('dockerode')// extend Dockerode w/ Swarm functions.Dockerode=Swarmerode(Dockerode)varswarmClient=newDockerode(/* opts */)swarmClient.swarmHostExists('10.0.0.1:2375',function(err,hostExists){if(err){throwerr}console.log(hostExists
? 'The given host exists!'
: 'The given host was not found.')})

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages