Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

krane/common

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.