node-triton
node-triton copied to clipboard
Documentation for node_module usage
Is there any documentation on methods available using as a node module. For instance (pun intended) is there a method equivalent to the the cli triton inst get xxx
I think this is what you're looking for:
https://github.com/joyent/node-triton/blob/master/examples/example-list-instances.js
@donniev You are right, there isn't much.
- The starter: https://github.com/joyent/node-triton#tritonapi-module-usage
- Some examples in the "examples/" dir as @bahamat points out.
- The
createClientblock comment: https://github.com/joyent/node-triton/blob/7d635fc81c075bce76d66a37017f847921de623c/lib/index.js#L18-L94
And then it is pretty much: read the "lib/tritonapi.js" and "lib/cloudapi2.js" code.
We should write reference docs. Let's use this ticket to at least start them.