mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1017 B
1017 B
Lens v4 to v5 Extension Migration Notes
- Types and components have been reorganized, many have been grouped by process (
MainandRenderer). For example theLensMainExtensionclass is now referred to byMain.LensExtension. - The
globalPageMenusfield of the Renderer extension class (nowRenderer.LensExtension) is removed. Global pages can still be made accessible via the application menus and the status bar, as well as from the newly added Welcome menu. - The
clusterFeaturesfield of the Renderer extension class (nowRenderer.LensExtension) is removed. Cluster features can still be implemented but Lens no longer dictates how the feature's lifecycle (install/upgrade/uninstall) is managed.Renderer.K8sApi.ResourceStackprovides the functionality to input and apply kubernetes resources to a cluster. It is up to the extension developer to manage the lifecycle (i.e. done automatically by the extension or allow the end-user to control via aRenderer.LensExtension.entitySettingsentry).