forked from github-starred/komodo
* start 2.1.1 to fix swarm auto updates * correctly extract image and digest from swarm stacks / deployments * 2.1.1 fix swarm auto updates not picking up * fmt
Komodo
A system to build and deploy software across many servers. https://komo.do
npm install komodo_client
or
yarn add komodo_client
import { KomodoClient, Types } from "komodo_client";
const komodo = KomodoClient("https://demo.komo.do", {
type: "api-key",
params: {
key: "your_key",
secret: "your secret",
},
});
// Inferred as Types.StackListItem[]
const stacks = await komodo.read("ListStacks", {});
// Inferred as Types.Stack
const stack = await komodo.read("GetStack", {
stack: stacks[0].name,
});