Skip to content
kranePublic

About

typescript utility library for interfacing with Krane

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

85 Commits

Folders and files

Repository files navigation

Common modules written in Typescript to interface with Krane

npm version

Install

npm i @krane/common

Examples

import { KraneClient } from "@krane/common";

// Create an authenticated client to interface with a Krane instance
const client = new KraneClient("https://krane.example.com", "Bearer ...");

// Get all deployments
const deployments = client.getDeployments();

// Restart all deployments
for (const deployment of deployments) {
  await client.restartDeployment(deployment.name)
}

About

typescript utility library for interfacing with Krane

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages