- Add distinction between `getInstance` and `getInstanceOrCreate` since it is not always possible to create an instance (since you might not know the correct arguments) - Remove all the `export const *Store = *Store.getInstance<*Store>();` calls as it defeats the purpose of `Singleton`. Plus with the typing changes the appropriate `*Store.getInstance()` is "short enough". - Special case the two extension export facades to not need to use `getInstanceOrCreate`. Plus since they are just facades it is always possible to create them. - Move some other types to be also `Singleton`'s: ExtensionLoader, ExtensionDiscovery, ThemeStore, LocalizationStore, ... - Fixed dev-run always using the same port with electron inspect - Update Store documentation with new recommendations about creating instances of singletons - Fix all unit tests to create their dependent singletons Signed-off-by: Sebastian Malton <sebastian@malton.name> |
||
|---|---|---|
| __mocks__ | ||
| .dependabot | ||
| .github | ||
| .vscode | ||
| build | ||
| docs | ||
| extensions | ||
| integration | ||
| jsonnet/lens | ||
| mkdocs | ||
| src | ||
| static | ||
| templates/create-resource | ||
| test-data | ||
| troubleshooting | ||
| types | ||
| .azure-pipelines-k8s-matrix.yml | ||
| .azure-pipelines.yml | ||
| .bundled-extensions.json | ||
| .eslintrc.js | ||
| .gitignore | ||
| .npmrc | ||
| .yarnrc | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| Makefile | ||
| mkdocs.yml | ||
| package.json | ||
| README.md | ||
| RELEASE_GUIDE.md | ||
| SECURITY.md | ||
| tsconfig.json | ||
| webpack.extensions.ts | ||
| webpack.main.ts | ||
| webpack.renderer.ts | ||
| yarn.lock | ||
Lens Open Source Project (OpenLens)
The Repository
This repository ("OpenLens") is where Team Lens develops the Lens IDE product together with the community. It is backed by a number of Kubernetes and cloud native ecosystem pioneers. This source code is available to everyone under the MIT license.
Lens - The Kubernetes IDE
Lens - The Kubernetes IDE ("Lens IDE") is a distribution of the OpenLens repository with Team Lens specific customizations released under a traditional EULA.
Lens IDE provides the full situational awareness for everything that runs in Kubernetes. It's lowering the barrier of entry for people just getting started and radically improving productivity for people with more experience.
Lens IDE a standalone application for MacOS, Windows and Linux operating systems. You can download it free of charge for Windows, MacOS, and Linux from Lens IDE website.
Installation
See Getting Started page.
Development
See Development page.
Contributing
See Contributing page.
