mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Deployed ba1e5973be to master with MkDocs 1.1.2 and mike 1.0.1
This commit is contained in:
1 parent
a06ad1a247
commit
a9951676bb
337 files changed
+228088
-214705
No files matched your search
-1392
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,846 @@
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en" class="no-js">
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<meta name="description" content="Documentation for Lens Extension API.">
|
||||
|
||||
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/common.app/">
|
||||
|
||||
|
||||
<meta name="author" content="Mirantis, Inc.">
|
||||
|
||||
<link rel="shortcut icon" href="../../../../img/favicon.ico">
|
||||
<meta name="generator" content="mkdocs-1.1.2, mkdocs-material-6.1.0+insiders-1.7.0">
|
||||
|
||||
|
||||
|
||||
<title>Namespace: App - Lens Extension API</title>
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../../../../assets/stylesheets/main.406af9ae.min.css">
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../../../../assets/stylesheets/palette.ec60dfa4.min.css">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700%7CRoboto+Mono&display=fallback">
|
||||
<style>body,input{font-family:"Roboto",-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"Roboto Mono",SFMono-Regular,Consolas,Menlo,monospace}</style>
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../../../../stylesheets/extra.css">
|
||||
|
||||
|
||||
|
||||
|
||||
<script>window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-159377374-2","auto"),ga("set","anonymizeIp",!0),ga("send","pageview"),document.addEventListener("DOMContentLoaded",function(){document.forms.search&&document.forms.search.query.addEventListener("blur",function(){if(this.value){var e=document.location.pathname;ga("send","pageview",e+"?q="+this.value)}})}),document.addEventListener("DOMContentSwitch",function(){ga("send","pageview",document.location.pathname)})</script>
|
||||
<script async src="https://www.google-analytics.com/analytics.js"></script>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<body dir="ltr" data-md-color-scheme="slate" data-md-color-primary="" data-md-color-accent="">
|
||||
|
||||
|
||||
<script>var palette=JSON.parse(localStorage.getItem("__palette")||"{}");if(void 0!==palette.color)for(var key in palette.color)document.body.setAttribute("data-md-color-"+key,palette.color[key])</script>
|
||||
|
||||
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
|
||||
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
|
||||
<label class="md-overlay" for="__drawer"></label>
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#namespace-app" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div data-md-component="announce">
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<header class="md-header" data-md-component="header">
|
||||
<nav class="md-header-nav md-grid" aria-label="Header">
|
||||
<a href="https://api-docs.k8slens.dev/master" title="Lens Extension API" class="md-header-nav__button md-logo" aria-label="Lens Extension API">
|
||||
|
||||
<img src="../../../../img/lens-logo-icon.svg" alt="logo">
|
||||
|
||||
</a>
|
||||
<label class="md-header-nav__button md-icon" for="__drawer">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2z"/></svg>
|
||||
</label>
|
||||
<div class="md-header-nav__title" data-md-component="header-title">
|
||||
<div class="md-header-nav__ellipsis">
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
Lens Extension API
|
||||
</span>
|
||||
</div>
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Namespace: App
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="md-header-nav__options">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<button class="md-header-nav__button md-icon" title="Switch to dark mode" aria-label="Switch to dark mode" data-md-option="palette" data-md-color-scheme="slate" data-md-color-primary="" data-md-color-accent="" data-md-state="hidden">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m10-3a5 5 0 015 5 5 5 0 01-5 5H7a5 5 0 01-5-5 5 5 0 015-5h10M7 9a3 3 0 00-3 3 3 3 0 003 3h10a3 3 0 003-3 3 3 0 00-3-3H7z"/></svg>
|
||||
</button>
|
||||
|
||||
|
||||
|
||||
|
||||
<button class="md-header-nav__button md-icon" title="Switch to light mode" aria-label="Switch to light mode" data-md-option="palette" data-md-color-scheme="default" data-md-color-primary="" data-md-color-accent="" data-md-state="hidden">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17 7H7a5 5 0 00-5 5 5 5 0 005 5h10a5 5 0 005-5 5 5 0 00-5-5m0 8a3 3 0 01-3-3 3 3 0 013-3 3 3 0 013 3 3 3 0 01-3 3z"/></svg>
|
||||
</button>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<label class="md-header-nav__button md-icon" for="__search">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
|
||||
</label>
|
||||
|
||||
<div class="md-search" data-md-component="search" role="dialog">
|
||||
<label class="md-search__overlay" for="__search"></label>
|
||||
<div class="md-search__inner" role="search">
|
||||
<form class="md-search__form" name="search">
|
||||
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" data-md-state="active">
|
||||
<label class="md-search__icon md-icon" for="__search">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
|
||||
</label>
|
||||
<button type="reset" class="md-search__icon md-icon" aria-label="Clear" data-md-component="search-reset" tabindex="-1">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>
|
||||
</button>
|
||||
<div class="md-search__suggest" data-md-component="search-suggest"></div>
|
||||
</form>
|
||||
<div class="md-search__output">
|
||||
<div class="md-search__scrollwrap" data-md-scrollfix>
|
||||
<div class="md-search-result" data-md-component="search-result">
|
||||
<div class="md-search-result__meta">
|
||||
Initializing search
|
||||
</div>
|
||||
<ol class="md-search-result__list"></ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="md-header-nav__source">
|
||||
|
||||
<a href="https://github.com/lensapp/lens" title="Go to repository" class="md-source">
|
||||
<div class="md-source__icon md-icon">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.55 236.05L244 40.45a28.87 28.87 0 00-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 01-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 000 40.81l195.61 195.6a28.86 28.86 0 0040.8 0l194.69-194.69a28.86 28.86 0 000-40.81z"/></svg>
|
||||
</div>
|
||||
<div class="md-source__repository">
|
||||
GitHub
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<div class="md-container" data-md-component="container">
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="md-main" data-md-component="main">
|
||||
<div class="md-main__inner md-grid">
|
||||
|
||||
|
||||
<div class="md-sidebar md-sidebar--primary" data-md-component="navigation">
|
||||
<div class="md-sidebar__scrollwrap">
|
||||
<div class="md-sidebar__inner">
|
||||
|
||||
|
||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||
<label class="md-nav__title" for="__drawer">
|
||||
<a href="https://api-docs.k8slens.dev/master" title="Lens Extension API" class="md-nav__button md-logo" aria-label="Lens Extension API">
|
||||
|
||||
<img src="../../../../img/lens-logo-icon.svg" alt="logo">
|
||||
|
||||
</a>
|
||||
Lens Extension API
|
||||
</label>
|
||||
|
||||
<div class="md-nav__source">
|
||||
|
||||
<a href="https://github.com/lensapp/lens" title="Go to repository" class="md-source">
|
||||
<div class="md-source__icon md-icon">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.55 236.05L244 40.45a28.87 28.87 0 00-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 01-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 000 40.81l195.61 195.6a28.86 28.86 0 0040.8 0l194.69-194.69a28.86 28.86 0 000-40.81z"/></svg>
|
||||
</div>
|
||||
<div class="md-source__repository">
|
||||
GitHub
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../.." class="md-nav__link">
|
||||
Overview
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item md-nav__item--nested">
|
||||
|
||||
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-2" type="checkbox" id="nav-2">
|
||||
|
||||
<label class="md-nav__link" for="nav-2">
|
||||
Extension Development
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
</label>
|
||||
<nav class="md-nav" aria-label="Extension Development" data-md-level="1">
|
||||
<label class="md-nav__title" for="nav-2">
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
Extension Development
|
||||
</label>
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item md-nav__item--nested">
|
||||
|
||||
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-2-1" type="checkbox" id="nav-2-1">
|
||||
|
||||
<label class="md-nav__link" for="nav-2-1">
|
||||
Getting Started
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
</label>
|
||||
<nav class="md-nav" aria-label="Getting Started" data-md-level="2">
|
||||
<label class="md-nav__title" for="nav-2-1">
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
Getting Started
|
||||
</label>
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../get-started/overview/" class="md-nav__link">
|
||||
Overview
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../get-started/your-first-extension/" class="md-nav__link">
|
||||
Your First Extension
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../get-started/anatomy/" class="md-nav__link">
|
||||
Extension Anatomy
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../get-started/wrapping-up/" class="md-nav__link">
|
||||
Wrapping Up
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item md-nav__item--nested">
|
||||
|
||||
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-2-2" type="checkbox" id="nav-2-2">
|
||||
|
||||
<label class="md-nav__link" for="nav-2-2">
|
||||
Extension Capabilities
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
</label>
|
||||
<nav class="md-nav" aria-label="Extension Capabilities" data-md-level="2">
|
||||
<label class="md-nav__title" for="nav-2-2">
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
Extension Capabilities
|
||||
</label>
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../capabilities/common-capabilities/" class="md-nav__link">
|
||||
Common Capabilities
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../capabilities/styling/" class="md-nav__link">
|
||||
Styling
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item md-nav__item--nested">
|
||||
|
||||
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-2-3" type="checkbox" id="nav-2-3">
|
||||
|
||||
<label class="md-nav__link" for="nav-2-3">
|
||||
Extension Guides
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
</label>
|
||||
<nav class="md-nav" aria-label="Extension Guides" data-md-level="2">
|
||||
<label class="md-nav__title" for="nav-2-3">
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
Extension Guides
|
||||
</label>
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../guides/" class="md-nav__link">
|
||||
Overview
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../guides/generator/" class="md-nav__link">
|
||||
Generator
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../guides/main-extension/" class="md-nav__link">
|
||||
Main Extension
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../guides/renderer-extension/" class="md-nav__link">
|
||||
Renderer Extension
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../guides/stores/" class="md-nav__link">
|
||||
Stores
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../guides/working-with-mobx/" class="md-nav__link">
|
||||
Working with MobX
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../guides/protocol-handlers/" class="md-nav__link">
|
||||
Protocol Handlers
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../guides/ipc/" class="md-nav__link">
|
||||
IPC
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item md-nav__item--nested">
|
||||
|
||||
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-2-4" type="checkbox" id="nav-2-4">
|
||||
|
||||
<label class="md-nav__link" for="nav-2-4">
|
||||
Testing and Publishing
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
</label>
|
||||
<nav class="md-nav" aria-label="Testing and Publishing" data-md-level="2">
|
||||
<label class="md-nav__title" for="nav-2-4">
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
Testing and Publishing
|
||||
</label>
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../testing-and-publishing/testing/" class="md-nav__link">
|
||||
Testing Extensions
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../testing-and-publishing/publishing/" class="md-nav__link">
|
||||
Publishing Extensions
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../" class="md-nav__link">
|
||||
API Reference
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="md-sidebar md-sidebar--secondary" data-md-component="toc">
|
||||
<div class="md-sidebar__scrollwrap">
|
||||
<div class="md-sidebar__inner">
|
||||
|
||||
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<label class="md-nav__title" for="__toc">
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
Table of contents
|
||||
</label>
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#table-of-contents" class="md-nav__link">
|
||||
Table of contents
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Table of contents">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#variables" class="md-nav__link">
|
||||
Variables
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#functions" class="md-nav__link">
|
||||
Functions
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#variables_1" class="md-nav__link">
|
||||
Variables
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Variables">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#appname" class="md-nav__link">
|
||||
appName
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#islinux" class="md-nav__link">
|
||||
isLinux
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#ismac" class="md-nav__link">
|
||||
isMac
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#issnap" class="md-nav__link">
|
||||
isSnap
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#iswindows" class="md-nav__link">
|
||||
isWindows
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#issuestrackerurl" class="md-nav__link">
|
||||
issuesTrackerUrl
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#slackurl" class="md-nav__link">
|
||||
slackUrl
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#version" class="md-nav__link">
|
||||
version
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#functions_1" class="md-nav__link">
|
||||
Functions
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Functions">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#getenabledextensions" class="md-nav__link">
|
||||
getEnabledExtensions
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="md-content">
|
||||
<article class="md-content__inner md-typeset">
|
||||
|
||||
|
||||
|
||||
<h1 id="namespace-app">Namespace: App<a class="headerlink" href="#namespace-app" title="Permanent link">#</a></h1>
|
||||
<p><a href="../common/">Common</a>.App</p>
|
||||
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">#</a></h2>
|
||||
<h3 id="variables">Variables<a class="headerlink" href="#variables" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="./#appname">appName</a></li>
|
||||
<li><a href="./#islinux">isLinux</a></li>
|
||||
<li><a href="./#ismac">isMac</a></li>
|
||||
<li><a href="./#issnap">isSnap</a></li>
|
||||
<li><a href="./#iswindows">isWindows</a></li>
|
||||
<li><a href="./#issuestrackerurl">issuesTrackerUrl</a></li>
|
||||
<li><a href="./#slackurl">slackUrl</a></li>
|
||||
<li><a href="./#version">version</a></li>
|
||||
</ul>
|
||||
<h3 id="functions">Functions<a class="headerlink" href="#functions" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="./#getenabledextensions">getEnabledExtensions</a></li>
|
||||
</ul>
|
||||
<h2 id="variables_1">Variables<a class="headerlink" href="#variables_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="appname">appName<a class="headerlink" href="#appname" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>appName</strong>: <code>string</code></p>
|
||||
<hr />
|
||||
<h3 id="islinux">isLinux<a class="headerlink" href="#islinux" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>isLinux</strong>: <code>boolean</code></p>
|
||||
<hr />
|
||||
<h3 id="ismac">isMac<a class="headerlink" href="#ismac" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>isMac</strong>: <code>boolean</code></p>
|
||||
<hr />
|
||||
<h3 id="issnap">isSnap<a class="headerlink" href="#issnap" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>isSnap</strong>: <code>boolean</code> = !!process.env.SNAP</p>
|
||||
<hr />
|
||||
<h3 id="iswindows">isWindows<a class="headerlink" href="#iswindows" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>isWindows</strong>: <code>boolean</code></p>
|
||||
<hr />
|
||||
<h3 id="issuestrackerurl">issuesTrackerUrl<a class="headerlink" href="#issuestrackerurl" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>issuesTrackerUrl</strong>: <code>string</code></p>
|
||||
<hr />
|
||||
<h3 id="slackurl">slackUrl<a class="headerlink" href="#slackurl" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>slackUrl</strong>: <code>string</code></p>
|
||||
<hr />
|
||||
<h3 id="version">version<a class="headerlink" href="#version" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>version</strong>: <code>string</code></p>
|
||||
<h2 id="functions_1">Functions<a class="headerlink" href="#functions_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="getenabledextensions">getEnabledExtensions<a class="headerlink" href="#getenabledextensions" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>getEnabledExtensions</strong>(): <code>string</code>[]</p>
|
||||
<h4 id="returns">Returns<a class="headerlink" href="#returns" title="Permanent link">#</a></h4>
|
||||
<p><code>string</code>[]</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
<footer class="md-footer">
|
||||
|
||||
<div class="md-footer-meta md-typeset">
|
||||
<div class="md-footer-meta__inner md-grid">
|
||||
<div class="md-footer-copyright">
|
||||
|
||||
<div class="md-footer-copyright__highlight">
|
||||
Copyright © 2021 <a href="https://mirantis.com/">Mirantis Inc.</a> - All rights reserved.
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="md-footer-social">
|
||||
|
||||
|
||||
|
||||
<a href="https://github.com/lensapp/lens" target="_blank" rel="noopener" title="Lens on GitHub" class="md-footer-social__link">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<a href="https://twitter.com/k8slens" target="_blank" rel="noopener" title="Lens on Twitter" class="md-footer-social__link">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<a href="http://k8slens.slack.com/" target="_blank" rel="noopener" title="Lens on Slack" class="md-footer-social__link">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M94.12 315.1c0 25.9-21.16 47.06-47.06 47.06S0 341 0 315.1c0-25.9 21.16-47.06 47.06-47.06h47.06v47.06zm23.72 0c0-25.9 21.16-47.06 47.06-47.06s47.06 21.16 47.06 47.06v117.84c0 25.9-21.16 47.06-47.06 47.06s-47.06-21.16-47.06-47.06V315.1zm47.06-188.98c-25.9 0-47.06-21.16-47.06-47.06S139 32 164.9 32s47.06 21.16 47.06 47.06v47.06H164.9zm0 23.72c25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06H47.06C21.16 243.96 0 222.8 0 196.9s21.16-47.06 47.06-47.06H164.9zm188.98 47.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06h-47.06V196.9zm-23.72 0c0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06V79.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06V196.9zM283.1 385.88c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06v-47.06h47.06zm0-23.72c-25.9 0-47.06-21.16-47.06-47.06 0-25.9 21.16-47.06 47.06-47.06h117.84c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06H283.1z"/></svg>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<a href="https://k8slens.dev/" target="_blank" rel="noopener" title="Lens Website" class="md-footer-social__link">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 01-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0120.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0020.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 00-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
|
||||
<script src="../../../../assets/javascripts/vendor.4d7724a9.min.js"></script>
|
||||
<script src="../../../../assets/javascripts/bundle.0421a6ad.min.js"></script><script id="__lang" type="application/json">{"clipboard.copy": "Copy to clipboard", "clipboard.copied": "Copied to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.placeholder": "Type to start searching", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.term.missing": "Missing"}</script>
|
||||
|
||||
<script>
|
||||
app = initialize({
|
||||
base: "../../../..",
|
||||
features: ['toc.autohide', 'search.suggest', 'search.highlight'],
|
||||
search: Object.assign({
|
||||
worker: "../../../../assets/javascripts/worker/search.0f64ce30.min.js"
|
||||
}, typeof search !== "undefined" && search),
|
||||
version: {'method': 'mike'}
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
+150
-85
@@ -9,7 +9,7 @@
|
||||
<meta name="description" content="Documentation for Lens Extension API.">
|
||||
|
||||
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/_common_api_index_._common_api_catalog_/">
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/common.catalog/">
|
||||
|
||||
|
||||
<meta name="author" content="Mirantis, Inc.">
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
|
||||
<title>Module: "common-api/catalog" - Lens Extension API</title>
|
||||
<title>Namespace: Catalog - Lens Extension API</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#module-common-apicatalog" class="md-skip">
|
||||
<a href="#namespace-catalog" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Module: "common-api/catalog"
|
||||
Namespace: Catalog
|
||||
|
||||
</span>
|
||||
</div>
|
||||
@@ -591,11 +591,11 @@
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#index" class="md-nav__link">
|
||||
Index
|
||||
<a href="#table-of-contents" class="md-nav__link">
|
||||
Table of contents
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Index">
|
||||
<nav class="md-nav" aria-label="Table of contents">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -686,35 +686,36 @@
|
||||
|
||||
|
||||
|
||||
<h1 id="module-common-apicatalog">Module: "common-api/catalog"<a class="headerlink" href="#module-common-apicatalog" title="Permanent link">#</a></h1>
|
||||
<h2 id="index">Index<a class="headerlink" href="#index" title="Permanent link">#</a></h2>
|
||||
<h1 id="namespace-catalog">Namespace: Catalog<a class="headerlink" href="#namespace-catalog" title="Permanent link">#</a></h1>
|
||||
<p><a href="../common/">Common</a>.Catalog</p>
|
||||
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">#</a></h2>
|
||||
<h3 id="classes">Classes<a class="headerlink" href="#classes" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="../../classes/_common_api_index_._common_api_catalog_.catalogcategory/">CatalogCategory</a></li>
|
||||
<li><a href="../../classes/_common_api_index_._common_api_catalog_.catalogentity/">CatalogEntity</a></li>
|
||||
<li><a href="../../classes/_common_api_index_._common_api_catalog_.kubernetescluster/">KubernetesCluster</a></li>
|
||||
<li><a href="../../classes/_common_api_index_._common_api_catalog_.kubernetesclustercategory/">KubernetesClusterCategory</a></li>
|
||||
<li><a href="../../classes/_common_api_index_._common_api_catalog_.weblink/">WebLink</a></li>
|
||||
<li><a href="../../classes/_common_api_index_._common_api_catalog_.weblinkcategory/">WebLinkCategory</a></li>
|
||||
<li><a href="../../classes/common.catalog.catalogcategory/">CatalogCategory</a></li>
|
||||
<li><a href="../../classes/common.catalog.catalogentity/">CatalogEntity</a></li>
|
||||
<li><a href="../../classes/common.catalog.kubernetescluster/">KubernetesCluster</a></li>
|
||||
<li><a href="../../classes/common.catalog.kubernetesclustercategory/">KubernetesClusterCategory</a></li>
|
||||
<li><a href="../../classes/common.catalog.weblink/">WebLink</a></li>
|
||||
<li><a href="../../classes/common.catalog.weblinkcategory/">WebLinkCategory</a></li>
|
||||
</ul>
|
||||
<h3 id="interfaces">Interfaces<a class="headerlink" href="#interfaces" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_catalog_.catalogcategoryevents/">CatalogCategoryEvents</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_catalog_.catalogcategoryspec/">CatalogCategorySpec</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_catalog_.catalogcategoryversion/">CatalogCategoryVersion</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_catalog_.catalogentityactioncontext/">CatalogEntityActionContext</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_catalog_.catalogentityaddmenu/">CatalogEntityAddMenu</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_catalog_.catalogentityaddmenucontext/">CatalogEntityAddMenuContext</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_catalog_.catalogentitycontextmenu/">CatalogEntityContextMenu</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_catalog_.catalogentitycontextmenucontext/">CatalogEntityContextMenuContext</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_catalog_.catalogentitydata/">CatalogEntityData</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_catalog_.catalogentitykinddata/">CatalogEntityKindData</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_catalog_.catalogentitymetadata/">CatalogEntityMetadata</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_catalog_.catalogentitysettingscontext/">CatalogEntitySettingsContext</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_catalog_.catalogentitysettingsmenu/">CatalogEntitySettingsMenu</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_catalog_.catalogentitystatus/">CatalogEntityStatus</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_catalog_.kubernetesclusterstatus/">KubernetesClusterStatus</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_catalog_.weblinkstatus/">WebLinkStatus</a></li>
|
||||
<li><a href="../../interfaces/common.catalog.catalogcategoryevents/">CatalogCategoryEvents</a></li>
|
||||
<li><a href="../../interfaces/common.catalog.catalogcategoryspec/">CatalogCategorySpec</a></li>
|
||||
<li><a href="../../interfaces/common.catalog.catalogcategoryversion/">CatalogCategoryVersion</a></li>
|
||||
<li><a href="../../interfaces/common.catalog.catalogentityactioncontext/">CatalogEntityActionContext</a></li>
|
||||
<li><a href="../../interfaces/common.catalog.catalogentityaddmenu/">CatalogEntityAddMenu</a></li>
|
||||
<li><a href="../../interfaces/common.catalog.catalogentityaddmenucontext/">CatalogEntityAddMenuContext</a></li>
|
||||
<li><a href="../../interfaces/common.catalog.catalogentitycontextmenu/">CatalogEntityContextMenu</a></li>
|
||||
<li><a href="../../interfaces/common.catalog.catalogentitycontextmenucontext/">CatalogEntityContextMenuContext</a></li>
|
||||
<li><a href="../../interfaces/common.catalog.catalogentitydata/">CatalogEntityData</a></li>
|
||||
<li><a href="../../interfaces/common.catalog.catalogentitykinddata/">CatalogEntityKindData</a></li>
|
||||
<li><a href="../../interfaces/common.catalog.catalogentitymetadata/">CatalogEntityMetadata</a></li>
|
||||
<li><a href="../../interfaces/common.catalog.catalogentitysettingscontext/">CatalogEntitySettingsContext</a></li>
|
||||
<li><a href="../../interfaces/common.catalog.catalogentitysettingsmenu/">CatalogEntitySettingsMenu</a></li>
|
||||
<li><a href="../../interfaces/common.catalog.catalogentitystatus/">CatalogEntityStatus</a></li>
|
||||
<li><a href="../../interfaces/common.catalog.kubernetesclusterstatus/">KubernetesClusterStatus</a></li>
|
||||
<li><a href="../../interfaces/common.catalog.weblinkstatus/">WebLinkStatus</a></li>
|
||||
</ul>
|
||||
<h3 id="type-aliases">Type aliases<a class="headerlink" href="#type-aliases" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
@@ -726,68 +727,132 @@
|
||||
</ul>
|
||||
<h2 id="type-aliases_1">Type aliases<a class="headerlink" href="#type-aliases_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="catalogentityconstructor">CatalogEntityConstructor<a class="headerlink" href="#catalogentityconstructor" title="Permanent link">#</a></h3>
|
||||
<p>Ƭ <strong>CatalogEntityConstructor</strong>: <em>object</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/common/catalog/catalog-entity.ts#L30">src/common/catalog/catalog-entity.ts:30</a></em></p>
|
||||
<h4 id="type-declaration">Type declaration:<a class="headerlink" href="#type-declaration" title="Permanent link">#</a></h4>
|
||||
<p>Ƭ <strong>CatalogEntityConstructor</strong><Entity>: (<code>data</code>: <a href="../../interfaces/common.catalog.catalogentitydata/">CatalogEntityData</a><ExtractEntityMetadataType<Entity>, ExtractEntityStatusType<Entity>, ExtractEntitySpecType<Entity\>\>) => <code>Entity</code></p>
|
||||
<h4 id="type-parameters">Type parameters<a class="headerlink" href="#type-parameters" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>Entity</code></td>
|
||||
<td align="left"><code>Entity</code>: <a href="../../classes/common.catalog.catalogentity/">CatalogEntity</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="type-declaration">Type declaration<a class="headerlink" href="#type-declaration" title="Permanent link">#</a></h4>
|
||||
<p>• (<code>data</code>)</p>
|
||||
<h5 id="parameters">Parameters<a class="headerlink" href="#parameters" title="Permanent link">#</a></h5>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>data</code></td>
|
||||
<td align="left"><a href="../../interfaces/common.catalog.catalogentitydata/">CatalogEntityData</a><ExtractEntityMetadataType<Entity>, ExtractEntityStatusType<Entity>, ExtractEntitySpecType<Entity>></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<hr />
|
||||
<h3 id="catalogentityspec">CatalogEntitySpec<a class="headerlink" href="#catalogentityspec" title="Permanent link">#</a></h3>
|
||||
<p>Ƭ <strong>CatalogEntitySpec</strong>: <em>Record‹string, any›</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/common/catalog/catalog-entity.ts#L149">src/common/catalog/catalog-entity.ts:149</a></em></p>
|
||||
<p>Ƭ <strong>CatalogEntitySpec</strong>: <code>Record</code><string, any></p>
|
||||
<hr />
|
||||
<h3 id="kubernetesclusterprometheusmetrics">KubernetesClusterPrometheusMetrics<a class="headerlink" href="#kubernetesclusterprometheusmetrics" title="Permanent link">#</a></h3>
|
||||
<p>Ƭ <strong>KubernetesClusterPrometheusMetrics</strong>: <em>object</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/common/catalog-entities/kubernetes-cluster.ts#L32">src/common/catalog-entities/kubernetes-cluster.ts:32</a></em></p>
|
||||
<h4 id="type-declaration_1">Type declaration:<a class="headerlink" href="#type-declaration_1" title="Permanent link">#</a></h4>
|
||||
<ul>
|
||||
<li>
|
||||
<p><strong>address</strong>(): <em>object</em></p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>namespace</strong>: <em>string</em></p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>port</strong>: <em>number</em></p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>prefix</strong>: <em>string</em></p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>service</strong>: <em>string</em></p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>type</strong>? : <em>string</em></p>
|
||||
</li>
|
||||
</ul>
|
||||
<p>Ƭ <strong>KubernetesClusterPrometheusMetrics</strong>: <code>Object</code></p>
|
||||
<h4 id="type-declaration_1">Type declaration<a class="headerlink" href="#type-declaration_1" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>address?</code></td>
|
||||
<td align="left"><code>Object</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>address.namespace</code></td>
|
||||
<td align="left"><code>string</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>address.port</code></td>
|
||||
<td align="left"><code>number</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>address.prefix</code></td>
|
||||
<td align="left"><code>string</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>address.service</code></td>
|
||||
<td align="left"><code>string</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>type?</code></td>
|
||||
<td align="left"><code>string</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<hr />
|
||||
<h3 id="kubernetesclusterspec">KubernetesClusterSpec<a class="headerlink" href="#kubernetesclusterspec" title="Permanent link">#</a></h3>
|
||||
<p>Ƭ <strong>KubernetesClusterSpec</strong>: <em>object</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/common/catalog-entities/kubernetes-cluster.ts#L42">src/common/catalog-entities/kubernetes-cluster.ts:42</a></em></p>
|
||||
<h4 id="type-declaration_2">Type declaration:<a class="headerlink" href="#type-declaration_2" title="Permanent link">#</a></h4>
|
||||
<ul>
|
||||
<li>
|
||||
<p><strong>kubeconfigContext</strong>: <em>string</em></p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>kubeconfigPath</strong>: <em>string</em></p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>metrics</strong>(): <em>object</em></p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>prometheus</strong>? : <em><a href="./#kubernetesclusterprometheusmetrics">KubernetesClusterPrometheusMetrics</a></em></p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>source</strong>: <em>string</em></p>
|
||||
</li>
|
||||
</ul>
|
||||
<p>Ƭ <strong>KubernetesClusterSpec</strong>: <code>Object</code></p>
|
||||
<h4 id="type-declaration_2">Type declaration<a class="headerlink" href="#type-declaration_2" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>kubeconfigContext</code></td>
|
||||
<td align="left"><code>string</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>kubeconfigPath</code></td>
|
||||
<td align="left"><code>string</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>metrics?</code></td>
|
||||
<td align="left"><code>Object</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>metrics.prometheus?</code></td>
|
||||
<td align="left"><a href="./#kubernetesclusterprometheusmetrics">KubernetesClusterPrometheusMetrics</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>metrics.source</code></td>
|
||||
<td align="left"><code>string</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<hr />
|
||||
<h3 id="weblinkspec">WebLinkSpec<a class="headerlink" href="#weblinkspec" title="Permanent link">#</a></h3>
|
||||
<p>Ƭ <strong>WebLinkSpec</strong>: <em>object</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/common/catalog-entities/web-link.ts#L29">src/common/catalog-entities/web-link.ts:29</a></em></p>
|
||||
<h4 id="type-declaration_3">Type declaration:<a class="headerlink" href="#type-declaration_3" title="Permanent link">#</a></h4>
|
||||
<ul>
|
||||
<li><strong>url</strong>: <em>string</em></li>
|
||||
</ul>
|
||||
<p>Ƭ <strong>WebLinkSpec</strong>: <code>Object</code></p>
|
||||
<h4 id="type-declaration_3">Type declaration<a class="headerlink" href="#type-declaration_3" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>url</code></td>
|
||||
<td align="left"><code>string</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
+54
-29
@@ -9,7 +9,7 @@
|
||||
<meta name="description" content="Documentation for Lens Extension API.">
|
||||
|
||||
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/_common_api_index_._common_api_event_bus_/">
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/common.eventbus/">
|
||||
|
||||
|
||||
<meta name="author" content="Mirantis, Inc.">
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
|
||||
<title>Module: "common-api/event-bus" - Lens Extension API</title>
|
||||
<title>Namespace: EventBus - Lens Extension API</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#module-common-apievent-bus" class="md-skip">
|
||||
<a href="#namespace-eventbus" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Module: "common-api/event-bus"
|
||||
Namespace: EventBus
|
||||
|
||||
</span>
|
||||
</div>
|
||||
@@ -591,11 +591,11 @@
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#index" class="md-nav__link">
|
||||
Index
|
||||
<a href="#table-of-contents" class="md-nav__link">
|
||||
Table of contents
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Index">
|
||||
<nav class="md-nav" aria-label="Table of contents">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -646,8 +646,8 @@
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#const-appeventbus" class="md-nav__link">
|
||||
Const appEventBus
|
||||
<a href="#appeventbus" class="md-nav__link">
|
||||
appEventBus
|
||||
</a>
|
||||
|
||||
</li>
|
||||
@@ -671,36 +671,61 @@
|
||||
|
||||
|
||||
|
||||
<h1 id="module-common-apievent-bus">Module: "common-api/event-bus"<a class="headerlink" href="#module-common-apievent-bus" title="Permanent link">#</a></h1>
|
||||
<h2 id="index">Index<a class="headerlink" href="#index" title="Permanent link">#</a></h2>
|
||||
<h1 id="namespace-eventbus">Namespace: EventBus<a class="headerlink" href="#namespace-eventbus" title="Permanent link">#</a></h1>
|
||||
<p><a href="../common/">Common</a>.EventBus</p>
|
||||
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">#</a></h2>
|
||||
<h3 id="type-aliases">Type aliases<a class="headerlink" href="#type-aliases" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="./#appevent">AppEvent</a></li>
|
||||
</ul>
|
||||
<h3 id="variables">Variables<a class="headerlink" href="#variables" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="./#const-appeventbus">appEventBus</a></li>
|
||||
<li><a href="./#appeventbus">appEventBus</a></li>
|
||||
</ul>
|
||||
<h2 id="type-aliases_1">Type aliases<a class="headerlink" href="#type-aliases_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="appevent">AppEvent<a class="headerlink" href="#appevent" title="Permanent link">#</a></h3>
|
||||
<p>Ƭ <strong>AppEvent</strong>: <em>object</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/common/event-bus.ts#L24">src/common/event-bus.ts:24</a></em></p>
|
||||
<h4 id="type-declaration">Type declaration:<a class="headerlink" href="#type-declaration" title="Permanent link">#</a></h4>
|
||||
<ul>
|
||||
<li>
|
||||
<p><strong>action</strong>: <em>string</em></p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>name</strong>: <em>string</em></p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong>params</strong>? : <em>object</em></p>
|
||||
</li>
|
||||
</ul>
|
||||
<p>Ƭ <strong>AppEvent</strong>: <code>Object</code></p>
|
||||
<h4 id="type-declaration">Type declaration<a class="headerlink" href="#type-declaration" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>action</code></td>
|
||||
<td align="left"><code>string</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>name</code></td>
|
||||
<td align="left"><code>string</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>params?</code></td>
|
||||
<td align="left"><code>object</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2 id="variables_1">Variables<a class="headerlink" href="#variables_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="const-appeventbus"><code>Const</code> appEventBus<a class="headerlink" href="#const-appeventbus" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>appEventBus</strong>: <em>EventEmitter‹[object]›</em> = new EventEmitter<[AppEvent]>()</p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/common/event-bus.ts#L30">src/common/event-bus.ts:30</a></em></p>
|
||||
<h3 id="appeventbus">appEventBus<a class="headerlink" href="#appeventbus" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>appEventBus</strong>: <code>EventEmitter</code><[<a href="./#appevent">AppEvent</a>]></p>
|
||||
<p>Copyright (c) 2021 OpenLens Authors</p>
|
||||
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:</p>
|
||||
<p>The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.</p>
|
||||
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
|
||||
|
||||
|
||||
|
||||
+11
-10
@@ -9,7 +9,7 @@
|
||||
<meta name="description" content="Documentation for Lens Extension API.">
|
||||
|
||||
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/_common_api_index_._common_api_stores_/">
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/common.store/">
|
||||
|
||||
|
||||
<meta name="author" content="Mirantis, Inc.">
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
|
||||
<title>Module: "common-api/stores" - Lens Extension API</title>
|
||||
<title>Namespace: Store - Lens Extension API</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#module-common-apistores" class="md-skip">
|
||||
<a href="#namespace-store" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Module: "common-api/stores"
|
||||
Namespace: Store
|
||||
|
||||
</span>
|
||||
</div>
|
||||
@@ -591,11 +591,11 @@
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#index" class="md-nav__link">
|
||||
Index
|
||||
<a href="#table-of-contents" class="md-nav__link">
|
||||
Table of contents
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Index">
|
||||
<nav class="md-nav" aria-label="Table of contents">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -624,11 +624,12 @@
|
||||
|
||||
|
||||
|
||||
<h1 id="module-common-apistores">Module: "common-api/stores"<a class="headerlink" href="#module-common-apistores" title="Permanent link">#</a></h1>
|
||||
<h2 id="index">Index<a class="headerlink" href="#index" title="Permanent link">#</a></h2>
|
||||
<h1 id="namespace-store">Namespace: Store<a class="headerlink" href="#namespace-store" title="Permanent link">#</a></h1>
|
||||
<p><a href="../common/">Common</a>.Store</p>
|
||||
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">#</a></h2>
|
||||
<h3 id="classes">Classes<a class="headerlink" href="#classes" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="../../classes/_common_api_index_._common_api_stores_.extensionstore/">ExtensionStore</a></li>
|
||||
<li><a href="../../classes/common.store.extensionstore/">ExtensionStore</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
+33
-35
@@ -9,7 +9,7 @@
|
||||
<meta name="description" content="Documentation for Lens Extension API.">
|
||||
|
||||
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/_common_api_index_._common_api_types_/">
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/common.types/">
|
||||
|
||||
|
||||
<meta name="author" content="Mirantis, Inc.">
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
|
||||
<title>Module: "common-api/types" - Lens Extension API</title>
|
||||
<title>Namespace: Types - Lens Extension API</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#module-common-apitypes" class="md-skip">
|
||||
<a href="#namespace-types" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Module: "common-api/types"
|
||||
Namespace: Types
|
||||
|
||||
</span>
|
||||
</div>
|
||||
@@ -591,11 +591,11 @@
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#index" class="md-nav__link">
|
||||
Index
|
||||
<a href="#table-of-contents" class="md-nav__link">
|
||||
Table of contents
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Index">
|
||||
<nav class="md-nav" aria-label="Table of contents">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -665,30 +665,31 @@
|
||||
|
||||
|
||||
|
||||
<h1 id="module-common-apitypes">Module: "common-api/types"<a class="headerlink" href="#module-common-apitypes" title="Permanent link">#</a></h1>
|
||||
<h2 id="index">Index<a class="headerlink" href="#index" title="Permanent link">#</a></h2>
|
||||
<h1 id="namespace-types">Namespace: Types<a class="headerlink" href="#namespace-types" title="Permanent link">#</a></h1>
|
||||
<p><a href="../common/">Common</a>.Types</p>
|
||||
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">#</a></h2>
|
||||
<h3 id="interfaces">Interfaces<a class="headerlink" href="#interfaces" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.apppreferencecomponents/">AppPreferenceComponents</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.apppreferenceregistration/">AppPreferenceRegistration</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.clusterpagemenuregistration/">ClusterPageMenuRegistration</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.kubeobjectdetailcomponents/">KubeObjectDetailComponents</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.kubeobjectdetailregistration/">KubeObjectDetailRegistration</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.kubeobjectmenucomponents/">KubeObjectMenuComponents</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.kubeobjectmenuregistration/">KubeObjectMenuRegistration</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.kubeobjectstatusregistration/">KubeObjectStatusRegistration</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.pagecomponentprops/">PageComponentProps</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.pagecomponents/">PageComponents</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.pagemenucomponents/">PageMenuComponents</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.pagemenuregistration/">PageMenuRegistration</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.pageparams/">PageParams</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.pageregistration/">PageRegistration</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.pagetarget/">PageTarget</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.protocolhandlerregistration/">ProtocolHandlerRegistration</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.registeredpage/">RegisteredPage</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.routehandler/">RouteHandler</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.routeparams/">RouteParams</a></li>
|
||||
<li><a href="../../interfaces/_common_api_index_._common_api_types_.statusbarregistration/">StatusBarRegistration</a></li>
|
||||
<li><a href="../../interfaces/common.types.apppreferencecomponents/">AppPreferenceComponents</a></li>
|
||||
<li><a href="../../interfaces/common.types.apppreferenceregistration/">AppPreferenceRegistration</a></li>
|
||||
<li><a href="../../interfaces/common.types.clusterpagemenuregistration/">ClusterPageMenuRegistration</a></li>
|
||||
<li><a href="../../interfaces/common.types.kubeobjectdetailcomponents/">KubeObjectDetailComponents</a></li>
|
||||
<li><a href="../../interfaces/common.types.kubeobjectdetailregistration/">KubeObjectDetailRegistration</a></li>
|
||||
<li><a href="../../interfaces/common.types.kubeobjectmenucomponents/">KubeObjectMenuComponents</a></li>
|
||||
<li><a href="../../interfaces/common.types.kubeobjectmenuregistration/">KubeObjectMenuRegistration</a></li>
|
||||
<li><a href="../../interfaces/common.types.kubeobjectstatusregistration/">KubeObjectStatusRegistration</a></li>
|
||||
<li><a href="../../interfaces/common.types.pagecomponentprops/">PageComponentProps</a></li>
|
||||
<li><a href="../../interfaces/common.types.pagecomponents/">PageComponents</a></li>
|
||||
<li><a href="../../interfaces/common.types.pagemenucomponents/">PageMenuComponents</a></li>
|
||||
<li><a href="../../interfaces/common.types.pagemenuregistration/">PageMenuRegistration</a></li>
|
||||
<li><a href="../../interfaces/common.types.pageparams/">PageParams</a></li>
|
||||
<li><a href="../../interfaces/common.types.pageregistration/">PageRegistration</a></li>
|
||||
<li><a href="../../interfaces/common.types.pagetarget/">PageTarget</a></li>
|
||||
<li><a href="../../interfaces/common.types.protocolhandlerregistration/">ProtocolHandlerRegistration</a></li>
|
||||
<li><a href="../../interfaces/common.types.protocolroutehandler/">ProtocolRouteHandler</a></li>
|
||||
<li><a href="../../interfaces/common.types.protocolrouteparams/">ProtocolRouteParams</a></li>
|
||||
<li><a href="../../interfaces/common.types.registeredpage/">RegisteredPage</a></li>
|
||||
<li><a href="../../interfaces/common.types.statusbarregistration/">StatusBarRegistration</a></li>
|
||||
</ul>
|
||||
<h3 id="type-aliases">Type aliases<a class="headerlink" href="#type-aliases" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
@@ -698,12 +699,10 @@
|
||||
</ul>
|
||||
<h2 id="type-aliases_1">Type aliases<a class="headerlink" href="#type-aliases_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="ipcmainevent">IpcMainEvent<a class="headerlink" href="#ipcmainevent" title="Permanent link">#</a></h3>
|
||||
<p>Ƭ <strong>IpcMainEvent</strong>: <em>IpcMainEvent</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/extensions/common-api/types.ts#L24">src/extensions/common-api/types.ts:24</a></em></p>
|
||||
<p>Ƭ <strong>IpcMainEvent</strong>: <code>Electron.IpcMainEvent</code></p>
|
||||
<hr />
|
||||
<h3 id="ipcmaininvokeevent">IpcMainInvokeEvent<a class="headerlink" href="#ipcmaininvokeevent" title="Permanent link">#</a></h3>
|
||||
<p>Ƭ <strong>IpcMainInvokeEvent</strong>: <em>IpcMainInvokeEvent</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/extensions/common-api/types.ts#L22">src/extensions/common-api/types.ts:22</a></em></p>
|
||||
<p>Ƭ <strong>IpcMainInvokeEvent</strong>: <code>Electron.IpcMainInvokeEvent</code></p>
|
||||
<p>Copyright (c) 2021 OpenLens Authors</p>
|
||||
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
@@ -721,8 +720,7 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
|
||||
<hr />
|
||||
<h3 id="ipcrendererevent">IpcRendererEvent<a class="headerlink" href="#ipcrendererevent" title="Permanent link">#</a></h3>
|
||||
<p>Ƭ <strong>IpcRendererEvent</strong>: <em>IpcRendererEvent</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/extensions/common-api/types.ts#L23">src/extensions/common-api/types.ts:23</a></em></p>
|
||||
<p>Ƭ <strong>IpcRendererEvent</strong>: <code>Electron.IpcRendererEvent</code></p>
|
||||
|
||||
|
||||
|
||||
+76
-47
@@ -9,7 +9,7 @@
|
||||
<meta name="description" content="Documentation for Lens Extension API.">
|
||||
|
||||
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/_common_api_index_._common_api_utils_/">
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/common.util/">
|
||||
|
||||
|
||||
<meta name="author" content="Mirantis, Inc.">
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
|
||||
<title>Module: "common-api/utils" - Lens Extension API</title>
|
||||
<title>Namespace: Util - Lens Extension API</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#module-common-apiutils" class="md-skip">
|
||||
<a href="#namespace-util" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Module: "common-api/utils"
|
||||
Namespace: Util
|
||||
|
||||
</span>
|
||||
</div>
|
||||
@@ -591,11 +591,11 @@
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#index" class="md-nav__link">
|
||||
Index
|
||||
<a href="#table-of-contents" class="md-nav__link">
|
||||
Table of contents
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Index">
|
||||
<nav class="md-nav" aria-label="Table of contents">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -672,11 +672,12 @@
|
||||
|
||||
|
||||
|
||||
<h1 id="module-common-apiutils">Module: "common-api/utils"<a class="headerlink" href="#module-common-apiutils" title="Permanent link">#</a></h1>
|
||||
<h2 id="index">Index<a class="headerlink" href="#index" title="Permanent link">#</a></h2>
|
||||
<h1 id="namespace-util">Namespace: Util<a class="headerlink" href="#namespace-util" title="Permanent link">#</a></h1>
|
||||
<p><a href="../common/">Common</a>.Util</p>
|
||||
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">#</a></h2>
|
||||
<h3 id="classes">Classes<a class="headerlink" href="#classes" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="../../classes/_common_api_index_._common_api_utils_.singleton/">Singleton</a></li>
|
||||
<li><a href="../../classes/common.util.singleton/">Singleton</a></li>
|
||||
</ul>
|
||||
<h3 id="functions">Functions<a class="headerlink" href="#functions" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
@@ -687,89 +688,117 @@
|
||||
</ul>
|
||||
<h2 id="functions_1">Functions<a class="headerlink" href="#functions_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="cssnames">cssNames<a class="headerlink" href="#cssnames" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>cssNames</strong>(...<code>args</code>: IClassName[]): <em>string</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/renderer/utils/cssNames.ts#L29">src/renderer/utils/cssNames.ts:29</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<p>▸ <strong>cssNames</strong>(...<code>args</code>): <code>string</code></p>
|
||||
<h4 id="parameters">Parameters<a class="headerlink" href="#parameters" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>...args</code></td>
|
||||
<td>IClassName[]</td>
|
||||
<td align="left"><code>...args</code></td>
|
||||
<td align="left"><code>IClassName</code>[]</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><strong>Returns:</strong> <em>string</em></p>
|
||||
<h4 id="returns">Returns<a class="headerlink" href="#returns" title="Permanent link">#</a></h4>
|
||||
<p><code>string</code></p>
|
||||
<hr />
|
||||
<h3 id="openexternal">openExternal<a class="headerlink" href="#openexternal" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>openExternal</strong>(<code>url</code>: string): <em>Promise‹void›</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/common/utils/openExternal.ts#L25">src/common/utils/openExternal.ts:25</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<p>▸ <strong>openExternal</strong>(<code>url</code>): <code>Promise</code><void></p>
|
||||
<h4 id="parameters_1">Parameters<a class="headerlink" href="#parameters_1" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>url</code></td>
|
||||
<td>string</td>
|
||||
<td align="left"><code>url</code></td>
|
||||
<td align="left"><code>string</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><strong>Returns:</strong> <em>Promise‹void›</em></p>
|
||||
<h4 id="returns_1">Returns<a class="headerlink" href="#returns_1" title="Permanent link">#</a></h4>
|
||||
<p><code>Promise</code><void></p>
|
||||
<hr />
|
||||
<h3 id="prevdefault">prevDefault<a class="headerlink" href="#prevdefault" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>prevDefault</strong>‹<strong>E</strong>›(<code>callback</code>: function): <em>(Anonymous function)</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/renderer/utils/prevDefault.ts#L36">src/renderer/utils/prevDefault.ts:36</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<p>▪ <strong>E</strong>: <em>SyntheticEvent | Event</em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<p>▪ <strong>callback</strong>: <em>function</em></p>
|
||||
<p>▸ (<code>evt</code>: E): <em>any</em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<p>▸ <strong>prevDefault</strong><E\>(<code>callback</code>): (<code>evt</code>: <code>E</code>) => <code>any</code></p>
|
||||
<h4 id="type-parameters">Type parameters<a class="headerlink" href="#type-parameters" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>evt</code></td>
|
||||
<td>E</td>
|
||||
<td align="left"><code>E</code></td>
|
||||
<td align="left"><code>E</code>: <code>Event</code> | <code>SyntheticEvent</code><Element, Event></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><strong>Returns:</strong> <em>(Anonymous function)</em></p>
|
||||
<h4 id="parameters_2">Parameters<a class="headerlink" href="#parameters_2" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>callback</code></td>
|
||||
<td align="left">(<code>evt</code>: <code>E</code>) => <code>any</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="returns_2">Returns<a class="headerlink" href="#returns_2" title="Permanent link">#</a></h4>
|
||||
<p><code>fn</code></p>
|
||||
<p>▸ (<code>evt</code>): <code>any</code></p>
|
||||
<h5 id="parameters_3">Parameters<a class="headerlink" href="#parameters_3" title="Permanent link">#</a></h5>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>evt</code></td>
|
||||
<td align="left"><code>E</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h5 id="returns_3">Returns<a class="headerlink" href="#returns_3" title="Permanent link">#</a></h5>
|
||||
<p><code>any</code></p>
|
||||
<hr />
|
||||
<h3 id="stoppropagation">stopPropagation<a class="headerlink" href="#stoppropagation" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>stopPropagation</strong>(<code>evt</code>: Event | SyntheticEvent): <em>void</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/renderer/utils/prevDefault.ts#L45">src/renderer/utils/prevDefault.ts:45</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<p>▸ <strong>stopPropagation</strong>(<code>evt</code>): <code>void</code></p>
|
||||
<h4 id="parameters_4">Parameters<a class="headerlink" href="#parameters_4" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>evt</code></td>
|
||||
<td>Event | SyntheticEvent</td>
|
||||
<td align="left"><code>evt</code></td>
|
||||
<td align="left"><code>Event</code> | <code>React.SyntheticEvent</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><strong>Returns:</strong> <em>void</em></p>
|
||||
<h4 id="returns_4">Returns<a class="headerlink" href="#returns_4" title="Permanent link">#</a></h4>
|
||||
<p><code>void</code></p>
|
||||
|
||||
|
||||
|
||||
+18
-18
@@ -9,7 +9,7 @@
|
||||
<meta name="description" content="Documentation for Lens Extension API.">
|
||||
|
||||
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/_common_api_index_/">
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/common/">
|
||||
|
||||
|
||||
<meta name="author" content="Mirantis, Inc.">
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
|
||||
<title>Module: "common-api/index" - Lens Extension API</title>
|
||||
<title>Namespace: Common - Lens Extension API</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#module-common-apiindex" class="md-skip">
|
||||
<a href="#namespace-common" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Module: "common-api/index"
|
||||
Namespace: Common
|
||||
|
||||
</span>
|
||||
</div>
|
||||
@@ -591,16 +591,16 @@
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#index" class="md-nav__link">
|
||||
Index
|
||||
<a href="#table-of-contents" class="md-nav__link">
|
||||
Table of contents
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Index">
|
||||
<nav class="md-nav" aria-label="Table of contents">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#modules" class="md-nav__link">
|
||||
Modules
|
||||
<a href="#namespaces" class="md-nav__link">
|
||||
Namespaces
|
||||
</a>
|
||||
|
||||
</li>
|
||||
@@ -624,16 +624,16 @@
|
||||
|
||||
|
||||
|
||||
<h1 id="module-common-apiindex">Module: "common-api/index"<a class="headerlink" href="#module-common-apiindex" title="Permanent link">#</a></h1>
|
||||
<h2 id="index">Index<a class="headerlink" href="#index" title="Permanent link">#</a></h2>
|
||||
<h3 id="modules">Modules<a class="headerlink" href="#modules" title="Permanent link">#</a></h3>
|
||||
<h1 id="namespace-common">Namespace: Common<a class="headerlink" href="#namespace-common" title="Permanent link">#</a></h1>
|
||||
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">#</a></h2>
|
||||
<h3 id="namespaces">Namespaces<a class="headerlink" href="#namespaces" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="../_common_api_index_._common_api_app_/">"common-api/app"</a></li>
|
||||
<li><a href="../_common_api_index_._common_api_catalog_/">"common-api/catalog"</a></li>
|
||||
<li><a href="../_common_api_index_._common_api_event_bus_/">"common-api/event-bus"</a></li>
|
||||
<li><a href="../_common_api_index_._common_api_stores_/">"common-api/stores"</a></li>
|
||||
<li><a href="../_common_api_index_._common_api_types_/">"common-api/types"</a></li>
|
||||
<li><a href="../_common_api_index_._common_api_utils_/">"common-api/utils"</a></li>
|
||||
<li><a href="../common.app/">App</a></li>
|
||||
<li><a href="../common.catalog/">Catalog</a></li>
|
||||
<li><a href="../common.eventbus/">EventBus</a></li>
|
||||
<li><a href="../common.store/">Store</a></li>
|
||||
<li><a href="../common.types/">Types</a></li>
|
||||
<li><a href="../common.util/">Util</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -0,0 +1,711 @@
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en" class="no-js">
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<meta name="description" content="Documentation for Lens Extension API.">
|
||||
|
||||
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/">
|
||||
|
||||
|
||||
<meta name="author" content="Mirantis, Inc.">
|
||||
|
||||
<link rel="shortcut icon" href="../../../img/favicon.ico">
|
||||
<meta name="generator" content="mkdocs-1.1.2, mkdocs-material-6.1.0+insiders-1.7.0">
|
||||
|
||||
|
||||
|
||||
<title>@k8slens/extensions - Lens Extension API</title>
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../../../assets/stylesheets/main.406af9ae.min.css">
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../../../assets/stylesheets/palette.ec60dfa4.min.css">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700%7CRoboto+Mono&display=fallback">
|
||||
<style>body,input{font-family:"Roboto",-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"Roboto Mono",SFMono-Regular,Consolas,Menlo,monospace}</style>
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../../../stylesheets/extra.css">
|
||||
|
||||
|
||||
|
||||
|
||||
<script>window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-159377374-2","auto"),ga("set","anonymizeIp",!0),ga("send","pageview"),document.addEventListener("DOMContentLoaded",function(){document.forms.search&&document.forms.search.query.addEventListener("blur",function(){if(this.value){var e=document.location.pathname;ga("send","pageview",e+"?q="+this.value)}})}),document.addEventListener("DOMContentSwitch",function(){ga("send","pageview",document.location.pathname)})</script>
|
||||
<script async src="https://www.google-analytics.com/analytics.js"></script>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<body dir="ltr" data-md-color-scheme="slate" data-md-color-primary="" data-md-color-accent="">
|
||||
|
||||
|
||||
<script>var palette=JSON.parse(localStorage.getItem("__palette")||"{}");if(void 0!==palette.color)for(var key in palette.color)document.body.setAttribute("data-md-color-"+key,palette.color[key])</script>
|
||||
|
||||
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
|
||||
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
|
||||
<label class="md-overlay" for="__drawer"></label>
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#k8slensextensions" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div data-md-component="announce">
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<header class="md-header" data-md-component="header">
|
||||
<nav class="md-header-nav md-grid" aria-label="Header">
|
||||
<a href="https://api-docs.k8slens.dev/master" title="Lens Extension API" class="md-header-nav__button md-logo" aria-label="Lens Extension API">
|
||||
|
||||
<img src="../../../img/lens-logo-icon.svg" alt="logo">
|
||||
|
||||
</a>
|
||||
<label class="md-header-nav__button md-icon" for="__drawer">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2z"/></svg>
|
||||
</label>
|
||||
<div class="md-header-nav__title" data-md-component="header-title">
|
||||
<div class="md-header-nav__ellipsis">
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
Lens Extension API
|
||||
</span>
|
||||
</div>
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
@k8slens/extensions
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="md-header-nav__options">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<button class="md-header-nav__button md-icon" title="Switch to dark mode" aria-label="Switch to dark mode" data-md-option="palette" data-md-color-scheme="slate" data-md-color-primary="" data-md-color-accent="" data-md-state="hidden">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m10-3a5 5 0 015 5 5 5 0 01-5 5H7a5 5 0 01-5-5 5 5 0 015-5h10M7 9a3 3 0 00-3 3 3 3 0 003 3h10a3 3 0 003-3 3 3 0 00-3-3H7z"/></svg>
|
||||
</button>
|
||||
|
||||
|
||||
|
||||
|
||||
<button class="md-header-nav__button md-icon" title="Switch to light mode" aria-label="Switch to light mode" data-md-option="palette" data-md-color-scheme="default" data-md-color-primary="" data-md-color-accent="" data-md-state="hidden">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17 7H7a5 5 0 00-5 5 5 5 0 005 5h10a5 5 0 005-5 5 5 0 00-5-5m0 8a3 3 0 01-3-3 3 3 0 013-3 3 3 0 013 3 3 3 0 01-3 3z"/></svg>
|
||||
</button>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<label class="md-header-nav__button md-icon" for="__search">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
|
||||
</label>
|
||||
|
||||
<div class="md-search" data-md-component="search" role="dialog">
|
||||
<label class="md-search__overlay" for="__search"></label>
|
||||
<div class="md-search__inner" role="search">
|
||||
<form class="md-search__form" name="search">
|
||||
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" data-md-state="active">
|
||||
<label class="md-search__icon md-icon" for="__search">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
|
||||
</label>
|
||||
<button type="reset" class="md-search__icon md-icon" aria-label="Clear" data-md-component="search-reset" tabindex="-1">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>
|
||||
</button>
|
||||
<div class="md-search__suggest" data-md-component="search-suggest"></div>
|
||||
</form>
|
||||
<div class="md-search__output">
|
||||
<div class="md-search__scrollwrap" data-md-scrollfix>
|
||||
<div class="md-search-result" data-md-component="search-result">
|
||||
<div class="md-search-result__meta">
|
||||
Initializing search
|
||||
</div>
|
||||
<ol class="md-search-result__list"></ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="md-header-nav__source">
|
||||
|
||||
<a href="https://github.com/lensapp/lens" title="Go to repository" class="md-source">
|
||||
<div class="md-source__icon md-icon">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.55 236.05L244 40.45a28.87 28.87 0 00-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 01-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 000 40.81l195.61 195.6a28.86 28.86 0 0040.8 0l194.69-194.69a28.86 28.86 0 000-40.81z"/></svg>
|
||||
</div>
|
||||
<div class="md-source__repository">
|
||||
GitHub
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<div class="md-container" data-md-component="container">
|
||||
|
||||
|
||||
|
||||
|
||||
<main class="md-main" data-md-component="main">
|
||||
<div class="md-main__inner md-grid">
|
||||
|
||||
|
||||
<div class="md-sidebar md-sidebar--primary" data-md-component="navigation">
|
||||
<div class="md-sidebar__scrollwrap">
|
||||
<div class="md-sidebar__inner">
|
||||
|
||||
|
||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||
<label class="md-nav__title" for="__drawer">
|
||||
<a href="https://api-docs.k8slens.dev/master" title="Lens Extension API" class="md-nav__button md-logo" aria-label="Lens Extension API">
|
||||
|
||||
<img src="../../../img/lens-logo-icon.svg" alt="logo">
|
||||
|
||||
</a>
|
||||
Lens Extension API
|
||||
</label>
|
||||
|
||||
<div class="md-nav__source">
|
||||
|
||||
<a href="https://github.com/lensapp/lens" title="Go to repository" class="md-source">
|
||||
<div class="md-source__icon md-icon">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.55 236.05L244 40.45a28.87 28.87 0 00-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 01-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 000 40.81l195.61 195.6a28.86 28.86 0 0040.8 0l194.69-194.69a28.86 28.86 0 000-40.81z"/></svg>
|
||||
</div>
|
||||
<div class="md-source__repository">
|
||||
GitHub
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../.." class="md-nav__link">
|
||||
Overview
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item md-nav__item--nested">
|
||||
|
||||
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-2" type="checkbox" id="nav-2">
|
||||
|
||||
<label class="md-nav__link" for="nav-2">
|
||||
Extension Development
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
</label>
|
||||
<nav class="md-nav" aria-label="Extension Development" data-md-level="1">
|
||||
<label class="md-nav__title" for="nav-2">
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
Extension Development
|
||||
</label>
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item md-nav__item--nested">
|
||||
|
||||
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-2-1" type="checkbox" id="nav-2-1">
|
||||
|
||||
<label class="md-nav__link" for="nav-2-1">
|
||||
Getting Started
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
</label>
|
||||
<nav class="md-nav" aria-label="Getting Started" data-md-level="2">
|
||||
<label class="md-nav__title" for="nav-2-1">
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
Getting Started
|
||||
</label>
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../get-started/overview/" class="md-nav__link">
|
||||
Overview
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../get-started/your-first-extension/" class="md-nav__link">
|
||||
Your First Extension
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../get-started/anatomy/" class="md-nav__link">
|
||||
Extension Anatomy
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../get-started/wrapping-up/" class="md-nav__link">
|
||||
Wrapping Up
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item md-nav__item--nested">
|
||||
|
||||
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-2-2" type="checkbox" id="nav-2-2">
|
||||
|
||||
<label class="md-nav__link" for="nav-2-2">
|
||||
Extension Capabilities
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
</label>
|
||||
<nav class="md-nav" aria-label="Extension Capabilities" data-md-level="2">
|
||||
<label class="md-nav__title" for="nav-2-2">
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
Extension Capabilities
|
||||
</label>
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../capabilities/common-capabilities/" class="md-nav__link">
|
||||
Common Capabilities
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../capabilities/styling/" class="md-nav__link">
|
||||
Styling
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item md-nav__item--nested">
|
||||
|
||||
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-2-3" type="checkbox" id="nav-2-3">
|
||||
|
||||
<label class="md-nav__link" for="nav-2-3">
|
||||
Extension Guides
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
</label>
|
||||
<nav class="md-nav" aria-label="Extension Guides" data-md-level="2">
|
||||
<label class="md-nav__title" for="nav-2-3">
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
Extension Guides
|
||||
</label>
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../guides/" class="md-nav__link">
|
||||
Overview
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../guides/generator/" class="md-nav__link">
|
||||
Generator
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../guides/main-extension/" class="md-nav__link">
|
||||
Main Extension
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../guides/renderer-extension/" class="md-nav__link">
|
||||
Renderer Extension
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../guides/stores/" class="md-nav__link">
|
||||
Stores
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../guides/working-with-mobx/" class="md-nav__link">
|
||||
Working with MobX
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../guides/protocol-handlers/" class="md-nav__link">
|
||||
Protocol Handlers
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../guides/ipc/" class="md-nav__link">
|
||||
IPC
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item md-nav__item--nested">
|
||||
|
||||
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-2-4" type="checkbox" id="nav-2-4">
|
||||
|
||||
<label class="md-nav__link" for="nav-2-4">
|
||||
Testing and Publishing
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
</label>
|
||||
<nav class="md-nav" aria-label="Testing and Publishing" data-md-level="2">
|
||||
<label class="md-nav__title" for="nav-2-4">
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
Testing and Publishing
|
||||
</label>
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../testing-and-publishing/testing/" class="md-nav__link">
|
||||
Testing Extensions
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../testing-and-publishing/publishing/" class="md-nav__link">
|
||||
Publishing Extensions
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../" class="md-nav__link">
|
||||
API Reference
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="md-sidebar md-sidebar--secondary" data-md-component="toc">
|
||||
<div class="md-sidebar__scrollwrap">
|
||||
<div class="md-sidebar__inner">
|
||||
|
||||
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<label class="md-nav__title" for="__toc">
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
Table of contents
|
||||
</label>
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#table-of-contents" class="md-nav__link">
|
||||
Table of contents
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Table of contents">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#namespaces" class="md-nav__link">
|
||||
Namespaces
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="md-content">
|
||||
<article class="md-content__inner md-typeset">
|
||||
|
||||
|
||||
|
||||
<h1 id="k8slensextensions">@k8slens/extensions<a class="headerlink" href="#k8slensextensions" title="Permanent link">#</a></h1>
|
||||
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">#</a></h2>
|
||||
<h3 id="namespaces">Namespaces<a class="headerlink" href="#namespaces" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="common/">Common</a></li>
|
||||
<li><a href="main/">Main</a></li>
|
||||
<li><a href="renderer/">Renderer</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
<footer class="md-footer">
|
||||
|
||||
<div class="md-footer-meta md-typeset">
|
||||
<div class="md-footer-meta__inner md-grid">
|
||||
<div class="md-footer-copyright">
|
||||
|
||||
<div class="md-footer-copyright__highlight">
|
||||
Copyright © 2021 <a href="https://mirantis.com/">Mirantis Inc.</a> - All rights reserved.
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="md-footer-social">
|
||||
|
||||
|
||||
|
||||
<a href="https://github.com/lensapp/lens" target="_blank" rel="noopener" title="Lens on GitHub" class="md-footer-social__link">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<a href="https://twitter.com/k8slens" target="_blank" rel="noopener" title="Lens on Twitter" class="md-footer-social__link">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<a href="http://k8slens.slack.com/" target="_blank" rel="noopener" title="Lens on Slack" class="md-footer-social__link">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M94.12 315.1c0 25.9-21.16 47.06-47.06 47.06S0 341 0 315.1c0-25.9 21.16-47.06 47.06-47.06h47.06v47.06zm23.72 0c0-25.9 21.16-47.06 47.06-47.06s47.06 21.16 47.06 47.06v117.84c0 25.9-21.16 47.06-47.06 47.06s-47.06-21.16-47.06-47.06V315.1zm47.06-188.98c-25.9 0-47.06-21.16-47.06-47.06S139 32 164.9 32s47.06 21.16 47.06 47.06v47.06H164.9zm0 23.72c25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06H47.06C21.16 243.96 0 222.8 0 196.9s21.16-47.06 47.06-47.06H164.9zm188.98 47.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06h-47.06V196.9zm-23.72 0c0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06V79.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06V196.9zM283.1 385.88c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06v-47.06h47.06zm0-23.72c-25.9 0-47.06-21.16-47.06-47.06 0-25.9 21.16-47.06 47.06-47.06h117.84c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06H283.1z"/></svg>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<a href="https://k8slens.dev/" target="_blank" rel="noopener" title="Lens Website" class="md-footer-social__link">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 01-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0120.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0020.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 00-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
|
||||
<script src="../../../assets/javascripts/vendor.4d7724a9.min.js"></script>
|
||||
<script src="../../../assets/javascripts/bundle.0421a6ad.min.js"></script><script id="__lang" type="application/json">{"clipboard.copy": "Copy to clipboard", "clipboard.copied": "Copied to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.placeholder": "Type to start searching", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.term.missing": "Missing"}</script>
|
||||
|
||||
<script>
|
||||
app = initialize({
|
||||
base: "../../..",
|
||||
features: ['toc.autohide', 'search.suggest', 'search.highlight'],
|
||||
search: Object.assign({
|
||||
worker: "../../../assets/javascripts/worker/search.0f64ce30.min.js"
|
||||
}, typeof search !== "undefined" && search),
|
||||
version: {'method': 'mike'}
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
+50
-28
@@ -9,7 +9,7 @@
|
||||
<meta name="description" content="Documentation for Lens Extension API.">
|
||||
|
||||
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/_renderer_api_index_._renderer_api_catalog_/">
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/main.catalog/">
|
||||
|
||||
|
||||
<meta name="author" content="Mirantis, Inc.">
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
|
||||
<title>Module: "renderer-api/catalog" - Lens Extension API</title>
|
||||
<title>Namespace: Catalog - Lens Extension API</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#module-renderer-apicatalog" class="md-skip">
|
||||
<a href="#namespace-catalog" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Module: "renderer-api/catalog"
|
||||
Namespace: Catalog
|
||||
|
||||
</span>
|
||||
</div>
|
||||
@@ -591,13 +591,20 @@
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#index" class="md-nav__link">
|
||||
Index
|
||||
<a href="#table-of-contents" class="md-nav__link">
|
||||
Table of contents
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Index">
|
||||
<nav class="md-nav" aria-label="Table of contents">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#references" class="md-nav__link">
|
||||
References
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#classes" class="md-nav__link">
|
||||
Classes
|
||||
@@ -615,6 +622,26 @@
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#references_1" class="md-nav__link">
|
||||
References
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="References">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#catalogcategories" class="md-nav__link">
|
||||
catalogCategories
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -626,15 +653,8 @@
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#const-catalogcategoryregistry" class="md-nav__link">
|
||||
Const catalogCategoryRegistry
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#const-catalogentities" class="md-nav__link">
|
||||
Const catalogEntities
|
||||
<a href="#catalogentities" class="md-nav__link">
|
||||
catalogEntities
|
||||
</a>
|
||||
|
||||
</li>
|
||||
@@ -658,25 +678,27 @@
|
||||
|
||||
|
||||
|
||||
<h1 id="module-renderer-apicatalog">Module: "renderer-api/catalog"<a class="headerlink" href="#module-renderer-apicatalog" title="Permanent link">#</a></h1>
|
||||
<h2 id="index">Index<a class="headerlink" href="#index" title="Permanent link">#</a></h2>
|
||||
<h1 id="namespace-catalog">Namespace: Catalog<a class="headerlink" href="#namespace-catalog" title="Permanent link">#</a></h1>
|
||||
<p><a href="../main/">Main</a>.Catalog</p>
|
||||
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">#</a></h2>
|
||||
<h3 id="references">References<a class="headerlink" href="#references" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="./#catalogcategories">catalogCategories</a></li>
|
||||
</ul>
|
||||
<h3 id="classes">Classes<a class="headerlink" href="#classes" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="../../classes/_renderer_api_index_._renderer_api_catalog_.catalogentityregistry/">CatalogEntityRegistry</a></li>
|
||||
<li><a href="../../classes/main.catalog.catalogentityregistry/">CatalogEntityRegistry</a></li>
|
||||
</ul>
|
||||
<h3 id="variables">Variables<a class="headerlink" href="#variables" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="./#const-catalogcategoryregistry">catalogCategoryRegistry</a></li>
|
||||
<li><a href="./#const-catalogentities">catalogEntities</a></li>
|
||||
<li><a href="./#catalogentities">catalogEntities</a></li>
|
||||
</ul>
|
||||
<h2 id="references_1">References<a class="headerlink" href="#references_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="catalogcategories">catalogCategories<a class="headerlink" href="#catalogcategories" title="Permanent link">#</a></h3>
|
||||
<p>Re-exports: <a href="../renderer.catalog/#catalogcategories">catalogCategories</a></p>
|
||||
<h2 id="variables_1">Variables<a class="headerlink" href="#variables_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="const-catalogcategoryregistry"><code>Const</code> catalogCategoryRegistry<a class="headerlink" href="#const-catalogcategoryregistry" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>catalogCategoryRegistry</strong>: <em>CatalogCategoryRegistry‹›</em> = new CatalogCategoryRegistry()</p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/common/catalog/catalog-category-registry.ts#L81">src/common/catalog/catalog-category-registry.ts:81</a></em></p>
|
||||
<hr />
|
||||
<h3 id="const-catalogentities"><code>Const</code> catalogEntities<a class="headerlink" href="#const-catalogentities" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>catalogEntities</strong>: <em><a href="../../classes/_renderer_api_index_._renderer_api_catalog_.catalogentityregistry/">CatalogEntityRegistry</a>‹›</em> = new CatalogEntityRegistry()</p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/extensions/renderer-api/catalog.ts#L53">src/extensions/renderer-api/catalog.ts:53</a></em></p>
|
||||
<h3 id="catalogentities">catalogEntities<a class="headerlink" href="#catalogentities" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>catalogEntities</strong>: <a href="../../classes/main.catalog.catalogentityregistry/">CatalogEntityRegistry</a></p>
|
||||
|
||||
|
||||
|
||||
+18
-17
@@ -9,7 +9,7 @@
|
||||
<meta name="description" content="Documentation for Lens Extension API.">
|
||||
|
||||
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/_main_api_index_._main_api_navigation_/">
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/main.navigation/">
|
||||
|
||||
|
||||
<meta name="author" content="Mirantis, Inc.">
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
|
||||
<title>Module: "main-api/navigation" - Lens Extension API</title>
|
||||
<title>Namespace: Navigation - Lens Extension API</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#module-main-apinavigation" class="md-skip">
|
||||
<a href="#namespace-navigation" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Module: "main-api/navigation"
|
||||
Namespace: Navigation
|
||||
|
||||
</span>
|
||||
</div>
|
||||
@@ -591,11 +591,11 @@
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#index" class="md-nav__link">
|
||||
Index
|
||||
<a href="#table-of-contents" class="md-nav__link">
|
||||
Table of contents
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Index">
|
||||
<nav class="md-nav" aria-label="Table of contents">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -644,32 +644,33 @@
|
||||
|
||||
|
||||
|
||||
<h1 id="module-main-apinavigation">Module: "main-api/navigation"<a class="headerlink" href="#module-main-apinavigation" title="Permanent link">#</a></h1>
|
||||
<h2 id="index">Index<a class="headerlink" href="#index" title="Permanent link">#</a></h2>
|
||||
<h1 id="namespace-navigation">Namespace: Navigation<a class="headerlink" href="#namespace-navigation" title="Permanent link">#</a></h1>
|
||||
<p><a href="../main/">Main</a>.Navigation</p>
|
||||
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">#</a></h2>
|
||||
<h3 id="functions">Functions<a class="headerlink" href="#functions" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="./#navigate">navigate</a></li>
|
||||
</ul>
|
||||
<h2 id="functions_1">Functions<a class="headerlink" href="#functions_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="navigate">navigate<a class="headerlink" href="#navigate" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>navigate</strong>(<code>url</code>: string): <em>Promise‹void›</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/extensions/main-api/navigation.ts#L24">src/extensions/main-api/navigation.ts:24</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<p>▸ <strong>navigate</strong>(<code>url</code>): <code>Promise</code><void></p>
|
||||
<h4 id="parameters">Parameters<a class="headerlink" href="#parameters" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>url</code></td>
|
||||
<td>string</td>
|
||||
<td align="left"><code>url</code></td>
|
||||
<td align="left"><code>string</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><strong>Returns:</strong> <em>Promise‹void›</em></p>
|
||||
<h4 id="returns">Returns<a class="headerlink" href="#returns" title="Permanent link">#</a></h4>
|
||||
<p><code>Promise</code><void></p>
|
||||
|
||||
|
||||
|
||||
+16
-16
@@ -9,7 +9,7 @@
|
||||
<meta name="description" content="Documentation for Lens Extension API.">
|
||||
|
||||
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/_main_api_index_/">
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/main/">
|
||||
|
||||
|
||||
<meta name="author" content="Mirantis, Inc.">
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
|
||||
<title>Module: "main-api/index" - Lens Extension API</title>
|
||||
<title>Namespace: Main - Lens Extension API</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#module-main-apiindex" class="md-skip">
|
||||
<a href="#namespace-main" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Module: "main-api/index"
|
||||
Namespace: Main
|
||||
|
||||
</span>
|
||||
</div>
|
||||
@@ -591,16 +591,16 @@
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#index" class="md-nav__link">
|
||||
Index
|
||||
<a href="#table-of-contents" class="md-nav__link">
|
||||
Table of contents
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Index">
|
||||
<nav class="md-nav" aria-label="Table of contents">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#modules" class="md-nav__link">
|
||||
Modules
|
||||
<a href="#namespaces" class="md-nav__link">
|
||||
Namespaces
|
||||
</a>
|
||||
|
||||
</li>
|
||||
@@ -631,17 +631,17 @@
|
||||
|
||||
|
||||
|
||||
<h1 id="module-main-apiindex">Module: "main-api/index"<a class="headerlink" href="#module-main-apiindex" title="Permanent link">#</a></h1>
|
||||
<h2 id="index">Index<a class="headerlink" href="#index" title="Permanent link">#</a></h2>
|
||||
<h3 id="modules">Modules<a class="headerlink" href="#modules" title="Permanent link">#</a></h3>
|
||||
<h1 id="namespace-main">Namespace: Main<a class="headerlink" href="#namespace-main" title="Permanent link">#</a></h1>
|
||||
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">#</a></h2>
|
||||
<h3 id="namespaces">Namespaces<a class="headerlink" href="#namespaces" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="../_main_api_index_._main_api_catalog_/">"main-api/catalog"</a></li>
|
||||
<li><a href="../_main_api_index_._main_api_navigation_/">"main-api/navigation"</a></li>
|
||||
<li><a href="../main.catalog/">Catalog</a></li>
|
||||
<li><a href="../main.navigation/">Navigation</a></li>
|
||||
</ul>
|
||||
<h3 id="classes">Classes<a class="headerlink" href="#classes" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="../../classes/_main_api_index_.ipcmain/">IpcMain</a></li>
|
||||
<li><a href="../../classes/_main_api_index_.lensmainextension/">LensMainExtension</a></li>
|
||||
<li><a href="../../classes/main.ipc/">Ipc</a></li>
|
||||
<li><a href="../../classes/main.lensextension/">LensExtension</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
+21
-22
@@ -9,7 +9,7 @@
|
||||
<meta name="description" content="Documentation for Lens Extension API.">
|
||||
|
||||
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/_main_api_index_._main_api_catalog_/">
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/renderer.catalog/">
|
||||
|
||||
|
||||
<meta name="author" content="Mirantis, Inc.">
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
|
||||
<title>Module: "main-api/catalog" - Lens Extension API</title>
|
||||
<title>Namespace: Catalog - Lens Extension API</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#module-main-apicatalog" class="md-skip">
|
||||
<a href="#namespace-catalog" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Module: "main-api/catalog"
|
||||
Namespace: Catalog
|
||||
|
||||
</span>
|
||||
</div>
|
||||
@@ -591,11 +591,11 @@
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#index" class="md-nav__link">
|
||||
Index
|
||||
<a href="#table-of-contents" class="md-nav__link">
|
||||
Table of contents
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Index">
|
||||
<nav class="md-nav" aria-label="Table of contents">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -626,15 +626,15 @@
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#const-catalogcategoryregistry" class="md-nav__link">
|
||||
Const catalogCategoryRegistry
|
||||
<a href="#catalogcategories" class="md-nav__link">
|
||||
catalogCategories
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#const-catalogentities" class="md-nav__link">
|
||||
Const catalogEntities
|
||||
<a href="#catalogentities" class="md-nav__link">
|
||||
catalogEntities
|
||||
</a>
|
||||
|
||||
</li>
|
||||
@@ -658,25 +658,24 @@
|
||||
|
||||
|
||||
|
||||
<h1 id="module-main-apicatalog">Module: "main-api/catalog"<a class="headerlink" href="#module-main-apicatalog" title="Permanent link">#</a></h1>
|
||||
<h2 id="index">Index<a class="headerlink" href="#index" title="Permanent link">#</a></h2>
|
||||
<h1 id="namespace-catalog">Namespace: Catalog<a class="headerlink" href="#namespace-catalog" title="Permanent link">#</a></h1>
|
||||
<p><a href="../renderer/">Renderer</a>.Catalog</p>
|
||||
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">#</a></h2>
|
||||
<h3 id="classes">Classes<a class="headerlink" href="#classes" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="../../classes/_main_api_index_._main_api_catalog_.catalogentityregistry/">CatalogEntityRegistry</a></li>
|
||||
<li><a href="../../classes/renderer.catalog.catalogentityregistry/">CatalogEntityRegistry</a></li>
|
||||
</ul>
|
||||
<h3 id="variables">Variables<a class="headerlink" href="#variables" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="./#const-catalogcategoryregistry">catalogCategoryRegistry</a></li>
|
||||
<li><a href="./#const-catalogentities">catalogEntities</a></li>
|
||||
<li><a href="./#catalogcategories">catalogCategories</a></li>
|
||||
<li><a href="./#catalogentities">catalogEntities</a></li>
|
||||
</ul>
|
||||
<h2 id="variables_1">Variables<a class="headerlink" href="#variables_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="const-catalogcategoryregistry"><code>Const</code> catalogCategoryRegistry<a class="headerlink" href="#const-catalogcategoryregistry" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>catalogCategoryRegistry</strong>: <em>CatalogCategoryRegistry‹›</em> = new CatalogCategoryRegistry()</p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/common/catalog/catalog-category-registry.ts#L81">src/common/catalog/catalog-category-registry.ts:81</a></em></p>
|
||||
<h3 id="catalogcategories">catalogCategories<a class="headerlink" href="#catalogcategories" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>catalogCategories</strong>: <code>CatalogCategoryRegistry</code></p>
|
||||
<hr />
|
||||
<h3 id="const-catalogentities"><code>Const</code> catalogEntities<a class="headerlink" href="#const-catalogentities" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>catalogEntities</strong>: <em><a href="../../classes/_main_api_index_._main_api_catalog_.catalogentityregistry/">CatalogEntityRegistry</a>‹›</em> = new CatalogEntityRegistry()</p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/extensions/main-api/catalog.ts#L33">src/extensions/main-api/catalog.ts:33</a></em></p>
|
||||
<h3 id="catalogentities">catalogEntities<a class="headerlink" href="#catalogentities" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>catalogEntities</strong>: <a href="../../classes/renderer.catalog.catalogentityregistry/">CatalogEntityRegistry</a></p>
|
||||
|
||||
|
||||
|
||||
+436
-530
File diff suppressed because it is too large.
Load diff
+534
-64
@@ -9,7 +9,7 @@
|
||||
<meta name="description" content="Documentation for Lens Extension API.">
|
||||
|
||||
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/_common_api_index_._common_api_app_/">
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/renderer.k8sapi/">
|
||||
|
||||
|
||||
<meta name="author" content="Mirantis, Inc.">
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
|
||||
<title>Module: "common-api/app" - Lens Extension API</title>
|
||||
<title>Namespace: K8sApi - Lens Extension API</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#module-common-apiapp" class="md-skip">
|
||||
<a href="#namespace-k8sapi" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Module: "common-api/app"
|
||||
Namespace: K8sApi
|
||||
|
||||
</span>
|
||||
</div>
|
||||
@@ -591,13 +591,41 @@
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#index" class="md-nav__link">
|
||||
Index
|
||||
<a href="#table-of-contents" class="md-nav__link">
|
||||
Table of contents
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Index">
|
||||
<nav class="md-nav" aria-label="Table of contents">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#enumerations" class="md-nav__link">
|
||||
Enumerations
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#classes" class="md-nav__link">
|
||||
Classes
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#interfaces" class="md-nav__link">
|
||||
Interfaces
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#type-aliases" class="md-nav__link">
|
||||
Type aliases
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#variables" class="md-nav__link">
|
||||
Variables
|
||||
@@ -615,6 +643,26 @@
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#type-aliases_1" class="md-nav__link">
|
||||
Type aliases
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Type aliases">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#kubeobjectstatus" class="md-nav__link">
|
||||
KubeObjectStatus
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -626,57 +674,211 @@
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#const-appname" class="md-nav__link">
|
||||
Const appName
|
||||
<a href="#apimanager" class="md-nav__link">
|
||||
apiManager
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#const-islinux" class="md-nav__link">
|
||||
Const isLinux
|
||||
<a href="#clusterroleapi" class="md-nav__link">
|
||||
clusterRoleApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#const-ismac" class="md-nav__link">
|
||||
Const isMac
|
||||
<a href="#clusterrolebindingapi" class="md-nav__link">
|
||||
clusterRoleBindingApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#const-issnap" class="md-nav__link">
|
||||
Const isSnap
|
||||
<a href="#configmapapi" class="md-nav__link">
|
||||
configMapApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#const-iswindows" class="md-nav__link">
|
||||
Const isWindows
|
||||
<a href="#crdapi" class="md-nav__link">
|
||||
crdApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#const-issuestrackerurl" class="md-nav__link">
|
||||
Const issuesTrackerUrl
|
||||
<a href="#cronjobapi" class="md-nav__link">
|
||||
cronJobApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#const-slackurl" class="md-nav__link">
|
||||
Const slackUrl
|
||||
<a href="#daemonsetapi" class="md-nav__link">
|
||||
daemonSetApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#const-version" class="md-nav__link">
|
||||
Const version
|
||||
<a href="#deploymentapi" class="md-nav__link">
|
||||
deploymentApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#endpointapi" class="md-nav__link">
|
||||
endpointApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#eventapi" class="md-nav__link">
|
||||
eventApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#hpaapi" class="md-nav__link">
|
||||
hpaApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#ingressapi" class="md-nav__link">
|
||||
ingressApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#jobapi" class="md-nav__link">
|
||||
jobApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#limitrangeapi" class="md-nav__link">
|
||||
limitRangeApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#namespacesapi" class="md-nav__link">
|
||||
namespacesApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#networkpolicyapi" class="md-nav__link">
|
||||
networkPolicyApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#nodesapi" class="md-nav__link">
|
||||
nodesApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#pdbapi" class="md-nav__link">
|
||||
pdbApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#persistentvolumeapi" class="md-nav__link">
|
||||
persistentVolumeApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#podsapi" class="md-nav__link">
|
||||
podsApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#pvcapi" class="md-nav__link">
|
||||
pvcApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#replicasetapi" class="md-nav__link">
|
||||
replicaSetApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#resourcequotaapi" class="md-nav__link">
|
||||
resourceQuotaApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#roleapi" class="md-nav__link">
|
||||
roleApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#rolebindingapi" class="md-nav__link">
|
||||
roleBindingApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#secretsapi" class="md-nav__link">
|
||||
secretsApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#serviceaccountsapi" class="md-nav__link">
|
||||
serviceAccountsApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#serviceapi" class="md-nav__link">
|
||||
serviceApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#statefulsetapi" class="md-nav__link">
|
||||
statefulSetApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#storageclassapi" class="md-nav__link">
|
||||
storageClassApi
|
||||
</a>
|
||||
|
||||
</li>
|
||||
@@ -695,8 +897,15 @@
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#getenabledextensions" class="md-nav__link">
|
||||
getEnabledExtensions
|
||||
<a href="#forcluster" class="md-nav__link">
|
||||
forCluster
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#isallowedresource" class="md-nav__link">
|
||||
isAllowedResource
|
||||
</a>
|
||||
|
||||
</li>
|
||||
@@ -720,60 +929,321 @@
|
||||
|
||||
|
||||
|
||||
<h1 id="module-common-apiapp">Module: "common-api/app"<a class="headerlink" href="#module-common-apiapp" title="Permanent link">#</a></h1>
|
||||
<h2 id="index">Index<a class="headerlink" href="#index" title="Permanent link">#</a></h2>
|
||||
<h1 id="namespace-k8sapi">Namespace: K8sApi<a class="headerlink" href="#namespace-k8sapi" title="Permanent link">#</a></h1>
|
||||
<p><a href="../renderer/">Renderer</a>.K8sApi</p>
|
||||
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">#</a></h2>
|
||||
<h3 id="enumerations">Enumerations<a class="headerlink" href="#enumerations" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="../../enums/renderer.k8sapi.kubeobjectstatuslevel/">KubeObjectStatusLevel</a></li>
|
||||
</ul>
|
||||
<h3 id="classes">Classes<a class="headerlink" href="#classes" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="../../classes/renderer.k8sapi.crdresourcestore/">CRDResourceStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.crdstore/">CRDStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.clusterrole/">ClusterRole</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.clusterrolebinding/">ClusterRoleBinding</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.configmap/">ConfigMap</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.configmapsstore/">ConfigMapsStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.cronjob/">CronJob</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.cronjobstore/">CronJobStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.customresourcedefinition/">CustomResourceDefinition</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.daemonset/">DaemonSet</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.daemonsetstore/">DaemonSetStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.deployment/">Deployment</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.deploymentapi/">DeploymentApi</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.deploymentstore/">DeploymentStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.endpoint/">Endpoint</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.endpointstore/">EndpointStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.eventstore/">EventStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.hpastore/">HPAStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.horizontalpodautoscaler/">HorizontalPodAutoscaler</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.ingress/">Ingress</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.ingressapi/">IngressApi</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.ingressstore/">IngressStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.job/">Job</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.jobstore/">JobStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.kubeevent/">KubeEvent</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.kubeobject/">KubeObject</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.kubeobjectstore/">KubeObjectStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.limitrange/">LimitRange</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.limitrangesstore/">LimitRangesStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.namespace/">Namespace</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.namespacestore/">NamespaceStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.networkpolicy/">NetworkPolicy</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.networkpolicystore/">NetworkPolicyStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.node/">Node</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.nodesapi/">NodesApi</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.nodesstore/">NodesStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.persistentvolume/">PersistentVolume</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.persistentvolumeclaim/">PersistentVolumeClaim</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.persistentvolumeclaimsapi/">PersistentVolumeClaimsApi</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.persistentvolumesstore/">PersistentVolumesStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.pod/">Pod</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.poddisruptionbudget/">PodDisruptionBudget</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.poddisruptionbudgetsstore/">PodDisruptionBudgetsStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.podsapi/">PodsApi</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.podsstore/">PodsStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.replicaset/">ReplicaSet</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.replicasetstore/">ReplicaSetStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.resourcequota/">ResourceQuota</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.resourcequotasstore/">ResourceQuotasStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.resourcestack/">ResourceStack</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.role/">Role</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.rolebinding/">RoleBinding</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.rolebindingsstore/">RoleBindingsStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.rolesstore/">RolesStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.secret/">Secret</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.secretsstore/">SecretsStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.service/">Service</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.serviceaccount/">ServiceAccount</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.serviceaccountsstore/">ServiceAccountsStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.servicestore/">ServiceStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.statefulset/">StatefulSet</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.statefulsetstore/">StatefulSetStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.storageclass/">StorageClass</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.storageclassstore/">StorageClassStore</a></li>
|
||||
<li><a href="../../classes/renderer.k8sapi.volumeclaimstore/">VolumeClaimStore</a></li>
|
||||
</ul>
|
||||
<h3 id="interfaces">Interfaces<a class="headerlink" href="#interfaces" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="../../interfaces/renderer.k8sapi.ikubeapicluster/">IKubeApiCluster</a></li>
|
||||
<li><a href="../../interfaces/renderer.k8sapi.ipodcontainer/">IPodContainer</a></li>
|
||||
<li><a href="../../interfaces/renderer.k8sapi.ipodcontainerstatus/">IPodContainerStatus</a></li>
|
||||
<li><a href="../../interfaces/renderer.k8sapi.isecretref/">ISecretRef</a></li>
|
||||
</ul>
|
||||
<h3 id="type-aliases">Type aliases<a class="headerlink" href="#type-aliases" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="./#kubeobjectstatus">KubeObjectStatus</a></li>
|
||||
</ul>
|
||||
<h3 id="variables">Variables<a class="headerlink" href="#variables" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="./#const-appname">appName</a></li>
|
||||
<li><a href="./#const-islinux">isLinux</a></li>
|
||||
<li><a href="./#const-ismac">isMac</a></li>
|
||||
<li><a href="./#const-issnap">isSnap</a></li>
|
||||
<li><a href="./#const-iswindows">isWindows</a></li>
|
||||
<li><a href="./#const-issuestrackerurl">issuesTrackerUrl</a></li>
|
||||
<li><a href="./#const-slackurl">slackUrl</a></li>
|
||||
<li><a href="./#const-version">version</a></li>
|
||||
<li><a href="./#apimanager">apiManager</a></li>
|
||||
<li><a href="./#clusterroleapi">clusterRoleApi</a></li>
|
||||
<li><a href="./#clusterrolebindingapi">clusterRoleBindingApi</a></li>
|
||||
<li><a href="./#configmapapi">configMapApi</a></li>
|
||||
<li><a href="./#crdapi">crdApi</a></li>
|
||||
<li><a href="./#cronjobapi">cronJobApi</a></li>
|
||||
<li><a href="./#daemonsetapi">daemonSetApi</a></li>
|
||||
<li><a href="./#deploymentapi">deploymentApi</a></li>
|
||||
<li><a href="./#endpointapi">endpointApi</a></li>
|
||||
<li><a href="./#eventapi">eventApi</a></li>
|
||||
<li><a href="./#hpaapi">hpaApi</a></li>
|
||||
<li><a href="./#ingressapi">ingressApi</a></li>
|
||||
<li><a href="./#jobapi">jobApi</a></li>
|
||||
<li><a href="./#limitrangeapi">limitRangeApi</a></li>
|
||||
<li><a href="./#namespacesapi">namespacesApi</a></li>
|
||||
<li><a href="./#networkpolicyapi">networkPolicyApi</a></li>
|
||||
<li><a href="./#nodesapi">nodesApi</a></li>
|
||||
<li><a href="./#pdbapi">pdbApi</a></li>
|
||||
<li><a href="./#persistentvolumeapi">persistentVolumeApi</a></li>
|
||||
<li><a href="./#podsapi">podsApi</a></li>
|
||||
<li><a href="./#pvcapi">pvcApi</a></li>
|
||||
<li><a href="./#replicasetapi">replicaSetApi</a></li>
|
||||
<li><a href="./#resourcequotaapi">resourceQuotaApi</a></li>
|
||||
<li><a href="./#roleapi">roleApi</a></li>
|
||||
<li><a href="./#rolebindingapi">roleBindingApi</a></li>
|
||||
<li><a href="./#secretsapi">secretsApi</a></li>
|
||||
<li><a href="./#serviceaccountsapi">serviceAccountsApi</a></li>
|
||||
<li><a href="./#serviceapi">serviceApi</a></li>
|
||||
<li><a href="./#statefulsetapi">statefulSetApi</a></li>
|
||||
<li><a href="./#storageclassapi">storageClassApi</a></li>
|
||||
</ul>
|
||||
<h3 id="functions">Functions<a class="headerlink" href="#functions" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="./#getenabledextensions">getEnabledExtensions</a></li>
|
||||
<li><a href="./#forcluster">forCluster</a></li>
|
||||
<li><a href="./#isallowedresource">isAllowedResource</a></li>
|
||||
</ul>
|
||||
<h2 id="type-aliases_1">Type aliases<a class="headerlink" href="#type-aliases_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="kubeobjectstatus">KubeObjectStatus<a class="headerlink" href="#kubeobjectstatus" title="Permanent link">#</a></h3>
|
||||
<p>Ƭ <strong>KubeObjectStatus</strong>: <code>Object</code></p>
|
||||
<p>Copyright (c) 2021 OpenLens Authors</p>
|
||||
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:</p>
|
||||
<p>The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.</p>
|
||||
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
|
||||
<h4 id="type-declaration">Type declaration<a class="headerlink" href="#type-declaration" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>level</code></td>
|
||||
<td align="left"><a href="../../enums/renderer.k8sapi.kubeobjectstatuslevel/">KubeObjectStatusLevel</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>text</code></td>
|
||||
<td align="left"><code>string</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>timestamp?</code></td>
|
||||
<td align="left"><code>string</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2 id="variables_1">Variables<a class="headerlink" href="#variables_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="const-appname"><code>Const</code> appName<a class="headerlink" href="#const-appname" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>appName</strong>: <em>string</em> = <code>${packageInfo.productName}${isDevelopment ? "Dev" : ""}</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/common/vars.ts#L38">src/common/vars.ts:38</a></em></p>
|
||||
<h3 id="apimanager">apiManager<a class="headerlink" href="#apimanager" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>apiManager</strong>: <code>ApiManager</code></p>
|
||||
<hr />
|
||||
<h3 id="const-islinux"><code>Const</code> isLinux<a class="headerlink" href="#const-islinux" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>isLinux</strong>: <em>boolean</em> = process.platform === "linux"</p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/common/vars.ts#L29">src/common/vars.ts:29</a></em></p>
|
||||
<h3 id="clusterroleapi">clusterRoleApi<a class="headerlink" href="#clusterroleapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>clusterRoleApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.clusterrole/">ClusterRole</a>></p>
|
||||
<hr />
|
||||
<h3 id="const-ismac"><code>Const</code> isMac<a class="headerlink" href="#const-ismac" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>isMac</strong>: <em>boolean</em> = process.platform === "darwin"</p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/common/vars.ts#L27">src/common/vars.ts:27</a></em></p>
|
||||
<h3 id="clusterrolebindingapi">clusterRoleBindingApi<a class="headerlink" href="#clusterrolebindingapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>clusterRoleBindingApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.clusterrolebinding/">ClusterRoleBinding</a>></p>
|
||||
<hr />
|
||||
<h3 id="const-issnap"><code>Const</code> isSnap<a class="headerlink" href="#const-issnap" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>isSnap</strong>: <em>boolean</em> = !!process.env.SNAP</p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/common/vars.ts#L31">src/common/vars.ts:31</a></em></p>
|
||||
<h3 id="configmapapi">configMapApi<a class="headerlink" href="#configmapapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>configMapApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.configmap/">ConfigMap</a>></p>
|
||||
<hr />
|
||||
<h3 id="const-iswindows"><code>Const</code> isWindows<a class="headerlink" href="#const-iswindows" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>isWindows</strong>: <em>boolean</em> = process.platform === "win32"</p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/common/vars.ts#L28">src/common/vars.ts:28</a></em></p>
|
||||
<h3 id="crdapi">crdApi<a class="headerlink" href="#crdapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>crdApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.customresourcedefinition/">CustomResourceDefinition</a>></p>
|
||||
<hr />
|
||||
<h3 id="const-issuestrackerurl"><code>Const</code> issuesTrackerUrl<a class="headerlink" href="#const-issuestrackerurl" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>issuesTrackerUrl</strong>: <em>string</em> = "https://github.com/lensapp/lens/issues" as string</p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/common/vars.ts#L66">src/common/vars.ts:66</a></em></p>
|
||||
<h3 id="cronjobapi">cronJobApi<a class="headerlink" href="#cronjobapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>cronJobApi</strong>: <code>CronJobApi</code></p>
|
||||
<hr />
|
||||
<h3 id="const-slackurl"><code>Const</code> slackUrl<a class="headerlink" href="#const-slackurl" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>slackUrl</strong>: <em>string</em> = "https://join.slack.com/t/k8slens/shared_invite/enQtOTc5NjAyNjYyOTk4LWU1NDQ0ZGFkOWJkNTRhYTc2YjVmZDdkM2FkNGM5MjhiYTRhMDU2NDQ1MzIyMDA4ZGZlNmExOTc0N2JmY2M3ZGI" as string</p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/common/vars.ts#L67">src/common/vars.ts:67</a></em></p>
|
||||
<h3 id="daemonsetapi">daemonSetApi<a class="headerlink" href="#daemonsetapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>daemonSetApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.daemonset/">DaemonSet</a>></p>
|
||||
<hr />
|
||||
<h3 id="const-version"><code>Const</code> version<a class="headerlink" href="#const-version" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>version</strong>: <em>string</em> = getAppVersion()</p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/extensions/common-api/app.ts#L25">src/extensions/common-api/app.ts:25</a></em></p>
|
||||
<h3 id="deploymentapi">deploymentApi<a class="headerlink" href="#deploymentapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>deploymentApi</strong>: <a href="../../classes/renderer.k8sapi.deploymentapi/">DeploymentApi</a></p>
|
||||
<hr />
|
||||
<h3 id="endpointapi">endpointApi<a class="headerlink" href="#endpointapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>endpointApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.endpoint/">Endpoint</a>></p>
|
||||
<hr />
|
||||
<h3 id="eventapi">eventApi<a class="headerlink" href="#eventapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>eventApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.kubeevent/">KubeEvent</a>></p>
|
||||
<hr />
|
||||
<h3 id="hpaapi">hpaApi<a class="headerlink" href="#hpaapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>hpaApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.horizontalpodautoscaler/">HorizontalPodAutoscaler</a>></p>
|
||||
<hr />
|
||||
<h3 id="ingressapi">ingressApi<a class="headerlink" href="#ingressapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>ingressApi</strong>: <a href="../../classes/renderer.k8sapi.ingressapi/">IngressApi</a></p>
|
||||
<hr />
|
||||
<h3 id="jobapi">jobApi<a class="headerlink" href="#jobapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>jobApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.job/">Job</a>></p>
|
||||
<hr />
|
||||
<h3 id="limitrangeapi">limitRangeApi<a class="headerlink" href="#limitrangeapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>limitRangeApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.limitrange/">LimitRange</a>></p>
|
||||
<hr />
|
||||
<h3 id="namespacesapi">namespacesApi<a class="headerlink" href="#namespacesapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>namespacesApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.namespace/">Namespace</a>></p>
|
||||
<hr />
|
||||
<h3 id="networkpolicyapi">networkPolicyApi<a class="headerlink" href="#networkpolicyapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>networkPolicyApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.networkpolicy/">NetworkPolicy</a>></p>
|
||||
<hr />
|
||||
<h3 id="nodesapi">nodesApi<a class="headerlink" href="#nodesapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>nodesApi</strong>: <a href="../../classes/renderer.k8sapi.nodesapi/">NodesApi</a></p>
|
||||
<hr />
|
||||
<h3 id="pdbapi">pdbApi<a class="headerlink" href="#pdbapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>pdbApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.poddisruptionbudget/">PodDisruptionBudget</a>></p>
|
||||
<hr />
|
||||
<h3 id="persistentvolumeapi">persistentVolumeApi<a class="headerlink" href="#persistentvolumeapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>persistentVolumeApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.persistentvolume/">PersistentVolume</a>></p>
|
||||
<hr />
|
||||
<h3 id="podsapi">podsApi<a class="headerlink" href="#podsapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>podsApi</strong>: <a href="../../classes/renderer.k8sapi.podsapi/">PodsApi</a></p>
|
||||
<hr />
|
||||
<h3 id="pvcapi">pvcApi<a class="headerlink" href="#pvcapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>pvcApi</strong>: <a href="../../classes/renderer.k8sapi.persistentvolumeclaimsapi/">PersistentVolumeClaimsApi</a></p>
|
||||
<hr />
|
||||
<h3 id="replicasetapi">replicaSetApi<a class="headerlink" href="#replicasetapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>replicaSetApi</strong>: <code>ReplicaSetApi</code></p>
|
||||
<hr />
|
||||
<h3 id="resourcequotaapi">resourceQuotaApi<a class="headerlink" href="#resourcequotaapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>resourceQuotaApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.resourcequota/">ResourceQuota</a>></p>
|
||||
<hr />
|
||||
<h3 id="roleapi">roleApi<a class="headerlink" href="#roleapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>roleApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.role/">Role</a>></p>
|
||||
<hr />
|
||||
<h3 id="rolebindingapi">roleBindingApi<a class="headerlink" href="#rolebindingapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>roleBindingApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.rolebinding/">RoleBinding</a>></p>
|
||||
<hr />
|
||||
<h3 id="secretsapi">secretsApi<a class="headerlink" href="#secretsapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>secretsApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.secret/">Secret</a>></p>
|
||||
<hr />
|
||||
<h3 id="serviceaccountsapi">serviceAccountsApi<a class="headerlink" href="#serviceaccountsapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>serviceAccountsApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.serviceaccount/">ServiceAccount</a>></p>
|
||||
<hr />
|
||||
<h3 id="serviceapi">serviceApi<a class="headerlink" href="#serviceapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>serviceApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.service/">Service</a>></p>
|
||||
<hr />
|
||||
<h3 id="statefulsetapi">statefulSetApi<a class="headerlink" href="#statefulsetapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>statefulSetApi</strong>: <code>StatefulSetApi</code></p>
|
||||
<hr />
|
||||
<h3 id="storageclassapi">storageClassApi<a class="headerlink" href="#storageclassapi" title="Permanent link">#</a></h3>
|
||||
<p>• <code>Const</code> <strong>storageClassApi</strong>: <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><<a href="../../classes/renderer.k8sapi.storageclass/">StorageClass</a>></p>
|
||||
<h2 id="functions_1">Functions<a class="headerlink" href="#functions_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="getenabledextensions">getEnabledExtensions<a class="headerlink" href="#getenabledextensions" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>getEnabledExtensions</strong>(): <em>string[]</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/extensions/common-api/app.ts#L28">src/extensions/common-api/app.ts:28</a></em></p>
|
||||
<p><strong>Returns:</strong> <em>string[]</em></p>
|
||||
<h3 id="forcluster">forCluster<a class="headerlink" href="#forcluster" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>forCluster</strong><T>(<code>cluster</code>, <code>kubeClass</code>): <a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><T></p>
|
||||
<h4 id="type-parameters">Type parameters<a class="headerlink" href="#type-parameters" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>T</code></td>
|
||||
<td align="left"><code>T</code>: <a href="../../classes/renderer.k8sapi.kubeobject/">KubeObject</a><IKubeObjectMetadata, any, any, T></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="parameters">Parameters<a class="headerlink" href="#parameters" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>cluster</code></td>
|
||||
<td align="left"><a href="../../interfaces/renderer.k8sapi.ikubeapicluster/">IKubeApiCluster</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>kubeClass</code></td>
|
||||
<td align="left"><code>IKubeObjectConstructor</code><T></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="returns">Returns<a class="headerlink" href="#returns" title="Permanent link">#</a></h4>
|
||||
<p><a href="../../classes/renderer.k8sapi.kubeapi/">KubeApi</a><T></p>
|
||||
<hr />
|
||||
<h3 id="isallowedresource">isAllowedResource<a class="headerlink" href="#isallowedresource" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>isAllowedResource</strong>(<code>resources</code>): <code>boolean</code></p>
|
||||
<h4 id="parameters_1">Parameters<a class="headerlink" href="#parameters_1" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>resources</code></td>
|
||||
<td align="left"><code>KubeResource</code> | <code>KubeResource</code>[]</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="returns_1">Returns<a class="headerlink" href="#returns_1" title="Permanent link">#</a></h4>
|
||||
<p><code>boolean</code></p>
|
||||
|
||||
|
||||
|
||||
+123
-143
@@ -9,7 +9,7 @@
|
||||
<meta name="description" content="Documentation for Lens Extension API.">
|
||||
|
||||
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/_renderer_api_index_._renderer_api_navigation_/">
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/renderer.navigation/">
|
||||
|
||||
|
||||
<meta name="author" content="Mirantis, Inc.">
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
|
||||
<title>Module: "renderer-api/navigation" - Lens Extension API</title>
|
||||
<title>Namespace: Navigation - Lens Extension API</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#module-renderer-apinavigation" class="md-skip">
|
||||
<a href="#namespace-navigation" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Module: "renderer-api/navigation"
|
||||
Namespace: Navigation
|
||||
|
||||
</span>
|
||||
</div>
|
||||
@@ -591,13 +591,20 @@
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#index" class="md-nav__link">
|
||||
Index
|
||||
<a href="#table-of-contents" class="md-nav__link">
|
||||
Table of contents
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Index">
|
||||
<nav class="md-nav" aria-label="Table of contents">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#references" class="md-nav__link">
|
||||
References
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#classes" class="md-nav__link">
|
||||
Classes
|
||||
@@ -625,20 +632,13 @@
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#functions_1" class="md-nav__link">
|
||||
Functions
|
||||
<a href="#references_1" class="md-nav__link">
|
||||
References
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Functions">
|
||||
<nav class="md-nav" aria-label="References">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#createpageparam" class="md-nav__link">
|
||||
createPageParam
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#getdetailsurl" class="md-nav__link">
|
||||
getDetailsUrl
|
||||
@@ -651,6 +651,33 @@
|
||||
hideDetails
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#showdetails" class="md-nav__link">
|
||||
showDetails
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#functions_1" class="md-nav__link">
|
||||
Functions
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Functions">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#createpageparam" class="md-nav__link">
|
||||
createPageParam
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -665,13 +692,6 @@
|
||||
navigate
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#showdetails" class="md-nav__link">
|
||||
showDetails
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
@@ -693,152 +713,112 @@
|
||||
|
||||
|
||||
|
||||
<h1 id="module-renderer-apinavigation">Module: "renderer-api/navigation"<a class="headerlink" href="#module-renderer-apinavigation" title="Permanent link">#</a></h1>
|
||||
<h2 id="index">Index<a class="headerlink" href="#index" title="Permanent link">#</a></h2>
|
||||
<h1 id="namespace-navigation">Namespace: Navigation<a class="headerlink" href="#namespace-navigation" title="Permanent link">#</a></h1>
|
||||
<p><a href="../renderer/">Renderer</a>.Navigation</p>
|
||||
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">#</a></h2>
|
||||
<h3 id="references">References<a class="headerlink" href="#references" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="./#getdetailsurl">getDetailsUrl</a></li>
|
||||
<li><a href="./#hidedetails">hideDetails</a></li>
|
||||
<li><a href="./#showdetails">showDetails</a></li>
|
||||
</ul>
|
||||
<h3 id="classes">Classes<a class="headerlink" href="#classes" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="../../classes/_renderer_api_index_._renderer_api_navigation_.pageparam/">PageParam</a></li>
|
||||
<li><a href="../../classes/renderer.navigation.pageparam/">PageParam</a></li>
|
||||
</ul>
|
||||
<h3 id="interfaces">Interfaces<a class="headerlink" href="#interfaces" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="../../interfaces/_renderer_api_index_._renderer_api_navigation_.iurlparams/">IURLParams</a></li>
|
||||
<li><a href="../../interfaces/_renderer_api_index_._renderer_api_navigation_.pageparaminit/">PageParamInit</a></li>
|
||||
<li><a href="../../interfaces/renderer.navigation.iurlparams/">IURLParams</a></li>
|
||||
<li><a href="../../interfaces/renderer.navigation.pageparaminit/">PageParamInit</a></li>
|
||||
</ul>
|
||||
<h3 id="functions">Functions<a class="headerlink" href="#functions" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="./#createpageparam">createPageParam</a></li>
|
||||
<li><a href="./#getdetailsurl">getDetailsUrl</a></li>
|
||||
<li><a href="./#hidedetails">hideDetails</a></li>
|
||||
<li><a href="./#isactiveroute">isActiveRoute</a></li>
|
||||
<li><a href="./#navigate">navigate</a></li>
|
||||
<li><a href="./#showdetails">showDetails</a></li>
|
||||
</ul>
|
||||
<h2 id="functions_1">Functions<a class="headerlink" href="#functions_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="createpageparam">createPageParam<a class="headerlink" href="#createpageparam" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>createPageParam</strong>‹<strong>V</strong>›(<code>init</code>: <a href="../../interfaces/_renderer_api_index_._renderer_api_navigation_.pageparaminit/">PageParamInit</a>‹V›): <em><a href="../../classes/_renderer_api_index_._renderer_api_navigation_.pageparam/">PageParam</a>‹V›</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/extensions/renderer-api/navigation.ts#L29">src/extensions/renderer-api/navigation.ts:29</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<p>▪ <strong>V</strong></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>init</code></td>
|
||||
<td><a href="../../interfaces/_renderer_api_index_._renderer_api_navigation_.pageparaminit/">PageParamInit</a>‹V›</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><strong>Returns:</strong> <em><a href="../../classes/_renderer_api_index_._renderer_api_navigation_.pageparam/">PageParam</a>‹V›</em></p>
|
||||
<hr />
|
||||
<h2 id="references_1">References<a class="headerlink" href="#references_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="getdetailsurl">getDetailsUrl<a class="headerlink" href="#getdetailsurl" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>getDetailsUrl</strong>(<code>selfLink</code>: string, <code>resetSelected</code>: boolean, <code>mergeGlobals</code>: boolean): <em>string</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/renderer/components/kube-object/kube-object-details.tsx#L68">src/renderer/components/kube-object/kube-object-details.tsx:68</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
<th>Default</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>selfLink</code></td>
|
||||
<td>string</td>
|
||||
<td>-</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>resetSelected</code></td>
|
||||
<td>boolean</td>
|
||||
<td>false</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>mergeGlobals</code></td>
|
||||
<td>boolean</td>
|
||||
<td>true</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><strong>Returns:</strong> <em>string</em></p>
|
||||
<p>Re-exports: <a href="../renderer.component/#getdetailsurl">getDetailsUrl</a></p>
|
||||
<hr />
|
||||
<h3 id="hidedetails">hideDetails<a class="headerlink" href="#hidedetails" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>hideDetails</strong>(): <em>void</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/renderer/components/kube-object/kube-object-details.tsx#L64">src/renderer/components/kube-object/kube-object-details.tsx:64</a></em></p>
|
||||
<p><strong>Returns:</strong> <em>void</em></p>
|
||||
<hr />
|
||||
<h3 id="isactiveroute">isActiveRoute<a class="headerlink" href="#isactiveroute" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>isActiveRoute</strong>(<code>route</code>: string | string[] | RouteProps): <em>boolean</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/renderer/navigation/helpers.ts#L49">src/renderer/navigation/helpers.ts:49</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>route</code></td>
|
||||
<td>string | string[] | RouteProps</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><strong>Returns:</strong> <em>boolean</em></p>
|
||||
<hr />
|
||||
<h3 id="navigate">navigate<a class="headerlink" href="#navigate" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>navigate</strong>(<code>location</code>: LocationDescriptor): <em>void</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/renderer/navigation/helpers.ts#L29">src/renderer/navigation/helpers.ts:29</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>location</code></td>
|
||||
<td>LocationDescriptor</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><strong>Returns:</strong> <em>void</em></p>
|
||||
<p>Re-exports: <a href="../renderer.component/#hidedetails">hideDetails</a></p>
|
||||
<hr />
|
||||
<h3 id="showdetails">showDetails<a class="headerlink" href="#showdetails" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>showDetails</strong>(<code>selfLink</code>: string, <code>resetSelected</code>: boolean): <em>void</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/renderer/components/kube-object/kube-object-details.tsx#L58">src/renderer/components/kube-object/kube-object-details.tsx:58</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<p>Re-exports: <a href="../renderer.component/#showdetails">showDetails</a></p>
|
||||
<h2 id="functions_1">Functions<a class="headerlink" href="#functions_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="createpageparam">createPageParam<a class="headerlink" href="#createpageparam" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>createPageParam</strong><V>(<code>init</code>): <a href="../../classes/renderer.navigation.pageparam/">PageParam</a><V></p>
|
||||
<h4 id="type-parameters">Type parameters<a class="headerlink" href="#type-parameters" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
<th>Default</th>
|
||||
<th align="left">Name</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>selfLink</code></td>
|
||||
<td>string</td>
|
||||
<td>""</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>resetSelected</code></td>
|
||||
<td>boolean</td>
|
||||
<td>true</td>
|
||||
<td align="left"><code>V</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><strong>Returns:</strong> <em>void</em></p>
|
||||
<h4 id="parameters">Parameters<a class="headerlink" href="#parameters" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>init</code></td>
|
||||
<td align="left"><a href="../../interfaces/renderer.navigation.pageparaminit/">PageParamInit</a><V></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="returns">Returns<a class="headerlink" href="#returns" title="Permanent link">#</a></h4>
|
||||
<p><a href="../../classes/renderer.navigation.pageparam/">PageParam</a><V></p>
|
||||
<hr />
|
||||
<h3 id="isactiveroute">isActiveRoute<a class="headerlink" href="#isactiveroute" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>isActiveRoute</strong>(<code>route</code>): <code>boolean</code></p>
|
||||
<h4 id="parameters_1">Parameters<a class="headerlink" href="#parameters_1" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>route</code></td>
|
||||
<td align="left"><code>string</code> | <code>string</code>[] | <code>RouteProps</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="returns_1">Returns<a class="headerlink" href="#returns_1" title="Permanent link">#</a></h4>
|
||||
<p><code>boolean</code></p>
|
||||
<hr />
|
||||
<h3 id="navigate">navigate<a class="headerlink" href="#navigate" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>navigate</strong>(<code>location</code>): <code>void</code></p>
|
||||
<h4 id="parameters_2">Parameters<a class="headerlink" href="#parameters_2" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>location</code></td>
|
||||
<td align="left"><code>LocationDescriptor</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="returns_2">Returns<a class="headerlink" href="#returns_2" title="Permanent link">#</a></h4>
|
||||
<p><code>void</code></p>
|
||||
|
||||
|
||||
|
||||
+13
-12
@@ -9,7 +9,7 @@
|
||||
<meta name="description" content="Documentation for Lens Extension API.">
|
||||
|
||||
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/_renderer_api_index_._renderer_api_theming_/">
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/renderer.theme/">
|
||||
|
||||
|
||||
<meta name="author" content="Mirantis, Inc.">
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
|
||||
<title>Module: "renderer-api/theming" - Lens Extension API</title>
|
||||
<title>Namespace: Theme - Lens Extension API</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#module-renderer-apitheming" class="md-skip">
|
||||
<a href="#namespace-theme" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Module: "renderer-api/theming"
|
||||
Namespace: Theme
|
||||
|
||||
</span>
|
||||
</div>
|
||||
@@ -591,11 +591,11 @@
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#index" class="md-nav__link">
|
||||
Index
|
||||
<a href="#table-of-contents" class="md-nav__link">
|
||||
Table of contents
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Index">
|
||||
<nav class="md-nav" aria-label="Table of contents">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -644,17 +644,18 @@
|
||||
|
||||
|
||||
|
||||
<h1 id="module-renderer-apitheming">Module: "renderer-api/theming"<a class="headerlink" href="#module-renderer-apitheming" title="Permanent link">#</a></h1>
|
||||
<h2 id="index">Index<a class="headerlink" href="#index" title="Permanent link">#</a></h2>
|
||||
<h1 id="namespace-theme">Namespace: Theme<a class="headerlink" href="#namespace-theme" title="Permanent link">#</a></h1>
|
||||
<p><a href="../renderer/">Renderer</a>.Theme</p>
|
||||
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">#</a></h2>
|
||||
<h3 id="functions">Functions<a class="headerlink" href="#functions" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="./#getactivetheme">getActiveTheme</a></li>
|
||||
</ul>
|
||||
<h2 id="functions_1">Functions<a class="headerlink" href="#functions_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="getactivetheme">getActiveTheme<a class="headerlink" href="#getactivetheme" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>getActiveTheme</strong>(): <em>Theme</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/6919aba37e/src/extensions/renderer-api/theming.ts#L24">src/extensions/renderer-api/theming.ts:24</a></em></p>
|
||||
<p><strong>Returns:</strong> <em>Theme</em></p>
|
||||
<p>▸ <strong>getActiveTheme</strong>(): <code>Theme</code></p>
|
||||
<h4 id="returns">Returns<a class="headerlink" href="#returns" title="Permanent link">#</a></h4>
|
||||
<p><code>Theme</code></p>
|
||||
|
||||
|
||||
|
||||
+19
-19
@@ -9,7 +9,7 @@
|
||||
<meta name="description" content="Documentation for Lens Extension API.">
|
||||
|
||||
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/_renderer_api_index_/">
|
||||
<link rel="canonical" href="https://api-docs.k8slens.dev/master/extensions/api/modules/renderer/">
|
||||
|
||||
|
||||
<meta name="author" content="Mirantis, Inc.">
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
|
||||
<title>Module: "renderer-api/index" - Lens Extension API</title>
|
||||
<title>Namespace: Renderer - Lens Extension API</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#module-renderer-apiindex" class="md-skip">
|
||||
<a href="#namespace-renderer" class="md-skip">
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
<div class="md-header-nav__topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Module: "renderer-api/index"
|
||||
Namespace: Renderer
|
||||
|
||||
</span>
|
||||
</div>
|
||||
@@ -591,16 +591,16 @@
|
||||
<ul class="md-nav__list" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#index" class="md-nav__link">
|
||||
Index
|
||||
<a href="#table-of-contents" class="md-nav__link">
|
||||
Table of contents
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Index">
|
||||
<nav class="md-nav" aria-label="Table of contents">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#modules" class="md-nav__link">
|
||||
Modules
|
||||
<a href="#namespaces" class="md-nav__link">
|
||||
Namespaces
|
||||
</a>
|
||||
|
||||
</li>
|
||||
@@ -631,20 +631,20 @@
|
||||
|
||||
|
||||
|
||||
<h1 id="module-renderer-apiindex">Module: "renderer-api/index"<a class="headerlink" href="#module-renderer-apiindex" title="Permanent link">#</a></h1>
|
||||
<h2 id="index">Index<a class="headerlink" href="#index" title="Permanent link">#</a></h2>
|
||||
<h3 id="modules">Modules<a class="headerlink" href="#modules" title="Permanent link">#</a></h3>
|
||||
<h1 id="namespace-renderer">Namespace: Renderer<a class="headerlink" href="#namespace-renderer" title="Permanent link">#</a></h1>
|
||||
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">#</a></h2>
|
||||
<h3 id="namespaces">Namespaces<a class="headerlink" href="#namespaces" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="../_renderer_api_index_._renderer_api_catalog_/">"renderer-api/catalog"</a></li>
|
||||
<li><a href="../_renderer_api_index_._renderer_api_components_/">"renderer-api/components"</a></li>
|
||||
<li><a href="../_renderer_api_index_._renderer_api_k8s_api_/">"renderer-api/k8s-api"</a></li>
|
||||
<li><a href="../_renderer_api_index_._renderer_api_navigation_/">"renderer-api/navigation"</a></li>
|
||||
<li><a href="../_renderer_api_index_._renderer_api_theming_/">"renderer-api/theming"</a></li>
|
||||
<li><a href="../renderer.catalog/">Catalog</a></li>
|
||||
<li><a href="../renderer.component/">Component</a></li>
|
||||
<li><a href="../renderer.k8sapi/">K8sApi</a></li>
|
||||
<li><a href="../renderer.navigation/">Navigation</a></li>
|
||||
<li><a href="../renderer.theme/">Theme</a></li>
|
||||
</ul>
|
||||
<h3 id="classes">Classes<a class="headerlink" href="#classes" title="Permanent link">#</a></h3>
|
||||
<ul>
|
||||
<li><a href="../../classes/_renderer_api_index_.ipcrenderer/">IpcRenderer</a></li>
|
||||
<li><a href="../../classes/_renderer_api_index_.lensrendererextension/">LensRendererExtension</a></li>
|
||||
<li><a href="../../classes/renderer.ipc/">Ipc</a></li>
|
||||
<li><a href="../../classes/renderer.lensextension/">LensExtension</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
Reference in new issue
Block a user