@k8slens/extensions 6.0.0-git.f61330611e.0 → 6.0.1-git.03d2389f01.0
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/cluster/is-allowed-resource.d.ts +1 -0
- package/dist/src/common/cluster-store/cluster-store.global-override-for-injectable.d.ts +6 -0
- package/dist/src/common/k8s-api/endpoints/cluster-role-binding.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/cluster-role.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/cluster.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/component-status.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/config-map.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/cron-job.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/custom-resource-definition.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/daemon-set.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/deployment.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/endpoint.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/events.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/horizontal-pod-autoscaler.api.d.ts +42 -17
- package/dist/src/common/k8s-api/endpoints/horizontal-pod-autoscaler.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/ingress.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/job.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/limit-range.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/namespace.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/network-policy.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/node.api.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/node.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/persistent-volume-claim.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/persistent-volume.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/pod-disruption-budget.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/pod-metrics.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/pod-security-policy.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/pod.api.d.ts +1 -0
- package/dist/src/common/k8s-api/endpoints/pod.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/priority-class.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/replica-set.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/resource-quota.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/role-binding.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/role.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/secret.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/self-subject-rules-reviews.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/service-account.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/service.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/stateful-set.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/storage-class.api.injectable.d.ts +1 -1
- package/dist/src/common/k8s-api/kube-api/get-kube-api-from-path.injectable.d.ts +3 -0
- package/dist/src/common/k8s-api/kube-api/kube-api-injection-token.d.ts +2 -0
- package/dist/src/common/k8s-api/kube-api.d.ts +1 -1
- package/dist/src/common/k8s-api/kube-object.store.d.ts +1 -1
- package/dist/src/common/test-utils/get-global-override.d.ts +4 -0
- package/dist/src/{behaviours/add-cluster/navigation-using-application-menu.test.d.ts → common/utils/__tests__/union-env-path.test.d.ts} +0 -0
- package/dist/src/common/utils/abort-controller.d.ts +5 -1
- package/dist/src/common/utils/convertCpu.d.ts +1 -1
- package/dist/src/common/utils/delay.d.ts +1 -1
- 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/tuple.d.ts +3 -2
- package/dist/src/common/utils/union-env-path.d.ts +12 -0
- package/dist/src/common/vars/package-json.injectable.d.ts +9 -0
- package/dist/src/extensions/common-api/utils.d.ts +6 -1
- package/dist/src/extensions/extension-api.js +2005 -189
- 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/cluster/order-of-sidebar-items.test.d.ts → features/cluster/kube-object-status-icon/show-status-for-a-kube-object.test.d.ts} +0 -0
- package/dist/src/{behaviours/cluster/sidebar-and-tab-navigation-for-core.test.d.ts → features/cluster/namespaces/edit-namespace-from-new-tab.test.d.ts} +0 -0
- package/dist/src/{behaviours/cluster/sidebar-and-tab-navigation-for-extensions.test.d.ts → features/cluster/namespaces/edit-namespace-from-previously-opened-tab.test.d.ts} +0 -0
- package/dist/src/{behaviours/cluster/visibility-of-sidebar-items.test.d.ts → features/cluster/order-of-sidebar-items.test.d.ts} +0 -0
- package/dist/src/{behaviours/cluster/workloads/overview/extension-api/disable-workloads-overview-details-when-cluster-is-not-relevant.test.d.ts → features/cluster/sidebar-and-tab-navigation-for-core.test.d.ts} +0 -0
- package/dist/src/{behaviours/cluster/workloads/overview/extension-api/order-of-workload-overview-details.test.d.ts → features/cluster/sidebar-and-tab-navigation-for-extensions.test.d.ts} +0 -0
- package/dist/src/{behaviours/cluster/workloads/overview/extension-api/reactively-hide-workloads-overview-details-item.test.d.ts → features/cluster/visibility-of-sidebar-items.test.d.ts} +0 -0
- package/dist/src/{behaviours/extension-special-characters-in-page-registrations.test.d.ts → features/cluster/workloads/overview/extension-api/disable-workloads-overview-details-when-cluster-is-not-relevant.test.d.ts} +0 -0
- package/dist/src/{behaviours/helm-charts/add-custom-helm-repository-in-preferences.test.d.ts → features/cluster/workloads/overview/extension-api/order-of-workload-overview-details.test.d.ts} +0 -0
- package/dist/src/{behaviours/helm-charts/add-helm-repository-from-list-in-preferences.test.d.ts → features/cluster/workloads/overview/extension-api/reactively-hide-workloads-overview-details-item.test.d.ts} +0 -0
- package/dist/src/{behaviours → features}/command-pallet/keyboard-shortcuts.test.d.ts +0 -0
- package/dist/src/{behaviours/helm-charts/installing-chart/installing-helm-chart-from-new-tab.test.d.ts → features/extension-special-characters-in-page-registrations.test.d.ts} +0 -0
- package/dist/src/{behaviours/preferences → features/extensions}/navigation-using-application-menu.test.d.ts +0 -0
- package/dist/src/{behaviours/helm-charts/installing-chart/installing-helm-chart-from-previously-opened-tab.test.d.ts → features/helm-charts/add-custom-helm-repository-in-preferences.test.d.ts} +0 -0
- package/dist/src/{behaviours/helm-charts/installing-chart/opening-dock-tab-for-installing-helm-chart.test.d.ts → features/helm-charts/add-helm-repository-from-list-in-preferences.test.d.ts} +0 -0
- package/dist/src/{behaviours/helm-charts/listing-active-helm-repositories-in-preferences.test.d.ts → features/helm-charts/installing-chart/installing-helm-chart-from-new-tab.test.d.ts} +0 -0
- package/dist/src/{behaviours/helm-charts/remove-helm-repository-from-list-of-active-repository-in-preferences.test.d.ts → features/helm-charts/installing-chart/installing-helm-chart-from-previously-opened-tab.test.d.ts} +0 -0
- package/dist/src/{behaviours/helm-releases/showing-details-for-helm-release.test.d.ts → features/helm-charts/installing-chart/opening-dock-tab-for-installing-helm-chart.test.d.ts} +0 -0
- package/dist/src/{behaviours/navigate-to-extension-page.test.d.ts → features/helm-charts/listing-active-helm-repositories-in-preferences.test.d.ts} +0 -0
- package/dist/src/{behaviours/navigating-between-routes.test.d.ts → features/helm-charts/remove-helm-repository-from-list-of-active-repository-in-preferences.test.d.ts} +0 -0
- package/dist/src/{behaviours/preferences/closing-preferences.test.d.ts → features/helm-releases/showing-details-for-helm-release.test.d.ts} +0 -0
- package/dist/src/{behaviours/preferences/extension-adding-preference-tabs.test.d.ts → features/navigate-to-extension-page.test.d.ts} +0 -0
- package/dist/src/{behaviours/preferences/navigation-to-application-preferences.test.d.ts → features/navigating-between-routes.test.d.ts} +0 -0
- package/dist/src/{behaviours/preferences/navigation-to-editor-preferences.test.d.ts → features/preferences/closing-preferences.test.d.ts} +0 -0
- package/dist/src/{behaviours/preferences/navigation-to-kubernetes-preferences.test.d.ts → features/preferences/extension-adding-preference-tabs.test.d.ts} +0 -0
- package/dist/src/{behaviours/preferences/navigation-to-proxy-preferences.test.d.ts → features/preferences/navigation-to-application-preferences.test.d.ts} +0 -0
- package/dist/src/{behaviours/preferences/navigation-to-telemetry-preferences.test.d.ts → 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/preferences/navigation-to-terminal-preferences.test.d.ts → features/preferences/navigation-to-kubernetes-preferences.test.d.ts} +0 -0
- package/dist/src/{behaviours/preferences/navigation-using-tray.test.d.ts → features/preferences/navigation-to-proxy-preferences.test.d.ts} +0 -0
- package/dist/src/{behaviours/resolve-system-proxy/resolve-system-proxy.test.d.ts → features/preferences/navigation-to-telemetry-preferences.test.d.ts} +0 -0
- package/dist/src/{behaviours/routes/extension-api/reactively-disable-global-pages.test.d.ts → features/preferences/navigation-to-terminal-preferences.test.d.ts} +0 -0
- package/dist/src/{behaviours/welcome → features/preferences}/navigation-using-application-menu.test.d.ts +0 -0
- package/dist/src/{behaviours/status-bar/status-bar-items-originating-from-extensions.test.d.ts → features/preferences/navigation-using-tray.test.d.ts} +0 -0
- package/dist/src/{behaviours → features}/quitting-and-restarting-the-app/opening-application-window-using-tray.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/quitting-and-restarting-the-app/quitting-the-app-using-application-menu.test.d.ts +0 -0
- package/dist/src/{behaviours/tray/clicking-tray-menu-item-originating-from-extension.test.d.ts → features/resolve-system-proxy/resolve-system-proxy.test.d.ts} +0 -0
- package/dist/src/{behaviours/tray/extension-adding-tray-items.test.d.ts → features/routes/extension-api/reactively-disable-global-pages.test.d.ts} +0 -0
- package/dist/src/{behaviours/tray/multiple-separators-originating-from-extension.test.d.ts → features/status-bar/status-bar-items-originating-from-extensions.test.d.ts} +0 -0
- package/dist/src/{renderer/components/kube-object-status-icon/kube-object-status-icon.test.d.ts → features/tray/clicking-tray-menu-item-originating-from-extension.test.d.ts} +0 -0
- package/dist/src/features/tray/extension-adding-tray-items.test.d.ts +1 -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/main/application-update/check-for-updates/process-checking-for-updates.injectable.d.ts +3 -1
- package/dist/src/main/menu/build-version.global-override-for-injectable.d.ts +9 -0
- package/dist/src/main/menu/build-version.injectable.d.ts +2 -0
- package/dist/src/main/menu/menu.d.ts +3 -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/start-main-application.injectable.d.ts +1 -1
- package/dist/src/main/tray/tray-menu-registration.d.ts +1 -1
- package/dist/src/main/utils/shell-env.d.ts +1 -1
- package/dist/src/renderer/components/+extensions/extensions.d.ts +0 -1
- package/dist/src/renderer/components/+preferences/extension-preference-model.injectable.d.ts +1 -0
- package/dist/src/renderer/components/dock/edit-resource/edit-resource-model/call-for-patch-resource/call-for-patch-resource.global-override-for-injectable.d.ts +5 -0
- package/dist/src/renderer/components/dock/edit-resource/edit-resource-model/call-for-patch-resource/call-for-patch-resource.injectable.d.ts +9 -0
- package/dist/src/renderer/components/dock/edit-resource/edit-resource-model/call-for-resource/call-for-resource.global-override-for-injectable.d.ts +5 -0
- package/dist/src/renderer/components/dock/edit-resource/edit-resource-model/call-for-resource/call-for-resource.injectable.d.ts +5 -0
- package/dist/src/renderer/components/dock/edit-resource/edit-resource-model/edit-resource-model.injectable.d.ts +38 -0
- package/dist/src/renderer/components/dock/edit-resource/get-random-id-for-edit-resource-tab.injectable.d.ts +2 -0
- package/dist/src/renderer/components/dock/edit-resource/store.d.ts +2 -14
- package/dist/src/renderer/components/dock/info-panel.d.ts +1 -0
- package/dist/src/renderer/components/dock/terminal/terminal.d.ts +3 -1
- package/dist/src/renderer/components/drawer/drawer-param-toggler.test.d.ts +5 -0
- package/dist/src/renderer/components/kube-object-status-icon/kube-object-status-text-injection-token.d.ts +1 -1
- package/dist/src/renderer/components/kube-object-status-icon/kube-object-status-texts-for-object.injectable.d.ts +1 -1
- package/dist/src/renderer/components/switch/switcher.d.ts +1 -1
- package/dist/src/renderer/components/table/sorting.d.ts +2 -2
- package/dist/src/renderer/components/test-utils/get-application-builder.d.ts +29 -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/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/utils/create-storage/storages-are-ready.d.ts +1 -1
- 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/utils/openBrowser.d.ts +0 -17
- 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/test-utils/get-renderer-extension-fake.d.ts +0 -12
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isAllowedResource: (allowedResources: string[]) => (kind: string) => boolean;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ClusterStore } from "./cluster-store";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
injectable: import("@ogre-tools/injectable").Injectable<ClusterStore, unknown, void>;
|
|
4
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<ClusterStore, void>;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ClusterRoleBindingApi } from "./cluster-role-binding.api";
|
|
2
|
-
declare const clusterRoleBindingApiInjectable: import("@ogre-tools/injectable").Injectable<ClusterRoleBindingApi,
|
|
2
|
+
declare const clusterRoleBindingApiInjectable: import("@ogre-tools/injectable").Injectable<ClusterRoleBindingApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default clusterRoleBindingApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ClusterRoleApi } from "./cluster-role.api";
|
|
2
|
-
declare const clusterRoleApiInjectable: import("@ogre-tools/injectable").Injectable<ClusterRoleApi,
|
|
2
|
+
declare const clusterRoleApiInjectable: import("@ogre-tools/injectable").Injectable<ClusterRoleApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default clusterRoleApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ClusterApi } from "./cluster.api";
|
|
2
|
-
declare const clusterApiInjectable: import("@ogre-tools/injectable").Injectable<ClusterApi,
|
|
2
|
+
declare const clusterApiInjectable: import("@ogre-tools/injectable").Injectable<ClusterApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default clusterApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ComponentStatusApi } from "./component-status.api";
|
|
2
|
-
declare const componentStatusApiInjectable: import("@ogre-tools/injectable").Injectable<ComponentStatusApi,
|
|
2
|
+
declare const componentStatusApiInjectable: import("@ogre-tools/injectable").Injectable<ComponentStatusApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default componentStatusApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ConfigMapApi } from "./config-map.api";
|
|
2
|
-
declare const configMapApiInjectable: import("@ogre-tools/injectable").Injectable<ConfigMapApi,
|
|
2
|
+
declare const configMapApiInjectable: import("@ogre-tools/injectable").Injectable<ConfigMapApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default configMapApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CronJobApi } from "./cron-job.api";
|
|
2
|
-
declare const cronJobApiInjectable: import("@ogre-tools/injectable").Injectable<CronJobApi,
|
|
2
|
+
declare const cronJobApiInjectable: import("@ogre-tools/injectable").Injectable<CronJobApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default cronJobApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CustomResourceDefinitionApi } from "./custom-resource-definition.api";
|
|
2
|
-
declare const customResourceDefinitionApiInjectable: import("@ogre-tools/injectable").Injectable<CustomResourceDefinitionApi,
|
|
2
|
+
declare const customResourceDefinitionApiInjectable: import("@ogre-tools/injectable").Injectable<CustomResourceDefinitionApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default customResourceDefinitionApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DaemonSetApi } from "./daemon-set.api";
|
|
2
|
-
declare const daemonSetApiInjectable: import("@ogre-tools/injectable").Injectable<DaemonSetApi,
|
|
2
|
+
declare const daemonSetApiInjectable: import("@ogre-tools/injectable").Injectable<DaemonSetApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default daemonSetApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DeploymentApi } from "./deployment.api";
|
|
2
|
-
declare const deploymentApiInjectable: import("@ogre-tools/injectable").Injectable<DeploymentApi,
|
|
2
|
+
declare const deploymentApiInjectable: import("@ogre-tools/injectable").Injectable<DeploymentApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default deploymentApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { EndpointsApi } from "./endpoint.api";
|
|
2
|
-
declare const endpointsApiInjectable: import("@ogre-tools/injectable").Injectable<EndpointsApi,
|
|
2
|
+
declare const endpointsApiInjectable: import("@ogre-tools/injectable").Injectable<EndpointsApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default endpointsApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { KubeEventApi } from "./events.api";
|
|
2
|
-
declare const kubeEventApiInjectable: import("@ogre-tools/injectable").Injectable<KubeEventApi,
|
|
2
|
+
declare const kubeEventApiInjectable: import("@ogre-tools/injectable").Injectable<KubeEventApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default kubeEventApiInjectable;
|
|
@@ -49,13 +49,50 @@ export interface ResourceMetricSource {
|
|
|
49
49
|
targetAverageValue?: string;
|
|
50
50
|
}
|
|
51
51
|
export interface BaseHorizontalPodAutoscalerMetricSpec {
|
|
52
|
-
|
|
53
|
-
object: ObjectMetricSource;
|
|
52
|
+
containerResource: ContainerResourceMetricSource;
|
|
54
53
|
external: ExternalMetricSource;
|
|
54
|
+
object: ObjectMetricSource;
|
|
55
55
|
pods: PodsMetricSource;
|
|
56
|
-
|
|
56
|
+
resource: ResourceMetricSource;
|
|
57
57
|
}
|
|
58
58
|
export declare type HorizontalPodAutoscalerMetricSpec = OptionVarient<HpaMetricType.Resource, BaseHorizontalPodAutoscalerMetricSpec, "resource"> | OptionVarient<HpaMetricType.External, BaseHorizontalPodAutoscalerMetricSpec, "external"> | OptionVarient<HpaMetricType.Object, BaseHorizontalPodAutoscalerMetricSpec, "object"> | OptionVarient<HpaMetricType.Pods, BaseHorizontalPodAutoscalerMetricSpec, "pods"> | OptionVarient<HpaMetricType.ContainerResource, BaseHorizontalPodAutoscalerMetricSpec, "containerResource">;
|
|
59
|
+
export interface ContainerResourceMetricStatus {
|
|
60
|
+
container: string;
|
|
61
|
+
currentAverageUtilization?: number;
|
|
62
|
+
currentAverageValue: string;
|
|
63
|
+
name: string;
|
|
64
|
+
}
|
|
65
|
+
export interface ExternalMetricStatus {
|
|
66
|
+
currentAverageValue?: string;
|
|
67
|
+
currentValue: string;
|
|
68
|
+
metricName: string;
|
|
69
|
+
metricSelector?: LabelSelector;
|
|
70
|
+
}
|
|
71
|
+
export interface ObjectMetricStatus {
|
|
72
|
+
averageValue?: string;
|
|
73
|
+
currentValue?: string;
|
|
74
|
+
metricName: string;
|
|
75
|
+
selector?: LabelSelector;
|
|
76
|
+
target: CrossVersionObjectReference;
|
|
77
|
+
}
|
|
78
|
+
export interface PodsMetricStatus {
|
|
79
|
+
currentAverageValue: string;
|
|
80
|
+
metricName: string;
|
|
81
|
+
selector?: LabelSelector;
|
|
82
|
+
}
|
|
83
|
+
export interface ResourceMetricStatus {
|
|
84
|
+
currentAverageUtilization?: number;
|
|
85
|
+
currentAverageValue: string;
|
|
86
|
+
name: string;
|
|
87
|
+
}
|
|
88
|
+
export interface BaseHorizontalPodAutoscalerMetricStatus {
|
|
89
|
+
containerResource: ContainerResourceMetricStatus;
|
|
90
|
+
external: ExternalMetricStatus;
|
|
91
|
+
object: ObjectMetricStatus;
|
|
92
|
+
pods: PodsMetricStatus;
|
|
93
|
+
resource: ResourceMetricStatus;
|
|
94
|
+
}
|
|
95
|
+
export declare type HorizontalPodAutoscalerMetricStatus = OptionVarient<HpaMetricType.Resource, BaseHorizontalPodAutoscalerMetricStatus, "resource"> | OptionVarient<HpaMetricType.External, BaseHorizontalPodAutoscalerMetricStatus, "external"> | OptionVarient<HpaMetricType.Object, BaseHorizontalPodAutoscalerMetricStatus, "object"> | OptionVarient<HpaMetricType.Pods, BaseHorizontalPodAutoscalerMetricStatus, "pods"> | OptionVarient<HpaMetricType.ContainerResource, BaseHorizontalPodAutoscalerMetricStatus, "containerResource">;
|
|
59
96
|
export interface CrossVersionObjectReference {
|
|
60
97
|
kind: string;
|
|
61
98
|
name: string;
|
|
@@ -71,11 +108,7 @@ export interface HorizontalPodAutoscalerStatus {
|
|
|
71
108
|
conditions?: BaseKubeObjectCondition[];
|
|
72
109
|
currentReplicas: number;
|
|
73
110
|
desiredReplicas: number;
|
|
74
|
-
currentMetrics
|
|
75
|
-
}
|
|
76
|
-
interface MetricCurrentTarget {
|
|
77
|
-
current?: string;
|
|
78
|
-
target?: string;
|
|
111
|
+
currentMetrics?: HorizontalPodAutoscalerMetricStatus[];
|
|
79
112
|
}
|
|
80
113
|
export declare class HorizontalPodAutoscaler extends KubeObject<NamespaceScopedMetadata, HorizontalPodAutoscalerStatus, HorizontalPodAutoscalerSpec> {
|
|
81
114
|
static readonly kind = "HorizontalPodAutoscaler";
|
|
@@ -103,17 +136,9 @@ export declare class HorizontalPodAutoscaler extends KubeObject<NamespaceScopedM
|
|
|
103
136
|
type: string;
|
|
104
137
|
}[];
|
|
105
138
|
getMetrics(): HorizontalPodAutoscalerMetricSpec[];
|
|
106
|
-
getCurrentMetrics():
|
|
107
|
-
protected getMetricName(metric: HorizontalPodAutoscalerMetricSpec): string;
|
|
108
|
-
protected getResourceMetricValue(currentMetric: ResourceMetricSource | undefined, targetMetric: ResourceMetricSource): MetricCurrentTarget;
|
|
109
|
-
protected getPodsMetricValue(currentMetric: PodsMetricSource | undefined, targetMetric: PodsMetricSource): MetricCurrentTarget;
|
|
110
|
-
protected getObjectMetricValue(currentMetric: ObjectMetricSource | undefined, targetMetric: ObjectMetricSource): MetricCurrentTarget;
|
|
111
|
-
protected getExternalMetricValue(currentMetric: ExternalMetricSource | undefined, targetMetric: ExternalMetricSource): MetricCurrentTarget;
|
|
112
|
-
protected getContainerResourceMetricValue(currentMetric: ContainerResourceMetricSource | undefined, targetMetric: ContainerResourceMetricSource): MetricCurrentTarget;
|
|
113
|
-
protected getMetricCurrentTarget(metric: HorizontalPodAutoscalerMetricSpec): MetricCurrentTarget;
|
|
139
|
+
getCurrentMetrics(): HorizontalPodAutoscalerMetricStatus[];
|
|
114
140
|
getMetricValues(metric: HorizontalPodAutoscalerMetricSpec): string;
|
|
115
141
|
}
|
|
116
142
|
export declare class HorizontalPodAutoscalerApi extends KubeApi<HorizontalPodAutoscaler> {
|
|
117
143
|
constructor(opts?: DerivedKubeApiOptions);
|
|
118
144
|
}
|
|
119
|
-
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { HorizontalPodAutoscalerApi } from "./horizontal-pod-autoscaler.api";
|
|
2
|
-
declare const horizontalPodAutoscalerApiInjectable: import("@ogre-tools/injectable").Injectable<HorizontalPodAutoscalerApi,
|
|
2
|
+
declare const horizontalPodAutoscalerApiInjectable: import("@ogre-tools/injectable").Injectable<HorizontalPodAutoscalerApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default horizontalPodAutoscalerApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IngressApi } from "./ingress.api";
|
|
2
|
-
declare const ingressApiInjectable: import("@ogre-tools/injectable").Injectable<IngressApi,
|
|
2
|
+
declare const ingressApiInjectable: import("@ogre-tools/injectable").Injectable<IngressApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default ingressApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { JobApi } from "./job.api";
|
|
2
|
-
declare const jobApiInjectable: import("@ogre-tools/injectable").Injectable<JobApi,
|
|
2
|
+
declare const jobApiInjectable: import("@ogre-tools/injectable").Injectable<JobApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default jobApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { LimitRangeApi } from "./limit-range.api";
|
|
2
|
-
declare const limitRangeApiInjectable: import("@ogre-tools/injectable").Injectable<LimitRangeApi,
|
|
2
|
+
declare const limitRangeApiInjectable: import("@ogre-tools/injectable").Injectable<LimitRangeApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default limitRangeApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { NamespaceApi } from "./namespace.api";
|
|
2
|
-
declare const namespaceApiInjectable: import("@ogre-tools/injectable").Injectable<NamespaceApi,
|
|
2
|
+
declare const namespaceApiInjectable: import("@ogre-tools/injectable").Injectable<NamespaceApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default namespaceApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { NetworkPolicyApi } from "./network-policy.api";
|
|
2
|
-
declare const networkPolicyApiInjectable: import("@ogre-tools/injectable").Injectable<NetworkPolicyApi,
|
|
2
|
+
declare const networkPolicyApiInjectable: import("@ogre-tools/injectable").Injectable<NetworkPolicyApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default networkPolicyApiInjectable;
|
|
@@ -125,7 +125,7 @@ export declare class Node extends KubeObject<ClusterScopedMetadata, NodeStatus,
|
|
|
125
125
|
isMasterNode(): boolean;
|
|
126
126
|
getRoleLabelItems(): string[];
|
|
127
127
|
getRoleLabels(): string;
|
|
128
|
-
getCpuCapacity(): number;
|
|
128
|
+
getCpuCapacity(): number | undefined;
|
|
129
129
|
getMemoryCapacity(): number;
|
|
130
130
|
getConditions(): NodeCondition[];
|
|
131
131
|
getActiveConditions(): NodeCondition[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { NodeApi } from "./node.api";
|
|
2
|
-
declare const nodeApiInjectable: import("@ogre-tools/injectable").Injectable<NodeApi,
|
|
2
|
+
declare const nodeApiInjectable: import("@ogre-tools/injectable").Injectable<NodeApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default nodeApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PersistentVolumeClaimApi } from "./persistent-volume-claim.api";
|
|
2
|
-
declare const persistentVolumeClaimApiInjectable: import("@ogre-tools/injectable").Injectable<PersistentVolumeClaimApi,
|
|
2
|
+
declare const persistentVolumeClaimApiInjectable: import("@ogre-tools/injectable").Injectable<PersistentVolumeClaimApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default persistentVolumeClaimApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PersistentVolumeApi } from "./persistent-volume.api";
|
|
2
|
-
declare const persistentVolumeApiInjectable: import("@ogre-tools/injectable").Injectable<PersistentVolumeApi,
|
|
2
|
+
declare const persistentVolumeApiInjectable: import("@ogre-tools/injectable").Injectable<PersistentVolumeApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default persistentVolumeApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PodDisruptionBudgetApi } from "./pod-disruption-budget.api";
|
|
2
|
-
declare const podDisruptionBudgetApiInjectable: import("@ogre-tools/injectable").Injectable<PodDisruptionBudgetApi,
|
|
2
|
+
declare const podDisruptionBudgetApiInjectable: import("@ogre-tools/injectable").Injectable<PodDisruptionBudgetApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default podDisruptionBudgetApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PodMetricsApi } from "./pod-metrics.api";
|
|
2
|
-
declare const podMetricsApiInjectable: import("@ogre-tools/injectable").Injectable<PodMetricsApi,
|
|
2
|
+
declare const podMetricsApiInjectable: import("@ogre-tools/injectable").Injectable<PodMetricsApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default podMetricsApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PodSecurityPolicyApi } from "./pod-security-policy.api";
|
|
2
|
-
declare const podSecurityPolicyApiInjectable: import("@ogre-tools/injectable").Injectable<PodSecurityPolicyApi,
|
|
2
|
+
declare const podSecurityPolicyApiInjectable: import("@ogre-tools/injectable").Injectable<PodSecurityPolicyApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default podSecurityPolicyApiInjectable;
|
|
@@ -686,6 +686,7 @@ export declare class Pod extends KubeObject<NamespaceScopedMetadata, PodStatus,
|
|
|
686
686
|
getQosClass(): string;
|
|
687
687
|
getReason(): string;
|
|
688
688
|
getPriorityClassName(): string;
|
|
689
|
+
getServiceAccountName(): string;
|
|
689
690
|
getStatus(): PodStatusPhase;
|
|
690
691
|
getStatusMessage(): string;
|
|
691
692
|
getStatusPhase(): string | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PodApi } from "./pod.api";
|
|
2
|
-
declare const podApiInjectable: import("@ogre-tools/injectable").Injectable<PodApi,
|
|
2
|
+
declare const podApiInjectable: import("@ogre-tools/injectable").Injectable<PodApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default podApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PriorityClassApi } from "./priority-class.api";
|
|
2
|
-
declare const priorityClassApiInjectable: import("@ogre-tools/injectable").Injectable<PriorityClassApi,
|
|
2
|
+
declare const priorityClassApiInjectable: import("@ogre-tools/injectable").Injectable<PriorityClassApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default priorityClassApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ReplicaSetApi } from "./replica-set.api";
|
|
2
|
-
declare const replicaSetApiInjectable: import("@ogre-tools/injectable").Injectable<ReplicaSetApi,
|
|
2
|
+
declare const replicaSetApiInjectable: import("@ogre-tools/injectable").Injectable<ReplicaSetApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default replicaSetApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ResourceQuotaApi } from "./resource-quota.api";
|
|
2
|
-
declare const resourceQuotaApiInjectable: import("@ogre-tools/injectable").Injectable<ResourceQuotaApi,
|
|
2
|
+
declare const resourceQuotaApiInjectable: import("@ogre-tools/injectable").Injectable<ResourceQuotaApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default resourceQuotaApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { RoleBindingApi } from "./role-binding.api";
|
|
2
|
-
declare const roleBindingApiInjectable: import("@ogre-tools/injectable").Injectable<RoleBindingApi,
|
|
2
|
+
declare const roleBindingApiInjectable: import("@ogre-tools/injectable").Injectable<RoleBindingApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default roleBindingApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { RoleApi } from "./role.api";
|
|
2
|
-
declare const roleApiInjectable: import("@ogre-tools/injectable").Injectable<RoleApi,
|
|
2
|
+
declare const roleApiInjectable: import("@ogre-tools/injectable").Injectable<RoleApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default roleApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SecretApi } from "./secret.api";
|
|
2
|
-
declare const secretApiInjectable: import("@ogre-tools/injectable").Injectable<SecretApi,
|
|
2
|
+
declare const secretApiInjectable: import("@ogre-tools/injectable").Injectable<SecretApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default secretApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SelfSubjectRulesReviewApi } from "./self-subject-rules-reviews.api";
|
|
2
|
-
declare const selfSubjectRulesReviewApiInjectable: import("@ogre-tools/injectable").Injectable<SelfSubjectRulesReviewApi,
|
|
2
|
+
declare const selfSubjectRulesReviewApiInjectable: import("@ogre-tools/injectable").Injectable<SelfSubjectRulesReviewApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default selfSubjectRulesReviewApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ServiceAccountApi } from "./service-account.api";
|
|
2
|
-
declare const serviceAccountApiInjectable: import("@ogre-tools/injectable").Injectable<ServiceAccountApi,
|
|
2
|
+
declare const serviceAccountApiInjectable: import("@ogre-tools/injectable").Injectable<ServiceAccountApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default serviceAccountApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ServiceApi } from "./service.api";
|
|
2
|
-
declare const serviceApiInjectable: import("@ogre-tools/injectable").Injectable<ServiceApi,
|
|
2
|
+
declare const serviceApiInjectable: import("@ogre-tools/injectable").Injectable<ServiceApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default serviceApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { StatefulSetApi } from "./stateful-set.api";
|
|
2
|
-
declare const statefulSetApiInjectable: import("@ogre-tools/injectable").Injectable<StatefulSetApi,
|
|
2
|
+
declare const statefulSetApiInjectable: import("@ogre-tools/injectable").Injectable<StatefulSetApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default statefulSetApiInjectable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { StorageClassApi } from "./storage-class.api";
|
|
2
|
-
declare const storageClassApiInjectable: import("@ogre-tools/injectable").Injectable<StorageClassApi,
|
|
2
|
+
declare const storageClassApiInjectable: import("@ogre-tools/injectable").Injectable<StorageClassApi, import("../kube-api").KubeApi<any, any>, void>;
|
|
3
3
|
export default storageClassApiInjectable;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { KubeApi } from "../kube-api";
|
|
2
|
+
declare const getKubeApiFromPathInjectable: import("@ogre-tools/injectable").Injectable<(apiPath: string) => KubeApi<import("../kube-object").KubeObject<import("../kube-object").KubeObjectMetadata<import("../kube-object").KubeObjectScope>, unknown, unknown>, import("../kube-json-api").KubeJsonApiData<import("../kube-object").KubeObjectMetadata<import("../kube-object").KubeObjectScope>, unknown, unknown>>, unknown, void>;
|
|
3
|
+
export default getKubeApiFromPathInjectable;
|
|
@@ -10,10 +10,10 @@ import type { KubeJsonApiData } from "./kube-json-api";
|
|
|
10
10
|
import { KubeJsonApi } from "./kube-json-api";
|
|
11
11
|
import type { Disposer } from "../utils";
|
|
12
12
|
import type { RequestInit } from "node-fetch";
|
|
13
|
-
import type AbortController from "abort-controller";
|
|
14
13
|
import { Agent } from "https";
|
|
15
14
|
import type { Patch } from "rfc6902";
|
|
16
15
|
import type { PartialDeep } from "type-fest";
|
|
16
|
+
import type AbortController from "abort-controller";
|
|
17
17
|
/**
|
|
18
18
|
* The options used for creating a `KubeApi`
|
|
19
19
|
*/
|
|
@@ -9,9 +9,9 @@ import type { IKubeWatchEvent } from "./kube-watch-event";
|
|
|
9
9
|
import { ItemStore } from "../item.store";
|
|
10
10
|
import type { KubeApiQueryParams, KubeApi } from "./kube-api";
|
|
11
11
|
import type { RequestInit } from "node-fetch";
|
|
12
|
-
import AbortController from "abort-controller";
|
|
13
12
|
import type { Patch } from "rfc6902";
|
|
14
13
|
import type { PartialDeep } from "type-fest";
|
|
14
|
+
import AbortController from "abort-controller";
|
|
15
15
|
export declare type OnLoadFailure = (error: unknown) => void;
|
|
16
16
|
export interface KubeObjectStoreLoadingParams {
|
|
17
17
|
namespaces: string[];
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
4
|
*/
|
|
5
5
|
import type { Injectable } from "@ogre-tools/injectable";
|
|
6
|
+
export interface GlobalOverride {
|
|
7
|
+
injectable: Injectable<any, any, any>;
|
|
8
|
+
overridingInstantiate: any;
|
|
9
|
+
}
|
|
6
10
|
export declare const getGlobalOverride: <T extends Injectable<any, any, any>>(injectable: T, overridingInstantiate: T["instantiate"]) => {
|
|
7
11
|
injectable: T;
|
|
8
12
|
overridingInstantiate: T["instantiate"];
|
|
File without changes
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
4
|
*/
|
|
5
5
|
import AbortController from "abort-controller";
|
|
6
|
+
/**
|
|
7
|
+
* This is like an `AbortController` but will also abort if the parent aborts,
|
|
8
|
+
* but won't make the parent abort if this aborts (single direction)
|
|
9
|
+
*/
|
|
6
10
|
export declare class WrappedAbortController extends AbortController {
|
|
7
|
-
constructor(parent?: AbortController);
|
|
11
|
+
constructor(parent?: AbortController | undefined);
|
|
8
12
|
}
|
|
@@ -2,4 +2,4 @@
|
|
|
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
|
-
export declare function cpuUnitsToNumber(
|
|
5
|
+
export declare function cpuUnitsToNumber(value: string): number | undefined;
|
|
@@ -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 AbortController from "abort-controller";
|
|
6
6
|
/**
|
|
7
7
|
* Return a promise that will be resolved after at least `timeout` ms have
|
|
8
8
|
* passed. If `failFast` is provided then the promise is also resolved if it has
|
|
@@ -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<import("./open-link-in-browser.injectable").OpenLinkInBrowser, unknown, void>;
|
|
7
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<import("./open-link-in-browser.injectable").OpenLinkInBrowser, void>;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
@@ -14,8 +14,9 @@ declare type TupleOfImpl<T, N extends number, R extends unknown[]> = R["length"]
|
|
|
14
14
|
* @yields A tuple of the next element from each of the sources
|
|
15
15
|
* @returns The tuple of all the sources as soon as at least one of the sources is exausted
|
|
16
16
|
*/
|
|
17
|
-
export declare function zip<T>(
|
|
18
|
-
export declare function zip<T>(
|
|
17
|
+
export declare function zip<T>(...sources: Tuple<T[], 0>): Iterator<Tuple<T, 0>, Tuple<T[], 0>>;
|
|
18
|
+
export declare function zip<T>(...sources: Tuple<T[], 1>): Iterator<Tuple<T, 1>, Tuple<T[], 1>>;
|
|
19
|
+
export declare function zip<T>(...sources: Tuple<T[], 2>): Iterator<Tuple<T, 2>, Tuple<T[], 2>>;
|
|
19
20
|
/**
|
|
20
21
|
* Returns a `length` tuple filled with copies of `value`
|
|
21
22
|
* @param length The size of the tuple
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
3
|
+
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Join all entires with a PATH env var delimated string together
|
|
7
|
+
* @param PATHs Any number of PATH env variables
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This function does not attempt to handle any sort of escape sequences since after testing
|
|
10
|
+
* it was found that `zsh` (at least on `macOS`) does not when trying to find programs
|
|
11
|
+
*/
|
|
12
|
+
export declare function unionPATHs(...PATHs: string[]): string;
|
|
@@ -12,6 +12,10 @@ declare const packageJsonInjectable: import("@ogre-tools/injectable").Injectable
|
|
|
12
12
|
email: string;
|
|
13
13
|
};
|
|
14
14
|
scripts: {
|
|
15
|
+
"adr:create": string;
|
|
16
|
+
"adr:change-status": string;
|
|
17
|
+
"adr:update-readme": string;
|
|
18
|
+
"adr:list": string;
|
|
15
19
|
dev: string;
|
|
16
20
|
"dev-build": string;
|
|
17
21
|
"debug-build": string;
|
|
@@ -128,6 +132,9 @@ declare const packageJsonInjectable: import("@ogre-tools/injectable").Injectable
|
|
|
128
132
|
role: string;
|
|
129
133
|
};
|
|
130
134
|
};
|
|
135
|
+
resolutions: {
|
|
136
|
+
"@astronautlabs/jsonpath/underscore": string;
|
|
137
|
+
};
|
|
131
138
|
dependencies: {
|
|
132
139
|
"@astronautlabs/jsonpath": string;
|
|
133
140
|
"@hapi/call": string;
|
|
@@ -208,6 +215,7 @@ declare const packageJsonInjectable: import("@ogre-tools/injectable").Injectable
|
|
|
208
215
|
"winston-console-format": string;
|
|
209
216
|
"winston-transport-browserconsole": string;
|
|
210
217
|
ws: string;
|
|
218
|
+
"xterm-link-provider": string;
|
|
211
219
|
};
|
|
212
220
|
devDependencies: {
|
|
213
221
|
"@async-fn/jest": string;
|
|
@@ -278,6 +286,7 @@ declare const packageJsonInjectable: import("@ogre-tools/injectable").Injectable
|
|
|
278
286
|
"@types/webpack-node-externals": string;
|
|
279
287
|
"@typescript-eslint/eslint-plugin": string;
|
|
280
288
|
"@typescript-eslint/parser": string;
|
|
289
|
+
adr: string;
|
|
281
290
|
ansi_up: string;
|
|
282
291
|
"chart.js": string;
|
|
283
292
|
"circular-dependency-plugin": string;
|
|
@@ -2,6 +2,11 @@
|
|
|
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
|
-
export { Singleton,
|
|
5
|
+
export { Singleton, getAppVersion } from "../../common/utils";
|
|
6
6
|
export { prevDefault, stopPropagation } from "../../renderer/utils/prevDefault";
|
|
7
7
|
export { cssNames } from "../../renderer/utils/cssNames";
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated Use {@link openBrowser} instead
|
|
10
|
+
*/
|
|
11
|
+
export declare const openExternal: import("../../common/utils/open-link-in-browser.injectable").OpenLinkInBrowser;
|
|
12
|
+
export declare const openBrowser: import("../../common/utils/open-link-in-browser.injectable").OpenLinkInBrowser;
|