1
0
mirror of https://github.com/lensapp/lens.git synced 2024-11-13 09:17:30 +03:00
lens/docs/extensions
Lauri Nevala b7fde0c6a6
Fix KubeObjectDetails example in common capabilities (#1299)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-10 09:46:50 +02:00
..
api Restructure docs menu (#1235) 2020-11-05 17:30: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

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