@dovetail-v2/refine 0.0.66-pod-exec.0 → 0.0.66-pod-exec.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{MonacoYamlDiffEditor-6b799b64.js → MonacoYamlDiffEditor-f07df2b6.js} +1 -1
- package/dist/{index-c07bed15.js → index-ea6dd427.js} +334 -168
- package/dist/refine.js +122 -115
- package/dist/refine.umd.cjs +221 -55
- package/lib/App.d.ts +2 -0
- package/lib/Dovetail.d.ts +18 -0
- package/lib/components/Breadcrumb/index.d.ts +5 -0
- package/lib/components/ConditionsTable/ConditionsTable.d.ts +7 -0
- package/lib/components/ConditionsTable/index.d.ts +1 -0
- package/lib/components/CreateButton/index.d.ts +1 -0
- package/lib/components/CronJobDropdown/index.d.ts +8 -0
- package/lib/components/CronjobJobsTable/index.d.ts +8 -0
- package/lib/components/DeleteButton/index.d.ts +2 -0
- package/lib/components/DeleteManyButton/index.d.ts +4 -0
- package/lib/components/DrawerShow/DrawerShow.d.ts +8 -0
- package/lib/components/DrawerShow/index.d.ts +1 -0
- package/lib/components/DurationTime/index.d.ts +5 -0
- package/lib/components/EditButton/index.d.ts +2 -0
- package/lib/components/EditField/index.d.ts +15 -0
- package/lib/components/ErrorContent/index.d.ts +17 -0
- package/lib/components/EventsTable/EventsTable.d.ts +6 -0
- package/lib/components/EventsTable/index.d.ts +1 -0
- package/lib/{src/components/FormModal/index.d.ts → components/Form/FormModal.d.ts} +2 -2
- package/lib/components/Form/RefineFormContent.d.ts +11 -0
- package/lib/components/Form/RefineFormPage.d.ts +6 -0
- package/lib/{src/components/YamlForm/index.d.ts → components/Form/YamlForm.d.ts} +9 -6
- package/lib/components/Form/index.d.ts +7 -0
- package/lib/components/Form/type.d.ts +17 -0
- package/lib/components/Form/useReactHookForm.d.ts +29 -0
- package/lib/components/Form/useRefineForm.d.ts +13 -0
- package/lib/{src/hooks/useEagleForm.d.ts → components/Form/useYamlForm.d.ts} +8 -5
- package/lib/components/FormErrorAlert/index.d.ts +9 -0
- package/lib/components/FormLayout/index.d.ts +7 -0
- package/lib/{src/components/Form → components/FormWidgets}/KeyValueListWidget.d.ts +0 -1
- package/lib/{src/components/Form → components/FormWidgets}/MetadataForm.d.ts +0 -1
- package/lib/{src/components/Form → components/FormWidgets}/NameInputWidget.d.ts +0 -1
- package/lib/{src/components/Form → components/FormWidgets}/NamespaceSelectWidget.d.ts +0 -1
- package/lib/components/FormWidgets/index.d.ts +4 -0
- package/lib/components/ImageNames/index.d.ts +5 -0
- package/lib/components/IngressRulesComponent/index.d.ts +5 -0
- package/lib/components/IngressRulesTable/IngressRulesTable.d.ts +7 -0
- package/lib/components/IngressRulesTable/index.d.ts +1 -0
- package/lib/components/K8sDropdown/index.d.ts +9 -0
- package/lib/components/KeyValue/KeyValue.d.ts +7 -0
- package/lib/components/KeyValue/KeyValueAnnotation.d.ts +5 -0
- package/lib/components/KeyValue/KeyValueSecret.d.ts +4 -0
- package/lib/components/KeyValue/index.d.ts +3 -0
- package/lib/components/Layout/index.d.ts +3 -0
- package/lib/components/LinkFallback/index.d.ts +3 -0
- package/lib/components/ListPage/index.d.ts +9 -0
- package/lib/components/Menu/index.d.ts +1 -0
- package/lib/components/NamespacesFilter/index.d.ts +11 -0
- package/lib/components/NetworkPolicyRulesViewer/index.d.ts +1 -0
- package/lib/components/PageShow/PageShow.d.ts +12 -0
- package/lib/components/PageShow/index.d.ts +1 -0
- package/lib/components/PodContainersTable/PodContainersTable.d.ts +8 -0
- package/lib/components/PodContainersTable/index.d.ts +1 -0
- package/lib/components/PodDropdown/index.d.ts +9 -0
- package/lib/components/PodLog/index.d.ts +6 -0
- package/lib/components/PodSelectorTable/index.d.ts +6 -0
- package/lib/components/PodShellModal/PodShell.d.ts +18 -0
- package/lib/components/PodShellModal/index.d.ts +9 -0
- package/lib/components/PortsTable/index.d.ts +7 -0
- package/lib/components/ReferenceLink/index.d.ts +8 -0
- package/lib/components/ReplicasDropdown/index.d.ts +9 -0
- package/lib/components/ResourceCRUD/ResourceCRUD.d.ts +7 -0
- package/lib/components/ResourceCRUD/create/index.d.ts +7 -0
- package/lib/components/ResourceCRUD/index.d.ts +4 -0
- package/lib/components/ResourceCRUD/list/index.d.ts +8 -0
- package/lib/components/ResourceCRUD/show/index.d.ts +8 -0
- package/lib/components/ResourceFiledDisplays.d.ts +6 -0
- package/lib/components/ResourceLink/index.d.ts +8 -0
- package/lib/components/ResourceSelect/index.d.ts +11 -0
- package/lib/components/ResourceUsageBar/index.d.ts +8 -0
- package/lib/components/Separator/index.d.ts +2 -0
- package/lib/components/ServiceComponents/index.d.ts +10 -0
- package/lib/components/Shell/index.d.ts +54 -0
- package/lib/components/ShowContent/ShowContent.d.ts +18 -0
- package/lib/components/ShowContent/fields.d.ts +68 -0
- package/lib/components/ShowContent/groups.d.ts +23 -0
- package/lib/components/ShowContent/index.d.ts +4 -0
- package/lib/components/ShowContent/tabs.d.ts +5 -0
- package/lib/components/StateTag/StateTag.d.ts +10 -0
- package/lib/components/StateTag/index.d.ts +1 -0
- package/lib/components/Table/TableToolBar.d.ts +8 -0
- package/lib/components/Table/TableWidgets.d.ts +6 -0
- package/lib/components/Table/index.d.ts +43 -0
- package/lib/components/Tabs/index.d.ts +10 -0
- package/lib/components/Tags/index.d.ts +6 -0
- package/lib/components/TextTags/index.d.ts +6 -0
- package/lib/components/Time/index.d.ts +8 -0
- package/lib/components/ValueDisplay/index.d.ts +9 -0
- package/lib/components/WorkloadDropdown/index.d.ts +9 -0
- package/lib/components/WorkloadPodsTable/WorkloadPodsTable.d.ts +9 -0
- package/lib/components/WorkloadPodsTable/index.d.ts +1 -0
- package/lib/components/WorkloadReplicas/index.d.ts +17 -0
- package/lib/components/YamlEditor/MonacoYamlDiffEditor.d.ts +9 -0
- package/lib/components/YamlEditor/MonacoYamlEditor.d.ts +19 -0
- package/lib/components/YamlEditor/YamlEditorComponent.d.ts +27 -0
- package/lib/components/YamlEditor/index.d.ts +1 -0
- package/lib/components/YamlEditor/style.d.ts +11 -0
- package/lib/components/YamlEditor/yaml.worker.d.ts +1 -0
- package/lib/components/index.d.ts +47 -0
- package/lib/constants/auth.d.ts +5 -0
- package/lib/constants/index.d.ts +3 -0
- package/lib/constants/k8s.d.ts +487 -0
- package/lib/constants/state.d.ts +15 -0
- package/lib/contexts/component.d.ts +7 -0
- package/lib/contexts/configs.d.ts +3 -0
- package/lib/contexts/global-store.d.ts +5 -0
- package/lib/contexts/index.d.ts +3 -0
- package/lib/hooks/index.d.ts +8 -0
- package/lib/hooks/useDeleteModal/index.d.ts +1 -0
- package/lib/hooks/useDeleteModal/useDeleteManyModal.d.ts +7 -0
- package/lib/hooks/useDeleteModal/useDeleteModal.d.ts +7 -0
- package/lib/hooks/useDownloadYAML.d.ts +7 -0
- package/lib/hooks/useEagleTable/columns.d.ts +41 -0
- package/lib/hooks/useEagleTable/index.d.ts +2 -0
- package/lib/hooks/useEagleTable/useEagleTable.d.ts +55 -0
- package/lib/hooks/useEdit.d.ts +4 -0
- package/lib/hooks/useGlobalStore.d.ts +3 -0
- package/lib/hooks/useK8sYamlEditor.d.ts +5 -0
- package/lib/hooks/useOpenForm.d.ts +7 -0
- package/lib/hooks/useSchema.d.ts +14 -0
- package/lib/hooks/useSubmitForm.d.ts +14 -0
- package/lib/hooks/useTableData.d.ts +19 -0
- package/lib/i18n.d.ts +353 -0
- package/lib/index.d.ts +11 -0
- package/lib/locales/en-US/index.d.ts +175 -0
- package/lib/locales/index.d.ts +2 -0
- package/lib/locales/zh-CN/index.d.ts +175 -0
- package/lib/main.d.ts +3 -0
- package/lib/models/cronjob-model.d.ts +15 -0
- package/lib/models/daemonset-model.d.ts +15 -0
- package/lib/models/deployment-model.d.ts +13 -0
- package/lib/models/event-model.d.ts +7 -0
- package/lib/models/index.d.ts +19 -0
- package/lib/models/ingress-model.d.ts +20 -0
- package/lib/models/job-model.d.ts +20 -0
- package/lib/models/network-policy-model.d.ts +9 -0
- package/lib/models/node-model.d.ts +17 -0
- package/lib/models/persistent-volume-claim.d.ts +9 -0
- package/lib/models/persistent-volume.d.ts +9 -0
- package/lib/models/pod-metrics-model.d.ts +8 -0
- package/lib/models/pod-model.d.ts +20 -0
- package/lib/models/resource-model.d.ts +21 -0
- package/lib/models/service-model.d.ts +24 -0
- package/lib/models/statefulset-model.d.ts +13 -0
- package/lib/models/storage-class.d.ts +12 -0
- package/lib/models/types/index.d.ts +1 -0
- package/lib/{src → models}/types/metric.d.ts +2 -2
- package/lib/models/workload-base-model.d.ts +12 -0
- package/lib/models/workload-model.d.ts +18 -0
- package/lib/pages/configmaps/index.d.ts +4 -0
- package/lib/{src/pages/statefulsets → pages/cronjobs}/create/index.d.ts +1 -1
- package/lib/pages/cronjobs/index.d.ts +3 -0
- package/lib/{src/pages/statefulsets → pages/cronjobs}/list/index.d.ts +1 -1
- package/lib/{src/pages/statefulsets → pages/cronjobs}/show/index.d.ts +1 -1
- package/lib/pages/daemonsets/create/index.d.ts +3 -0
- package/lib/pages/daemonsets/index.d.ts +3 -0
- package/lib/{src/pages/storageclasses → pages/daemonsets}/list/index.d.ts +1 -1
- package/lib/{src/pages/storageclasses → pages/daemonsets}/show/index.d.ts +1 -1
- package/lib/pages/deployments/index.d.ts +2 -0
- package/lib/pages/deployments/list/index.d.ts +3 -0
- package/lib/pages/deployments/show/index.d.ts +3 -0
- package/lib/pages/ingresses/index.d.ts +4 -0
- package/lib/pages/jobs/index.d.ts +4 -0
- package/lib/pages/networkPolicies/index.d.ts +4 -0
- package/lib/pages/nodes/index.d.ts +2 -0
- package/lib/pages/nodes/list/index.d.ts +3 -0
- package/lib/pages/nodes/show/index.d.ts +3 -0
- package/lib/pages/persistentvolumeclaims/index.d.ts +4 -0
- package/lib/pages/persistentvolumes/index.d.ts +4 -0
- package/lib/pages/pods/create/index.d.ts +3 -0
- package/lib/pages/pods/index.d.ts +3 -0
- package/lib/pages/pods/list/index.d.ts +3 -0
- package/lib/pages/pods/show/index.d.ts +3 -0
- package/lib/pages/secrets/index.d.ts +4 -0
- package/lib/pages/services/index.d.ts +4 -0
- package/lib/pages/statefulsets/index.d.ts +4 -0
- package/lib/pages/storageclasses/form/index.d.ts +9 -0
- package/lib/pages/storageclasses/index.d.ts +44 -0
- package/lib/plugins/index.d.ts +4 -0
- package/lib/plugins/model-plugin.d.ts +13 -0
- package/lib/plugins/relation-plugin.d.ts +26 -0
- package/lib/plugins/type.d.ts +8 -0
- package/lib/providers/index.d.ts +1 -0
- package/lib/providers/router-provider/index.d.ts +21 -0
- package/lib/src/components/ListPage/index.d.ts +1 -0
- package/lib/src/components/ResourceFiledDisplays.d.ts +7 -0
- package/lib/src/components/Shell/index.d.ts +4 -0
- package/lib/src/components/ShowContent/fields.d.ts +7 -2
- package/lib/src/components/index.d.ts +1 -0
- package/lib/src/hooks/useEagleTable/columns.d.ts +6 -6
- package/lib/src/i18n.d.ts +26 -1
- package/lib/src/locales/en-US/index.d.ts +14 -0
- package/lib/src/locales/zh-CN/index.d.ts +12 -1
- package/lib/src/models/cronjob-model.d.ts +0 -1
- package/lib/src/models/daemonset-model.d.ts +0 -1
- package/lib/src/models/deployment-model.d.ts +0 -1
- package/lib/src/models/event-model.d.ts +0 -1
- package/lib/src/models/ingress-model.d.ts +0 -1
- package/lib/src/models/job-model.d.ts +0 -1
- package/lib/src/models/network-policy-model.d.ts +0 -1
- package/lib/src/models/node-model.d.ts +0 -1
- package/lib/src/models/persistent-volume-claim.d.ts +0 -1
- package/lib/src/models/persistent-volume.d.ts +0 -1
- package/lib/src/models/pod-metrics-model.d.ts +0 -1
- package/lib/src/models/pod-model.d.ts +0 -1
- package/lib/src/models/resource-model.d.ts +1 -1
- package/lib/src/models/service-model.d.ts +0 -1
- package/lib/src/models/statefulset-model.d.ts +0 -1
- package/lib/src/models/storage-class.d.ts +0 -1
- package/lib/src/models/workload-base-model.d.ts +0 -1
- package/lib/src/models/workload-model.d.ts +0 -1
- package/lib/src/pages/persistentvolumeclaims/index.d.ts +4 -0
- package/lib/src/pages/persistentvolumes/index.d.ts +3 -18
- package/lib/types/index.d.ts +1 -0
- package/lib/types/resource.d.ts +62 -0
- package/lib/utils/addId.d.ts +3 -0
- package/lib/utils/download.d.ts +1 -0
- package/lib/utils/error.d.ts +20 -0
- package/lib/utils/form.d.ts +3 -0
- package/lib/utils/k8s.d.ts +3 -0
- package/lib/utils/labels.d.ts +9 -0
- package/lib/utils/match-selector.d.ts +3 -0
- package/lib/utils/openapi.d.ts +45 -0
- package/lib/utils/schema.d.ts +17 -0
- package/lib/utils/selector.d.ts +3 -0
- package/lib/utils/shell.d.ts +15 -0
- package/lib/utils/string.d.ts +1 -0
- package/lib/utils/time.d.ts +13 -0
- package/lib/utils/unit.d.ts +12 -0
- package/lib/utils/yaml.d.ts +2 -0
- package/package.json +5 -5
- package/lib/src/components/KeyValueData/index.d.ts +0 -6
- package/lib/src/components/ModalContextProvider/index.d.ts +0 -12
- package/lib/src/components/NetworkPolicyRulesTable/index.d.ts +0 -1
- package/lib/src/components/Shell/zmodem/index.d.ts +0 -51
- package/lib/src/components/Table/ErrorContent.d.ts +0 -10
- package/lib/src/hooks/useModal.d.ts +0 -0
- package/lib/src/model/cronjob-model.d.ts +0 -9
- package/lib/src/model/index.d.ts +0 -6
- package/lib/src/model/job-model.d.ts +0 -10
- package/lib/src/model/pod-metrics-model.d.ts +0 -7
- package/lib/src/model/pod-model.d.ts +0 -15
- package/lib/src/model/resource-model.d.ts +0 -17
- package/lib/src/model/workload-model.d.ts +0 -17
- package/lib/src/pages/deployments/create/index.d.ts +0 -3
- package/lib/src/pages/nodes/hooks/useNodeMetrics.d.ts +0 -17
- /package/lib/{src/components/Form → components/FormWidgets}/widget.d.ts +0 -0
- /package/lib/{src/components/NetworkPolicyRulesTable/NetworkPolicyRulesTable.d.ts → components/NetworkPolicyRulesViewer/NetworkPolicyRulesViewer.d.ts} +0 -0
- /package/lib/{src/hooks/useNamespaceFilter.d.ts → hooks/useNamespaceRefineFilter.d.ts} +0 -0
|
@@ -10,7 +10,7 @@ import React__default, { createElement, isValidElement, cloneElement, Children,
|
|
|
10
10
|
import { ResourceContext, matchResourceFromRoute, useResource, useDelete, useNavigation, useBreadcrumb, useList, useParsed, useGo, useCan, useTable, useDeleteMany, CanAccess, useShow, useUpdate, useDataProvider, useRefineContext, useTranslate, useWarnAboutChange, useForm as useForm$2, flattenObjectKeys, pickNotDeprecated, useMenu, Refine } from "@refinedev/core";
|
|
11
11
|
import { parse, stringify } from "qs";
|
|
12
12
|
import { useLocation, useHistory, useParams, matchPath, Link, Route, NavLink, Router } from "react-router-dom";
|
|
13
|
-
import { Typo, Tag, Input, Select, AntdOption, Button, Form, Space, TextArea, kitContext, Loading, Table as Table$1, Pagination, OverflowTooltip, StatusCapsule, Tooltip, usePushModal, Dropdown, Menu as Menu$1, Icon as Icon$1, Divider, Modal, Link as Link$1, Tabs as Tabs$1, TabsTabPane, Row, Col, Alert, usePopModal, Fields, DonutChart, SegmentControl, Checkbox, SearchInput, Token, AntdSelectOptGroup, MenuItemGroup, Layout as Layout$1, Time as Time$1, useMessage, ModalStack, KitStoreProvider } from "@cloudtower/eagle";
|
|
13
|
+
import { Typo, Tag, Input, Select, AntdOption, Button, Form, Space, TextArea, kitContext, Loading, Table as Table$1, Pagination, OverflowTooltip, StatusCapsule, Tooltip, usePushModal, Dropdown, Menu as Menu$1, Icon as Icon$1, Divider, Modal, Link as Link$1, Tabs as Tabs$1, TabsTabPane, Row, Col, Alert, usePopModal, Fields, DonutChart, Units, SegmentControl, Checkbox, SearchInput, Token, AntdSelectOptGroup, MenuItemGroup, Layout as Layout$1, Time as Time$1, useMessage, ModalStack, KitStoreProvider } from "@cloudtower/eagle";
|
|
14
14
|
import { EditPen16PrimaryIcon, Download16GradientBlueIcon, TrashBinDelete16Icon, MoreEllipsis324BoldSecondaryIcon, MoreEllipsis324BoldBlueIcon, MoreEllipsis316BoldBlueIcon, PlusAddCreateNew16BoldOntintIcon, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, EditPen16GradientBlueIcon, ViewEye16GradientGrayIcon, EntityFilterIgnoreGradient16GrayIcon, RecoverContinue16GradientBlueIcon, SuspendedPause16GradientBlueIcon, Retry16GradientBlueIcon, HierarchyTriangleRight16GrayIcon, HierarchyTriangleRight16BlueIcon, ClipboardCopy16GradientGrayIcon, ClipboardCopy16GradientBlueIcon, Retry16GradientGrayIcon, EditPen16GradientGrayIcon, Showdiff16GradientGrayIcon, Showdiff16GradientBlueIcon, XmarkFailedSeriousWarningFill16RedIcon, ExclamationErrorCircleFill16RedIcon, OpenTerminal16GradientBlueIcon, Pause16GradientBlueIcon } from "@cloudtower/icons-react";
|
|
15
15
|
import { omit as omit$1, merge, get as get$3, first, isObject as isObject$4, debounce, last, keyBy } from "lodash-es";
|
|
16
16
|
import yaml from "js-yaml";
|
|
@@ -1159,7 +1159,21 @@ const path_type$1 = "Path type";
|
|
|
1159
1159
|
const only_support_one_yaml$1 = "Only one YAML configuration is supported at a time.";
|
|
1160
1160
|
const not_support$1 = "Not supported";
|
|
1161
1161
|
const stopped$1 = "Stopped";
|
|
1162
|
-
const any_node_ip = "Any node IP";
|
|
1162
|
+
const any_node_ip$1 = "Any node IP";
|
|
1163
|
+
const storage_class$1 = "Storage class";
|
|
1164
|
+
const persistent_volume$1 = "Persistent volume";
|
|
1165
|
+
const provisioner$1 = "Provisioner";
|
|
1166
|
+
const file_system$1 = "File system";
|
|
1167
|
+
const capacity$1 = "Capacity";
|
|
1168
|
+
const phase$1 = "Phase";
|
|
1169
|
+
const volume_mode$1 = "Volume mode";
|
|
1170
|
+
const access_mode$1 = "Access mode";
|
|
1171
|
+
const block$1 = "Block";
|
|
1172
|
+
const pv_phase_available$1 = "Available";
|
|
1173
|
+
const pv_phase_bound$1 = "Bound";
|
|
1174
|
+
const pv_phase_released$1 = "Released";
|
|
1175
|
+
const pv_phase_failed$1 = "Failed";
|
|
1176
|
+
const pv_phase_pending$1 = "Pending";
|
|
1163
1177
|
const exec_pod = "Execute shell";
|
|
1164
1178
|
const dovetail$1 = {
|
|
1165
1179
|
copy: copy$2,
|
|
@@ -1316,7 +1330,21 @@ const dovetail$1 = {
|
|
|
1316
1330
|
only_support_one_yaml: only_support_one_yaml$1,
|
|
1317
1331
|
not_support: not_support$1,
|
|
1318
1332
|
stopped: stopped$1,
|
|
1319
|
-
any_node_ip,
|
|
1333
|
+
any_node_ip: any_node_ip$1,
|
|
1334
|
+
storage_class: storage_class$1,
|
|
1335
|
+
persistent_volume: persistent_volume$1,
|
|
1336
|
+
provisioner: provisioner$1,
|
|
1337
|
+
file_system: file_system$1,
|
|
1338
|
+
capacity: capacity$1,
|
|
1339
|
+
phase: phase$1,
|
|
1340
|
+
volume_mode: volume_mode$1,
|
|
1341
|
+
access_mode: access_mode$1,
|
|
1342
|
+
block: block$1,
|
|
1343
|
+
pv_phase_available: pv_phase_available$1,
|
|
1344
|
+
pv_phase_bound: pv_phase_bound$1,
|
|
1345
|
+
pv_phase_released: pv_phase_released$1,
|
|
1346
|
+
pv_phase_failed: pv_phase_failed$1,
|
|
1347
|
+
pv_phase_pending: pv_phase_pending$1,
|
|
1320
1348
|
exec_pod
|
|
1321
1349
|
};
|
|
1322
1350
|
const EN = {
|
|
@@ -1474,10 +1502,21 @@ const out_external_name_desc = "ExternalName 展示 <strong>external-ip</strong>
|
|
|
1474
1502
|
const only_support_one_yaml = "一次仅支持输入一个 YAML 配置。";
|
|
1475
1503
|
const not_support = "不支持";
|
|
1476
1504
|
const stopped = "已停止";
|
|
1505
|
+
const any_node_ip = "任意节点 IP";
|
|
1477
1506
|
const storage_class = "存储类";
|
|
1478
|
-
const
|
|
1507
|
+
const persistent_volume = "持久卷";
|
|
1479
1508
|
const provisioner = "制备器";
|
|
1480
1509
|
const file_system = "文件系统";
|
|
1510
|
+
const capacity = "容量";
|
|
1511
|
+
const phase = "阶段";
|
|
1512
|
+
const volume_mode = "卷模式";
|
|
1513
|
+
const access_mode = "访问模式";
|
|
1514
|
+
const block = "块";
|
|
1515
|
+
const pv_phase_available = "可用";
|
|
1516
|
+
const pv_phase_bound = "已绑定";
|
|
1517
|
+
const pv_phase_released = "已释放";
|
|
1518
|
+
const pv_phase_failed = "失败";
|
|
1519
|
+
const pv_phase_pending = "等待中";
|
|
1481
1520
|
const dovetail = {
|
|
1482
1521
|
copy: copy$1,
|
|
1483
1522
|
reset_arguments,
|
|
@@ -1634,10 +1673,21 @@ const dovetail = {
|
|
|
1634
1673
|
only_support_one_yaml,
|
|
1635
1674
|
not_support,
|
|
1636
1675
|
stopped,
|
|
1676
|
+
any_node_ip,
|
|
1637
1677
|
storage_class,
|
|
1638
|
-
|
|
1678
|
+
persistent_volume,
|
|
1639
1679
|
provisioner,
|
|
1640
|
-
file_system
|
|
1680
|
+
file_system,
|
|
1681
|
+
capacity,
|
|
1682
|
+
phase,
|
|
1683
|
+
volume_mode,
|
|
1684
|
+
access_mode,
|
|
1685
|
+
block,
|
|
1686
|
+
pv_phase_available,
|
|
1687
|
+
pv_phase_bound,
|
|
1688
|
+
pv_phase_released,
|
|
1689
|
+
pv_phase_failed,
|
|
1690
|
+
pv_phase_pending
|
|
1641
1691
|
};
|
|
1642
1692
|
const ZH = {
|
|
1643
1693
|
dovetail
|
|
@@ -8957,12 +9007,19 @@ class ResourceModel {
|
|
|
8957
9007
|
__publicField(this, "kind");
|
|
8958
9008
|
__publicField(this, "metadata");
|
|
8959
9009
|
this._rawYaml = _rawYaml;
|
|
8960
|
-
this._globalStore = _globalStore;
|
|
8961
9010
|
Object.keys(_rawYaml).forEach((key2) => {
|
|
8962
9011
|
Object.defineProperty(this, key2, {
|
|
8963
|
-
|
|
9012
|
+
get() {
|
|
9013
|
+
return _rawYaml[key2];
|
|
9014
|
+
}
|
|
8964
9015
|
});
|
|
8965
9016
|
});
|
|
9017
|
+
Object.defineProperty(this, "_globalStore", {
|
|
9018
|
+
get() {
|
|
9019
|
+
return _globalStore;
|
|
9020
|
+
},
|
|
9021
|
+
enumerable: false
|
|
9022
|
+
});
|
|
8966
9023
|
}
|
|
8967
9024
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
8968
9025
|
async init() {
|
|
@@ -8992,7 +9049,6 @@ class IngressModel extends ResourceModel {
|
|
|
8992
9049
|
super(_rawYaml, _globalStore);
|
|
8993
9050
|
__publicField(this, "flattenedRules", []);
|
|
8994
9051
|
this._rawYaml = _rawYaml;
|
|
8995
|
-
this._globalStore = _globalStore;
|
|
8996
9052
|
}
|
|
8997
9053
|
async init() {
|
|
8998
9054
|
var _a, _b, _c, _d;
|
|
@@ -9035,7 +9091,6 @@ class NetworkPolicyModel extends ResourceModel {
|
|
|
9035
9091
|
constructor(_rawYaml, _globalStore) {
|
|
9036
9092
|
super(_rawYaml, _globalStore);
|
|
9037
9093
|
this._rawYaml = _rawYaml;
|
|
9038
|
-
this._globalStore = _globalStore;
|
|
9039
9094
|
}
|
|
9040
9095
|
}
|
|
9041
9096
|
const BASE_INIT_VALUE = {
|
|
@@ -9617,7 +9672,6 @@ class WorkloadBaseModel extends ResourceModel {
|
|
|
9617
9672
|
constructor(_rawYaml, _globalStore) {
|
|
9618
9673
|
super(_rawYaml, _globalStore);
|
|
9619
9674
|
this._rawYaml = _rawYaml;
|
|
9620
|
-
this._globalStore = _globalStore;
|
|
9621
9675
|
}
|
|
9622
9676
|
get imageNames() {
|
|
9623
9677
|
var _a, _b, _c, _d;
|
|
@@ -9636,7 +9690,6 @@ class JobModel extends WorkloadBaseModel {
|
|
|
9636
9690
|
super(_rawYaml, _globalStore);
|
|
9637
9691
|
__publicField(this, "restarts", 0);
|
|
9638
9692
|
this._rawYaml = _rawYaml;
|
|
9639
|
-
this._globalStore = _globalStore;
|
|
9640
9693
|
}
|
|
9641
9694
|
async init() {
|
|
9642
9695
|
await this.getRestarts();
|
|
@@ -9704,7 +9757,6 @@ class WorkloadModel extends WorkloadBaseModel {
|
|
|
9704
9757
|
super(_rawYaml, _globalStore);
|
|
9705
9758
|
__publicField(this, "restarts", 0);
|
|
9706
9759
|
this._rawYaml = _rawYaml;
|
|
9707
|
-
this._globalStore = _globalStore;
|
|
9708
9760
|
}
|
|
9709
9761
|
async init() {
|
|
9710
9762
|
await this.getRestarts();
|
|
@@ -9825,7 +9877,6 @@ class PodModel extends WorkloadBaseModel {
|
|
|
9825
9877
|
__publicField(this, "request");
|
|
9826
9878
|
__publicField(this, "limit");
|
|
9827
9879
|
this._rawYaml = _rawYaml;
|
|
9828
|
-
this._globalStore = _globalStore;
|
|
9829
9880
|
let cpuRequestNum = 0;
|
|
9830
9881
|
let memoryRequestNum = 0;
|
|
9831
9882
|
let cpuLimitNum = 0;
|
|
@@ -9906,7 +9957,6 @@ class PodMetricsModel extends ResourceModel {
|
|
|
9906
9957
|
super(_rawYaml, _globalStore);
|
|
9907
9958
|
__publicField(this, "usage");
|
|
9908
9959
|
this._rawYaml = _rawYaml;
|
|
9909
|
-
this._globalStore = _globalStore;
|
|
9910
9960
|
let cpuUsageNum = 0;
|
|
9911
9961
|
let memoryUsageNum = 0;
|
|
9912
9962
|
for (const container2 of _rawYaml.containers) {
|
|
@@ -9935,7 +9985,6 @@ class CronJobModel extends WorkloadBaseModel {
|
|
|
9935
9985
|
constructor(_rawYaml, _globalStore) {
|
|
9936
9986
|
super(_rawYaml, _globalStore);
|
|
9937
9987
|
this._rawYaml = _rawYaml;
|
|
9938
|
-
this._globalStore = _globalStore;
|
|
9939
9988
|
}
|
|
9940
9989
|
get stateDisplay() {
|
|
9941
9990
|
var _a;
|
|
@@ -9963,7 +10012,6 @@ class EventModel extends ResourceModel {
|
|
|
9963
10012
|
constructor(_rawYaml, _globalStore) {
|
|
9964
10013
|
super(_rawYaml, _globalStore);
|
|
9965
10014
|
this._rawYaml = _rawYaml;
|
|
9966
|
-
this._globalStore = _globalStore;
|
|
9967
10015
|
this.id = _rawYaml.metadata.uid || _rawYaml.id;
|
|
9968
10016
|
}
|
|
9969
10017
|
}
|
|
@@ -9971,7 +10019,6 @@ class DeploymentModel extends WorkloadModel {
|
|
|
9971
10019
|
constructor(_rawYaml, _globalStore) {
|
|
9972
10020
|
super(_rawYaml, _globalStore);
|
|
9973
10021
|
this._rawYaml = _rawYaml;
|
|
9974
|
-
this._globalStore = _globalStore;
|
|
9975
10022
|
}
|
|
9976
10023
|
get stateDisplay() {
|
|
9977
10024
|
var _a, _b, _c;
|
|
@@ -9987,7 +10034,6 @@ class DaemonSetModel extends WorkloadModel {
|
|
|
9987
10034
|
constructor(_rawYaml, _globalStore) {
|
|
9988
10035
|
super(_rawYaml, _globalStore);
|
|
9989
10036
|
this._rawYaml = _rawYaml;
|
|
9990
|
-
this._globalStore = _globalStore;
|
|
9991
10037
|
}
|
|
9992
10038
|
get stateDisplay() {
|
|
9993
10039
|
var _a, _b;
|
|
@@ -10007,7 +10053,6 @@ class StatefulSetModel extends WorkloadModel {
|
|
|
10007
10053
|
constructor(_rawYaml, _globalStore) {
|
|
10008
10054
|
super(_rawYaml, _globalStore);
|
|
10009
10055
|
this._rawYaml = _rawYaml;
|
|
10010
|
-
this._globalStore = _globalStore;
|
|
10011
10056
|
}
|
|
10012
10057
|
get stateDisplay() {
|
|
10013
10058
|
var _a, _b, _c;
|
|
@@ -10031,7 +10076,6 @@ class ServiceModel extends ResourceModel {
|
|
|
10031
10076
|
constructor(_rawYaml, _globalStore) {
|
|
10032
10077
|
super(_rawYaml, _globalStore);
|
|
10033
10078
|
this._rawYaml = _rawYaml;
|
|
10034
|
-
this._globalStore = _globalStore;
|
|
10035
10079
|
}
|
|
10036
10080
|
get displayType() {
|
|
10037
10081
|
const spec = this._rawYaml.spec;
|
|
@@ -10070,7 +10114,6 @@ class NodeModel extends WorkloadBaseModel {
|
|
|
10070
10114
|
constructor(_rawYaml, _globalStore) {
|
|
10071
10115
|
super(_rawYaml, _globalStore);
|
|
10072
10116
|
this._rawYaml = _rawYaml;
|
|
10073
|
-
this._globalStore = _globalStore;
|
|
10074
10117
|
}
|
|
10075
10118
|
get role() {
|
|
10076
10119
|
return "node-role.kubernetes.io/control-plane" in (this.metadata.labels || {}) ? "Control Plane" : "Worker";
|
|
@@ -10095,7 +10138,6 @@ class StorageClassModel extends ResourceModel {
|
|
|
10095
10138
|
super(_rawYaml, _globalStore);
|
|
10096
10139
|
__publicField(this, "pvs", []);
|
|
10097
10140
|
this._rawYaml = _rawYaml;
|
|
10098
|
-
this._globalStore = _globalStore;
|
|
10099
10141
|
}
|
|
10100
10142
|
async init() {
|
|
10101
10143
|
const pvs = await this._globalStore.get("persistentvolumes", {
|
|
@@ -10114,14 +10156,12 @@ class PersistentVolumeModel extends ResourceModel {
|
|
|
10114
10156
|
constructor(_rawYaml, _globalStore) {
|
|
10115
10157
|
super(_rawYaml, _globalStore);
|
|
10116
10158
|
this._rawYaml = _rawYaml;
|
|
10117
|
-
this._globalStore = _globalStore;
|
|
10118
10159
|
}
|
|
10119
10160
|
}
|
|
10120
10161
|
class PersistentVolumeClaimModel extends ResourceModel {
|
|
10121
10162
|
constructor(_rawYaml, _globalStore) {
|
|
10122
10163
|
super(_rawYaml, _globalStore);
|
|
10123
10164
|
this._rawYaml = _rawYaml;
|
|
10124
|
-
this._globalStore = _globalStore;
|
|
10125
10165
|
}
|
|
10126
10166
|
}
|
|
10127
10167
|
const index_1lzkrja = "";
|
|
@@ -11491,6 +11531,27 @@ function KeyValueSecret(props) {
|
|
|
11491
11531
|
})
|
|
11492
11532
|
});
|
|
11493
11533
|
}
|
|
11534
|
+
function PVPhaseDisplay(props) {
|
|
11535
|
+
const { value: value2 } = props;
|
|
11536
|
+
const i18n2 = useTranslation();
|
|
11537
|
+
const map = {
|
|
11538
|
+
Available: i18n2.t("dovetail.pv_phase_available"),
|
|
11539
|
+
Bound: i18n2.t("dovetail.pv_phase_bound"),
|
|
11540
|
+
Failed: i18n2.t("dovetail.pv_phase_released"),
|
|
11541
|
+
Pending: i18n2.t("dovetail.pv_phase_failed"),
|
|
11542
|
+
Released: i18n2.t("dovetail.pv_phase_pending")
|
|
11543
|
+
};
|
|
11544
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: map[value2] || value2 });
|
|
11545
|
+
}
|
|
11546
|
+
function PVVolumeModeDisplay(props) {
|
|
11547
|
+
const { value: value2 } = props;
|
|
11548
|
+
const i18n2 = useTranslation();
|
|
11549
|
+
const map = {
|
|
11550
|
+
Block: i18n2.t("dovetail.block"),
|
|
11551
|
+
Filesystem: i18n2.t("dovetail.file_system")
|
|
11552
|
+
};
|
|
11553
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: map[value2] || value2 });
|
|
11554
|
+
}
|
|
11494
11555
|
const WorkloadPodsTable_1giuese = "";
|
|
11495
11556
|
const WorkloadPodsTable = ({
|
|
11496
11557
|
namespace: namespace2,
|
|
@@ -12156,13 +12217,6 @@ const StorageClassProvisionerField = (i18n2) => {
|
|
|
12156
12217
|
title: i18n2.t("dovetail.provisioner")
|
|
12157
12218
|
};
|
|
12158
12219
|
};
|
|
12159
|
-
const StorageClassFsTypeField = (i18n2) => {
|
|
12160
|
-
return {
|
|
12161
|
-
key: "fstype",
|
|
12162
|
-
path: ["parameters", "csi.storage.k8s.io/fstype"],
|
|
12163
|
-
title: i18n2.t("dovetail.file_system")
|
|
12164
|
-
};
|
|
12165
|
-
};
|
|
12166
12220
|
const StorageClassPvField = () => {
|
|
12167
12221
|
return {
|
|
12168
12222
|
key: "pvs",
|
|
@@ -12179,6 +12233,63 @@ const StorageClassPvField = () => {
|
|
|
12179
12233
|
}
|
|
12180
12234
|
};
|
|
12181
12235
|
};
|
|
12236
|
+
const PVCapacityField = (i18n2) => {
|
|
12237
|
+
return {
|
|
12238
|
+
key: "capacity",
|
|
12239
|
+
path: ["spec", "capacity", "storage"],
|
|
12240
|
+
title: i18n2.t("dovetail.capacity"),
|
|
12241
|
+
renderContent(value2) {
|
|
12242
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Units.Byte, { rawValue: parseSi(value2), decimals: 1 });
|
|
12243
|
+
}
|
|
12244
|
+
};
|
|
12245
|
+
};
|
|
12246
|
+
const PVCStorageField = (i18n2) => {
|
|
12247
|
+
return {
|
|
12248
|
+
key: "storage",
|
|
12249
|
+
path: ["spec", "resources", "requests", "storage"],
|
|
12250
|
+
title: i18n2.t("dovetail.capacity"),
|
|
12251
|
+
renderContent(value2) {
|
|
12252
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Units.Byte, { rawValue: parseSi(value2), decimals: 1 });
|
|
12253
|
+
}
|
|
12254
|
+
};
|
|
12255
|
+
};
|
|
12256
|
+
const PVStorageClassField = (i18n2) => {
|
|
12257
|
+
return {
|
|
12258
|
+
key: "storageClass",
|
|
12259
|
+
path: ["spec", "storageClassName"],
|
|
12260
|
+
title: i18n2.t("dovetail.storage_class"),
|
|
12261
|
+
renderContent(value2) {
|
|
12262
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceLink, { resourceName: "storageclasses", namespace: "", resourceId: value2 });
|
|
12263
|
+
}
|
|
12264
|
+
};
|
|
12265
|
+
};
|
|
12266
|
+
const PVPhaseField = (i18n2) => {
|
|
12267
|
+
return {
|
|
12268
|
+
key: "phase",
|
|
12269
|
+
path: ["status", "phase"],
|
|
12270
|
+
title: i18n2.t("dovetail.phase"),
|
|
12271
|
+
renderContent(value2) {
|
|
12272
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(PVPhaseDisplay, { value: value2 });
|
|
12273
|
+
}
|
|
12274
|
+
};
|
|
12275
|
+
};
|
|
12276
|
+
const PVVolumeModeField = (i18n2) => {
|
|
12277
|
+
return {
|
|
12278
|
+
key: "mode",
|
|
12279
|
+
path: ["spec", "volumeMode"],
|
|
12280
|
+
title: i18n2.t("dovetail.volume_mode"),
|
|
12281
|
+
renderContent(value2) {
|
|
12282
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(PVVolumeModeDisplay, { value: value2 });
|
|
12283
|
+
}
|
|
12284
|
+
};
|
|
12285
|
+
};
|
|
12286
|
+
const PVAccessModeField = (i18n2) => {
|
|
12287
|
+
return {
|
|
12288
|
+
key: "accessMode",
|
|
12289
|
+
path: ["spec", "accessModes"],
|
|
12290
|
+
title: i18n2.t("dovetail.access_mode")
|
|
12291
|
+
};
|
|
12292
|
+
};
|
|
12182
12293
|
function __rest(s2, e2) {
|
|
12183
12294
|
var t2 = {};
|
|
12184
12295
|
for (var p in s2)
|
|
@@ -18480,7 +18591,7 @@ const NetworkPolicyEgressRulesGroup = (i18n2) => ({
|
|
|
18480
18591
|
]
|
|
18481
18592
|
});
|
|
18482
18593
|
const StorageClassPvGroup = (i18n2) => ({
|
|
18483
|
-
title: i18n2.t("dovetail.
|
|
18594
|
+
title: i18n2.t("dovetail.persistent_volume"),
|
|
18484
18595
|
areas: [
|
|
18485
18596
|
{
|
|
18486
18597
|
fields: [StorageClassPvField()]
|
|
@@ -22653,7 +22764,7 @@ const Separator = () => {
|
|
|
22653
22764
|
});
|
|
22654
22765
|
};
|
|
22655
22766
|
const MonacoYamlEditor = React__default.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$2));
|
|
22656
|
-
const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-
|
|
22767
|
+
const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-f07df2b6.js"));
|
|
22657
22768
|
const YamlEditorComponent = forwardRef(
|
|
22658
22769
|
function YamlEditorComponent2(props, ref) {
|
|
22659
22770
|
const {
|
|
@@ -34961,7 +35072,7 @@ var SocketStatus = /* @__PURE__ */ ((SocketStatus2) => {
|
|
|
34961
35072
|
return SocketStatus2;
|
|
34962
35073
|
})(SocketStatus || {});
|
|
34963
35074
|
const Shell = React__default.forwardRef(function Shell2(props, ref) {
|
|
34964
|
-
const { url, protocols, encode, decode, onSocketStatusChange, onTermInit, onSocketInit, children } = props;
|
|
35075
|
+
const { className, url, protocols, encode, decode, onSocketStatusChange, onTermInit, onSocketInit, children } = props;
|
|
34965
35076
|
const terminalRef = useRef(null);
|
|
34966
35077
|
const termInstanceRef = useRef(null);
|
|
34967
35078
|
const fitAddonRef = useRef(null);
|
|
@@ -35157,12 +35268,21 @@ const Shell = React__default.forwardRef(function Shell2(props, ref) {
|
|
|
35157
35268
|
(_a = termInstanceRef.current) == null ? void 0 : _a.clear();
|
|
35158
35269
|
},
|
|
35159
35270
|
setSocketStatus,
|
|
35271
|
+
fit,
|
|
35160
35272
|
send,
|
|
35161
35273
|
searchNext,
|
|
35162
35274
|
searchPrevious,
|
|
35163
|
-
getAllTerminalContents
|
|
35164
|
-
|
|
35165
|
-
|
|
35275
|
+
getAllTerminalContents,
|
|
35276
|
+
setOptions(options) {
|
|
35277
|
+
Object.entries(options).forEach(([key2, value2]) => {
|
|
35278
|
+
if (termInstanceRef.current) {
|
|
35279
|
+
termInstanceRef.current.options[key2] = value2;
|
|
35280
|
+
}
|
|
35281
|
+
});
|
|
35282
|
+
fit();
|
|
35283
|
+
}
|
|
35284
|
+
}), [send, searchNext, searchPrevious, getAllTerminalContents, fit]);
|
|
35285
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: terminalRef, className, children });
|
|
35166
35286
|
});
|
|
35167
35287
|
var buffer = {};
|
|
35168
35288
|
var base64Js = {};
|
|
@@ -37241,6 +37361,12 @@ const PodShell = React__default.forwardRef(function PodShell2(props, ref) {
|
|
|
37241
37361
|
window.URL.revokeObjectURL(url2);
|
|
37242
37362
|
}, 0);
|
|
37243
37363
|
}, []);
|
|
37364
|
+
const onChangeFontSize = useCallback(() => {
|
|
37365
|
+
var _a;
|
|
37366
|
+
(_a = shellRef == null ? void 0 : shellRef.current) == null ? void 0 : _a.setOptions({
|
|
37367
|
+
fontSize: 16
|
|
37368
|
+
});
|
|
37369
|
+
}, []);
|
|
37244
37370
|
useEffect(() => {
|
|
37245
37371
|
if (!container2 && containers2.length) {
|
|
37246
37372
|
setContainer(containers2[0]);
|
|
@@ -37284,7 +37410,8 @@ const PodShell = React__default.forwardRef(function PodShell2(props, ref) {
|
|
|
37284
37410
|
children: "Clear"
|
|
37285
37411
|
}
|
|
37286
37412
|
),
|
|
37287
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: onDownloadContent, children: "Download" })
|
|
37413
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: onDownloadContent, children: "Download" }),
|
|
37414
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: onChangeFontSize, children: "Up Size" })
|
|
37288
37415
|
] }),
|
|
37289
37416
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
37290
37417
|
Shell,
|
|
@@ -37703,7 +37830,8 @@ const NamespaceFilterStyle = "n1rqcyjn";
|
|
|
37703
37830
|
function ListPage(props) {
|
|
37704
37831
|
const {
|
|
37705
37832
|
selectedKeys,
|
|
37706
|
-
tableProps
|
|
37833
|
+
tableProps,
|
|
37834
|
+
contentClassName
|
|
37707
37835
|
} = props;
|
|
37708
37836
|
const {
|
|
37709
37837
|
Table: TableComponent
|
|
@@ -37732,7 +37860,7 @@ function ListPage(props) {
|
|
|
37732
37860
|
}
|
|
37733
37861
|
})]
|
|
37734
37862
|
}) : void 0, /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
|
|
37735
|
-
className: ListContentStyle,
|
|
37863
|
+
className: cx_default(ListContentStyle, contentClassName),
|
|
37736
37864
|
children: [!config.hideNamespacesFilter ? /* @__PURE__ */ jsxRuntimeExports.jsx(NamespacesFilter, {
|
|
37737
37865
|
className: NamespaceFilterStyle
|
|
37738
37866
|
}) : void 0, /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
@@ -38705,24 +38833,38 @@ const ProvisionerColumnRenderer = (i18n2) => {
|
|
|
38705
38833
|
sortable: true
|
|
38706
38834
|
};
|
|
38707
38835
|
};
|
|
38708
|
-
const
|
|
38836
|
+
const PVCapacityColumnRenderer = (i18n2) => {
|
|
38709
38837
|
return {
|
|
38710
|
-
key: "
|
|
38838
|
+
key: "capacity",
|
|
38711
38839
|
display: true,
|
|
38712
|
-
dataIndex: ["
|
|
38713
|
-
title: i18n2.t("dovetail.
|
|
38840
|
+
dataIndex: ["spec", "capacity", "storage"],
|
|
38841
|
+
title: i18n2.t("dovetail.capacity"),
|
|
38714
38842
|
width: 120,
|
|
38715
|
-
sortable: true
|
|
38843
|
+
sortable: true,
|
|
38844
|
+
align: "right",
|
|
38845
|
+
render(value2) {
|
|
38846
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Units.Byte, {
|
|
38847
|
+
rawValue: parseSi(value2),
|
|
38848
|
+
decimals: 1
|
|
38849
|
+
});
|
|
38850
|
+
}
|
|
38716
38851
|
};
|
|
38717
38852
|
};
|
|
38718
|
-
const
|
|
38853
|
+
const PVCStorageColumnRenderer = (i18n2) => {
|
|
38719
38854
|
return {
|
|
38720
|
-
key: "
|
|
38855
|
+
key: "storage",
|
|
38721
38856
|
display: true,
|
|
38722
|
-
dataIndex: ["spec", "
|
|
38857
|
+
dataIndex: ["spec", "resources", "requests", "storage"],
|
|
38723
38858
|
title: i18n2.t("dovetail.capacity"),
|
|
38724
38859
|
width: 120,
|
|
38725
|
-
sortable: true
|
|
38860
|
+
sortable: true,
|
|
38861
|
+
align: "right",
|
|
38862
|
+
render(value2) {
|
|
38863
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Units.Byte, {
|
|
38864
|
+
rawValue: parseSi(value2),
|
|
38865
|
+
decimals: 1
|
|
38866
|
+
});
|
|
38867
|
+
}
|
|
38726
38868
|
};
|
|
38727
38869
|
};
|
|
38728
38870
|
const PVStorageClassColumnRenderer = (i18n2) => {
|
|
@@ -38732,7 +38874,14 @@ const PVStorageClassColumnRenderer = (i18n2) => {
|
|
|
38732
38874
|
dataIndex: ["spec", "storageClassName"],
|
|
38733
38875
|
title: i18n2.t("dovetail.storage_class"),
|
|
38734
38876
|
width: 120,
|
|
38735
|
-
sortable: true
|
|
38877
|
+
sortable: true,
|
|
38878
|
+
render(value2) {
|
|
38879
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceLink, {
|
|
38880
|
+
resourceName: "storageclasses",
|
|
38881
|
+
namespace: "",
|
|
38882
|
+
resourceId: value2
|
|
38883
|
+
});
|
|
38884
|
+
}
|
|
38736
38885
|
};
|
|
38737
38886
|
};
|
|
38738
38887
|
const PVPhaseColumnRenderer = (i18n2) => {
|
|
@@ -38742,17 +38891,27 @@ const PVPhaseColumnRenderer = (i18n2) => {
|
|
|
38742
38891
|
dataIndex: ["status", "phase"],
|
|
38743
38892
|
title: i18n2.t("dovetail.phase"),
|
|
38744
38893
|
width: 120,
|
|
38745
|
-
sortable: true
|
|
38894
|
+
sortable: true,
|
|
38895
|
+
render(value2) {
|
|
38896
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(PVPhaseDisplay, {
|
|
38897
|
+
value: value2
|
|
38898
|
+
});
|
|
38899
|
+
}
|
|
38746
38900
|
};
|
|
38747
38901
|
};
|
|
38748
|
-
const
|
|
38902
|
+
const PVVolumeModeColumnRenderer = (i18n2) => {
|
|
38749
38903
|
return {
|
|
38750
38904
|
key: "mode",
|
|
38751
38905
|
display: true,
|
|
38752
38906
|
dataIndex: ["spec", "volumeMode"],
|
|
38753
38907
|
title: i18n2.t("dovetail.volume_mode"),
|
|
38754
38908
|
width: 120,
|
|
38755
|
-
sortable: true
|
|
38909
|
+
sortable: true,
|
|
38910
|
+
render(value2) {
|
|
38911
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(PVVolumeModeDisplay, {
|
|
38912
|
+
value: value2
|
|
38913
|
+
});
|
|
38914
|
+
}
|
|
38756
38915
|
};
|
|
38757
38916
|
};
|
|
38758
38917
|
const PVAccessModeColumnRenderer = (i18n2) => {
|
|
@@ -38989,11 +39148,11 @@ const dovetailRefineI18n = i18n;
|
|
|
38989
39148
|
export {
|
|
38990
39149
|
NamespaceSelectWidget as $,
|
|
38991
39150
|
AgeColumnRenderer as A,
|
|
38992
|
-
|
|
39151
|
+
PVStorageClassColumnRenderer as B,
|
|
38993
39152
|
CommonSorter as C,
|
|
38994
39153
|
DurationColumnRenderer as D,
|
|
38995
|
-
|
|
38996
|
-
|
|
39154
|
+
PVPhaseColumnRenderer as E,
|
|
39155
|
+
PVVolumeModeColumnRenderer as F,
|
|
38997
39156
|
PVAccessModeColumnRenderer as G,
|
|
38998
39157
|
ColumnKeys as H,
|
|
38999
39158
|
IngressRulesColumnRenderer as I,
|
|
@@ -39016,7 +39175,7 @@ export {
|
|
|
39016
39175
|
rfc1123LabelRules as Z,
|
|
39017
39176
|
rfc1035LabelRules as _,
|
|
39018
39177
|
useSchema as a,
|
|
39019
|
-
|
|
39178
|
+
PodLogTab as a$,
|
|
39020
39179
|
namespaceRules as a0,
|
|
39021
39180
|
KeyValueListWidget as a1,
|
|
39022
39181
|
MetadataForm as a2,
|
|
@@ -39046,14 +39205,14 @@ export {
|
|
|
39046
39205
|
PortsTableField as aQ,
|
|
39047
39206
|
DurationField as aR,
|
|
39048
39207
|
StorageClassProvisionerField as aS,
|
|
39049
|
-
|
|
39050
|
-
|
|
39051
|
-
|
|
39052
|
-
|
|
39053
|
-
|
|
39054
|
-
|
|
39055
|
-
|
|
39056
|
-
|
|
39208
|
+
StorageClassPvField as aT,
|
|
39209
|
+
PVCapacityField as aU,
|
|
39210
|
+
PVCStorageField as aV,
|
|
39211
|
+
PVStorageClassField as aW,
|
|
39212
|
+
PVPhaseField as aX,
|
|
39213
|
+
PVVolumeModeField as aY,
|
|
39214
|
+
PVAccessModeField as aZ,
|
|
39215
|
+
EventsTab as a_,
|
|
39057
39216
|
CreateButton as aa,
|
|
39058
39217
|
ImageNames as ab,
|
|
39059
39218
|
ResourceList as ac,
|
|
@@ -39081,108 +39240,115 @@ export {
|
|
|
39081
39240
|
PodsField as ay,
|
|
39082
39241
|
JobsField as az,
|
|
39083
39242
|
useDeleteModal as b,
|
|
39084
|
-
|
|
39085
|
-
|
|
39086
|
-
|
|
39087
|
-
|
|
39088
|
-
|
|
39089
|
-
|
|
39090
|
-
|
|
39091
|
-
|
|
39092
|
-
|
|
39093
|
-
|
|
39094
|
-
|
|
39095
|
-
|
|
39096
|
-
|
|
39097
|
-
|
|
39098
|
-
|
|
39099
|
-
|
|
39100
|
-
|
|
39101
|
-
|
|
39102
|
-
|
|
39103
|
-
|
|
39104
|
-
|
|
39105
|
-
|
|
39106
|
-
|
|
39107
|
-
|
|
39108
|
-
|
|
39109
|
-
|
|
39110
|
-
|
|
39111
|
-
|
|
39112
|
-
|
|
39113
|
-
|
|
39114
|
-
|
|
39115
|
-
|
|
39116
|
-
|
|
39117
|
-
|
|
39118
|
-
|
|
39119
|
-
|
|
39120
|
-
|
|
39121
|
-
|
|
39122
|
-
|
|
39123
|
-
|
|
39124
|
-
|
|
39125
|
-
|
|
39126
|
-
|
|
39127
|
-
|
|
39128
|
-
|
|
39129
|
-
|
|
39130
|
-
|
|
39131
|
-
|
|
39132
|
-
|
|
39133
|
-
|
|
39134
|
-
|
|
39135
|
-
|
|
39136
|
-
|
|
39137
|
-
|
|
39138
|
-
|
|
39139
|
-
|
|
39140
|
-
|
|
39141
|
-
|
|
39142
|
-
|
|
39143
|
-
|
|
39144
|
-
|
|
39145
|
-
|
|
39146
|
-
|
|
39147
|
-
|
|
39243
|
+
NETWORK_POLICY_INIT_VALUE as b$,
|
|
39244
|
+
BasicGroup as b0,
|
|
39245
|
+
PodsGroup as b1,
|
|
39246
|
+
PodContainersGroup as b2,
|
|
39247
|
+
ServicePodsGroup as b3,
|
|
39248
|
+
ConditionsGroup as b4,
|
|
39249
|
+
SecretDataGroup as b5,
|
|
39250
|
+
JobsGroup as b6,
|
|
39251
|
+
IngressRulesGroup as b7,
|
|
39252
|
+
PodSelectorGroup as b8,
|
|
39253
|
+
PortsGroup as b9,
|
|
39254
|
+
ServiceInClusterAccessComponent as bA,
|
|
39255
|
+
ServiceOutClusterAccessComponent as bB,
|
|
39256
|
+
Tags as bC,
|
|
39257
|
+
TextTags as bD,
|
|
39258
|
+
PodLog as bE,
|
|
39259
|
+
NetworkPolicyRulesViewer as bF,
|
|
39260
|
+
PVPhaseDisplay as bG,
|
|
39261
|
+
PVVolumeModeDisplay as bH,
|
|
39262
|
+
Tabs as bI,
|
|
39263
|
+
ResourceSelect as bJ,
|
|
39264
|
+
SocketStatus as bK,
|
|
39265
|
+
Shell as bL,
|
|
39266
|
+
PodShellModal as bM,
|
|
39267
|
+
PodShell as bN,
|
|
39268
|
+
BASE_INIT_VALUE as bO,
|
|
39269
|
+
DEPLOYMENT_INIT_VALUE as bP,
|
|
39270
|
+
CRONJOB_INIT_VALUE as bQ,
|
|
39271
|
+
DAEMONSET_INIT_VALUE as bR,
|
|
39272
|
+
JOB_INIT_VALUE as bS,
|
|
39273
|
+
STATEFULSET_INIT_VALUE as bT,
|
|
39274
|
+
POD_INIT_VALUE as bU,
|
|
39275
|
+
SERVICE_CLUSTER_IP_INIT_VALUE as bV,
|
|
39276
|
+
SERVICE_NODE_PORT_INIT_VALUE as bW,
|
|
39277
|
+
SERVICE_LOAD_BALANCER_INIT_VALUE as bX,
|
|
39278
|
+
SERVICE_EXTERNAL_NAME_INIT_VALUE as bY,
|
|
39279
|
+
SERVICE_HEADLESS_INIT_VALUE as bZ,
|
|
39280
|
+
INGRESS_INIT_VALUE as b_,
|
|
39281
|
+
DataGroup as ba,
|
|
39282
|
+
NetworkPolicyIngressRulesGroup as bb,
|
|
39283
|
+
NetworkPolicyEgressRulesGroup as bc,
|
|
39284
|
+
StorageClassPvGroup as bd,
|
|
39285
|
+
ShowGroupComponent as be,
|
|
39286
|
+
ShowContent as bf,
|
|
39287
|
+
DeleteManyButton as bg,
|
|
39288
|
+
ListPage as bh,
|
|
39289
|
+
StateTagStyle as bi,
|
|
39290
|
+
StateTag as bj,
|
|
39291
|
+
DrawerShow as bk,
|
|
39292
|
+
Menu as bl,
|
|
39293
|
+
EditButton as bm,
|
|
39294
|
+
ReferenceLink as bn,
|
|
39295
|
+
ResourceLink as bo,
|
|
39296
|
+
NS_STORE_KEY as bp,
|
|
39297
|
+
ALL_NS as bq,
|
|
39298
|
+
useNamespacesFilter as br,
|
|
39299
|
+
NamespacesFilter as bs,
|
|
39300
|
+
FullscreenModalStyle as bt,
|
|
39301
|
+
FormModal as bu,
|
|
39302
|
+
RefineFormContent as bv,
|
|
39303
|
+
RefineFormPage as bw,
|
|
39304
|
+
SchemaStrategy as bx,
|
|
39305
|
+
YamlForm as by,
|
|
39306
|
+
useRefineForm as bz,
|
|
39148
39307
|
NameSpaceColumnRenderer as c,
|
|
39149
|
-
|
|
39150
|
-
|
|
39151
|
-
|
|
39152
|
-
|
|
39153
|
-
|
|
39154
|
-
|
|
39155
|
-
|
|
39156
|
-
|
|
39157
|
-
|
|
39158
|
-
|
|
39159
|
-
|
|
39160
|
-
|
|
39161
|
-
|
|
39162
|
-
|
|
39163
|
-
|
|
39164
|
-
|
|
39165
|
-
|
|
39166
|
-
|
|
39167
|
-
|
|
39168
|
-
|
|
39169
|
-
|
|
39170
|
-
|
|
39171
|
-
|
|
39172
|
-
|
|
39173
|
-
|
|
39174
|
-
|
|
39175
|
-
|
|
39176
|
-
|
|
39177
|
-
|
|
39178
|
-
|
|
39179
|
-
|
|
39180
|
-
|
|
39181
|
-
|
|
39182
|
-
|
|
39183
|
-
|
|
39184
|
-
|
|
39185
|
-
|
|
39308
|
+
CONFIG_MAP_INIT_VALUE as c0,
|
|
39309
|
+
SERVER_INSTANCE_INIT_VALUE as c1,
|
|
39310
|
+
TIMESTAMP_LABEL as c2,
|
|
39311
|
+
SECRET_OPAQUE_INIT_VALUE as c3,
|
|
39312
|
+
SECRET_IMAGE_REPO_INIT_VALUE as c4,
|
|
39313
|
+
SECRET_BASIC_AUTH_INIT_VALUE as c5,
|
|
39314
|
+
SECRET_SSH_AUTH_INIT_VALUE as c6,
|
|
39315
|
+
SECRET_TLS_INIT_VALUE as c7,
|
|
39316
|
+
SECRET_CUSTOM_INIT_VALUE as c8,
|
|
39317
|
+
NODE_INIT_VALUE as c9,
|
|
39318
|
+
StorageClassModel as cA,
|
|
39319
|
+
PersistentVolumeModel as cB,
|
|
39320
|
+
PersistentVolumeClaimModel as cC,
|
|
39321
|
+
ProviderPlugins as cD,
|
|
39322
|
+
ModelPlugin as cE,
|
|
39323
|
+
modelPlugin as cF,
|
|
39324
|
+
RelationPlugin as cG,
|
|
39325
|
+
relationPlugin as cH,
|
|
39326
|
+
STORAGE_CLASS_INIT_VALUE as ca,
|
|
39327
|
+
WorkloadState as cb,
|
|
39328
|
+
AccessControlAuth as cc,
|
|
39329
|
+
Dovetail as cd,
|
|
39330
|
+
RESOURCE_GROUP as ce,
|
|
39331
|
+
FormType as cf,
|
|
39332
|
+
ComponentContext as cg,
|
|
39333
|
+
GlobalStoreContext as ch,
|
|
39334
|
+
ConfigsContext as ci,
|
|
39335
|
+
IngressModel as cj,
|
|
39336
|
+
NetworkPolicyModel as ck,
|
|
39337
|
+
JobModel as cl,
|
|
39338
|
+
WorkloadModel as cm,
|
|
39339
|
+
WorkloadBaseModel as cn,
|
|
39340
|
+
PodModel as co,
|
|
39341
|
+
PodMetricsModel as cp,
|
|
39342
|
+
ResourceModel as cq,
|
|
39343
|
+
CronJobModel as cr,
|
|
39344
|
+
EventModel as cs,
|
|
39345
|
+
DeploymentModel as ct,
|
|
39346
|
+
DaemonSetModel as cu,
|
|
39347
|
+
StatefulSetModel as cv,
|
|
39348
|
+
ServiceTypeEnum as cw,
|
|
39349
|
+
ServiceModel as cx,
|
|
39350
|
+
NodeRole as cy,
|
|
39351
|
+
NodeModel as cz,
|
|
39186
39352
|
dovetailRefineI18n as d,
|
|
39187
39353
|
WorkloadRestartsColumnRenderer as e,
|
|
39188
39354
|
NodeNameColumnRenderer as f,
|
|
@@ -39205,5 +39371,5 @@ export {
|
|
|
39205
39371
|
PortMappingColumnRenderer as w,
|
|
39206
39372
|
ProvisionerColumnRenderer as x,
|
|
39207
39373
|
PVCapacityColumnRenderer as y,
|
|
39208
|
-
|
|
39374
|
+
PVCStorageColumnRenderer as z
|
|
39209
39375
|
};
|