@k8slens/extensions 6.0.2 → 6.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/common/app-event-bus/app-event-bus.global-override-for-injectable.d.ts +5 -0
- package/dist/src/common/application-update/selected-update-channel/default-update-channel.injectable.d.ts +1 -1
- package/dist/src/common/application-update/selected-update-channel/selected-update-channel.injectable.d.ts +2 -2
- package/dist/src/common/application-update/update-channels.d.ts +7 -3
- package/dist/src/common/base-store.d.ts +1 -1
- package/dist/src/common/cluster/cluster.d.ts +2 -0
- package/dist/src/common/cluster-store/cluster-store.global-override-for-injectable.d.ts +6 -0
- package/dist/src/common/error-reporting/initialize-sentry-reporting.global-override-for-injectable.d.ts +9 -0
- package/dist/src/common/error-reporting/initialize-sentry-reporting.injectable.d.ts +5 -0
- package/dist/src/common/front-end-routing/routes/welcome/default-welcome-route.injectable.d.ts +6 -0
- package/dist/src/common/front-end-routing/routes/welcome/welcome-route-config.injectable.d.ts +2 -0
- package/dist/src/common/fs/exec-file.injectable.d.ts +3 -1
- package/dist/src/common/fs/stat/stat.global-override-for-injectable.d.ts +5 -0
- package/dist/src/common/fs/stat/stat.injectable.d.ts +2 -0
- package/dist/src/common/fs/validate-directory.injectable.d.ts +4 -0
- package/dist/src/common/fs/watch/watch.global-override-for-injectable.d.ts +5 -0
- package/dist/src/common/fs/watch/watch.injectable.d.ts +4 -0
- package/dist/src/common/get-configuration-file-model/get-configuration-file-model.injectable.d.ts +1 -1
- package/dist/src/common/initializable-state/create.d.ts +15 -0
- package/dist/src/{behaviours/add-cluster/navigation-using-application-menu.test.d.ts → common/initializable-state/create.test.d.ts} +0 -0
- package/dist/src/common/ipc/broadcast-message.injectable.d.ts +2 -2
- package/dist/src/common/k8s-api/endpoints/daemon-set.api.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/index.d.ts +1 -0
- package/dist/src/common/k8s-api/endpoints/job.api.d.ts +4 -3
- package/dist/src/common/k8s-api/endpoints/metrics.api.d.ts +5 -2
- package/dist/src/common/k8s-api/endpoints/pod.api.d.ts +14 -129
- package/dist/src/common/k8s-api/endpoints/replica-set.api.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/stateful-set.api.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/types/capabilities.d.ts +17 -0
- package/dist/src/common/k8s-api/endpoints/types/container-port.d.ts +11 -0
- package/dist/src/common/k8s-api/endpoints/types/container.d.ts +158 -0
- package/dist/src/common/k8s-api/endpoints/types/env-from-source.d.ts +13 -0
- package/dist/src/common/k8s-api/endpoints/types/env-source.d.ts +11 -0
- package/dist/src/common/k8s-api/endpoints/types/env-var-key-selector.d.ts +9 -0
- package/dist/src/common/k8s-api/endpoints/types/env-var-source.d.ts +13 -0
- package/dist/src/common/k8s-api/endpoints/types/env-var.d.ts +10 -0
- package/dist/src/common/k8s-api/endpoints/types/exec-action.d.ts +18 -0
- package/dist/src/common/k8s-api/endpoints/types/handler.d.ts +15 -0
- package/dist/src/common/k8s-api/endpoints/types/http-get-action.d.ts +32 -0
- package/dist/src/common/k8s-api/endpoints/types/http-header.d.ts +17 -0
- package/dist/src/common/k8s-api/endpoints/types/index.d.ts +35 -0
- package/dist/src/common/k8s-api/endpoints/types/lifecycle.d.ts +15 -0
- package/dist/src/common/k8s-api/endpoints/types/object-field-selector.d.ts +8 -0
- package/dist/src/common/k8s-api/endpoints/types/pod-security-context.d.ts +20 -0
- package/dist/src/common/k8s-api/endpoints/types/probe.d.ts +70 -0
- package/dist/src/common/k8s-api/endpoints/types/resource-field-selector.d.ts +9 -0
- package/dist/src/common/k8s-api/endpoints/types/se-linux-options.d.ts +25 -0
- package/dist/src/common/k8s-api/endpoints/types/seccomp-profile.d.ts +27 -0
- package/dist/src/common/k8s-api/endpoints/types/security-context.d.ts +45 -0
- package/dist/src/common/k8s-api/endpoints/types/tcp-socket-action.d.ts +17 -0
- package/dist/src/common/k8s-api/endpoints/types/volume-device.d.ts +17 -0
- package/dist/src/common/k8s-api/endpoints/types/volume-mount.d.ts +12 -0
- package/dist/src/common/k8s-api/endpoints/types/windows-security-context-options.d.ts +36 -0
- package/dist/src/common/protocol-handler/router.d.ts +2 -0
- package/dist/src/common/test-utils/get-global-override.d.ts +4 -0
- package/dist/src/common/user-store/user-store.d.ts +1 -3
- package/dist/src/{behaviours/command-pallet/keyboard-shortcuts.test.d.ts → common/utils/__tests__/union-env-path.test.d.ts} +0 -0
- package/dist/src/common/utils/abort-controller.d.ts +1 -1
- package/dist/src/common/utils/app-version.d.ts +0 -2
- package/dist/src/common/utils/index.d.ts +0 -1
- package/dist/src/common/utils/open-link-in-browser.global-override-for-injectable.d.ts +9 -0
- package/dist/src/common/utils/open-link-in-browser.injectable.d.ts +3 -0
- package/dist/src/common/utils/singleton.d.ts +1 -1
- package/dist/src/common/utils/union-env-path.d.ts +12 -0
- package/dist/src/{main/app-paths/app-name → common/vars}/app-name.injectable.d.ts +0 -0
- package/dist/src/common/vars/application-copyright.injectable.d.ts +2 -0
- package/dist/src/common/vars/application-description.injectable.d.ts +2 -0
- package/dist/src/common/vars/application-information.global-override-for-injectable.d.ts +9 -0
- package/dist/src/common/vars/application-information.injectable.d.ts +8 -0
- package/dist/src/common/vars/build-semantic-version.injectable.d.ts +11 -0
- package/dist/src/common/vars/bundled-kubectl-version.injectable.d.ts +2 -0
- package/dist/src/common/vars/content-security-policy.injectable.d.ts +2 -0
- package/dist/src/common/vars/extension-api-version.injectable.d.ts +2 -0
- package/dist/src/common/vars/is-snap-package.global-override-for-injectable.d.ts +9 -0
- package/dist/src/common/vars/is-snap-package.injectable.d.ts +2 -0
- package/dist/src/{main/app-paths/app-name → common/vars}/product-name.injectable.d.ts +0 -0
- package/dist/src/common/vars/release-channel.injectable.d.ts +3 -0
- package/dist/src/common/vars/sentry-dsn-url.injectable.d.ts +2 -0
- package/dist/src/common/vars/store-migration-version.injectable.d.ts +2 -0
- package/dist/src/common/vars.d.ts +0 -8
- package/dist/src/extensions/as-legacy-globals-for-extension-api/as-legacy-global-object-for-extension-api-with-modifications.d.ts +1 -1
- package/dist/src/extensions/common-api/app.d.ts +14 -5
- package/dist/src/extensions/common-api/index.d.ts +2 -2
- package/dist/src/extensions/common-api/k8s-api.d.ts +2 -2
- package/dist/src/extensions/common-api/user-preferences.d.ts +7 -4
- package/dist/src/extensions/common-api/utils.d.ts +13 -3
- package/dist/src/extensions/extension-api.js +926 -661
- package/dist/src/extensions/extension-discovery/extension-discovery.d.ts +9 -2
- package/dist/src/extensions/extension-discovery/is-compatible-extension/is-compatible-extension.d.ts +2 -7
- package/dist/src/extensions/extension-store.d.ts +1 -1
- package/dist/src/extensions/renderer-api/theming.d.ts +7 -1
- package/dist/src/{behaviours/extensions → features/add-cluster}/navigation-using-application-menu.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/application-update/analytics-for-installing-update.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/application-update/downgrading-version-update.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/application-update/force-user-to-update-when-too-long-time-since-update-was-downloaded.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/application-update/installing-update-using-topbar-button.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/application-update/installing-update-using-tray.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/application-update/installing-update.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/application-update/periodical-checking-of-updates.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/application-update/selection-of-update-stability.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/extension-api/disable-cluster-pages-when-cluster-is-not-relevant.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/extension-api/disable-sidebar-items-when-cluster-is-not-relevant.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/extension-api/reactively-disable-cluster-pages.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/kube-object-details/extension-api/disable-kube-object-detail-items-when-cluster-is-not-relevant.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/kube-object-details/extension-api/reactively-hide-kube-object-detail-item.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/kube-object-menu/extension-api/disable-kube-object-menu-items-when-cluster-is-not-relevant.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/kube-object-menu/extension-api/reactively-hide-kube-object-menu-item.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/kube-object-status-icon/extension-api/disable-kube-object-statuses-when-cluster-is-not-relevant.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/kube-object-status-icon/extension-api/reactively-hide-kube-object-status.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/kube-object-status-icon/show-status-for-a-kube-object.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/namespaces/edit-namespace-from-new-tab.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/namespaces/edit-namespace-from-previously-opened-tab.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/order-of-sidebar-items.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/sidebar-and-tab-navigation-for-core.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/sidebar-and-tab-navigation-for-extensions.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/visibility-of-sidebar-items.test.d.ts +0 -0
- package/dist/src/{behaviours/preferences/navigation-using-application-menu.test.d.ts → features/cluster/workload-overview.test.d.ts} +0 -0
- package/dist/src/{behaviours → features}/cluster/workloads/overview/extension-api/disable-workloads-overview-details-when-cluster-is-not-relevant.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/workloads/overview/extension-api/order-of-workload-overview-details.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/workloads/overview/extension-api/reactively-hide-workloads-overview-details-item.test.d.ts +0 -0
- package/dist/src/{behaviours/quitting-and-restarting-the-app/opening-application-window-using-tray.test.d.ts → features/command-pallet/keyboard-shortcuts.test.d.ts} +0 -0
- package/dist/src/{behaviours → features}/extension-special-characters-in-page-registrations.test.d.ts +0 -0
- package/dist/src/{behaviours/welcome → features/extensions}/navigation-using-application-menu.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/helm-charts/add-custom-helm-repository-in-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/helm-charts/add-helm-repository-from-list-in-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/helm-charts/installing-chart/installing-helm-chart-from-new-tab.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/helm-charts/installing-chart/installing-helm-chart-from-previously-opened-tab.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/helm-charts/installing-chart/opening-dock-tab-for-installing-helm-chart.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/helm-charts/listing-active-helm-repositories-in-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/helm-charts/remove-helm-repository-from-list-of-active-repository-in-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/helm-releases/showing-details-for-helm-release.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/navigate-to-extension-page.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/navigating-between-routes.test.d.ts +0 -0
- package/dist/src/{behaviours/quitting-and-restarting-the-app/quitting-the-app-using-application-menu.test.d.ts → features/pod-logs/download-logs.test.d.ts} +0 -0
- package/dist/src/{behaviours → features}/preferences/closing-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/extension-adding-preference-tabs.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/navigation-to-application-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/navigation-to-editor-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/navigation-to-extension-specific-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/navigation-to-kubernetes-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/navigation-to-proxy-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/navigation-to-telemetry-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/navigation-to-terminal-preferences.test.d.ts +0 -0
- package/dist/src/features/preferences/navigation-using-application-menu.test.d.ts +5 -0
- package/dist/src/{behaviours → features}/preferences/navigation-using-tray.test.d.ts +0 -0
- package/dist/src/features/quitting-and-restarting-the-app/opening-application-window-using-tray.test.d.ts +5 -0
- package/dist/src/features/quitting-and-restarting-the-app/quitting-the-app-using-application-menu.test.d.ts +5 -0
- package/dist/src/{behaviours → features}/resolve-system-proxy/resolve-system-proxy.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/routes/extension-api/reactively-disable-global-pages.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/status-bar/status-bar-items-originating-from-extensions.test.d.ts +0 -0
- package/dist/src/{behaviours/tray/clicking-tray-menu-item-originating-from-extension.test.d.ts → features/telemetry/emit-telemetry-from-specific-function-calls.test.d.ts} +0 -0
- package/dist/src/features/telemetry/renderer/emit-telemetry.injectable.d.ts +5 -0
- package/dist/src/features/telemetry/renderer/telemetry-decorator.injectable.d.ts +11 -0
- package/dist/src/features/telemetry/renderer/telemetry-white-list-for-functions.injectable.d.ts +2 -0
- package/dist/src/{behaviours/tray/extension-adding-tray-items.test.d.ts → features/tray/clicking-tray-menu-item-originating-from-extension.test.d.ts} +0 -0
- package/dist/src/{behaviours/tray/multiple-separators-originating-from-extension.test.d.ts → features/tray/extension-adding-tray-items.test.d.ts} +0 -0
- package/dist/src/features/tray/multiple-separators-originating-from-extension.test.d.ts +1 -0
- package/dist/src/features/welcome/navigation-using-application-menu.test.d.ts +5 -0
- package/dist/src/features/welcome/setting-welcome-page.test.d.ts +5 -0
- package/dist/src/main/__test__/cluster.test.d.ts +0 -4
- package/dist/src/main/build-version/setup-channel.injectable.d.ts +5 -0
- package/dist/src/main/electron-app/electron-app.global-override-for-injectable.d.ts +9 -0
- package/dist/src/main/helm/exec-helm/exec-helm.injectable.d.ts +2 -1
- package/dist/src/main/helm/helm-chart-manager-cache.injectable.d.ts +7 -0
- package/dist/src/main/helm/helm-chart-manager.d.ts +9 -3
- package/dist/src/main/helm/helm-chart-manager.injectable.d.ts +4 -0
- package/dist/src/main/helm/helm-release-manager.d.ts +1 -6
- package/dist/src/main/helm/helm-service/get-helm-release-resources/call-for-helm-manifest/call-for-helm-manifest.injectable.d.ts +4 -0
- package/dist/src/main/helm/helm-service/get-helm-release-resources/call-for-kube-resources-by-manifest/call-for-kube-resources-by-manifest.injectable.d.ts +5 -0
- package/dist/src/main/helm/helm-service/get-helm-release-resources/call-for-kube-resources-by-manifest/exec-file-with-input/exec-file-with-input.global-override-for-injectable.d.ts +5 -0
- package/dist/src/main/helm/helm-service/get-helm-release-resources/call-for-kube-resources-by-manifest/exec-file-with-input/exec-file-with-input.injectable.d.ts +8 -0
- package/dist/src/main/helm/helm-service/get-helm-release-resources/call-for-kube-resources-by-manifest/exec-file-with-input/exec-file-with-input.test.d.ts +1 -0
- package/dist/src/main/helm/helm-service/get-helm-release-resources/call-for-kube-resources-by-manifest/exec-file-with-input/non-promise-exec-file.injectable.d.ts +4 -0
- package/dist/src/main/helm/helm-service/get-helm-release-resources/get-helm-release-resources.injectable.d.ts +4 -0
- package/dist/src/main/helm/helm-service/get-helm-release-resources/get-helm-release-resources.test.d.ts +5 -0
- package/dist/src/main/helm/helm-service/get-helm-release.global-override-for-injectable.d.ts +5 -0
- package/dist/src/main/helm/helm-service/update-helm-release.global-override-for-injectable.d.ts +11 -0
- package/dist/src/main/kube-auth-proxy/kube-auth-proxy.d.ts +3 -1
- package/dist/src/main/kube-auth-proxy/wait-until-port-is-used/wait-until-port-is-used.global-override-for-injectable.d.ts +5 -0
- package/dist/src/main/kube-auth-proxy/wait-until-port-is-used/wait-until-port-is-used.injectable.d.ts +3 -0
- package/dist/src/main/kubectl/kubectl.d.ts +2 -1
- package/dist/src/main/kubectl/version-map.injectable.d.ts +2 -0
- package/dist/src/main/lens-proxy/lens-proxy.d.ts +5 -4
- package/dist/src/main/menu/menu.d.ts +0 -6
- package/dist/src/main/menu/show-about.injectable.d.ts +1 -1
- package/dist/src/main/prometheus/helm-14.d.ts +14 -0
- package/dist/src/main/prometheus/helm.d.ts +3 -3
- package/dist/src/main/protocol-handler/lens-protocol-router-main/lens-protocol-router-main.d.ts +2 -0
- package/dist/src/main/router/router.d.ts +1 -1
- package/dist/src/main/start-main-application/lens-window/application-window/application-window-injection-token.d.ts +2 -0
- package/dist/src/main/start-main-application/lens-window/application-window/create-application-window.injectable.d.ts +2 -0
- package/dist/src/main/start-main-application/lens-window/application-window/create-electron-window.global-override-for-injectable.d.ts +5 -0
- package/dist/src/main/start-main-application/lens-window/application-window/create-first-application-window.injectable.d.ts +2 -0
- package/dist/src/main/start-main-application/lens-window/application-window/create-lens-window.injectable.d.ts +18 -1
- package/dist/src/main/start-main-application/lens-window/application-window/get-current-application-window.injectable.d.ts +2 -0
- package/dist/src/main/start-main-application/lens-window/application-window/send-to-channel-in-electron-browser-window.injectable.d.ts +2 -2
- package/dist/src/main/start-main-application/lens-window/get-visible-windows.injectable.d.ts +1 -1
- package/dist/src/main/start-main-application/lens-window/reload-current-application-window.injectable.d.ts +2 -0
- package/dist/src/main/start-main-application/lens-window/splash-window/splash-window.injectable.d.ts +1 -1
- package/dist/src/main/start-main-application/runnables/sentry/initialize-on-main.global-override-for-injectable.d.ts +9 -0
- package/dist/src/main/start-main-application/runnables/sentry/initialize-on-main.injectable.d.ts +3 -0
- package/dist/src/main/start-main-application/runnables/{setup-sentry.injectable.d.ts → sentry/setup.injectable.d.ts} +1 -1
- package/dist/src/main/start-main-application/start-main-application.injectable.d.ts +1 -1
- package/dist/src/main/tray/tray-menu-item/implementations/about-app-tray-item.injectable.d.ts +1 -1
- package/dist/src/main/tray/tray-menu-item/implementations/open-app-tray-item.injectable.d.ts +1 -1
- package/dist/src/main/utils/channel/ipc-main/ipc-main.global-override-for-injectable.d.ts +5 -0
- package/dist/src/main/utils/shell-env.d.ts +1 -1
- package/dist/src/main/vars/build-version/build-version.injectable.d.ts +2 -0
- package/dist/src/main/vars/build-version/get-build-version.injectable.d.ts +2 -0
- package/dist/src/main/vars/build-version/init.injectable.d.ts +4 -0
- package/dist/src/main/vars/default-update-channel/init.injectable.d.ts +2 -0
- package/dist/src/main/vars/semantic-build-version/init.injectable.d.ts +2 -0
- package/dist/src/renderer/api/catalog/entity/registry.d.ts +2 -0
- package/dist/src/renderer/components/+helm-releases/release-details/release-details-drawer-toolbar.d.ts +12 -0
- package/dist/src/renderer/components/+helm-releases/release-details/release-details-drawer.d.ts +12 -0
- package/dist/src/renderer/components/+helm-releases/release-details/release-details-model/call-for-helm-release/call-for-helm-release.injectable.d.ts +2 -1
- package/dist/src/renderer/components/+helm-releases/release-details/release-details-model/release-details-model.injectable.d.ts +15 -16
- package/dist/src/renderer/components/+welcome/{welcome-route-component.injectable.d.ts → default-welcome-route-component.injectable.d.ts} +2 -2
- package/dist/src/renderer/components/+workloads-overview/overview-workload-status.d.ts +19 -1
- package/dist/src/renderer/components/+workloads-overview/workloads/workload-injection-token.d.ts +2 -1
- package/dist/src/renderer/components/+workloads-pods/__tests__/pod-container-env.test.d.ts +5 -0
- package/dist/src/renderer/components/+workloads-pods/details/volumes/variant-helpers.d.ts +1 -1
- package/dist/src/renderer/components/+workloads-pods/pod-container-env.d.ts +4 -10
- package/dist/src/renderer/components/+workloads-pods/pod-details-container.d.ts +2 -2
- package/dist/src/renderer/components/chart/chart.d.ts +1 -0
- package/dist/src/renderer/components/cluster-settings/components/cluster-local-terminal-settings.d.ts +2 -1
- package/dist/src/renderer/components/cluster-settings/components/cluster-prometheus-setting.d.ts +1 -24
- package/dist/src/renderer/components/dock/logs/controls.d.ts +1 -3
- package/dist/src/renderer/components/dock/logs/create-pod-logs-tab.injectable.d.ts +2 -2
- package/dist/src/renderer/components/dock/logs/download-all-logs.injectable.d.ts +4 -0
- package/dist/src/renderer/components/dock/logs/download-logs-dropdown.d.ts +10 -0
- package/dist/src/renderer/components/dock/logs/download-logs.injectable.d.ts +2 -0
- package/dist/src/renderer/components/dock/logs/get-random-id-for-pod-logs-tab.injectable.d.ts +2 -0
- package/dist/src/renderer/components/dock/logs/logs-view-model.d.ts +6 -1
- package/dist/src/renderer/components/dock/terminal/terminal.d.ts +3 -1
- package/dist/src/renderer/components/dropdown/dropdown.d.ts +11 -0
- package/dist/src/renderer/components/status-bar/status-bar-registration.d.ts +5 -0
- package/dist/src/renderer/components/switch/form-switcher.d.ts +9 -2
- package/dist/src/renderer/components/switch/switcher.d.ts +7 -8
- package/dist/src/renderer/components/test-utils/get-application-builder.d.ts +30 -27
- package/dist/src/renderer/components/test-utils/get-extension-fake.d.ts +3 -6
- package/dist/src/renderer/components/tooltip/__mocks__/withTooltip.d.ts +1 -0
- package/dist/src/renderer/kube-watch-api/subscribe-stores.global-override-for-injectable.d.ts +5 -0
- package/dist/src/renderer/navigation/index.d.ts +0 -4
- package/dist/src/renderer/navigation/match-route.injectable.d.ts +3 -1
- package/dist/src/renderer/port-forward/open-port-forward.injectable.d.ts +4 -0
- package/dist/src/renderer/port-forward/port-forward-utils.d.ts +0 -1
- package/dist/src/renderer/protocol-handler/lens-protocol-router-renderer/lens-protocol-router-renderer.d.ts +2 -5
- package/dist/src/renderer/themes/active-type.injectable.d.ts +5 -0
- package/dist/src/renderer/themes/active.injectable.d.ts +2 -0
- package/dist/src/renderer/themes/lens-dark.d.ts +2 -2
- package/dist/src/renderer/themes/lens-light.d.ts +2 -2
- package/dist/src/renderer/themes/store.d.ts +6 -5
- package/dist/src/renderer/utils/channel/ipc-renderer.global-override-for-injectable.d.ts +5 -0
- package/dist/src/renderer/utils/prevDefault.d.ts +1 -1
- package/dist/src/renderer/utils/storageHelper.d.ts +1 -1
- package/dist/src/renderer/vars/build-version/build-version.injectable.d.ts +2 -0
- package/dist/src/renderer/vars/build-version/init.injectable.d.ts +4 -0
- package/dist/src/renderer/vars/default-update-channel/init.injectable.d.ts +2 -0
- package/dist/src/renderer/vars/semantic-build-version/init.injectable.d.ts +2 -0
- package/dist/src/test-utils/channel-fakes/override-channels.d.ts +1 -1
- package/dist/src/test-utils/channel-fakes/override-messaging-from-main-to-window.d.ts +1 -1
- package/package.json +1 -1
- package/dist/src/common/sentry.d.ts +0 -10
- package/dist/src/common/utils/openBrowser.d.ts +0 -17
- package/dist/src/common/vars/app-semantic-version.injectable.d.ts +0 -3
- package/dist/src/common/vars/app-version.injectable.d.ts +0 -2
- package/dist/src/common/vars/package-json.injectable.d.ts +0 -360
- package/dist/src/extensions/extension-discovery/is-compatible-bundled-extension/is-compatible-bundled-extension.d.ts +0 -11
- package/dist/src/extensions/extension-discovery/is-compatible-bundled-extension/is-compatible-bundled-extension.injectable.d.ts +0 -2
- package/dist/src/main/helm/__mocks__/helm-chart-manager.d.ts +0 -11
- package/dist/src/main/routes/metrics/metrics-query.d.ts +0 -7
- package/dist/src/main/shell-sync.d.ts +0 -10
- package/dist/src/main/start-main-application/lens-window/application-window/application-window.injectable.d.ts +0 -2
- package/dist/src/main/start-main-application/lens-window/application-window/lens-window-injection-token.d.ts +0 -16
- package/dist/src/main/start-main-application/lens-window/reload-all-windows.injectable.d.ts +0 -2
- package/dist/src/main/start-main-application/lens-window/reload-window.injectable.d.ts +0 -3
- package/dist/src/renderer/components/+preferences/sentry-dns-url.injectable.d.ts +0 -2
- package/dist/src/renderer/components/test-utils/get-renderer-extension-fake.d.ts +0 -12
@@ -9,16 +9,23 @@ import type { ExtensionLoader } from "../extension-loader";
|
|
9
9
|
import type { LensExtensionId, LensExtensionManifest } from "../lens-extension";
|
10
10
|
import type { ExtensionInstallationStateStore } from "../extension-installation-state-store/extension-installation-state-store";
|
11
11
|
import type { PackageJson } from "type-fest";
|
12
|
+
import type { ReadJson } from "../../common/fs/read-json-file.injectable";
|
13
|
+
import type { Logger } from "../../common/logger";
|
14
|
+
import type { PathExists } from "../../common/fs/path-exists.injectable";
|
15
|
+
import type { Watch } from "../../common/fs/watch/watch.injectable";
|
12
16
|
interface Dependencies {
|
13
17
|
extensionLoader: ExtensionLoader;
|
14
18
|
extensionsStore: ExtensionsStore;
|
15
19
|
extensionInstallationStateStore: ExtensionInstallationStateStore;
|
16
|
-
isCompatibleBundledExtension: (manifest: LensExtensionManifest) => boolean;
|
17
20
|
isCompatibleExtension: (manifest: LensExtensionManifest) => boolean;
|
18
21
|
installExtension: (name: string) => Promise<void>;
|
19
22
|
installExtensions: (packageJsonPath: string, packagesJson: PackageJson) => Promise<void>;
|
20
23
|
extensionPackageRootDirectory: string;
|
21
24
|
staticFilesDirectory: string;
|
25
|
+
readJsonFile: ReadJson;
|
26
|
+
pathExists: PathExists;
|
27
|
+
watch: Watch;
|
28
|
+
logger: Logger;
|
22
29
|
}
|
23
30
|
export interface InstalledExtension {
|
24
31
|
id: LensExtensionId;
|
@@ -47,7 +54,7 @@ interface LoadFromFolderOptions {
|
|
47
54
|
* - "remove": When extension is removed. The event is of type LensExtensionId
|
48
55
|
*/
|
49
56
|
export declare class ExtensionDiscovery {
|
50
|
-
protected dependencies: Dependencies;
|
57
|
+
protected readonly dependencies: Dependencies;
|
51
58
|
protected bundledFolderPath: string;
|
52
59
|
private loadStarted;
|
53
60
|
private extensions;
|
package/dist/src/extensions/extension-discovery/is-compatible-extension/is-compatible-extension.d.ts
CHANGED
@@ -1,11 +1,6 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) OpenLens Authors. All rights reserved.
|
3
|
-
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
|
-
*/
|
5
|
-
import { type SemVer } from "semver";
|
6
1
|
import type { LensExtensionManifest } from "../../lens-extension";
|
7
2
|
interface Dependencies {
|
8
|
-
|
3
|
+
extensionApiVersion: string;
|
9
4
|
}
|
10
|
-
export declare const isCompatibleExtension: ({
|
5
|
+
export declare const isCompatibleExtension: ({ extensionApiVersion }: Dependencies) => (manifest: LensExtensionManifest) => boolean;
|
11
6
|
export {};
|
@@ -4,7 +4,7 @@
|
|
4
4
|
*/
|
5
5
|
import { BaseStore } from "../common/base-store";
|
6
6
|
import type { LensExtension } from "./lens-extension";
|
7
|
-
export declare abstract class ExtensionStore<T> extends BaseStore<T> {
|
7
|
+
export declare abstract class ExtensionStore<T extends object> extends BaseStore<T> {
|
8
8
|
readonly displayName = "ExtensionStore<T>";
|
9
9
|
protected extension?: LensExtension;
|
10
10
|
loadExtension(extension: LensExtension): void;
|
@@ -2,4 +2,10 @@
|
|
2
2
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
4
|
*/
|
5
|
-
|
5
|
+
import type { LensTheme } from "../../renderer/themes/store";
|
6
|
+
export declare const activeTheme: import("mobx").IComputedValue<LensTheme>;
|
7
|
+
/**
|
8
|
+
* @deprecated This hides the reactivity of active theme, use {@link activeTheme} instead
|
9
|
+
*/
|
10
|
+
export declare function getActiveTheme(): LensTheme;
|
11
|
+
export type { LensTheme };
|
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/application-update/downgrading-version-update.test.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/application-update/installing-update-using-tray.test.d.ts
RENAMED
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/application-update/periodical-checking-of-updates.test.d.ts
RENAMED
File without changes
|
package/dist/src/{behaviours → features}/application-update/selection-of-update-stability.test.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/cluster/namespaces/edit-namespace-from-new-tab.test.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/cluster/sidebar-and-tab-navigation-for-core.test.d.ts
RENAMED
File without changes
|
package/dist/src/{behaviours → features}/cluster/sidebar-and-tab-navigation-for-extensions.test.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/helm-releases/showing-details-for-helm-release.test.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/preferences/extension-adding-preference-tabs.test.d.ts
RENAMED
File without changes
|
package/dist/src/{behaviours → features}/preferences/navigation-to-application-preferences.test.d.ts
RENAMED
File without changes
|
package/dist/src/{behaviours → features}/preferences/navigation-to-editor-preferences.test.d.ts
RENAMED
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/preferences/navigation-to-kubernetes-preferences.test.d.ts
RENAMED
File without changes
|
package/dist/src/{behaviours → features}/preferences/navigation-to-proxy-preferences.test.d.ts
RENAMED
File without changes
|
package/dist/src/{behaviours → features}/preferences/navigation-to-telemetry-preferences.test.d.ts
RENAMED
File without changes
|
package/dist/src/{behaviours → features}/preferences/navigation-to-terminal-preferences.test.d.ts
RENAMED
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/resolve-system-proxy/resolve-system-proxy.test.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) OpenLens Authors. All rights reserved.
|
3
|
+
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
|
+
*/
|
5
|
+
import type { DiContainerForInjection, Injectable } from "@ogre-tools/injectable";
|
6
|
+
declare const telemetryDecoratorInjectable: Injectable<{
|
7
|
+
decorate: (instantiateToBeDecorated: any) => (di: DiContainerForInjection, instantiationParameter: any) => any;
|
8
|
+
}, {
|
9
|
+
decorate: (toBeDecorated: any) => any;
|
10
|
+
}, unknown>;
|
11
|
+
export default telemetryDecoratorInjectable;
|
File without changes
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
declare const setupBuildVersionRequestChannelInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
|
+
channel: import("../../common/utils/channel/request-channel-injection-token").RequestChannel<void, string>;
|
3
|
+
handler: () => string;
|
4
|
+
}, import("../../common/utils/channel/request-channel-listener-injection-token").RequestChannelListener<import("../../common/utils/channel/request-channel-injection-token").RequestChannel<any, any>>, void>;
|
5
|
+
export default setupBuildVersionRequestChannelInjectable;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) OpenLens Authors. All rights reserved.
|
3
|
+
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
|
+
*/
|
5
|
+
declare const _default: {
|
6
|
+
injectable: import("@ogre-tools/injectable").Injectable<Electron.App, unknown, void>;
|
7
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<Electron.App, void>;
|
8
|
+
};
|
9
|
+
export default _default;
|
@@ -1,3 +1,4 @@
|
|
1
1
|
import type { AsyncResult } from "../../../common/utils/async-result";
|
2
|
-
declare
|
2
|
+
export declare type ExecHelm = (args: string[]) => Promise<AsyncResult<string>>;
|
3
|
+
declare const execHelmInjectable: import("@ogre-tools/injectable").Injectable<ExecHelm, unknown, void>;
|
3
4
|
export default execHelmInjectable;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export interface ChartCacheEntry {
|
2
|
+
data: string;
|
3
|
+
mtimeMs: number;
|
4
|
+
}
|
5
|
+
export declare type HelmChartManagerCache = Map<string, ChartCacheEntry>;
|
6
|
+
declare const helmChartManagerCacheInjectable: import("@ogre-tools/injectable").Injectable<HelmChartManagerCache, unknown, void>;
|
7
|
+
export default helmChartManagerCacheInjectable;
|
@@ -5,15 +5,20 @@
|
|
5
5
|
import type { RepoHelmChartList } from "../../common/k8s-api/endpoints/helm-charts.api";
|
6
6
|
import type { SetRequired } from "type-fest";
|
7
7
|
import type { HelmRepo } from "../../common/helm/helm-repo";
|
8
|
+
import type { HelmChartManagerCache } from "./helm-chart-manager-cache.injectable";
|
9
|
+
import type { Logger } from "../../common/logger";
|
8
10
|
export interface HelmCacheFile {
|
9
11
|
apiVersion: string;
|
10
12
|
entries: RepoHelmChartList;
|
11
13
|
}
|
14
|
+
interface Dependencies {
|
15
|
+
cache: HelmChartManagerCache;
|
16
|
+
logger: Logger;
|
17
|
+
}
|
12
18
|
export declare class HelmChartManager {
|
13
|
-
|
19
|
+
private dependencies;
|
14
20
|
protected readonly repo: SetRequired<HelmRepo, "cacheFilePath">;
|
15
|
-
|
16
|
-
static forRepo(repo: HelmRepo): HelmChartManager;
|
21
|
+
constructor(repo: HelmRepo, dependencies: Dependencies);
|
17
22
|
chartVersions(name: string): Promise<import("../../common/k8s-api/endpoints/helm-charts.api").RawHelmChart[]>;
|
18
23
|
charts(): Promise<RepoHelmChartList>;
|
19
24
|
private executeCommand;
|
@@ -25,3 +30,4 @@ export declare class HelmChartManager {
|
|
25
30
|
}>;
|
26
31
|
protected cachedYaml(): Promise<RepoHelmChartList>;
|
27
32
|
}
|
33
|
+
export {};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import type { HelmRepo } from "../../common/helm/helm-repo";
|
2
|
+
import { HelmChartManager } from "./helm-chart-manager";
|
3
|
+
declare const helmChartManagerInjectable: import("@ogre-tools/injectable").Injectable<HelmChartManager, unknown, HelmRepo>;
|
4
|
+
export default helmChartManagerInjectable;
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
4
|
*/
|
5
|
-
import type {
|
5
|
+
import type { JsonValue } from "type-fest";
|
6
6
|
export declare function listReleases(pathToKubeconfig: string, namespace?: string): Promise<Record<string, any>[]>;
|
7
7
|
export declare function installChart(chart: string, values: JsonValue, name: string | undefined, namespace: string, version: string, kubeconfigPath: string): Promise<{
|
8
8
|
log: string;
|
@@ -11,11 +11,6 @@ export declare function installChart(chart: string, values: JsonValue, name: str
|
|
11
11
|
namespace: string;
|
12
12
|
};
|
13
13
|
}>;
|
14
|
-
export declare function upgradeRelease(name: string, chart: string, values: any, namespace: string, version: string, kubeconfigPath: string, kubectlPath: string): Promise<{
|
15
|
-
log: string;
|
16
|
-
release: JsonObject | undefined;
|
17
|
-
}>;
|
18
|
-
export declare function getRelease(name: string, namespace: string, kubeconfigPath: string, kubectlPath: string): Promise<JsonObject | undefined>;
|
19
14
|
export declare function deleteRelease(name: string, namespace: string, kubeconfigPath: string): Promise<string>;
|
20
15
|
interface GetValuesOptions {
|
21
16
|
namespace: string;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import type { AsyncResult } from "../../../../../common/utils/async-result";
|
2
|
+
import type { KubeJsonApiData } from "../../../../../common/k8s-api/kube-json-api";
|
3
|
+
declare const callForHelmManifestInjectable: import("@ogre-tools/injectable").Injectable<(name: string, namespace: string, kubeconfigPath: string) => Promise<AsyncResult<KubeJsonApiData[]>>, unknown, void>;
|
4
|
+
export default callForHelmManifestInjectable;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import type { JsonObject } from "type-fest";
|
2
|
+
import type { KubeJsonApiData } from "../../../../../common/k8s-api/kube-json-api";
|
3
|
+
export declare type CallForKubeResourcesByManifest = (namespace: string, kubeconfigPath: string, kubectlPath: string, resourceManifests: KubeJsonApiData[]) => Promise<JsonObject[]>;
|
4
|
+
declare const callForKubeResourcesByManifestInjectable: import("@ogre-tools/injectable").Injectable<CallForKubeResourcesByManifest, unknown, void>;
|
5
|
+
export default callForKubeResourcesByManifestInjectable;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
injectable: import("@ogre-tools/injectable").Injectable<import("./exec-file-with-input.injectable").ExecFileWithInput, unknown, void>;
|
3
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<import("./exec-file-with-input.injectable").ExecFileWithInput, void>;
|
4
|
+
};
|
5
|
+
export default _default;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { AsyncResult } from "../../../../../../common/utils/async-result";
|
2
|
+
export declare type ExecFileWithInput = (options: {
|
3
|
+
filePath: string;
|
4
|
+
commandArguments: string[];
|
5
|
+
input: string;
|
6
|
+
}) => Promise<AsyncResult<string, unknown>>;
|
7
|
+
declare const execFileWithInputInjectable: import("@ogre-tools/injectable").Injectable<ExecFileWithInput, unknown, void>;
|
8
|
+
export default execFileWithInputInjectable;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import type { JsonObject } from "type-fest";
|
2
|
+
export declare type GetHelmReleaseResources = (name: string, namespace: string, kubeconfigPath: string, kubectlPath: string) => Promise<JsonObject[]>;
|
3
|
+
declare const getHelmReleaseResourcesInjectable: import("@ogre-tools/injectable").Injectable<GetHelmReleaseResources, unknown, void>;
|
4
|
+
export default getHelmReleaseResourcesInjectable;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
injectable: import("@ogre-tools/injectable").Injectable<(cluster: import("../../../common/cluster/cluster").Cluster, releaseName: string, namespace: string) => Promise<import("type-fest").JsonObject | undefined>, unknown, void>;
|
3
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<(cluster: import("../../../common/cluster/cluster").Cluster, releaseName: string, namespace: string) => Promise<import("type-fest").JsonObject | undefined>, void>;
|
4
|
+
};
|
5
|
+
export default _default;
|
package/dist/src/main/helm/helm-service/update-helm-release.global-override-for-injectable.d.ts
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
injectable: import("@ogre-tools/injectable").Injectable<(cluster: import("../../../common/cluster/cluster").Cluster, releaseName: string, namespace: string, data: import("./update-helm-release.injectable").UpdateChartArgs) => Promise<{
|
3
|
+
log: string;
|
4
|
+
release: import("type-fest").JsonObject | undefined;
|
5
|
+
}>, unknown, void>;
|
6
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<(cluster: import("../../../common/cluster/cluster").Cluster, releaseName: string, namespace: string, data: import("./update-helm-release.injectable").UpdateChartArgs) => Promise<{
|
7
|
+
log: string;
|
8
|
+
release: import("type-fest").JsonObject | undefined;
|
9
|
+
}>, void>;
|
10
|
+
};
|
11
|
+
export default _default;
|
@@ -9,11 +9,13 @@ import type { Cluster } from "../../common/cluster/cluster";
|
|
9
9
|
import type { SelfSignedCert } from "selfsigned";
|
10
10
|
import type { Spawn } from "../child-process/spawn.injectable";
|
11
11
|
import type { Logger } from "../../common/logger";
|
12
|
+
import type { WaitUntilPortIsUsed } from "./wait-until-port-is-used/wait-until-port-is-used.injectable";
|
12
13
|
export interface KubeAuthProxyDependencies {
|
13
14
|
readonly proxyBinPath: string;
|
14
15
|
readonly proxyCert: SelfSignedCert;
|
15
|
-
spawn: Spawn;
|
16
|
+
readonly spawn: Spawn;
|
16
17
|
readonly logger: Logger;
|
18
|
+
readonly waitUntilPortIsUsed: WaitUntilPortIsUsed;
|
17
19
|
}
|
18
20
|
export declare class KubeAuthProxy {
|
19
21
|
private readonly dependencies;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
injectable: import("@ogre-tools/injectable").Injectable<import("./wait-until-port-is-used.injectable").WaitUntilPortIsUsed, unknown, void>;
|
3
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<import("./wait-until-port-is-used.injectable").WaitUntilPortIsUsed, void>;
|
4
|
+
};
|
5
|
+
export default _default;
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export declare type WaitUntilPortIsUsed = (port: number, retryAfterMs: number, timeoutAfterMs: number) => Promise<void>;
|
2
|
+
declare const waitUntilPortIsUsedInjectable: import("@ogre-tools/injectable").Injectable<WaitUntilPortIsUsed, unknown, void>;
|
3
|
+
export default waitUntilPortIsUsedInjectable;
|
@@ -15,6 +15,8 @@ export interface KubectlDependencies {
|
|
15
15
|
readonly downloadKubectlBinaries: boolean;
|
16
16
|
readonly downloadMirror: string;
|
17
17
|
};
|
18
|
+
readonly bundledKubectlVersion: string;
|
19
|
+
readonly kubectlVersionMap: Map<string, string>;
|
18
20
|
}
|
19
21
|
export declare class Kubectl {
|
20
22
|
protected readonly dependencies: KubectlDependencies;
|
@@ -22,7 +24,6 @@ export declare class Kubectl {
|
|
22
24
|
protected readonly url: string;
|
23
25
|
protected readonly path: string;
|
24
26
|
protected readonly dirname: string;
|
25
|
-
static readonly bundledKubectlVersion: string;
|
26
27
|
static invalidBundle: boolean;
|
27
28
|
constructor(dependencies: KubectlDependencies, clusterVersion: string);
|
28
29
|
getBundledPath(): string;
|
@@ -16,15 +16,16 @@ interface Dependencies {
|
|
16
16
|
getClusterForRequest: GetClusterForRequest;
|
17
17
|
shellApiRequest: (args: ProxyApiRequestArgs) => void | Promise<void>;
|
18
18
|
kubeApiUpgradeRequest: (args: ProxyApiRequestArgs) => void | Promise<void>;
|
19
|
-
router: Router;
|
20
|
-
proxy: httpProxy;
|
21
|
-
lensProxyPort: {
|
19
|
+
readonly router: Router;
|
20
|
+
readonly proxy: httpProxy;
|
21
|
+
readonly lensProxyPort: {
|
22
22
|
set: (portNumber: number) => void;
|
23
23
|
};
|
24
|
+
readonly contentSecurityPolicy: string;
|
24
25
|
}
|
25
26
|
export declare function isLongRunningRequest(reqUrl: string): boolean;
|
26
27
|
export declare class LensProxy {
|
27
|
-
private dependencies;
|
28
|
+
private readonly dependencies;
|
28
29
|
protected proxyServer: http.Server;
|
29
30
|
protected closed: boolean;
|
30
31
|
protected retryCounters: Map<string, number>;
|
@@ -1,9 +1,3 @@
|
|
1
1
|
import type { MenuItemOpts } from "./application-menu-items.injectable";
|
2
|
-
import type { ShowMessagePopup } from "../electron-app/features/show-message-popup.injectable";
|
3
2
|
export declare type MenuTopId = "mac" | "file" | "edit" | "view" | "help";
|
4
|
-
interface Dependencies {
|
5
|
-
showMessagePopup: ShowMessagePopup;
|
6
|
-
}
|
7
|
-
export declare const showAbout: ({ showMessagePopup }: Dependencies) => () => Promise<void>;
|
8
3
|
export declare function buildMenu(applicationMenuItems: MenuItemOpts[]): void;
|
9
|
-
export {};
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const showAboutInjectable: import("@ogre-tools/injectable").Injectable<() =>
|
1
|
+
declare const showAboutInjectable: import("@ogre-tools/injectable").Injectable<() => void, unknown, void>;
|
2
2
|
export default showAboutInjectable;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) OpenLens Authors. All rights reserved.
|
3
|
+
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
|
+
*/
|
5
|
+
import { PrometheusLens } from "./lens";
|
6
|
+
import type { CoreV1Api } from "@kubernetes/client-node";
|
7
|
+
import type { PrometheusService } from "./provider-registry";
|
8
|
+
export declare class PrometheusHelm14 extends PrometheusLens {
|
9
|
+
readonly id: string;
|
10
|
+
readonly name: string;
|
11
|
+
readonly rateAccuracy: string;
|
12
|
+
readonly isConfigurable: boolean;
|
13
|
+
getPrometheusService(client: CoreV1Api): Promise<PrometheusService>;
|
14
|
+
}
|
@@ -2,13 +2,13 @@
|
|
2
2
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
4
|
*/
|
5
|
-
import { PrometheusLens } from "./lens";
|
6
5
|
import type { CoreV1Api } from "@kubernetes/client-node";
|
7
|
-
import type
|
8
|
-
export declare class PrometheusHelm extends
|
6
|
+
import { PrometheusProvider, type PrometheusService } from "./provider-registry";
|
7
|
+
export declare class PrometheusHelm extends PrometheusProvider {
|
9
8
|
readonly id: string;
|
10
9
|
readonly name: string;
|
11
10
|
readonly rateAccuracy: string;
|
12
11
|
readonly isConfigurable: boolean;
|
13
12
|
getPrometheusService(client: CoreV1Api): Promise<PrometheusService>;
|
13
|
+
getQuery(opts: Record<string, string>, queryName: string): string;
|
14
14
|
}
|
package/dist/src/main/protocol-handler/lens-protocol-router-main/lens-protocol-router-main.d.ts
CHANGED
@@ -6,11 +6,13 @@ import * as proto from "../../../common/protocol-handler";
|
|
6
6
|
import URLParse from "url-parse";
|
7
7
|
import type { LensExtension } from "../../../extensions/lens-extension";
|
8
8
|
import type { LensProtocolRouterDependencies, RouteAttempt } from "../../../common/protocol-handler";
|
9
|
+
import type { BroadcastMessage } from "../../../common/ipc/broadcast-message.injectable";
|
9
10
|
export interface FallbackHandler {
|
10
11
|
(name: string): Promise<boolean>;
|
11
12
|
}
|
12
13
|
export interface LensProtocolRouterMainDependencies extends LensProtocolRouterDependencies {
|
13
14
|
showApplicationWindow: () => Promise<void>;
|
15
|
+
broadcastMessage: BroadcastMessage;
|
14
16
|
}
|
15
17
|
export declare class LensProtocolRouterMain extends proto.LensProtocolRouter {
|
16
18
|
protected readonly dependencies: LensProtocolRouterMainDependencies;
|