@k8slens/extensions 5.4.0-git.ff14603be6.0 → 5.4.1-git.00966a88e6.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/endpoints/helm-charts.api.d.ts +5 -5
- package/dist/src/common/k8s-api/endpoints/metrics.api.d.ts +1 -1
- 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 +630 -702
- 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/extensions/vendors-node_modules_monaco-editor_esm_vs_language_css_cssMode_js.extension-api.js +17 -17
- package/dist/src/extensions/vendors-node_modules_monaco-editor_esm_vs_language_html_htmlMode_js.extension-api.js +8 -8
- package/dist/src/extensions/vendors-node_modules_monaco-editor_esm_vs_language_json_jsonMode_js.extension-api.js +13 -13
- package/dist/src/extensions/vendors-node_modules_monaco-editor_esm_vs_language_typescript_tsMode_js.extension-api.js +2 -2
- package/dist/src/main/__test__/{router.test.d.ts → static-file-route.test.d.ts} +0 -0
- 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/helm/helm-release-manager.d.ts +1 -1
- package/dist/src/main/helm/helm-service.d.ts +1 -1
- 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 +5 -5
- package/dist/src/main/native-theme.d.ts +6 -0
- package/dist/src/main/prometheus/provider-registry.d.ts +2 -2
- package/dist/src/main/router/parse-request.injectable.d.ts +3 -0
- package/dist/src/main/router/router-content-types.d.ts +14 -0
- package/dist/src/main/{router.d.ts → router/router.d.ts} +28 -6
- package/dist/src/main/router/router.injectable.d.ts +2 -1
- package/dist/src/{renderer/initializers/workloads-overview-detail-registry.d.ts → main/router/router.test.d.ts} +1 -1
- package/dist/src/main/routes/helm/charts/get-chart-route.injectable.d.ts +4 -0
- package/dist/src/main/routes/helm/charts/get-chart-values-route.injectable.d.ts +4 -0
- package/dist/src/main/routes/helm/charts/list-charts-route.injectable.d.ts +4 -0
- package/dist/src/main/routes/helm/releases/delete-release-route.injectable.d.ts +4 -0
- package/dist/src/main/routes/helm/releases/get-release-history-route.injectable.d.ts +4 -0
- package/dist/src/main/routes/helm/releases/get-release-route.injectable.d.ts +4 -0
- package/dist/src/main/routes/helm/releases/get-release-values-route.injectable.d.ts +4 -0
- package/dist/src/main/routes/helm/releases/install-chart-route.injectable.d.ts +4 -0
- package/dist/src/main/routes/helm/releases/list-releases-route.injectable.d.ts +4 -0
- package/dist/src/main/routes/helm/releases/rollback-release-route.injectable.d.ts +4 -0
- package/dist/src/main/routes/helm/releases/update-release-route.injectable.d.ts +4 -0
- package/dist/src/main/routes/kubeconfig-route/get-service-account-route.injectable.d.ts +8 -0
- package/dist/src/main/routes/metrics/add-metrics-route.injectable.d.ts +8 -0
- package/dist/src/main/routes/metrics/get-metric-providers-route.injectable.d.ts +8 -0
- package/dist/src/main/routes/metrics/metrics-query.d.ts +7 -0
- package/dist/src/main/routes/port-forward/{create-port-forward.injectable.d.ts → functionality/create-port-forward.injectable.d.ts} +0 -0
- package/dist/src/main/routes/port-forward/{port-forward.d.ts → functionality/port-forward.d.ts} +0 -0
- package/dist/src/main/routes/port-forward/get-current-port-forward-route.injectable.d.ts +4 -0
- package/dist/src/main/routes/port-forward/start-port-forward-route.injectable.d.ts +4 -0
- package/dist/src/main/routes/port-forward/stop-current-port-forward-route.injectable.d.ts +4 -0
- package/dist/src/main/routes/resource-applier/apply-resource-route.injectable.d.ts +4 -0
- package/dist/src/main/routes/resource-applier/patch-resource-route.injectable.d.ts +4 -0
- package/dist/src/main/routes/static-file-route.injectable.d.ts +4 -0
- package/dist/src/main/routes/versions/get-version-route.injectable.d.ts +4 -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 +3 -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/layout/top-bar/top-bar.d.ts +1 -1
- 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/src/main/routes/helm-route.d.ts +0 -18
- package/dist/src/main/routes/index.d.ts +0 -10
- package/dist/src/main/routes/kubeconfig-route.d.ts +0 -8
- package/dist/src/main/routes/metrics-route.d.ts +0 -12
- package/dist/src/main/routes/port-forward/route-port-forward/route-port-forward.d.ts +0 -11
- package/dist/src/main/routes/port-forward/route-port-forward/route-port-forward.injectable.d.ts +0 -3
- package/dist/src/main/routes/port-forward-route.d.ts +0 -9
- package/dist/src/main/routes/resource-applier-route.d.ts +0 -9
- package/dist/src/main/routes/version-route.d.ts +0 -8
- package/dist/webpack.dev-server.d.ts +0 -14
- package/dist/webpack.renderer.d.ts +0 -25
|
@@ -6,14 +6,13 @@ import "./pod-details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { type IPodMetrics, Pod } from "../../../common/k8s-api/endpoints";
|
|
8
8
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
9
|
-
interface
|
|
9
|
+
export interface PodDetailsProps extends KubeObjectDetailsProps<Pod> {
|
|
10
10
|
}
|
|
11
|
-
export declare class PodDetails extends React.Component<
|
|
11
|
+
export declare class PodDetails extends React.Component<PodDetailsProps> {
|
|
12
12
|
metrics: IPodMetrics;
|
|
13
13
|
containerMetrics: IPodMetrics;
|
|
14
|
-
constructor(props:
|
|
14
|
+
constructor(props: PodDetailsProps);
|
|
15
15
|
componentDidMount(): void;
|
|
16
16
|
loadMetrics(): Promise<void>;
|
|
17
17
|
render(): JSX.Element;
|
|
18
18
|
}
|
|
19
|
-
export {};
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import "./pod-tolerations.scss";
|
|
6
6
|
import type { IToleration } from "../../../common/k8s-api/workload-kube-object";
|
|
7
|
-
interface
|
|
7
|
+
export interface PodTolerationsProps {
|
|
8
8
|
tolerations: IToleration[];
|
|
9
9
|
}
|
|
10
|
-
export declare function PodTolerations({ tolerations }:
|
|
11
|
-
export {};
|
|
10
|
+
export declare function PodTolerations({ tolerations }: PodTolerationsProps): JSX.Element;
|
|
@@ -7,10 +7,9 @@ import React from "react";
|
|
|
7
7
|
import type { RouteComponentProps } from "react-router";
|
|
8
8
|
import { Pod } from "../../../common/k8s-api/endpoints";
|
|
9
9
|
import type { PodsRouteParams } from "../../../common/routes";
|
|
10
|
-
interface
|
|
10
|
+
export interface PodsProps extends RouteComponentProps<PodsRouteParams> {
|
|
11
11
|
}
|
|
12
|
-
export declare class Pods extends React.Component<
|
|
12
|
+
export declare class Pods extends React.Component<PodsProps> {
|
|
13
13
|
renderContainersStatus(pod: Pod): JSX.Element[];
|
|
14
14
|
render(): JSX.Element;
|
|
15
15
|
}
|
|
16
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./replicaset-details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
8
8
|
import { ReplicaSet } from "../../../common/k8s-api/endpoints";
|
|
9
|
-
interface
|
|
9
|
+
export interface ReplicaSetDetailsProps extends KubeObjectDetailsProps<ReplicaSet> {
|
|
10
10
|
}
|
|
11
|
-
export declare const ReplicaSetDetails: React.ForwardRefExoticComponent<
|
|
11
|
+
export declare const ReplicaSetDetails: React.ForwardRefExoticComponent<ReplicaSetDetailsProps & React.RefAttributes<any> & {
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}>;
|
|
14
|
-
export {};
|
|
@@ -6,17 +6,17 @@ import "./replicaset-scale-dialog.scss";
|
|
|
6
6
|
import React, { Component } from "react";
|
|
7
7
|
import { DialogProps } from "../dialog";
|
|
8
8
|
import { ReplicaSet, ReplicaSetApi } from "../../../common/k8s-api/endpoints/replica-set.api";
|
|
9
|
-
interface
|
|
9
|
+
export interface ReplicaSetScaleDialogProps extends Partial<DialogProps> {
|
|
10
10
|
replicaSetApi: ReplicaSetApi;
|
|
11
11
|
}
|
|
12
|
-
export declare class ReplicaSetScaleDialog extends Component<
|
|
12
|
+
export declare class ReplicaSetScaleDialog extends Component<ReplicaSetScaleDialogProps> {
|
|
13
13
|
static defaultProps: {
|
|
14
14
|
replicaSetApi: ReplicaSetApi;
|
|
15
15
|
};
|
|
16
16
|
ready: boolean;
|
|
17
17
|
currentReplicas: number;
|
|
18
18
|
desiredReplicas: number;
|
|
19
|
-
constructor(props:
|
|
19
|
+
constructor(props: ReplicaSetScaleDialogProps);
|
|
20
20
|
static open(replicaSet: ReplicaSet): void;
|
|
21
21
|
static close(): void;
|
|
22
22
|
get replicaSet(): ReplicaSet;
|
|
@@ -32,4 +32,3 @@ export declare class ReplicaSetScaleDialog extends Component<Props> {
|
|
|
32
32
|
renderContents(): JSX.Element;
|
|
33
33
|
render(): JSX.Element;
|
|
34
34
|
}
|
|
35
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./replicasets.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { RouteComponentProps } from "react-router";
|
|
8
8
|
import type { ReplicaSetsRouteParams } from "../../../common/routes";
|
|
9
|
-
interface
|
|
9
|
+
export interface ReplicaSetsProps extends RouteComponentProps<ReplicaSetsRouteParams> {
|
|
10
10
|
}
|
|
11
|
-
export declare class ReplicaSets extends React.Component<
|
|
11
|
+
export declare class ReplicaSets extends React.Component<ReplicaSetsProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./statefulset-details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
8
8
|
import { StatefulSet } from "../../../common/k8s-api/endpoints";
|
|
9
|
-
interface
|
|
9
|
+
export interface StatefulSetDetailsProps extends KubeObjectDetailsProps<StatefulSet> {
|
|
10
10
|
}
|
|
11
|
-
export declare const StatefulSetDetails: React.ForwardRefExoticComponent<
|
|
11
|
+
export declare const StatefulSetDetails: React.ForwardRefExoticComponent<StatefulSetDetailsProps & React.RefAttributes<any> & {
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}>;
|
|
14
|
-
export {};
|
|
@@ -6,17 +6,17 @@ import "./statefulset-scale-dialog.scss";
|
|
|
6
6
|
import { StatefulSet, StatefulSetApi } from "../../../common/k8s-api/endpoints";
|
|
7
7
|
import React, { Component } from "react";
|
|
8
8
|
import { DialogProps } from "../dialog";
|
|
9
|
-
interface
|
|
9
|
+
export interface StatefulSetScaleDialogProps extends Partial<DialogProps> {
|
|
10
10
|
statefulSetApi: StatefulSetApi;
|
|
11
11
|
}
|
|
12
|
-
export declare class StatefulSetScaleDialog extends Component<
|
|
12
|
+
export declare class StatefulSetScaleDialog extends Component<StatefulSetScaleDialogProps> {
|
|
13
13
|
static defaultProps: {
|
|
14
14
|
statefulSetApi: StatefulSetApi;
|
|
15
15
|
};
|
|
16
16
|
ready: boolean;
|
|
17
17
|
currentReplicas: number;
|
|
18
18
|
desiredReplicas: number;
|
|
19
|
-
constructor(props:
|
|
19
|
+
constructor(props: StatefulSetScaleDialogProps);
|
|
20
20
|
static open(statefulSet: StatefulSet): void;
|
|
21
21
|
static close(): void;
|
|
22
22
|
get statefulSet(): StatefulSet;
|
|
@@ -32,4 +32,3 @@ export declare class StatefulSetScaleDialog extends Component<Props> {
|
|
|
32
32
|
renderContents(): JSX.Element;
|
|
33
33
|
render(): JSX.Element;
|
|
34
34
|
}
|
|
35
|
-
export {};
|
|
@@ -7,10 +7,9 @@ import React from "react";
|
|
|
7
7
|
import type { RouteComponentProps } from "react-router";
|
|
8
8
|
import type { StatefulSet } from "../../../common/k8s-api/endpoints";
|
|
9
9
|
import type { StatefulSetsRouteParams } from "../../../common/routes";
|
|
10
|
-
interface
|
|
10
|
+
export interface StatefulSetsProps extends RouteComponentProps<StatefulSetsRouteParams> {
|
|
11
11
|
}
|
|
12
|
-
export declare class StatefulSets extends React.Component<
|
|
12
|
+
export declare class StatefulSets extends React.Component<StatefulSetsProps> {
|
|
13
13
|
renderPods(statefulSet: StatefulSet): string;
|
|
14
14
|
render(): JSX.Element;
|
|
15
15
|
}
|
|
16
|
-
export {};
|
|
@@ -5,14 +5,13 @@
|
|
|
5
5
|
import React from "react";
|
|
6
6
|
import type { ChartOptions } from "chart.js";
|
|
7
7
|
import { ChartProps } from "./chart";
|
|
8
|
-
interface
|
|
8
|
+
export interface BarChartProps extends ChartProps {
|
|
9
9
|
name?: string;
|
|
10
10
|
timeLabelStep?: number;
|
|
11
11
|
}
|
|
12
|
-
export declare class BarChart extends React.Component<
|
|
12
|
+
export declare class BarChart extends React.Component<BarChartProps> {
|
|
13
13
|
static defaultProps: object;
|
|
14
14
|
render(): JSX.Element;
|
|
15
15
|
}
|
|
16
16
|
export declare const memoryOptions: ChartOptions;
|
|
17
17
|
export declare const cpuOptions: ChartOptions;
|
|
18
|
-
export {};
|
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
import "./pie-chart.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { ChartProps } from "./chart";
|
|
8
|
-
interface
|
|
8
|
+
export interface PieChartProps extends ChartProps {
|
|
9
9
|
}
|
|
10
|
-
export declare class PieChart extends React.Component<
|
|
10
|
+
export declare class PieChart extends React.Component<PieChartProps> {
|
|
11
11
|
render(): JSX.Element;
|
|
12
12
|
}
|
|
13
|
-
export {};
|
|
@@ -6,14 +6,14 @@ import React from "react";
|
|
|
6
6
|
import type { Cluster } from "../../../common/cluster/cluster";
|
|
7
7
|
import { IClassName } from "../../utils";
|
|
8
8
|
import type { KubeAuthUpdate } from "../../../common/cluster-types";
|
|
9
|
-
interface
|
|
9
|
+
export interface ClusterStatusProps {
|
|
10
10
|
className?: IClassName;
|
|
11
11
|
cluster: Cluster;
|
|
12
12
|
}
|
|
13
|
-
export declare class ClusterStatus extends React.Component<
|
|
13
|
+
export declare class ClusterStatus extends React.Component<ClusterStatusProps> {
|
|
14
14
|
authOutput: KubeAuthUpdate[];
|
|
15
15
|
isReconnecting: boolean;
|
|
16
|
-
constructor(props:
|
|
16
|
+
constructor(props: ClusterStatusProps);
|
|
17
17
|
get cluster(): Cluster;
|
|
18
18
|
get entity(): import("../../api/catalog-entity").CatalogEntity<import("../../../common/catalog").CatalogEntityMetadata, import("../../../common/catalog").CatalogEntityStatus, import("../../../common/catalog").CatalogEntitySpec>;
|
|
19
19
|
get hasErrors(): boolean;
|
|
@@ -25,4 +25,3 @@ export declare class ClusterStatus extends React.Component<Props> {
|
|
|
25
25
|
renderReconnectionHelp(): JSX.Element;
|
|
26
26
|
render(): JSX.Element;
|
|
27
27
|
}
|
|
28
|
-
export {};
|
|
@@ -7,11 +7,11 @@ import React from "react";
|
|
|
7
7
|
import type { RouteComponentProps } from "react-router";
|
|
8
8
|
import type { Cluster } from "../../../common/cluster/cluster";
|
|
9
9
|
import { ClusterViewRouteParams } from "../../../common/routes";
|
|
10
|
-
interface
|
|
10
|
+
export interface ClusterViewProps extends RouteComponentProps<ClusterViewRouteParams> {
|
|
11
11
|
}
|
|
12
|
-
export declare class ClusterView extends React.Component<
|
|
12
|
+
export declare class ClusterView extends React.Component<ClusterViewProps> {
|
|
13
13
|
private store;
|
|
14
|
-
constructor(props:
|
|
14
|
+
constructor(props: ClusterViewProps);
|
|
15
15
|
get clusterId(): string;
|
|
16
16
|
get cluster(): Cluster | undefined;
|
|
17
17
|
get isReady(): boolean;
|
|
@@ -21,4 +21,3 @@ export declare class ClusterView extends React.Component<Props> {
|
|
|
21
21
|
renderStatus(): React.ReactNode;
|
|
22
22
|
render(): JSX.Element;
|
|
23
23
|
}
|
|
24
|
-
export {};
|
package/dist/src/renderer/components/cluster-settings/components/cluster-accessible-namespaces.d.ts
CHANGED
|
@@ -4,12 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from "react";
|
|
6
6
|
import type { Cluster } from "../../../../common/cluster/cluster";
|
|
7
|
-
interface
|
|
7
|
+
export interface ClusterAccessibleNamespacesProps {
|
|
8
8
|
cluster: Cluster;
|
|
9
9
|
}
|
|
10
|
-
export declare class ClusterAccessibleNamespaces extends React.Component<
|
|
10
|
+
export declare class ClusterAccessibleNamespaces extends React.Component<ClusterAccessibleNamespacesProps> {
|
|
11
11
|
namespaces: Set<string>;
|
|
12
|
-
constructor(props:
|
|
12
|
+
constructor(props: ClusterAccessibleNamespacesProps);
|
|
13
13
|
render(): JSX.Element;
|
|
14
14
|
}
|
|
15
|
-
export {};
|
|
@@ -9,11 +9,11 @@ declare enum GeneralInputStatus {
|
|
|
9
9
|
CLEAN = "clean",
|
|
10
10
|
ERROR = "error"
|
|
11
11
|
}
|
|
12
|
-
interface
|
|
12
|
+
export interface ClusterIconSettingProps {
|
|
13
13
|
cluster: Cluster;
|
|
14
14
|
entity: KubernetesCluster;
|
|
15
15
|
}
|
|
16
|
-
export declare class ClusterIconSetting extends React.Component<
|
|
16
|
+
export declare class ClusterIconSetting extends React.Component<ClusterIconSettingProps> {
|
|
17
17
|
status: GeneralInputStatus;
|
|
18
18
|
errorText?: string;
|
|
19
19
|
private element;
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from "react";
|
|
6
6
|
import type { Cluster } from "../../../../common/cluster/cluster";
|
|
7
|
-
interface
|
|
7
|
+
export interface ClusterKubeconfigProps {
|
|
8
8
|
cluster: Cluster;
|
|
9
9
|
}
|
|
10
|
-
export declare class ClusterKubeconfig extends React.Component<
|
|
10
|
+
export declare class ClusterKubeconfig extends React.Component<ClusterKubeconfigProps> {
|
|
11
11
|
openKubeconfig(): void;
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
4
|
*/
|
|
5
5
|
import type { Cluster } from "../../../../common/cluster/cluster";
|
|
6
|
-
interface
|
|
6
|
+
export interface ClusterLocalTerminalSettingProps {
|
|
7
7
|
cluster: Cluster;
|
|
8
8
|
}
|
|
9
|
-
export declare const ClusterLocalTerminalSetting: ({ cluster }:
|
|
10
|
-
export {};
|
|
9
|
+
export declare const ClusterLocalTerminalSetting: ({ cluster }: ClusterLocalTerminalSettingProps) => JSX.Element;
|
package/dist/src/renderer/components/cluster-settings/components/cluster-metrics-setting.d.ts
CHANGED
|
@@ -6,12 +6,12 @@ import React from "react";
|
|
|
6
6
|
import { SelectOption } from "../../select/select";
|
|
7
7
|
import type { Cluster } from "../../../../common/cluster/cluster";
|
|
8
8
|
import { ClusterMetricsResourceType } from "../../../../common/cluster-types";
|
|
9
|
-
interface
|
|
9
|
+
export interface ClusterMetricsSettingProps {
|
|
10
10
|
cluster: Cluster;
|
|
11
11
|
}
|
|
12
|
-
export declare class ClusterMetricsSetting extends React.Component<
|
|
12
|
+
export declare class ClusterMetricsSetting extends React.Component<ClusterMetricsSettingProps> {
|
|
13
13
|
hiddenMetrics: import("mobx").ObservableSet<string>;
|
|
14
|
-
constructor(props:
|
|
14
|
+
constructor(props: ClusterMetricsSettingProps);
|
|
15
15
|
componentDidMount(): void;
|
|
16
16
|
save: () => void;
|
|
17
17
|
onChangeSelect: (values: SelectOption<ClusterMetricsResourceType>[]) => void;
|
|
@@ -21,4 +21,3 @@ export declare class ClusterMetricsSetting extends React.Component<Props> {
|
|
|
21
21
|
renderMetricsSelect(): JSX.Element;
|
|
22
22
|
render(): JSX.Element;
|
|
23
23
|
}
|
|
24
|
-
export {};
|
|
@@ -5,16 +5,15 @@
|
|
|
5
5
|
import React from "react";
|
|
6
6
|
import type { Cluster } from "../../../../common/cluster/cluster";
|
|
7
7
|
import type { KubernetesCluster } from "../../../../common/catalog-entities";
|
|
8
|
-
interface
|
|
8
|
+
export interface ClusterNameSettingProps {
|
|
9
9
|
cluster: Cluster;
|
|
10
10
|
entity: KubernetesCluster;
|
|
11
11
|
}
|
|
12
|
-
export declare class ClusterNameSetting extends React.Component<
|
|
12
|
+
export declare class ClusterNameSetting extends React.Component<ClusterNameSettingProps> {
|
|
13
13
|
name: string;
|
|
14
|
-
constructor(props:
|
|
14
|
+
constructor(props: ClusterNameSettingProps);
|
|
15
15
|
componentDidMount(): void;
|
|
16
16
|
save: () => void;
|
|
17
17
|
onChange: (value: string) => void;
|
|
18
18
|
render(): JSX.Element;
|
|
19
19
|
}
|
|
20
|
-
export {};
|
package/dist/src/renderer/components/cluster-settings/components/cluster-node-shell-setting.d.ts
CHANGED
|
@@ -4,14 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { Cluster } from "../../../../common/cluster/cluster";
|
|
6
6
|
import React from "react";
|
|
7
|
-
interface
|
|
7
|
+
export interface ClusterNodeShellSettingProps {
|
|
8
8
|
cluster: Cluster;
|
|
9
9
|
}
|
|
10
|
-
export declare class ClusterNodeShellSetting extends React.Component<
|
|
10
|
+
export declare class ClusterNodeShellSetting extends React.Component<ClusterNodeShellSettingProps> {
|
|
11
11
|
nodeShellImage: string;
|
|
12
12
|
imagePullSecret: string;
|
|
13
|
-
constructor(props:
|
|
13
|
+
constructor(props: ClusterNodeShellSettingProps);
|
|
14
14
|
componentWillUnmount(): void;
|
|
15
15
|
render(): JSX.Element;
|
|
16
16
|
}
|
|
17
|
-
export {};
|
package/dist/src/renderer/components/cluster-settings/components/cluster-prometheus-setting.d.ts
CHANGED
|
@@ -6,16 +6,16 @@ import React from "react";
|
|
|
6
6
|
import type { Cluster } from "../../../../common/cluster/cluster";
|
|
7
7
|
import { SelectOption } from "../../select";
|
|
8
8
|
import { MetricProviderInfo } from "../../../../common/k8s-api/endpoints/metrics.api";
|
|
9
|
-
interface
|
|
9
|
+
export interface ClusterPrometheusSettingProps {
|
|
10
10
|
cluster: Cluster;
|
|
11
11
|
}
|
|
12
|
-
export declare class ClusterPrometheusSetting extends React.Component<
|
|
12
|
+
export declare class ClusterPrometheusSetting extends React.Component<ClusterPrometheusSettingProps> {
|
|
13
13
|
path: string;
|
|
14
14
|
provider: string;
|
|
15
15
|
loading: boolean;
|
|
16
16
|
loadedOptions: MetricProviderInfo[];
|
|
17
17
|
get options(): SelectOption<string>[];
|
|
18
|
-
constructor(props:
|
|
18
|
+
constructor(props: ClusterPrometheusSettingProps);
|
|
19
19
|
get canEditPrometheusPath(): boolean;
|
|
20
20
|
componentDidMount(): void;
|
|
21
21
|
parsePrometheusPath: () => {
|
|
@@ -28,4 +28,3 @@ export declare class ClusterPrometheusSetting extends React.Component<Props> {
|
|
|
28
28
|
onSavePath: () => void;
|
|
29
29
|
render(): JSX.Element;
|
|
30
30
|
}
|
|
31
|
-
export {};
|
|
@@ -4,15 +4,14 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from "react";
|
|
6
6
|
import type { Cluster } from "../../../../common/cluster/cluster";
|
|
7
|
-
interface
|
|
7
|
+
export interface ClusterProxySettingProps {
|
|
8
8
|
cluster: Cluster;
|
|
9
9
|
}
|
|
10
|
-
export declare class ClusterProxySetting extends React.Component<
|
|
10
|
+
export declare class ClusterProxySetting extends React.Component<ClusterProxySettingProps> {
|
|
11
11
|
proxy: string;
|
|
12
|
-
constructor(props:
|
|
12
|
+
constructor(props: ClusterProxySettingProps);
|
|
13
13
|
componentDidMount(): void;
|
|
14
14
|
save: () => void;
|
|
15
15
|
onChange: (value: string) => void;
|
|
16
16
|
render(): JSX.Element;
|
|
17
17
|
}
|
|
18
|
-
export {};
|
|
@@ -4,15 +4,14 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from "react";
|
|
6
6
|
import type { Cluster } from "../../../../common/cluster/cluster";
|
|
7
|
-
interface
|
|
7
|
+
export interface ShowMetricsSettingProps {
|
|
8
8
|
cluster: Cluster;
|
|
9
9
|
}
|
|
10
|
-
export declare class ShowMetricsSetting extends React.Component<
|
|
10
|
+
export declare class ShowMetricsSetting extends React.Component<ShowMetricsSettingProps> {
|
|
11
11
|
hiddenMetrics: import("mobx").ObservableSet<string>;
|
|
12
|
-
constructor(props:
|
|
12
|
+
constructor(props: ShowMetricsSettingProps);
|
|
13
13
|
componentDidMount(): void;
|
|
14
14
|
removeMetric(metric: string): void;
|
|
15
15
|
renderMetrics(): JSX.Element | JSX.Element[];
|
|
16
16
|
render(): JSX.Element;
|
|
17
17
|
}
|
|
18
|
-
export {};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { KubeConfig } from "@kubernetes/client-node";
|
|
3
3
|
import type { Cluster } from "../../../common/cluster/cluster";
|
|
4
|
-
|
|
4
|
+
interface DialogState {
|
|
5
5
|
isOpen: boolean;
|
|
6
6
|
config?: KubeConfig;
|
|
7
7
|
cluster?: Cluster;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
}
|
|
9
|
+
export interface DeleteClusterDialogProps {
|
|
10
|
+
}
|
|
11
|
+
export declare class DeleteClusterDialog extends React.Component<DeleteClusterDialogProps> {
|
|
11
12
|
showContextSwitch: boolean;
|
|
12
13
|
newCurrentContext: string;
|
|
13
|
-
constructor(props:
|
|
14
|
+
constructor(props: DeleteClusterDialogProps);
|
|
14
15
|
static open({ config, cluster }: Partial<DialogState>): void;
|
|
15
16
|
static close(): void;
|
|
16
17
|
onOpen(): void;
|
|
@@ -5,13 +5,12 @@
|
|
|
5
5
|
import "./logs-dialog.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { DialogProps } from "../dialog";
|
|
8
|
-
interface
|
|
8
|
+
export interface LogsDialogProps extends DialogProps {
|
|
9
9
|
title: string;
|
|
10
10
|
logs: string;
|
|
11
11
|
}
|
|
12
|
-
export declare class LogsDialog extends React.Component<
|
|
12
|
+
export declare class LogsDialog extends React.Component<LogsDialogProps> {
|
|
13
13
|
logsElem: HTMLElement;
|
|
14
14
|
copyToClipboard: () => void;
|
|
15
15
|
render(): JSX.Element;
|
|
16
16
|
}
|
|
17
|
-
export {};
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from "react";
|
|
6
6
|
import type { DockTab } from "../dock/store";
|
|
7
|
-
interface
|
|
7
|
+
export interface CreateResourceProps {
|
|
8
8
|
tab: DockTab;
|
|
9
9
|
}
|
|
10
|
-
export declare const CreateResource: React.ForwardRefExoticComponent<
|
|
10
|
+
export declare const CreateResource: React.ForwardRefExoticComponent<CreateResourceProps & React.RefAttributes<any> & {
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
}>;
|
|
13
|
-
export {};
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
4
|
*/
|
|
5
5
|
import type { DockTab as DockTabModel } from "./dock/store";
|
|
6
|
-
interface
|
|
6
|
+
export interface DockTabsProps {
|
|
7
7
|
tabs: DockTabModel[];
|
|
8
8
|
autoFocus: boolean;
|
|
9
9
|
selectedTab: DockTabModel;
|
|
10
10
|
onChangeTab: (tab: DockTabModel) => void;
|
|
11
11
|
}
|
|
12
|
-
export declare const DockTabs: ({ tabs, autoFocus, selectedTab, onChangeTab }:
|
|
13
|
-
export {};
|
|
12
|
+
export declare const DockTabs: ({ tabs, autoFocus, selectedTab, onChangeTab }: DockTabsProps) => JSX.Element;
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import "./dock.scss";
|
|
6
6
|
import React from "react";
|
|
7
|
-
interface
|
|
7
|
+
export interface DockProps {
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare const Dock: React.ForwardRefExoticComponent<
|
|
10
|
+
export declare const Dock: React.ForwardRefExoticComponent<DockProps & React.RefAttributes<any> & {
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
}>;
|
|
13
|
-
export {};
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from "react";
|
|
6
6
|
import type { DockTab } from "../dock/store";
|
|
7
|
-
interface
|
|
7
|
+
export interface EditResourceProps {
|
|
8
8
|
tab: DockTab;
|
|
9
9
|
}
|
|
10
|
-
export declare const EditResource: React.ForwardRefExoticComponent<
|
|
10
|
+
export declare const EditResource: React.ForwardRefExoticComponent<EditResourceProps & React.RefAttributes<any> & {
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
}>;
|
|
13
|
-
export {};
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
import "./info-panel.scss";
|
|
6
6
|
import React, { ReactNode } from "react";
|
|
7
7
|
import type { TabId } from "./dock/store";
|
|
8
|
-
interface
|
|
8
|
+
export interface InfoPanelProps extends OptionalProps {
|
|
9
9
|
tabId: TabId;
|
|
10
10
|
submit?: () => Promise<ReactNode | string | void>;
|
|
11
11
|
}
|
|
12
|
-
interface OptionalProps {
|
|
12
|
+
export interface OptionalProps {
|
|
13
13
|
className?: string;
|
|
14
14
|
error?: string;
|
|
15
15
|
controls?: ReactNode;
|
|
@@ -22,7 +22,6 @@ interface OptionalProps {
|
|
|
22
22
|
showNotifications?: boolean;
|
|
23
23
|
showStatusPanel?: boolean;
|
|
24
24
|
}
|
|
25
|
-
export declare const InfoPanel: React.ForwardRefExoticComponent<
|
|
25
|
+
export declare const InfoPanel: React.ForwardRefExoticComponent<InfoPanelProps & React.RefAttributes<any> & {
|
|
26
26
|
children?: React.ReactNode;
|
|
27
27
|
}>;
|
|
28
|
-
export {};
|
|
@@ -5,10 +5,9 @@
|
|
|
5
5
|
import "./install-chart.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { DockTab } from "../dock/store";
|
|
8
|
-
interface
|
|
8
|
+
export interface InstallCharProps {
|
|
9
9
|
tab: DockTab;
|
|
10
10
|
}
|
|
11
|
-
export declare const InstallChart: React.ForwardRefExoticComponent<
|
|
11
|
+
export declare const InstallChart: React.ForwardRefExoticComponent<InstallCharProps & React.RefAttributes<any> & {
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}>;
|
|
14
|
-
export {};
|
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
import "./terminal-dock-tab.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { DockTabProps } from "../dock-tab";
|
|
8
|
-
interface
|
|
8
|
+
export interface TerminalTabProps extends DockTabProps {
|
|
9
9
|
}
|
|
10
|
-
export declare const TerminalTab: React.ForwardRefExoticComponent<
|
|
10
|
+
export declare const TerminalTab: React.ForwardRefExoticComponent<TerminalTabProps & React.RefAttributes<any> & {
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
}>;
|
|
13
|
-
export {};
|
|
@@ -5,10 +5,9 @@
|
|
|
5
5
|
import "./terminal-window.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { DockTab } from "../dock/store";
|
|
8
|
-
interface
|
|
8
|
+
export interface TerminalWindowProps {
|
|
9
9
|
tab: DockTab;
|
|
10
10
|
}
|
|
11
|
-
export declare const TerminalWindow: React.ForwardRefExoticComponent<
|
|
11
|
+
export declare const TerminalWindow: React.ForwardRefExoticComponent<TerminalWindowProps & React.RefAttributes<any> & {
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}>;
|
|
14
|
-
export {};
|
|
@@ -10,7 +10,7 @@ import { type IChartVersion } from "../../+helm-charts/helm-chart.store";
|
|
|
10
10
|
import type { HelmRelease, IReleaseUpdateDetails, IReleaseUpdatePayload } from "../../../../common/k8s-api/endpoints/helm-releases.api";
|
|
11
11
|
import { SelectOption } from "../../select";
|
|
12
12
|
import { IAsyncComputed } from "@ogre-tools/injectable-react";
|
|
13
|
-
interface
|
|
13
|
+
export interface UpgradeChartProps {
|
|
14
14
|
className?: string;
|
|
15
15
|
tab: DockTab;
|
|
16
16
|
}
|
|
@@ -19,11 +19,11 @@ interface Dependencies {
|
|
|
19
19
|
upgradeChartTabStore: UpgradeChartTabStore;
|
|
20
20
|
updateRelease: (name: string, namespace: string, payload: IReleaseUpdatePayload) => Promise<IReleaseUpdateDetails>;
|
|
21
21
|
}
|
|
22
|
-
export declare class NonInjectedUpgradeChart extends React.Component<
|
|
22
|
+
export declare class NonInjectedUpgradeChart extends React.Component<UpgradeChartProps & Dependencies> {
|
|
23
23
|
error: string;
|
|
24
24
|
versions: import("mobx").IObservableArray<IChartVersion>;
|
|
25
25
|
version: IChartVersion;
|
|
26
|
-
constructor(props:
|
|
26
|
+
constructor(props: UpgradeChartProps & Dependencies);
|
|
27
27
|
componentDidMount(): void;
|
|
28
28
|
get tabId(): string;
|
|
29
29
|
get release(): HelmRelease;
|
|
@@ -36,7 +36,7 @@ export declare class NonInjectedUpgradeChart extends React.Component<Props & Dep
|
|
|
36
36
|
formatVersionLabel: ({ value }: SelectOption<IChartVersion>) => string;
|
|
37
37
|
render(): JSX.Element;
|
|
38
38
|
}
|
|
39
|
-
export declare const UpgradeChart: React.ForwardRefExoticComponent<
|
|
39
|
+
export declare const UpgradeChart: React.ForwardRefExoticComponent<UpgradeChartProps & React.RefAttributes<any> & {
|
|
40
40
|
children?: React.ReactNode;
|
|
41
41
|
}>;
|
|
42
42
|
export {};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import "./editable-list.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { InputProps, InputValidator } from "../input";
|
|
8
|
-
export interface
|
|
8
|
+
export interface EditableListProps<T> {
|
|
9
9
|
items: T[];
|
|
10
10
|
add: (newItem: string) => void;
|
|
11
11
|
remove: (info: {
|
|
@@ -17,8 +17,8 @@ export interface Props<T> {
|
|
|
17
17
|
renderItem?: (item: T, index: number) => React.ReactNode;
|
|
18
18
|
inputTheme?: InputProps["theme"];
|
|
19
19
|
}
|
|
20
|
-
export declare class EditableList<T> extends React.Component<
|
|
21
|
-
static defaultProps:
|
|
20
|
+
export declare class EditableList<T> extends React.Component<EditableListProps<T>> {
|
|
21
|
+
static defaultProps: EditableListProps<any>;
|
|
22
22
|
onSubmit(val: string, evt: React.KeyboardEvent): void;
|
|
23
23
|
render(): JSX.Element;
|
|
24
24
|
}
|