1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/common/utils
Sebastian Malton 6fdb2f0b58
Support filtering catalog entities (#3647)
* Support filtering catalog entities

- This allows extensions and OpenLens to restrict which of the entities
  the sources have provied are "visible" to the rest of Lens

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix lint

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* switch to filtering only for catalog view

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix test

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

* Add test to iter reduce

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>

Co-authored-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2021-08-31 16:00:56 +03:00
..
__tests__ Support filtering catalog entities (#3647) 2021-08-31 16:00:56 +03:00
allowed-resource.ts Remove circular dependency with isAllowedResource function (#3545) 2021-08-04 16:01:47 -04:00
app-version.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
autobind.ts Mobx-6 migration (#2718) 2021-05-25 10:24:31 +03:00
base64.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
buildUrl.ts Move all RouteParam's and URL builders to src/common (#2778) 2021-06-10 08:52:09 -04:00
camelCase.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
cloneJson.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
cluster-id-url-parsing.ts Refactor k8s api to common (#3553) 2021-08-10 13:26:14 +03:00
convertCpu.ts Refactor k8s api to common (#3553) 2021-08-10 13:26:14 +03:00
convertMemory.ts Refactor k8s api to common (#3553) 2021-08-10 13:26:14 +03:00
debouncePromise.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
defineGlobal.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
delay.ts Turn on noUnusedLocals, noImplicitReturns, importsNotUsedAsValues: error, and isolatedModules (#2777) 2021-05-19 12:11:54 -04:00
disposer.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
downloadFile.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
escapeRegExp.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
extended-map.ts Sync kubeconfigs from catalog (#3573) 2021-08-11 13:24:33 +03:00
formatDuration.ts Refactor k8s api to common (#3553) 2021-08-10 13:26:14 +03:00
getPath.ts Upgrade to electron 12 and Node 14 (#3572) 2021-08-26 12:13:31 -04:00
getRandId.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
hash-set.ts Split UserManagement into seperate Cluster and Namespace Roles and RoleBindings (#2755) 2021-06-09 13:40:55 -04:00
index.ts Upgrade to electron 12 and Node 14 (#3572) 2021-08-26 12:13:31 -04:00
iter.ts Support filtering catalog entities (#3647) 2021-08-31 16:00:56 +03:00
local-kubeconfig.ts Upgrade to electron 12 and Node 14 (#3572) 2021-08-26 12:13:31 -04:00
makeCss.ts Adding Topbar extension registries (#2997) 2021-06-14 07:40:14 +03:00
n-fircate.ts Split UserManagement into seperate Cluster and Namespace Roles and RoleBindings (#2755) 2021-06-09 13:40:55 -04:00
openExternal.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
paths.ts Ignore extensions' clusters when adding to kubeConfigSync (#3313) 2021-07-12 12:05:05 -04:00
readableStream.ts Refactor k8s api to common (#3553) 2021-08-10 13:26:14 +03:00
reject-promise.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
singleton.ts Unblock subsequent Singleton.createInstance() (#3225) 2021-07-06 17:16:04 +03:00
sort-compare.ts Fix filtering deprecated charts (#3635) 2021-08-24 08:29:36 -04:00
splitArray.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
tar.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
toggle-set.ts Mobx-6 migration (#2718) 2021-05-25 10:24:31 +03:00
toJS.ts Mobx-6 migration (#2718) 2021-05-25 10:24:31 +03:00
type-narrowing.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
types.ts Move cluster related types and function into seperate files (#3530) 2021-08-03 10:36:14 -04:00