@k8slens/extensions 5.4.0-git.ff14603be6.0 → 5.4.1-git.070ef31220.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/app-event-bus/event-bus.d.ts +2 -2
- package/dist/src/common/catalog-entities/web-link.d.ts +2 -2
- package/dist/src/common/ipc/native-theme.d.ts +6 -0
- package/dist/src/common/k8s-api/api-manager.d.ts +3 -3
- package/dist/src/common/k8s-api/endpoints/crd.api.d.ts +2 -2
- package/dist/src/common/k8s-api/kube-api.d.ts +2 -2
- package/dist/src/common/utils/index.d.ts +1 -1
- package/dist/src/common/utils/lazy-initialized.d.ts +17 -0
- package/dist/src/common/utils/singleton.d.ts +2 -2
- package/dist/src/common/utils/tuple.d.ts +2 -2
- package/dist/src/common/vars.d.ts +11 -0
- package/dist/src/extensions/common-api/registrations.d.ts +1 -1
- package/dist/src/extensions/extension-api.js +61 -162
- package/dist/src/extensions/lens-renderer-extension.d.ts +4 -2
- package/dist/src/extensions/registries/index.d.ts +0 -2
- package/dist/src/extensions/renderer-api/kube-object-status.d.ts +2 -2
- package/dist/src/main/cluster-detectors/base-cluster-detector.d.ts +2 -2
- package/dist/src/main/helm/exec.d.ts +12 -0
- package/dist/src/main/kube-auth-proxy/kube-auth-proxy.d.ts +2 -3
- package/dist/src/main/kubectl/kubectl.d.ts +0 -1
- package/dist/src/main/lens-proxy.d.ts +4 -4
- package/dist/src/{renderer/initializers/workloads-overview-detail-registry.d.ts → main/native-theme.d.ts} +2 -1
- package/dist/src/main/prometheus/provider-registry.d.ts +2 -2
- package/dist/src/main/router.d.ts +3 -0
- package/dist/src/renderer/components/+catalog/catalog-add-button.d.ts +2 -2
- package/dist/src/renderer/components/+catalog/catalog-entity-details.d.ts +2 -3
- package/dist/src/renderer/components/+catalog/catalog-menu.d.ts +3 -4
- package/dist/src/renderer/components/+catalog/catalog.d.ts +2 -3
- package/dist/src/renderer/components/+cluster/cluster-issues.d.ts +3 -3
- package/dist/src/renderer/components/+cluster/cluster-no-metrics.d.ts +2 -3
- package/dist/src/renderer/components/+config-autoscalers/hpa.d.ts +2 -3
- package/dist/src/renderer/components/+config-limit-ranges/limit-range-details.d.ts +2 -3
- package/dist/src/renderer/components/+config-limit-ranges/limit-ranges.d.ts +2 -3
- package/dist/src/renderer/components/+config-maps/config-map-details.d.ts +3 -4
- package/dist/src/renderer/components/+config-maps/config-maps.d.ts +2 -3
- package/dist/src/renderer/components/+config-pod-disruption-budgets/pod-disruption-budgets-details.d.ts +2 -3
- package/dist/src/renderer/components/+config-pod-disruption-budgets/pod-disruption-budgets.d.ts +2 -3
- package/dist/src/renderer/components/+config-resource-quotas/add-quota-dialog.d.ts +3 -4
- package/dist/src/renderer/components/+config-resource-quotas/resource-quota-details.d.ts +2 -3
- package/dist/src/renderer/components/+config-resource-quotas/resource-quotas.d.ts +2 -3
- package/dist/src/renderer/components/+config-secrets/add-secret-dialog.d.ts +3 -3
- package/dist/src/renderer/components/+config-secrets/secret-details.d.ts +3 -4
- package/dist/src/renderer/components/+config-secrets/secrets.d.ts +2 -3
- package/dist/src/renderer/components/+custom-resources/crd-details.d.ts +2 -3
- package/dist/src/renderer/components/+custom-resources/crd-list.d.ts +1 -1
- package/dist/src/renderer/components/+custom-resources/crd-resource-details.d.ts +2 -3
- package/dist/src/renderer/components/+custom-resources/crd-resources.d.ts +3 -4
- package/dist/src/renderer/components/+entity-settings/entity-settings.d.ts +3 -4
- package/dist/src/renderer/components/+events/event-details.d.ts +2 -3
- package/dist/src/renderer/components/+events/events.d.ts +3 -4
- package/dist/src/renderer/components/+events/kube-event-icon.d.ts +2 -3
- package/dist/src/renderer/components/+extensions/install.d.ts +2 -3
- package/dist/src/renderer/components/+extensions/installed-extensions.d.ts +2 -3
- package/dist/src/renderer/components/+extensions/notice.d.ts +2 -3
- package/dist/src/renderer/components/+helm-charts/helm-chart-details.d.ts +2 -3
- package/dist/src/renderer/components/+helm-charts/helm-charts.d.ts +2 -3
- package/dist/src/renderer/components/+helm-releases/release-details/release-details.d.ts +2 -3
- package/dist/src/renderer/components/+helm-releases/release-menu.d.ts +2 -3
- package/dist/src/renderer/components/+helm-releases/release-rollback-dialog.d.ts +2 -3
- package/dist/src/renderer/components/+helm-releases/releases.d.ts +2 -3
- package/dist/src/renderer/components/+namespaces/add-namespace-dialog.d.ts +2 -3
- package/dist/src/renderer/components/+namespaces/namespace-details.d.ts +2 -3
- package/dist/src/renderer/components/+namespaces/namespace-select-filter.d.ts +3 -0
- package/dist/src/renderer/components/+namespaces/namespace-select.d.ts +2 -3
- package/dist/src/renderer/components/+network-endpoints/endpoint-details.d.ts +2 -3
- package/dist/src/renderer/components/+network-endpoints/endpoint-subset-list.d.ts +2 -3
- package/dist/src/renderer/components/+network-endpoints/endpoints.d.ts +2 -3
- package/dist/src/renderer/components/+network-ingresses/ingress-details.d.ts +3 -4
- package/dist/src/renderer/components/+network-ingresses/ingresses.d.ts +2 -3
- package/dist/src/renderer/components/+network-policies/network-policies.d.ts +2 -3
- package/dist/src/renderer/components/+network-policies/network-policy-details.d.ts +2 -3
- package/dist/src/renderer/components/+network-port-forwards/port-forward-details.d.ts +2 -3
- package/dist/src/renderer/components/+network-port-forwards/port-forward-menu.d.ts +2 -3
- package/dist/src/renderer/components/+network-port-forwards/port-forwards.d.ts +2 -3
- package/dist/src/renderer/components/+network-services/service-details-endpoint.d.ts +2 -3
- package/dist/src/renderer/components/+network-services/service-details.d.ts +2 -3
- package/dist/src/renderer/components/+network-services/service-port-component.d.ts +2 -3
- package/dist/src/renderer/components/+network-services/services.d.ts +2 -3
- package/dist/src/renderer/components/+nodes/details-resources.d.ts +2 -3
- package/dist/src/renderer/components/+nodes/details.d.ts +2 -3
- package/dist/src/renderer/components/+nodes/route.d.ts +3 -4
- package/dist/src/renderer/components/+pod-security-policies/pod-security-policy-details.d.ts +2 -2
- package/dist/src/renderer/components/+preferences/add-helm-repo-dialog.d.ts +4 -4
- package/dist/src/renderer/components/+preferences/extension-settings.d.ts +1 -2
- package/dist/src/renderer/components/+preferences/removable-item.d.ts +2 -3
- package/dist/src/renderer/components/+storage-classes/storage-class-details.d.ts +2 -3
- package/dist/src/renderer/components/+storage-classes/storage-classes.d.ts +2 -3
- package/dist/src/renderer/components/+storage-volume-claims/volume-claim-details.d.ts +3 -4
- package/dist/src/renderer/components/+storage-volume-claims/volume-claims.d.ts +2 -3
- package/dist/src/renderer/components/+storage-volumes/volume-details-list.d.ts +2 -3
- package/dist/src/renderer/components/+storage-volumes/volume-details.d.ts +2 -3
- package/dist/src/renderer/components/+storage-volumes/volumes.d.ts +2 -3
- package/dist/src/renderer/components/+user-management/+cluster-role-bindings/details.d.ts +3 -4
- package/dist/src/renderer/components/+user-management/+cluster-role-bindings/dialog.d.ts +3 -3
- package/dist/src/renderer/components/+user-management/+cluster-role-bindings/view.d.ts +2 -3
- package/dist/src/renderer/components/+user-management/+cluster-roles/add-dialog.d.ts +3 -4
- package/dist/src/renderer/components/+user-management/+cluster-roles/details.d.ts +2 -3
- package/dist/src/renderer/components/+user-management/+cluster-roles/view.d.ts +2 -3
- package/dist/src/renderer/components/+user-management/+role-bindings/details.d.ts +2 -3
- package/dist/src/renderer/components/+user-management/+role-bindings/dialog.d.ts +3 -3
- package/dist/src/renderer/components/+user-management/+role-bindings/view.d.ts +2 -3
- package/dist/src/renderer/components/+user-management/+roles/add-dialog.d.ts +3 -4
- package/dist/src/renderer/components/+user-management/+roles/details.d.ts +2 -3
- package/dist/src/renderer/components/+user-management/+roles/view.d.ts +2 -3
- package/dist/src/renderer/components/+user-management/+service-accounts/create-dialog.d.ts +3 -4
- package/dist/src/renderer/components/+user-management/+service-accounts/details.d.ts +3 -4
- package/dist/src/renderer/components/+user-management/+service-accounts/secret.d.ts +2 -2
- package/dist/src/renderer/components/+user-management/+service-accounts/view.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-cronjobs/cronjob-details.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-cronjobs/cronjob-trigger-dialog.d.ts +3 -4
- package/dist/src/renderer/components/+workloads-cronjobs/cronjobs.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-daemonsets/daemonset-details.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-daemonsets/daemonsets.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-deployments/deployment-details.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-deployments/deployment-replicasets.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-deployments/deployment-scale-dialog.d.ts +3 -4
- package/dist/src/renderer/components/+workloads-deployments/deployments.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-jobs/job-details.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-jobs/jobs.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-overview/detail-components.injectable.d.ts +4 -0
- package/dist/src/renderer/components/+workloads-overview/overview-workload-status.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-overview/overview.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-overview/workloads-overview-detail-registration.d.ts +13 -0
- package/dist/src/renderer/components/+workloads-pods/pod-container-env.d.ts +9 -3
- package/dist/src/renderer/components/+workloads-pods/pod-container-port.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-pods/pod-details-affinities.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-pods/pod-details-container.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-pods/pod-details-list.d.ts +2 -5
- package/dist/src/renderer/components/+workloads-pods/pod-details-secrets.d.ts +3 -4
- package/dist/src/renderer/components/+workloads-pods/pod-details-statuses.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-pods/pod-details-tolerations.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-pods/pod-details.d.ts +3 -4
- package/dist/src/renderer/components/+workloads-pods/pod-tolerations.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-pods/pods.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-replicasets/replicaset-details.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-replicasets/replicaset-scale-dialog.d.ts +3 -4
- package/dist/src/renderer/components/+workloads-replicasets/replicasets.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-statefulsets/statefulset-details.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-statefulsets/statefulset-scale-dialog.d.ts +3 -4
- package/dist/src/renderer/components/+workloads-statefulsets/statefulsets.d.ts +2 -3
- package/dist/src/renderer/components/chart/bar-chart.d.ts +2 -3
- package/dist/src/renderer/components/chart/pie-chart.d.ts +2 -3
- package/dist/src/renderer/components/cluster-manager/cluster-status.d.ts +3 -4
- package/dist/src/renderer/components/cluster-manager/cluster-view.d.ts +3 -4
- package/dist/src/renderer/components/cluster-settings/components/cluster-accessible-namespaces.d.ts +3 -4
- package/dist/src/renderer/components/cluster-settings/components/cluster-icon-settings.d.ts +2 -2
- package/dist/src/renderer/components/cluster-settings/components/cluster-kubeconfig.d.ts +2 -3
- package/dist/src/renderer/components/cluster-settings/components/cluster-local-terminal-settings.d.ts +2 -3
- package/dist/src/renderer/components/cluster-settings/components/cluster-metrics-setting.d.ts +3 -4
- package/dist/src/renderer/components/cluster-settings/components/cluster-name-setting.d.ts +3 -4
- package/dist/src/renderer/components/cluster-settings/components/cluster-node-shell-setting.d.ts +3 -4
- package/dist/src/renderer/components/cluster-settings/components/cluster-prometheus-setting.d.ts +3 -4
- package/dist/src/renderer/components/cluster-settings/components/cluster-proxy-setting.d.ts +3 -4
- package/dist/src/renderer/components/cluster-settings/components/cluster-show-metrics.d.ts +3 -4
- package/dist/src/renderer/components/delete-cluster-dialog/delete-cluster-dialog.d.ts +6 -5
- package/dist/src/renderer/components/dialog/logs-dialog.d.ts +2 -3
- package/dist/src/renderer/components/dock/create-resource/view.d.ts +2 -3
- package/dist/src/renderer/components/dock/dock-tabs.d.ts +2 -3
- package/dist/src/renderer/components/dock/dock.d.ts +2 -3
- package/dist/src/renderer/components/dock/edit-resource/view.d.ts +2 -3
- package/dist/src/renderer/components/dock/info-panel.d.ts +3 -4
- package/dist/src/renderer/components/dock/install-chart/view.d.ts +2 -3
- package/dist/src/renderer/components/dock/terminal/dock-tab.d.ts +2 -3
- package/dist/src/renderer/components/dock/terminal/view.d.ts +2 -3
- package/dist/src/renderer/components/dock/upgrade-chart/view.d.ts +4 -4
- package/dist/src/renderer/components/editable-list/editable-list.d.ts +3 -3
- package/dist/src/renderer/components/error-boundary/error-boundary.d.ts +2 -2
- package/dist/src/renderer/components/file-picker/file-picker.d.ts +3 -3
- package/dist/src/renderer/components/hotbar/hotbar-cell.d.ts +2 -3
- package/dist/src/renderer/components/hotbar/hotbar-entity-icon.d.ts +3 -4
- package/dist/src/renderer/components/hotbar/hotbar-icon.d.ts +2 -2
- package/dist/src/renderer/components/hotbar/hotbar-menu.d.ts +3 -4
- package/dist/src/renderer/components/input/file-input.d.ts +2 -3
- package/dist/src/renderer/components/input/input.d.ts +1 -1
- package/dist/src/renderer/components/input/search-input.d.ts +2 -3
- package/dist/src/renderer/components/item-object-list/content.d.ts +1 -2
- package/dist/src/renderer/components/item-object-list/filter-icon.d.ts +2 -3
- package/dist/src/renderer/components/item-object-list/page-filters-list.d.ts +3 -4
- package/dist/src/renderer/components/kube-object-status-icon/kube-object-status-icon.d.ts +5 -7
- package/dist/src/renderer/components/kube-object-status-icon/kube-object-status-icon.test.d.ts +1 -0
- package/dist/src/renderer/components/kube-object-status-icon/kube-object-status-registration.d.ts +11 -0
- package/dist/src/renderer/components/kube-object-status-icon/status-registrations.injectable.d.ts +3 -0
- package/dist/src/renderer/components/kube-object-status-icon/statuses-for-kube-object.injectable.d.ts +4 -0
- package/dist/src/renderer/components/kubeconfig-dialog/kubeconfig-dialog.d.ts +3 -3
- package/dist/src/renderer/components/layout/close-button.d.ts +2 -3
- package/dist/src/renderer/components/layout/main-layout.d.ts +2 -3
- package/dist/src/renderer/components/layout/sidebar-item.d.ts +1 -2
- package/dist/src/renderer/components/layout/sidebar.d.ts +1 -2
- package/dist/src/renderer/components/layout/sub-title.d.ts +2 -3
- package/dist/src/renderer/components/list/list.d.ts +2 -3
- package/dist/src/renderer/components/locale-date/locale-date.d.ts +2 -3
- package/dist/src/renderer/components/markdown-viewer/markdown-viewer.d.ts +3 -4
- package/dist/src/renderer/components/no-items/no-items.d.ts +2 -3
- package/dist/src/renderer/components/render-delay/render-delay.d.ts +3 -4
- package/dist/src/renderer/components/resizing-anchor/resizing-anchor.d.ts +3 -3
- package/dist/src/renderer/components/resource-metrics/resource-metrics-text.d.ts +3 -4
- package/dist/src/renderer/components/resource-metrics/resource-metrics.d.ts +4 -8
- package/dist/src/renderer/components/scroll-spy/scroll-spy.d.ts +2 -3
- package/dist/src/renderer/components/select/select.test.d.ts +1 -0
- package/dist/src/renderer/components/switch/switch.d.ts +2 -3
- package/dist/src/renderer/components/switch/switcher.d.ts +2 -2
- package/dist/src/renderer/components/table/react-table.d.ts +2 -3
- package/dist/src/renderer/components/table/table.d.ts +2 -2
- package/dist/src/renderer/components/tree-view/tree-view.d.ts +2 -3
- package/dist/src/renderer/components/virtual-list/virtual-list.d.ts +12 -4
- package/dist/src/renderer/components/wizard/wizard.d.ts +9 -8
- package/dist/src/renderer/initializers/index.d.ts +0 -1
- package/dist/src/renderer/port-forward/port-forward-dialog.d.ts +2 -3
- package/dist/src/renderer/theme.store.d.ts +5 -0
- package/dist/src/renderer/utils/cssNames.d.ts +1 -3
- package/package.json +1 -1
- package/dist/src/common/utils/types.d.ts +0 -10
- package/dist/src/extensions/registries/kube-object-status-registry.d.ts +0 -15
- package/dist/src/extensions/registries/workloads-overview-detail-registry.d.ts +0 -19
- package/dist/src/main/helm/helm-cli.d.ts +0 -13
- package/dist/src/main/lens-binary.d.ts +0 -42
- package/dist/webpack.dev-server.d.ts +0 -14
- package/dist/webpack.renderer.d.ts +0 -25
|
@@ -3,14 +3,13 @@
|
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
4
|
*/
|
|
5
5
|
import React from "react";
|
|
6
|
-
interface
|
|
6
|
+
export interface InstallProps {
|
|
7
7
|
installPath: string;
|
|
8
8
|
supportedFormats: string[];
|
|
9
9
|
onChange: (path: string) => void;
|
|
10
10
|
installFromInput: () => void;
|
|
11
11
|
installFromSelectFileDialog: () => void;
|
|
12
12
|
}
|
|
13
|
-
export declare const Install: React.ForwardRefExoticComponent<
|
|
13
|
+
export declare const Install: React.ForwardRefExoticComponent<InstallProps & React.RefAttributes<any> & {
|
|
14
14
|
children?: React.ReactNode;
|
|
15
15
|
}>;
|
|
16
|
-
export {};
|
|
@@ -5,13 +5,12 @@
|
|
|
5
5
|
import React from "react";
|
|
6
6
|
import type { InstalledExtension } from "../../../extensions/extension-discovery/extension-discovery";
|
|
7
7
|
import type { LensExtensionId } from "../../../extensions/lens-extension";
|
|
8
|
-
interface
|
|
8
|
+
export interface InstalledExtensionsProps {
|
|
9
9
|
extensions: InstalledExtension[];
|
|
10
10
|
enable: (id: LensExtensionId) => void;
|
|
11
11
|
disable: (id: LensExtensionId) => void;
|
|
12
12
|
uninstall: (extension: InstalledExtension) => void;
|
|
13
13
|
}
|
|
14
|
-
export declare const InstalledExtensions: React.ForwardRefExoticComponent<
|
|
14
|
+
export declare const InstalledExtensions: React.ForwardRefExoticComponent<InstalledExtensionsProps & React.RefAttributes<any> & {
|
|
15
15
|
children?: React.ReactNode;
|
|
16
16
|
}>;
|
|
17
|
-
export {};
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
4
|
*/
|
|
5
5
|
import { DOMAttributes } from "react";
|
|
6
|
-
interface
|
|
6
|
+
export interface NoticeProps extends DOMAttributes<any> {
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function Notice(props:
|
|
10
|
-
export {};
|
|
9
|
+
export declare function Notice(props: NoticeProps): JSX.Element;
|
|
@@ -5,11 +5,10 @@
|
|
|
5
5
|
import "./helm-chart-details.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { HelmChart } from "../../../common/k8s-api/endpoints/helm-charts.api";
|
|
8
|
-
interface
|
|
8
|
+
export interface HelmChartDetailsProps {
|
|
9
9
|
chart: HelmChart;
|
|
10
10
|
hideDetails(): void;
|
|
11
11
|
}
|
|
12
|
-
export declare const HelmChartDetails: React.ForwardRefExoticComponent<
|
|
12
|
+
export declare const HelmChartDetails: React.ForwardRefExoticComponent<HelmChartDetailsProps & React.RefAttributes<any> & {
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
}>;
|
|
15
|
-
export {};
|
|
@@ -7,9 +7,9 @@ import { Component } from "react";
|
|
|
7
7
|
import type { RouteComponentProps } from "react-router";
|
|
8
8
|
import type { HelmChart } from "../../../common/k8s-api/endpoints/helm-charts.api";
|
|
9
9
|
import type { HelmChartsRouteParams } from "../../../common/routes";
|
|
10
|
-
interface
|
|
10
|
+
export interface HelmChartsProps extends RouteComponentProps<HelmChartsRouteParams> {
|
|
11
11
|
}
|
|
12
|
-
export declare class HelmCharts extends Component<
|
|
12
|
+
export declare class HelmCharts extends Component<HelmChartsProps> {
|
|
13
13
|
componentDidMount(): void;
|
|
14
14
|
get selectedChart(): HelmChart;
|
|
15
15
|
onDetails: (chart: HelmChart) => void;
|
|
@@ -17,4 +17,3 @@ export declare class HelmCharts extends Component<Props> {
|
|
|
17
17
|
hideDetails: () => void;
|
|
18
18
|
render(): JSX.Element;
|
|
19
19
|
}
|
|
20
|
-
export {};
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import "./release-details.scss";
|
|
6
6
|
import React from "react";
|
|
7
|
-
interface
|
|
7
|
+
export interface ReleaseDetailsProps {
|
|
8
8
|
hideDetails(): void;
|
|
9
9
|
}
|
|
10
|
-
export declare const ReleaseDetails: React.ForwardRefExoticComponent<
|
|
10
|
+
export declare const ReleaseDetails: React.ForwardRefExoticComponent<ReleaseDetailsProps & React.RefAttributes<any> & {
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
}>;
|
|
13
|
-
export {};
|
|
@@ -5,11 +5,10 @@
|
|
|
5
5
|
import React from "react";
|
|
6
6
|
import type { HelmRelease } from "../../../common/k8s-api/endpoints/helm-releases.api";
|
|
7
7
|
import { MenuActionsProps } from "../menu/menu-actions";
|
|
8
|
-
interface
|
|
8
|
+
export interface HelmReleaseMenuProps extends MenuActionsProps {
|
|
9
9
|
release: HelmRelease;
|
|
10
10
|
hideDetails?(): void;
|
|
11
11
|
}
|
|
12
|
-
export declare const HelmReleaseMenu: React.ForwardRefExoticComponent<
|
|
12
|
+
export declare const HelmReleaseMenu: React.ForwardRefExoticComponent<HelmReleaseMenuProps & React.RefAttributes<any> & {
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
}>;
|
|
15
|
-
export {};
|
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
import "./release-rollback-dialog.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { DialogProps } from "../dialog";
|
|
8
|
-
interface
|
|
8
|
+
export interface ReleaseRollbackDialogProps extends DialogProps {
|
|
9
9
|
}
|
|
10
|
-
export declare const ReleaseRollbackDialog: React.ForwardRefExoticComponent<
|
|
10
|
+
export declare const ReleaseRollbackDialog: React.ForwardRefExoticComponent<ReleaseRollbackDialogProps & React.RefAttributes<any> & {
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
}>;
|
|
13
|
-
export {};
|
|
@@ -7,9 +7,8 @@ import "./releases.scss";
|
|
|
7
7
|
import React from "react";
|
|
8
8
|
import type { RouteComponentProps } from "react-router";
|
|
9
9
|
import type { ReleaseRouteParams } from "../../../common/routes";
|
|
10
|
-
interface
|
|
10
|
+
export interface HelmReleasesProps extends RouteComponentProps<ReleaseRouteParams> {
|
|
11
11
|
}
|
|
12
|
-
export declare const HelmReleases: React.ForwardRefExoticComponent<
|
|
12
|
+
export declare const HelmReleases: React.ForwardRefExoticComponent<HelmReleasesProps & React.RefAttributes<any> & {
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
}>;
|
|
15
|
-
export {};
|
|
@@ -6,11 +6,10 @@ import "./add-namespace-dialog.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { DialogProps } from "../dialog";
|
|
8
8
|
import type { Namespace } from "../../../common/k8s-api/endpoints";
|
|
9
|
-
interface
|
|
9
|
+
export interface AddNamespaceDialogProps extends DialogProps {
|
|
10
10
|
onSuccess?(ns: Namespace): void;
|
|
11
11
|
onError?(error: any): void;
|
|
12
12
|
}
|
|
13
|
-
export declare const AddNamespaceDialog: React.ForwardRefExoticComponent<
|
|
13
|
+
export declare const AddNamespaceDialog: React.ForwardRefExoticComponent<AddNamespaceDialogProps & React.RefAttributes<any> & {
|
|
14
14
|
children?: React.ReactNode;
|
|
15
15
|
}>;
|
|
16
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./namespace-details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { Namespace } from "../../../common/k8s-api/endpoints";
|
|
8
8
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
9
|
-
interface
|
|
9
|
+
export interface NamespaceDetailsProps extends KubeObjectDetailsProps<Namespace> {
|
|
10
10
|
}
|
|
11
|
-
export declare const NamespaceDetails: React.ForwardRefExoticComponent<
|
|
11
|
+
export declare const NamespaceDetails: React.ForwardRefExoticComponent<NamespaceDetailsProps & React.RefAttributes<any> & {
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}>;
|
|
14
|
-
export {};
|
|
@@ -4,7 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import "./namespace-select-filter.scss";
|
|
6
6
|
import React from "react";
|
|
7
|
+
import { OptionTypeBase, PlaceholderProps } from "react-select";
|
|
7
8
|
import type { SelectProps } from "../select";
|
|
8
9
|
export declare const NamespaceSelectFilter: React.ForwardRefExoticComponent<SelectProps<any> & React.RefAttributes<any> & {
|
|
9
10
|
children?: React.ReactNode;
|
|
10
11
|
}>;
|
|
12
|
+
export interface CustomPlaceholderProps extends PlaceholderProps<OptionTypeBase, boolean> {
|
|
13
|
+
}
|
|
@@ -5,13 +5,12 @@
|
|
|
5
5
|
import "./namespace-select.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { SelectOption, SelectProps } from "../select";
|
|
8
|
-
interface
|
|
8
|
+
export interface NamespaceSelectProps extends SelectProps {
|
|
9
9
|
showIcons?: boolean;
|
|
10
10
|
sort?: (a: SelectOption<string>, b: SelectOption<string>) => number;
|
|
11
11
|
showAllNamespacesOption?: boolean;
|
|
12
12
|
customizeOptions?(options: SelectOption[]): SelectOption[];
|
|
13
13
|
}
|
|
14
|
-
export declare const NamespaceSelect: React.ForwardRefExoticComponent<
|
|
14
|
+
export declare const NamespaceSelect: React.ForwardRefExoticComponent<NamespaceSelectProps & React.RefAttributes<any> & {
|
|
15
15
|
children?: React.ReactNode;
|
|
16
16
|
}>;
|
|
17
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./endpoint-details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
8
8
|
import { Endpoint } from "../../../common/k8s-api/endpoints";
|
|
9
|
-
interface
|
|
9
|
+
export interface EndpointDetailsProps extends KubeObjectDetailsProps<Endpoint> {
|
|
10
10
|
}
|
|
11
|
-
export declare class EndpointDetails extends React.Component<
|
|
11
|
+
export declare class EndpointDetails extends React.Component<EndpointDetailsProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -5,15 +5,14 @@
|
|
|
5
5
|
import "./endpoint-subset-list.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { EndpointSubset, Endpoint, EndpointAddress } from "../../../common/k8s-api/endpoints";
|
|
8
|
-
interface
|
|
8
|
+
export interface EndpointSubsetListProps {
|
|
9
9
|
subset: EndpointSubset;
|
|
10
10
|
endpoint: Endpoint;
|
|
11
11
|
}
|
|
12
|
-
export declare class EndpointSubsetList extends React.Component<
|
|
12
|
+
export declare class EndpointSubsetList extends React.Component<EndpointSubsetListProps> {
|
|
13
13
|
getAddressTableRow(ip: string): JSX.Element;
|
|
14
14
|
getNotReadyAddressTableRow(ip: string): JSX.Element;
|
|
15
15
|
renderAddressTable(addresses: EndpointAddress[], virtual: boolean): JSX.Element;
|
|
16
16
|
renderAddressTableRow(address: EndpointAddress): JSX.Element;
|
|
17
17
|
render(): JSX.Element;
|
|
18
18
|
}
|
|
19
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./endpoints.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { RouteComponentProps } from "react-router-dom";
|
|
8
8
|
import type { EndpointRouteParams } from "../../../common/routes";
|
|
9
|
-
interface
|
|
9
|
+
export interface EndpointsProps extends RouteComponentProps<EndpointRouteParams> {
|
|
10
10
|
}
|
|
11
|
-
export declare class Endpoints extends React.Component<
|
|
11
|
+
export declare class Endpoints extends React.Component<EndpointsProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -7,15 +7,14 @@ import React from "react";
|
|
|
7
7
|
import { ILoadBalancerIngress, Ingress } from "../../../common/k8s-api/endpoints";
|
|
8
8
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
9
9
|
import { type IIngressMetrics } from "../../../common/k8s-api/endpoints/ingress.api";
|
|
10
|
-
interface
|
|
10
|
+
export interface IngressDetailsProps extends KubeObjectDetailsProps<Ingress> {
|
|
11
11
|
}
|
|
12
|
-
export declare class IngressDetails extends React.Component<
|
|
12
|
+
export declare class IngressDetails extends React.Component<IngressDetailsProps> {
|
|
13
13
|
metrics: IIngressMetrics;
|
|
14
|
-
constructor(props:
|
|
14
|
+
constructor(props: IngressDetailsProps);
|
|
15
15
|
componentDidMount(): void;
|
|
16
16
|
loadMetrics(): Promise<void>;
|
|
17
17
|
renderPaths(ingress: Ingress): JSX.Element[];
|
|
18
18
|
renderIngressPoints(ingressPoints: ILoadBalancerIngress[]): JSX.Element;
|
|
19
19
|
render(): JSX.Element;
|
|
20
20
|
}
|
|
21
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./ingresses.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { RouteComponentProps } from "react-router-dom";
|
|
8
8
|
import type { IngressRouteParams } from "../../../common/routes";
|
|
9
|
-
interface
|
|
9
|
+
export interface IngressesProps extends RouteComponentProps<IngressRouteParams> {
|
|
10
10
|
}
|
|
11
|
-
export declare class Ingresses extends React.Component<
|
|
11
|
+
export declare class Ingresses extends React.Component<IngressesProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./network-policies.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { RouteComponentProps } from "react-router-dom";
|
|
8
8
|
import type { NetworkPoliciesRouteParams } from "../../../common/routes";
|
|
9
|
-
interface
|
|
9
|
+
export interface NetworkPoliciesProps extends RouteComponentProps<NetworkPoliciesRouteParams> {
|
|
10
10
|
}
|
|
11
|
-
export declare class NetworkPolicies extends React.Component<
|
|
11
|
+
export declare class NetworkPolicies extends React.Component<NetworkPoliciesProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -6,9 +6,9 @@ import React from "react";
|
|
|
6
6
|
import { IPolicyIpBlock, NetworkPolicy, NetworkPolicyPeer, NetworkPolicyPort } from "../../../common/k8s-api/endpoints/network-policy.api";
|
|
7
7
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
8
8
|
import type { LabelMatchExpression, LabelSelector } from "../../../common/k8s-api/kube-object";
|
|
9
|
-
interface
|
|
9
|
+
export interface NetworkPolicyDetailsProps extends KubeObjectDetailsProps<NetworkPolicy> {
|
|
10
10
|
}
|
|
11
|
-
export declare class NetworkPolicyDetails extends React.Component<
|
|
11
|
+
export declare class NetworkPolicyDetails extends React.Component<NetworkPolicyDetailsProps> {
|
|
12
12
|
renderIPolicyIpBlock(ipBlock: IPolicyIpBlock | undefined): JSX.Element;
|
|
13
13
|
renderMatchLabels(matchLabels: Record<string, string | undefined> | undefined): JSX.Element[];
|
|
14
14
|
renderMatchExpressions(matchExpressions: LabelMatchExpression[] | undefined): JSX.Element[];
|
|
@@ -17,4 +17,3 @@ export declare class NetworkPolicyDetails extends React.Component<Props> {
|
|
|
17
17
|
renderNetworkPolicyPorts(ports: NetworkPolicyPort[] | undefined): JSX.Element;
|
|
18
18
|
render(): JSX.Element;
|
|
19
19
|
}
|
|
20
|
-
export {};
|
|
@@ -5,13 +5,12 @@
|
|
|
5
5
|
import "./port-forward-details.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { PortForwardItem } from "../../port-forward";
|
|
8
|
-
interface
|
|
8
|
+
export interface PortForwardDetailsProps {
|
|
9
9
|
portForward: PortForwardItem;
|
|
10
10
|
hideDetails(): void;
|
|
11
11
|
}
|
|
12
|
-
export declare class PortForwardDetails extends React.Component<
|
|
12
|
+
export declare class PortForwardDetails extends React.Component<PortForwardDetailsProps> {
|
|
13
13
|
renderResourceName(): JSX.Element;
|
|
14
14
|
renderContent(): JSX.Element;
|
|
15
15
|
render(): JSX.Element;
|
|
16
16
|
}
|
|
17
|
-
export {};
|
|
@@ -5,11 +5,10 @@
|
|
|
5
5
|
import React from "react";
|
|
6
6
|
import { PortForwardItem } from "../../port-forward";
|
|
7
7
|
import { MenuActionsProps } from "../menu/menu-actions";
|
|
8
|
-
interface
|
|
8
|
+
export interface PortForwardMenuProps extends MenuActionsProps {
|
|
9
9
|
portForward: PortForwardItem;
|
|
10
10
|
hideDetails?(): void;
|
|
11
11
|
}
|
|
12
|
-
export declare const PortForwardMenu: React.ForwardRefExoticComponent<
|
|
12
|
+
export declare const PortForwardMenu: React.ForwardRefExoticComponent<PortForwardMenuProps & React.RefAttributes<any> & {
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
}>;
|
|
15
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./port-forwards.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { RouteComponentProps } from "react-router-dom";
|
|
8
8
|
import { PortForwardsRouteParams } from "../../../common/routes";
|
|
9
|
-
interface
|
|
9
|
+
export interface PortForwardsProps extends RouteComponentProps<PortForwardsRouteParams> {
|
|
10
10
|
}
|
|
11
|
-
export declare const PortForwards: React.ForwardRefExoticComponent<
|
|
11
|
+
export declare const PortForwards: React.ForwardRefExoticComponent<PortForwardsProps & React.RefAttributes<any> & {
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}>;
|
|
14
|
-
export {};
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { KubeObject } from "../../../common/k8s-api/kube-object";
|
|
6
6
|
import React from "react";
|
|
7
|
-
interface
|
|
7
|
+
export interface ServiceDetailsEndpointProps {
|
|
8
8
|
endpoint: KubeObject;
|
|
9
9
|
}
|
|
10
|
-
export declare class ServiceDetailsEndpoint extends React.Component<
|
|
10
|
+
export declare class ServiceDetailsEndpoint extends React.Component<ServiceDetailsEndpointProps> {
|
|
11
11
|
render(): JSX.Element;
|
|
12
12
|
}
|
|
13
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./service-details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
8
8
|
import { Service } from "../../../common/k8s-api/endpoints";
|
|
9
|
-
interface
|
|
9
|
+
export interface ServiceDetailsProps extends KubeObjectDetailsProps<Service> {
|
|
10
10
|
}
|
|
11
|
-
export declare const ServiceDetails: React.ForwardRefExoticComponent<
|
|
11
|
+
export declare const ServiceDetails: React.ForwardRefExoticComponent<ServiceDetailsProps & React.RefAttributes<any> & {
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}>;
|
|
14
|
-
export {};
|
|
@@ -5,11 +5,10 @@
|
|
|
5
5
|
import "./service-port-component.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { Service, ServicePort } from "../../../common/k8s-api/endpoints";
|
|
8
|
-
interface
|
|
8
|
+
export interface ServicePortComponentProps {
|
|
9
9
|
service: Service;
|
|
10
10
|
port: ServicePort;
|
|
11
11
|
}
|
|
12
|
-
export declare const ServicePortComponent: React.ForwardRefExoticComponent<
|
|
12
|
+
export declare const ServicePortComponent: React.ForwardRefExoticComponent<ServicePortComponentProps & React.RefAttributes<any> & {
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
}>;
|
|
15
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./services.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { RouteComponentProps } from "react-router";
|
|
8
8
|
import type { ServicesRouteParams } from "../../../common/routes";
|
|
9
|
-
interface
|
|
9
|
+
export interface ServicesProps extends RouteComponentProps<ServicesRouteParams> {
|
|
10
10
|
}
|
|
11
|
-
export declare class Services extends React.Component<
|
|
11
|
+
export declare class Services extends React.Component<ServicesProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -5,12 +5,11 @@
|
|
|
5
5
|
import "./details-resources.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { Node } from "../../../common/k8s-api/endpoints";
|
|
8
|
-
interface
|
|
8
|
+
export interface NodeDetailsResourcesProps {
|
|
9
9
|
node: Node;
|
|
10
10
|
type: "allocatable" | "capacity";
|
|
11
11
|
}
|
|
12
|
-
export declare class NodeDetailsResources extends React.Component<
|
|
12
|
+
export declare class NodeDetailsResources extends React.Component<NodeDetailsResourcesProps> {
|
|
13
13
|
toMi(resource: string): string;
|
|
14
14
|
render(): JSX.Element;
|
|
15
15
|
}
|
|
16
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
8
8
|
import { Node } from "../../../common/k8s-api/endpoints";
|
|
9
|
-
interface
|
|
9
|
+
export interface NodeDetailsProps extends KubeObjectDetailsProps<Node> {
|
|
10
10
|
}
|
|
11
|
-
export declare const NodeDetails: React.ForwardRefExoticComponent<
|
|
11
|
+
export declare const NodeDetails: React.ForwardRefExoticComponent<NodeDetailsProps & React.RefAttributes<any> & {
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}>;
|
|
14
|
-
export {};
|
|
@@ -7,12 +7,12 @@ import React from "react";
|
|
|
7
7
|
import type { RouteComponentProps } from "react-router";
|
|
8
8
|
import { INodeMetrics, Node } from "../../../common/k8s-api/endpoints/nodes.api";
|
|
9
9
|
import type { NodesRouteParams } from "../../../common/routes";
|
|
10
|
-
interface
|
|
10
|
+
export interface NodesRouteProps extends RouteComponentProps<NodesRouteParams> {
|
|
11
11
|
}
|
|
12
|
-
export declare class NodesRoute extends React.Component<
|
|
12
|
+
export declare class NodesRoute extends React.Component<NodesRouteProps> {
|
|
13
13
|
metrics: Partial<INodeMetrics>;
|
|
14
14
|
private metricsWatcher;
|
|
15
|
-
constructor(props:
|
|
15
|
+
constructor(props: NodesRouteProps);
|
|
16
16
|
componentDidMount(): Promise<void>;
|
|
17
17
|
componentWillUnmount(): void;
|
|
18
18
|
getLastMetricValues(node: Node, metricNames: string[]): number[];
|
|
@@ -23,4 +23,3 @@ export declare class NodesRoute extends React.Component<Props> {
|
|
|
23
23
|
renderConditions(node: Node): JSX.Element[];
|
|
24
24
|
render(): JSX.Element;
|
|
25
25
|
}
|
|
26
|
-
export {};
|
package/dist/src/renderer/components/+pod-security-policies/pod-security-policy-details.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import "./pod-security-policy-details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
8
8
|
import { PodSecurityPolicy } from "../../../common/k8s-api/endpoints";
|
|
9
|
-
interface
|
|
9
|
+
export interface PodSecurityPolicyDetailsProps extends KubeObjectDetailsProps<PodSecurityPolicy> {
|
|
10
10
|
}
|
|
11
11
|
interface RuleGroup {
|
|
12
12
|
rule: string;
|
|
@@ -15,7 +15,7 @@ interface RuleGroup {
|
|
|
15
15
|
min: number;
|
|
16
16
|
}[];
|
|
17
17
|
}
|
|
18
|
-
export declare class PodSecurityPolicyDetails extends React.Component<
|
|
18
|
+
export declare class PodSecurityPolicyDetails extends React.Component<PodSecurityPolicyDetailsProps> {
|
|
19
19
|
renderRuleGroup(title: React.ReactNode, group: RuleGroup): JSX.Element;
|
|
20
20
|
render(): JSX.Element;
|
|
21
21
|
}
|
|
@@ -7,18 +7,18 @@ import React from "react";
|
|
|
7
7
|
import type { FileFilter } from "electron";
|
|
8
8
|
import { DialogProps } from "../dialog";
|
|
9
9
|
import { type HelmRepo } from "../../../main/helm/helm-repo-manager";
|
|
10
|
-
interface
|
|
11
|
-
onAddRepo:
|
|
10
|
+
export interface AddHelmRepoDialogProps extends Partial<DialogProps> {
|
|
11
|
+
onAddRepo: () => void;
|
|
12
12
|
}
|
|
13
13
|
declare enum FileType {
|
|
14
14
|
CaFile = "caFile",
|
|
15
15
|
KeyFile = "keyFile",
|
|
16
16
|
CertFile = "certFile"
|
|
17
17
|
}
|
|
18
|
-
export declare class AddHelmRepoDialog extends React.Component<
|
|
18
|
+
export declare class AddHelmRepoDialog extends React.Component<AddHelmRepoDialogProps> {
|
|
19
19
|
private static keyExtensions;
|
|
20
20
|
private static certExtensions;
|
|
21
|
-
constructor(props:
|
|
21
|
+
constructor(props: AddHelmRepoDialogProps);
|
|
22
22
|
static open(): void;
|
|
23
23
|
static close(): void;
|
|
24
24
|
helmRepo: HelmRepo;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { AppPreferenceRegistration } from "./app-preferences/app-preference-registration";
|
|
2
|
-
interface ExtensionSettingsProps {
|
|
2
|
+
export interface ExtensionSettingsProps {
|
|
3
3
|
setting: AppPreferenceRegistration;
|
|
4
4
|
size: "small" | "normal";
|
|
5
5
|
}
|
|
6
6
|
export declare function ExtensionSettings({ setting, size }: ExtensionSettingsProps): JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { DOMAttributes } from "react";
|
|
2
|
-
interface
|
|
2
|
+
export interface RemovableItemProps extends DOMAttributes<any> {
|
|
3
3
|
icon?: string;
|
|
4
4
|
onRemove: () => void;
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare function RemovableItem({ icon, onRemove, children, className, ...rest }:
|
|
8
|
-
export {};
|
|
7
|
+
export declare function RemovableItem({ icon, onRemove, children, className, ...rest }: RemovableItemProps): JSX.Element;
|
|
@@ -6,9 +6,8 @@ import "./storage-class-details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
8
8
|
import { StorageClass } from "../../../common/k8s-api/endpoints";
|
|
9
|
-
interface
|
|
9
|
+
export interface StorageClassDetailsProps extends KubeObjectDetailsProps<StorageClass> {
|
|
10
10
|
}
|
|
11
|
-
export declare const StorageClassDetails: React.ForwardRefExoticComponent<
|
|
11
|
+
export declare const StorageClassDetails: React.ForwardRefExoticComponent<StorageClassDetailsProps & React.RefAttributes<any> & {
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}>;
|
|
14
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./storage-classes.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { RouteComponentProps } from "react-router-dom";
|
|
8
8
|
import type { StorageClassesRouteParams } from "../../../common/routes";
|
|
9
|
-
interface
|
|
9
|
+
export interface StorageClassesProps extends RouteComponentProps<StorageClassesRouteParams> {
|
|
10
10
|
}
|
|
11
|
-
export declare class StorageClasses extends React.Component<
|
|
11
|
+
export declare class StorageClasses extends React.Component<StorageClassesProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -6,13 +6,12 @@ import "./volume-claim-details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
8
8
|
import { type IPvcMetrics, PersistentVolumeClaim } from "../../../common/k8s-api/endpoints";
|
|
9
|
-
interface
|
|
9
|
+
export interface PersistentVolumeClaimDetailsProps extends KubeObjectDetailsProps<PersistentVolumeClaim> {
|
|
10
10
|
}
|
|
11
|
-
export declare class PersistentVolumeClaimDetails extends React.Component<
|
|
11
|
+
export declare class PersistentVolumeClaimDetails extends React.Component<PersistentVolumeClaimDetailsProps> {
|
|
12
12
|
metrics: IPvcMetrics;
|
|
13
|
-
constructor(props:
|
|
13
|
+
constructor(props: PersistentVolumeClaimDetailsProps);
|
|
14
14
|
componentDidMount(): void;
|
|
15
15
|
loadMetrics(): Promise<void>;
|
|
16
16
|
render(): JSX.Element;
|
|
17
17
|
}
|
|
18
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./volume-claims.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { RouteComponentProps } from "react-router-dom";
|
|
8
8
|
import type { VolumeClaimsRouteParams } from "../../../common/routes";
|
|
9
|
-
interface
|
|
9
|
+
export interface PersistentVolumeClaimsProps extends RouteComponentProps<VolumeClaimsRouteParams> {
|
|
10
10
|
}
|
|
11
|
-
export declare class PersistentVolumeClaims extends React.Component<
|
|
11
|
+
export declare class PersistentVolumeClaims extends React.Component<PersistentVolumeClaimsProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -5,12 +5,11 @@
|
|
|
5
5
|
import "./volume-details-list.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { PersistentVolume } from "../../../common/k8s-api/endpoints/persistent-volume.api";
|
|
8
|
-
interface
|
|
8
|
+
export interface VolumeDetailsListProps {
|
|
9
9
|
persistentVolumes: PersistentVolume[];
|
|
10
10
|
}
|
|
11
|
-
export declare class VolumeDetailsList extends React.Component<
|
|
11
|
+
export declare class VolumeDetailsList extends React.Component<VolumeDetailsListProps> {
|
|
12
12
|
private sortingCallbacks;
|
|
13
13
|
getTableRow(uid: string): JSX.Element;
|
|
14
14
|
render(): JSX.Element;
|
|
15
15
|
}
|
|
16
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./volume-details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { PersistentVolume } from "../../../common/k8s-api/endpoints";
|
|
8
8
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
9
|
-
interface
|
|
9
|
+
export interface PersistentVolumeDetailsProps extends KubeObjectDetailsProps<PersistentVolume> {
|
|
10
10
|
}
|
|
11
|
-
export declare class PersistentVolumeDetails extends React.Component<
|
|
11
|
+
export declare class PersistentVolumeDetails extends React.Component<PersistentVolumeDetailsProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./volumes.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { RouteComponentProps } from "react-router-dom";
|
|
8
8
|
import type { VolumesRouteParams } from "../../../common/routes";
|
|
9
|
-
interface
|
|
9
|
+
export interface PersistentVolumesProps extends RouteComponentProps<VolumesRouteParams> {
|
|
10
10
|
}
|
|
11
|
-
export declare class PersistentVolumes extends React.Component<
|
|
11
|
+
export declare class PersistentVolumes extends React.Component<PersistentVolumesProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|