1
0
mirror of https://github.com/lensapp/lens.git synced 2024-09-21 06:17:36 +03:00
lens/docs/extensions
Jari Kolehmainen 00be4aa184
Remove windowManager from extension api (#1323)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-11 21:55:49 +02:00
..
capabilities Fix KubeObjectDetails example in common capabilities (#1299) 2020-11-10 09:46:50 +02:00
get-started add some overview documentation to the getting started page (#1269) 2020-11-09 10:48:09 -05:00
guides Restructure docs menu (#1235) 2020-11-05 17:30:49 +02:00
testing-and-publishing Docs: extension testing (#1264) 2020-11-06 16:29:43 +02:00
usage Restructure docs menu (#1235) 2020-11-05 17:30:49 +02:00
README.md Restructure docs menu (#1235) 2020-11-05 17:30:49 +02:00
typedoc-readme.md.tpl Remove windowManager from extension api (#1323) 2020-11-11 21:55:49 +02:00

Lens Extension API

The Extensions API in Lens allows users to customize and enhance the Lens experience by creating their own menus or page content that is extended from the existing pages. Many of the core features of Lens are built as extensions and use the same Extension API.

This documentation describes:

  • How to build, run, test and publish an extension
  • How to take advantage of Lens's Extension API
  • Where to find guides and code samples to help get you started

Code samples are available at lensapp/lens-extension-samples.

What can extensions do

Here are some examples of what you can achieve with the Extension API:

  • Add custom components & views in the UI - Extending the Lens Workbench

If you'd like to have a more comprehensive overview of the Extension API, refer to the Extension Capabilities Overview page. Extension Guides Overview also includes a list of code samples and guides that illustrate various Extension API usage.

How to build extensions

Building a good extension can take a lot of effort. Here is what each section of the API doc can help you with:

  • Get Started teaches fundamental concepts for building extensions with the Hello World sample.
  • Extension Capabilities dissects Lens's Extension API into smaller categories and points you to more detailed topics.
  • Extension Guides includes guides and code samples that explain specific usages of Lens Extension API.
  • Testing and Publishing includes in-depth guides on various extension development topics, such as testing and publishing extensions.
  • Advanced Topics explains advanced concepts such as integrating with 3rd party applications/services.
  • References contains exhaustive references for the Lens Extension API, Contribution Points, and many other topics.

What's new

Lens updates on a monthly cadence, and that applies to the Extension API as well. New features and APIs become available every month to increase the power and scope of Lens extensions.

To stay current with the Extension API and Lens features in general, you can review the release notes.

Looking for help

If you have questions for extension development, try asking on:

  • Lens Dev Slack: Public chatroom for Lens developers. Some Lens team members chime in on conversations.

To provide feedback on the documentation or issues with the Lens Extension API, create new issues at lensapp/lens with the labels area/documentation and/or area/extension.

Download Lens - The Kubernetes IDE

Go to Lens