Skip to content
This repository was archived by the owner on Mar 30, 2021. It is now read-only.

TypeFox/typescript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typescript client for Kubernetes

Build Status

Note: This is alpha software. It is under continuous improvement and is subject to change at any time.

This is the Typescript client library for Kubernetes. It's intended to be used in Node applications that want to talk to the Kubernetes API.

Installing

To install and save the result to your project's local package.json manifest:

npm install --save @kubernetes/typescript-node

Development

All dependencies of this project are expressed in its package.json file. Before you start developing, ensure that you have NPM installed, then run:

npm install

Testing

Tests are written using the Chai library. See config_test.ts for an example.

To run tests, execute the following:

npm test

Example Code

import config = require('./config');

let k8sApi = config.Config.defaultClient();

k8sApi.listNamespacedPod('default')
    .then((res) => {
        console.log(res.body);
    });

About

[Alpha] Typescript client for kubernetes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • TypeScript 99.9%
  • Shell 0.1%