Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tilt.dev/tilt-inspector

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tilt.dev/tilt-inspector

A small debugging server to help inspect Tilt state

  • 0.1.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
21
decreased by-8.7%
Maintainers
1
Weekly downloads
 
Created
Source

tilt-inspector

A small debugging server to help inspect Tilt state

Start

Run:

npm run start

API Machinery

This server uses openapi/swagger and the Kubernetes API machinery to generate a typescript client for the Tilt API server.

To regenerate it:

  • Make sure Tilt is running. You'll need a running Tilt server to generate the openapi spec.

  • In this directory, run the openapi spec generator:

tilt dump openapi > ./src/gen/swagger.json.original
  • In this directory, run the Kubernetes client generator:
make genapi

API Client

Eventually, we should break out the typescript client into its own package.

But for now, you can import it directly:

// Connect to a running Tilt server and print the session data.
const client = require('./src/client').newTiltClient();
client.listSession().
  then((res) => {
    console.log(JSON.stringify(res.body.items, null, '  '));
  });

FAQs

Package last updated on 26 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc