GithubHelp home page GithubHelp logo

alexxnica / typescript-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kubernetes-retired/typescript

0.0 0.0 0.0 236 KB

[Alpha] Typescript client for kubernetes

License: Apache License 2.0

TypeScript 99.92% Shell 0.08%

typescript-1's Introduction

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);
    });

typescript-1's People

Contributors

arschles avatar brendanburns avatar brendandburns avatar mbohlool avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.