@dovetail-v2/refine 0.2.12 → 0.3.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/{MonacoYamlEditor-63a619ee.cjs → MonacoYamlEditor-1ed09191.cjs} +1 -1
- package/dist/{MonacoYamlEditor-9a2832ff.js → MonacoYamlEditor-74ecf0d5.js} +1 -1
- package/dist/components/ResourceLink/index.d.ts +1 -1
- package/dist/hooks/useEagleTable/columns.d.ts +1 -2
- package/dist/hooks/useOpenForm.d.ts +1 -1
- package/dist/{index-64410c76.js → index-23ef5f69.js} +317 -303
- package/dist/{index-d6b404b9.cjs → index-7c78ef6f.cjs} +77 -63
- package/dist/models/pod-model.d.ts +1 -1
- package/dist/models/workload-model.d.ts +1 -0
- package/dist/refine.cjs +3 -3
- package/dist/refine.js +243 -243
- package/dist/utils/getResourceNameByKind.d.ts +2 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -9300,7 +9300,7 @@ class JobModel extends WorkloadBaseModel {
|
|
|
9300
9300
|
return matchSelector(p, (_a = this.spec) == null ? void 0 : _a.selector, this.metadata.namespace);
|
|
9301
9301
|
}
|
|
9302
9302
|
);
|
|
9303
|
-
const result = lodashExports.sumBy(myPods, "
|
|
9303
|
+
const result = lodashExports.sumBy(myPods, "restarts");
|
|
9304
9304
|
this.restarts = result;
|
|
9305
9305
|
}
|
|
9306
9306
|
get duration() {
|
|
@@ -9367,7 +9367,7 @@ class WorkloadModel extends WorkloadBaseModel {
|
|
|
9367
9367
|
return matchSelector(p, (_a = this.spec) == null ? void 0 : _a.selector, this.metadata.namespace);
|
|
9368
9368
|
}
|
|
9369
9369
|
);
|
|
9370
|
-
const result = lodashExports.sumBy(myPods, "
|
|
9370
|
+
const result = lodashExports.sumBy(myPods, "restarts");
|
|
9371
9371
|
this.restarts = result;
|
|
9372
9372
|
}
|
|
9373
9373
|
get replicas() {
|
|
@@ -9376,6 +9376,9 @@ class WorkloadModel extends WorkloadBaseModel {
|
|
|
9376
9376
|
get readyReplicas() {
|
|
9377
9377
|
return this.status && "readyReplicas" in this.status ? this.status.readyReplicas : 0;
|
|
9378
9378
|
}
|
|
9379
|
+
get appKey() {
|
|
9380
|
+
return `${this.kind}-${this.name}-${this.namespace}`;
|
|
9381
|
+
}
|
|
9379
9382
|
redeploy() {
|
|
9380
9383
|
const rawYaml = this._globalStore.restoreItem(this);
|
|
9381
9384
|
const newOne = lodashExports.cloneDeep(rawYaml);
|
|
@@ -9448,7 +9451,7 @@ class PodModel extends WorkloadBaseModel {
|
|
|
9448
9451
|
(container2) => shortenedImage(container2.image || "")
|
|
9449
9452
|
)) || [];
|
|
9450
9453
|
}
|
|
9451
|
-
get
|
|
9454
|
+
get restarts() {
|
|
9452
9455
|
var _a, _b;
|
|
9453
9456
|
if ((_a = this._rawYaml.status) == null ? void 0 : _a.containerStatuses) {
|
|
9454
9457
|
return ((_b = this._rawYaml.status) == null ? void 0 : _b.containerStatuses.reduce((count, container2) => {
|
|
@@ -10180,16 +10183,17 @@ function useOpenForm(options) {
|
|
|
10180
10183
|
const navigation = useNavigation();
|
|
10181
10184
|
const pushModal = usePushModal();
|
|
10182
10185
|
const go = useGo();
|
|
10183
|
-
return function openForm() {
|
|
10186
|
+
return function openForm(resourceName) {
|
|
10184
10187
|
var _a, _b;
|
|
10185
|
-
|
|
10186
|
-
|
|
10188
|
+
const finalResourceName = resourceName || (resource == null ? void 0 : resource.name);
|
|
10189
|
+
if (finalResourceName) {
|
|
10190
|
+
const config = configs[finalResourceName];
|
|
10187
10191
|
const formType = (_a = config.formConfig) == null ? void 0 : _a.formContainerType;
|
|
10188
10192
|
if (formType === void 0 || formType === FormContainerType.MODAL) {
|
|
10189
10193
|
pushModal({
|
|
10190
10194
|
component: ((_b = config.formConfig) == null ? void 0 : _b.CustomFormModal) || FormModal,
|
|
10191
10195
|
props: {
|
|
10192
|
-
resource:
|
|
10196
|
+
resource: finalResourceName,
|
|
10193
10197
|
id: options == null ? void 0 : options.id,
|
|
10194
10198
|
formProps: {
|
|
10195
10199
|
initialValues: getInitialValues(config)
|
|
@@ -10200,7 +10204,7 @@ function useOpenForm(options) {
|
|
|
10200
10204
|
edit2(options.id);
|
|
10201
10205
|
} else {
|
|
10202
10206
|
go({
|
|
10203
|
-
to: navigation.createUrl(
|
|
10207
|
+
to: navigation.createUrl(finalResourceName),
|
|
10204
10208
|
options: {
|
|
10205
10209
|
keepQuery: true
|
|
10206
10210
|
}
|
|
@@ -10209,28 +10213,32 @@ function useOpenForm(options) {
|
|
|
10209
10213
|
}
|
|
10210
10214
|
};
|
|
10211
10215
|
}
|
|
10216
|
+
function getResourceNameByKind(kind, configs) {
|
|
10217
|
+
var _a;
|
|
10218
|
+
return (_a = Object.values(configs).find((config) => config.kind === kind)) == null ? void 0 : _a.name;
|
|
10219
|
+
}
|
|
10212
10220
|
function K8sDropdown(props) {
|
|
10213
10221
|
var _a;
|
|
10214
10222
|
const { record, size = "normal" } = props;
|
|
10215
10223
|
const globalStore = useGlobalStore();
|
|
10216
10224
|
const useResourceResult = useResource();
|
|
10217
|
-
const resource = useResourceResult.resource;
|
|
10218
10225
|
const configs = useContext(ConfigsContext);
|
|
10219
|
-
const
|
|
10226
|
+
const resourceName = getResourceNameByKind(record.kind || "", configs);
|
|
10227
|
+
const config = configs[resourceName || ""];
|
|
10220
10228
|
const { t: t2 } = useTranslation();
|
|
10221
|
-
const { openDeleteConfirmModal } = useDeleteModal({ resourceName:
|
|
10229
|
+
const { openDeleteConfirmModal } = useDeleteModal({ resourceName: resourceName || "" });
|
|
10222
10230
|
const download2 = useDownloadYAML();
|
|
10223
10231
|
const openForm = useOpenForm({ id: record.id });
|
|
10224
10232
|
const isInShowPage = useResourceResult.action === "show";
|
|
10225
10233
|
const { data: canEditData } = useCan({
|
|
10226
|
-
resource:
|
|
10234
|
+
resource: resourceName,
|
|
10227
10235
|
action: AccessControlAuth.Edit,
|
|
10228
10236
|
params: {
|
|
10229
10237
|
namespace: record.namespace
|
|
10230
10238
|
}
|
|
10231
10239
|
});
|
|
10232
10240
|
const { data: canDeleteData } = useCan({
|
|
10233
|
-
resource:
|
|
10241
|
+
resource: resourceName,
|
|
10234
10242
|
action: AccessControlAuth.Delete,
|
|
10235
10243
|
params: {
|
|
10236
10244
|
namespace: record.namespace
|
|
@@ -10241,7 +10249,7 @@ function K8sDropdown(props) {
|
|
|
10241
10249
|
Dropdown,
|
|
10242
10250
|
{
|
|
10243
10251
|
overlay: /* @__PURE__ */ jsxRuntimeExports.jsxs(Menu$1, { children: [
|
|
10244
|
-
isInShowPage || (canEditData == null ? void 0 : canEditData.can) === false || config.hideEdit ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(Menu$1.Item, { onClick: openForm, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, { src: EditPen16PrimaryIcon, children: formType === FormType.FORM ? t2("dovetail.edit") : t2("dovetail.edit_yaml") }) }),
|
|
10252
|
+
isInShowPage || (canEditData == null ? void 0 : canEditData.can) === false || config.hideEdit ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(Menu$1.Item, { onClick: () => openForm(), children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, { src: EditPen16PrimaryIcon, children: formType === FormType.FORM ? t2("dovetail.edit") : t2("dovetail.edit_yaml") }) }),
|
|
10245
10253
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
10246
10254
|
Menu$1.Item,
|
|
10247
10255
|
{
|
|
@@ -10399,7 +10407,7 @@ function CreateButton(props) {
|
|
|
10399
10407
|
{
|
|
10400
10408
|
prefixIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(PlusAddCreateNew16BoldOntintIcon, {}),
|
|
10401
10409
|
type: "primary",
|
|
10402
|
-
onClick: openForm,
|
|
10410
|
+
onClick: () => openForm(),
|
|
10403
10411
|
children: createButtonText || t2("dovetail.create_resource", {
|
|
10404
10412
|
resource: transformResourceKindInSentence(label2, i18n2.language)
|
|
10405
10413
|
})
|
|
@@ -10678,7 +10686,7 @@ const index_x36tts = "";
|
|
|
10678
10686
|
const LinkStyle = "l1vnw9x0";
|
|
10679
10687
|
const ResourceLink = (props) => {
|
|
10680
10688
|
const {
|
|
10681
|
-
|
|
10689
|
+
resourceName,
|
|
10682
10690
|
namespace: namespace2,
|
|
10683
10691
|
name: name2,
|
|
10684
10692
|
uid,
|
|
@@ -10769,7 +10777,7 @@ const IngressRulesTable = ({ ingress }) => {
|
|
|
10769
10777
|
return record.serviceName ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
10770
10778
|
ResourceLink,
|
|
10771
10779
|
{
|
|
10772
|
-
|
|
10780
|
+
resourceName: "services",
|
|
10773
10781
|
namespace: ingress.metadata.namespace || "default",
|
|
10774
10782
|
name: serviceName
|
|
10775
10783
|
}
|
|
@@ -10796,7 +10804,7 @@ const IngressRulesTable = ({ ingress }) => {
|
|
|
10796
10804
|
return secretName ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
10797
10805
|
ResourceLink,
|
|
10798
10806
|
{
|
|
10799
|
-
|
|
10807
|
+
resourceName: "secrets",
|
|
10800
10808
|
namespace: ingress.metadata.namespace || "default",
|
|
10801
10809
|
name: secretName
|
|
10802
10810
|
}
|
|
@@ -11124,7 +11132,7 @@ const ShowContent = (props) => {
|
|
|
11124
11132
|
style: {
|
|
11125
11133
|
marginRight: 8
|
|
11126
11134
|
},
|
|
11127
|
-
onClick: openForm,
|
|
11135
|
+
onClick: () => openForm(),
|
|
11128
11136
|
children: ((_f = config.formConfig) == null ? void 0 : _f.formType) === FormType.FORM ? t2("dovetail.edit") : t2("dovetail.edit_yaml")
|
|
11129
11137
|
})
|
|
11130
11138
|
}) : null, /* @__PURE__ */ jsxRuntimeExports.jsx(Dropdown2, {
|
|
@@ -11767,7 +11775,7 @@ const WorkloadPodsTable = ({
|
|
|
11767
11775
|
title: i18n2.t("dovetail.ip_address"),
|
|
11768
11776
|
sortable: true,
|
|
11769
11777
|
width: 160
|
|
11770
|
-
}, hideNodeColumn ? void 0 : NodeNameColumnRenderer(i18n2), WorkloadImageColumnRenderer(i18n2), PodContainersNumColumnRenderer(i18n2),
|
|
11778
|
+
}, hideNodeColumn ? void 0 : NodeNameColumnRenderer(i18n2), WorkloadImageColumnRenderer(i18n2), PodContainersNumColumnRenderer(i18n2), RestartsColumnRenderer(i18n2), AgeColumnRenderer(i18n2)].filter((v) => !!v);
|
|
11771
11779
|
const {
|
|
11772
11780
|
tableProps
|
|
11773
11781
|
} = useEagleTable({
|
|
@@ -12310,7 +12318,7 @@ const PVRefField = (i18n2) => {
|
|
|
12310
12318
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
12311
12319
|
ResourceLink,
|
|
12312
12320
|
{
|
|
12313
|
-
|
|
12321
|
+
resourceName: "persistentvolumes",
|
|
12314
12322
|
namespace: "",
|
|
12315
12323
|
name: value2
|
|
12316
12324
|
}
|
|
@@ -12324,7 +12332,7 @@ const PVStorageClassField = (i18n2) => {
|
|
|
12324
12332
|
path: ["spec", "storageClassName"],
|
|
12325
12333
|
title: i18n2.t("dovetail.storage_class"),
|
|
12326
12334
|
renderContent(value2) {
|
|
12327
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceLink, {
|
|
12335
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceLink, { resourceName: "storageclasses", namespace: "", name: value2 });
|
|
12328
12336
|
}
|
|
12329
12337
|
};
|
|
12330
12338
|
};
|
|
@@ -12392,7 +12400,7 @@ const PVCRefField = (i18n2) => {
|
|
|
12392
12400
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
12393
12401
|
ResourceLink,
|
|
12394
12402
|
{
|
|
12395
|
-
|
|
12403
|
+
resourceName: "persistentvolumeclaims",
|
|
12396
12404
|
namespace: pv2.pvcNamespace || "default",
|
|
12397
12405
|
name: value2,
|
|
12398
12406
|
uid: pv2.pvcUid
|
|
@@ -12682,7 +12690,7 @@ const PodLogTab = (i18n2) => ({
|
|
|
12682
12690
|
]
|
|
12683
12691
|
});
|
|
12684
12692
|
const NetworkPolicyRulesViewer_r6jity = "";
|
|
12685
|
-
const MonacoYamlEditor$1 = lazy(() => import("./MonacoYamlEditor-
|
|
12693
|
+
const MonacoYamlEditor$1 = lazy(() => import("./MonacoYamlEditor-74ecf0d5.js"));
|
|
12686
12694
|
const EditorStyle$1 = "e1cjl2b8";
|
|
12687
12695
|
const NetworkPolicyRulesViewer = ({
|
|
12688
12696
|
ingressOrEgress,
|
|
@@ -12759,13 +12767,13 @@ const PodContainersTable = ({
|
|
|
12759
12767
|
}
|
|
12760
12768
|
},
|
|
12761
12769
|
{
|
|
12762
|
-
key: "
|
|
12763
|
-
dataIndex: ["
|
|
12770
|
+
key: "restarts",
|
|
12771
|
+
dataIndex: ["restarts"],
|
|
12764
12772
|
title: i18n2.t("dovetail.restarts"),
|
|
12765
12773
|
sortable: true,
|
|
12766
12774
|
align: "right",
|
|
12767
12775
|
width: 120,
|
|
12768
|
-
sorter: CommonSorter(["
|
|
12776
|
+
sorter: CommonSorter(["restarts"])
|
|
12769
12777
|
},
|
|
12770
12778
|
{
|
|
12771
12779
|
key: "started",
|
|
@@ -15069,18 +15077,26 @@ const NamespacesFilter = ({
|
|
|
15069
15077
|
};
|
|
15070
15078
|
function useNamespaceRefineFilter() {
|
|
15071
15079
|
const { value: nsFilters = [] } = useNamespacesFilter();
|
|
15072
|
-
const filters = useMemo(() =>
|
|
15073
|
-
|
|
15074
|
-
|
|
15075
|
-
|
|
15076
|
-
|
|
15077
|
-
|
|
15078
|
-
|
|
15079
|
-
|
|
15080
|
-
|
|
15081
|
-
|
|
15082
|
-
|
|
15083
|
-
|
|
15080
|
+
const filters = useMemo(() => {
|
|
15081
|
+
const filters2 = nsFilters.filter((filter) => filter !== ALL_NS);
|
|
15082
|
+
if (filters2.length === 0) {
|
|
15083
|
+
return {
|
|
15084
|
+
permanent: []
|
|
15085
|
+
};
|
|
15086
|
+
}
|
|
15087
|
+
return {
|
|
15088
|
+
permanent: [
|
|
15089
|
+
{
|
|
15090
|
+
operator: "or",
|
|
15091
|
+
value: filters2.map((filter) => ({
|
|
15092
|
+
field: "metadata.namespace",
|
|
15093
|
+
operator: "eq",
|
|
15094
|
+
value: filter
|
|
15095
|
+
}))
|
|
15096
|
+
}
|
|
15097
|
+
]
|
|
15098
|
+
};
|
|
15099
|
+
}, [nsFilters]);
|
|
15084
15100
|
return filters;
|
|
15085
15101
|
}
|
|
15086
15102
|
const index_1l2xllo = "";
|
|
@@ -16106,7 +16122,7 @@ const PlainCodeStyle = "pqch97v";
|
|
|
16106
16122
|
const ErrorMsgStyle = "eh2qjnl";
|
|
16107
16123
|
const ErrorWrapperStyle = "e19q2bnp";
|
|
16108
16124
|
const YamlEditorStyle = "y16u5v3w";
|
|
16109
|
-
const MonacoYamlEditor = React__default.lazy(() => import("./MonacoYamlEditor-
|
|
16125
|
+
const MonacoYamlEditor = React__default.lazy(() => import("./MonacoYamlEditor-74ecf0d5.js"));
|
|
16110
16126
|
const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-7de94ad2.js"));
|
|
16111
16127
|
const YamlEditorComponent = forwardRef(
|
|
16112
16128
|
function YamlEditorComponent2(props, ref) {
|
|
@@ -17695,7 +17711,7 @@ const ReferenceLink = (props) => {
|
|
|
17695
17711
|
ResourceLink,
|
|
17696
17712
|
{
|
|
17697
17713
|
name: ownerReference.name,
|
|
17698
|
-
|
|
17714
|
+
resourceName: resource.name || "",
|
|
17699
17715
|
namespace: namespace2
|
|
17700
17716
|
}
|
|
17701
17717
|
);
|
|
@@ -17757,7 +17773,7 @@ const IngressRulesComponent = ({ ingress }) => {
|
|
|
17757
17773
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
17758
17774
|
ResourceLink,
|
|
17759
17775
|
{
|
|
17760
|
-
|
|
17776
|
+
resourceName: "services",
|
|
17761
17777
|
namespace: ingress.metadata.namespace || "default",
|
|
17762
17778
|
name: r2.serviceName
|
|
17763
17779
|
}
|
|
@@ -17811,6 +17827,10 @@ const CommonSorter = (dataIndex) => (a2, b) => {
|
|
|
17811
17827
|
const valB = lodashExports.get(b, dataIndex);
|
|
17812
17828
|
if (valA === valB)
|
|
17813
17829
|
return 0;
|
|
17830
|
+
if (valA !== void 0 && valB === void 0)
|
|
17831
|
+
return 1;
|
|
17832
|
+
if (valA === void 0 && valB !== void 0)
|
|
17833
|
+
return -1;
|
|
17814
17834
|
if (valA > valB)
|
|
17815
17835
|
return 1;
|
|
17816
17836
|
return -1;
|
|
@@ -17895,7 +17915,7 @@ const WorkloadImageColumnRenderer = (i18n2) => {
|
|
|
17895
17915
|
}
|
|
17896
17916
|
};
|
|
17897
17917
|
};
|
|
17898
|
-
const
|
|
17918
|
+
const RestartsColumnRenderer = (i18n2) => {
|
|
17899
17919
|
const dataIndex = ["restarts"];
|
|
17900
17920
|
return {
|
|
17901
17921
|
key: "restarts",
|
|
@@ -17903,7 +17923,14 @@ const WorkloadRestartsColumnRenderer = (i18n2) => {
|
|
|
17903
17923
|
width: 120,
|
|
17904
17924
|
dataIndex,
|
|
17905
17925
|
align: "right",
|
|
17906
|
-
|
|
17926
|
+
sortable: true,
|
|
17927
|
+
sorter: CommonSorter(dataIndex),
|
|
17928
|
+
title: i18n2.t("dovetail.restarts"),
|
|
17929
|
+
render: (value2) => {
|
|
17930
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDisplay, {
|
|
17931
|
+
value: value2
|
|
17932
|
+
});
|
|
17933
|
+
}
|
|
17907
17934
|
};
|
|
17908
17935
|
};
|
|
17909
17936
|
const ReplicasColumnRenderer = (i18n2) => {
|
|
@@ -17967,7 +17994,7 @@ const NodeNameColumnRenderer = (i18n2, options) => {
|
|
|
17967
17994
|
sorter: CommonSorter(dataIndex),
|
|
17968
17995
|
render: (v) => {
|
|
17969
17996
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceLink, {
|
|
17970
|
-
|
|
17997
|
+
resourceName: "nodes",
|
|
17971
17998
|
name: v,
|
|
17972
17999
|
namespace: ""
|
|
17973
18000
|
});
|
|
@@ -17975,19 +18002,6 @@ const NodeNameColumnRenderer = (i18n2, options) => {
|
|
|
17975
18002
|
...options
|
|
17976
18003
|
};
|
|
17977
18004
|
};
|
|
17978
|
-
const RestartCountColumnRenderer = (i18n2) => {
|
|
17979
|
-
const dataIndex = ["restartCount"];
|
|
17980
|
-
return {
|
|
17981
|
-
key: "restartCount",
|
|
17982
|
-
display: true,
|
|
17983
|
-
dataIndex,
|
|
17984
|
-
title: i18n2.t("dovetail.restarts"),
|
|
17985
|
-
sortable: true,
|
|
17986
|
-
width: 120,
|
|
17987
|
-
align: "right",
|
|
17988
|
-
sorter: CommonSorter(dataIndex)
|
|
17989
|
-
};
|
|
17990
|
-
};
|
|
17991
18005
|
const CompletionsCountColumnRenderer = (i18n2) => {
|
|
17992
18006
|
const dataIndex = ["succeeded"];
|
|
17993
18007
|
return {
|
|
@@ -18357,7 +18371,7 @@ const PVRefColumnRenderer = (i18n2) => {
|
|
|
18357
18371
|
sortable: true,
|
|
18358
18372
|
render(value2) {
|
|
18359
18373
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceLink, {
|
|
18360
|
-
|
|
18374
|
+
resourceName: "persistentvolumes",
|
|
18361
18375
|
namespace: "",
|
|
18362
18376
|
name: value2
|
|
18363
18377
|
});
|
|
@@ -18374,7 +18388,7 @@ const PVStorageClassColumnRenderer = (i18n2) => {
|
|
|
18374
18388
|
sortable: true,
|
|
18375
18389
|
render(value2) {
|
|
18376
18390
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceLink, {
|
|
18377
|
-
|
|
18391
|
+
resourceName: "storageclasses",
|
|
18378
18392
|
namespace: "",
|
|
18379
18393
|
name: value2
|
|
18380
18394
|
});
|
|
@@ -18407,7 +18421,7 @@ const PVCRefColumnRenderer = (i18n2) => {
|
|
|
18407
18421
|
sortable: true,
|
|
18408
18422
|
render(value2, pv2) {
|
|
18409
18423
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceLink, {
|
|
18410
|
-
|
|
18424
|
+
resourceName: "persistentvolumeclaims",
|
|
18411
18425
|
namespace: pv2.pvcNamespace || "default",
|
|
18412
18426
|
name: value2,
|
|
18413
18427
|
uid: pv2.pvcUid
|
|
@@ -18738,265 +18752,265 @@ const relationPlugin = new RelationPlugin();
|
|
|
18738
18752
|
const ProviderPlugins = [relationPlugin, modelPlugin];
|
|
18739
18753
|
const dovetailRefineI18n = i18n;
|
|
18740
18754
|
export {
|
|
18741
|
-
|
|
18755
|
+
useOpenForm as $,
|
|
18742
18756
|
AgeColumnRenderer as A,
|
|
18743
|
-
|
|
18757
|
+
PVCStorageColumnRenderer as B,
|
|
18744
18758
|
CommonSorter as C,
|
|
18745
18759
|
DurationColumnRenderer as D,
|
|
18746
|
-
|
|
18747
|
-
|
|
18748
|
-
|
|
18749
|
-
|
|
18760
|
+
PVRefColumnRenderer as E,
|
|
18761
|
+
PVStorageClassColumnRenderer as F,
|
|
18762
|
+
PVPhaseColumnRenderer as G,
|
|
18763
|
+
PVCRefColumnRenderer as H,
|
|
18750
18764
|
IngressRulesColumnRenderer as I,
|
|
18751
|
-
|
|
18752
|
-
|
|
18753
|
-
|
|
18754
|
-
|
|
18765
|
+
PVCSIRefColumnRenderer as J,
|
|
18766
|
+
PVVolumeModeColumnRenderer as K,
|
|
18767
|
+
PVAccessModeColumnRenderer as L,
|
|
18768
|
+
IsDefaultSCColumnRenderer as M,
|
|
18755
18769
|
NameColumnRenderer as N,
|
|
18756
|
-
|
|
18770
|
+
SCReclaimPolicyColumnRenderer as O,
|
|
18757
18771
|
PlainTextNameColumnRenderer as P,
|
|
18758
|
-
|
|
18759
|
-
|
|
18772
|
+
SCAllowExpandColumnRenderer as Q,
|
|
18773
|
+
RestartsColumnRenderer as R,
|
|
18760
18774
|
StateDisplayColumnRenderer as S,
|
|
18761
|
-
|
|
18762
|
-
|
|
18763
|
-
|
|
18775
|
+
ColumnKeys as T,
|
|
18776
|
+
addDefaultRenderToColumns as U,
|
|
18777
|
+
useEagleTable as V,
|
|
18764
18778
|
WorkloadImageColumnRenderer as W,
|
|
18765
|
-
|
|
18779
|
+
useDownloadYAML as X,
|
|
18766
18780
|
YamlEditorStyle as Y,
|
|
18767
|
-
|
|
18768
|
-
|
|
18781
|
+
useEdit as Z,
|
|
18782
|
+
useGlobalStore as _,
|
|
18769
18783
|
useApiGroupSchema as a,
|
|
18770
|
-
|
|
18771
|
-
|
|
18772
|
-
|
|
18773
|
-
|
|
18774
|
-
|
|
18775
|
-
|
|
18776
|
-
|
|
18777
|
-
|
|
18778
|
-
|
|
18779
|
-
|
|
18780
|
-
|
|
18781
|
-
|
|
18782
|
-
|
|
18783
|
-
|
|
18784
|
-
|
|
18785
|
-
|
|
18786
|
-
|
|
18787
|
-
|
|
18788
|
-
|
|
18789
|
-
|
|
18790
|
-
|
|
18791
|
-
|
|
18792
|
-
|
|
18793
|
-
|
|
18794
|
-
|
|
18795
|
-
|
|
18796
|
-
|
|
18797
|
-
|
|
18798
|
-
|
|
18799
|
-
|
|
18800
|
-
|
|
18801
|
-
|
|
18802
|
-
|
|
18803
|
-
|
|
18804
|
-
|
|
18805
|
-
|
|
18806
|
-
|
|
18807
|
-
|
|
18808
|
-
|
|
18809
|
-
|
|
18810
|
-
|
|
18811
|
-
|
|
18812
|
-
|
|
18813
|
-
|
|
18814
|
-
|
|
18815
|
-
|
|
18816
|
-
|
|
18817
|
-
|
|
18818
|
-
|
|
18819
|
-
|
|
18820
|
-
|
|
18821
|
-
|
|
18822
|
-
|
|
18823
|
-
|
|
18824
|
-
|
|
18825
|
-
|
|
18826
|
-
|
|
18827
|
-
|
|
18828
|
-
|
|
18829
|
-
|
|
18830
|
-
|
|
18831
|
-
|
|
18832
|
-
|
|
18833
|
-
|
|
18784
|
+
ServiceOutClusterAccessField as a$,
|
|
18785
|
+
index as a0,
|
|
18786
|
+
WidgetErrorContent as a1,
|
|
18787
|
+
Breadcrumb as a2,
|
|
18788
|
+
NameInputWidget as a3,
|
|
18789
|
+
dnsSubDomainRules as a4,
|
|
18790
|
+
rfc1123LabelRules as a5,
|
|
18791
|
+
rfc1035LabelRules as a6,
|
|
18792
|
+
NamespaceSelectWidget as a7,
|
|
18793
|
+
namespaceRules as a8,
|
|
18794
|
+
KeyValueListWidget as a9,
|
|
18795
|
+
KeyValueAnnotation as aA,
|
|
18796
|
+
KeyValueSecret as aB,
|
|
18797
|
+
Separator as aC,
|
|
18798
|
+
YamlEditorComponent as aD,
|
|
18799
|
+
DeleteButton as aE,
|
|
18800
|
+
Layout as aF,
|
|
18801
|
+
AreaType as aG,
|
|
18802
|
+
ImageField as aH,
|
|
18803
|
+
ReplicaField as aI,
|
|
18804
|
+
ConditionsField as aJ,
|
|
18805
|
+
NodeTaintsField as aK,
|
|
18806
|
+
PodsField as aL,
|
|
18807
|
+
JobsField as aM,
|
|
18808
|
+
DataField as aN,
|
|
18809
|
+
SecretDataField as aO,
|
|
18810
|
+
StartTimeField as aP,
|
|
18811
|
+
ServiceTypeField as aQ,
|
|
18812
|
+
ClusterIpField as aR,
|
|
18813
|
+
SessionAffinityField as aS,
|
|
18814
|
+
ServicePodsField as aT,
|
|
18815
|
+
IngressRulesTableTabField as aU,
|
|
18816
|
+
EventsTableTabField as aV,
|
|
18817
|
+
NamespaceField as aW,
|
|
18818
|
+
AgeField as aX,
|
|
18819
|
+
LabelsField as aY,
|
|
18820
|
+
AnnotationsField as aZ,
|
|
18821
|
+
ServiceInnerClusterAccessField as a_,
|
|
18822
|
+
MetadataForm as aa,
|
|
18823
|
+
PageShow as ab,
|
|
18824
|
+
Time as ac,
|
|
18825
|
+
ConditionsTable as ad,
|
|
18826
|
+
FormErrorAlert as ae,
|
|
18827
|
+
PodContainersTable as af,
|
|
18828
|
+
WorkloadDropdown as ag,
|
|
18829
|
+
ReplicasDropdown as ah,
|
|
18830
|
+
PodDropdown as ai,
|
|
18831
|
+
CreateButton as aj,
|
|
18832
|
+
ImageNames as ak,
|
|
18833
|
+
ResourceList as al,
|
|
18834
|
+
ResourceShow as am,
|
|
18835
|
+
ResourceForm as an,
|
|
18836
|
+
ResourceCRUD as ao,
|
|
18837
|
+
WorkloadPodsTable as ap,
|
|
18838
|
+
CronJobDropdown as aq,
|
|
18839
|
+
K8sDropdown as ar,
|
|
18840
|
+
EditLabelDropdownMenuItem as as,
|
|
18841
|
+
EditAnnotationDropdownMenuItem as at,
|
|
18842
|
+
EditNodeTaintDropdownMenuItem as au,
|
|
18843
|
+
ResourceUsageBar as av,
|
|
18844
|
+
WorkloadReplicasForm as aw,
|
|
18845
|
+
WorkloadReplicas as ax,
|
|
18846
|
+
CronjobJobsTable as ay,
|
|
18847
|
+
KeyValue as az,
|
|
18834
18848
|
useSchema as b,
|
|
18835
|
-
|
|
18836
|
-
|
|
18837
|
-
|
|
18838
|
-
|
|
18839
|
-
|
|
18840
|
-
|
|
18841
|
-
|
|
18842
|
-
|
|
18843
|
-
|
|
18844
|
-
|
|
18845
|
-
|
|
18846
|
-
|
|
18847
|
-
|
|
18848
|
-
|
|
18849
|
-
|
|
18850
|
-
|
|
18851
|
-
|
|
18852
|
-
|
|
18853
|
-
|
|
18854
|
-
|
|
18855
|
-
|
|
18856
|
-
|
|
18857
|
-
|
|
18858
|
-
|
|
18859
|
-
|
|
18860
|
-
|
|
18861
|
-
|
|
18862
|
-
|
|
18863
|
-
|
|
18864
|
-
|
|
18865
|
-
|
|
18866
|
-
|
|
18867
|
-
|
|
18868
|
-
|
|
18869
|
-
|
|
18870
|
-
|
|
18871
|
-
|
|
18872
|
-
|
|
18873
|
-
|
|
18874
|
-
|
|
18875
|
-
|
|
18876
|
-
|
|
18877
|
-
|
|
18878
|
-
|
|
18879
|
-
|
|
18880
|
-
|
|
18881
|
-
|
|
18882
|
-
|
|
18883
|
-
|
|
18884
|
-
|
|
18885
|
-
|
|
18886
|
-
|
|
18887
|
-
|
|
18888
|
-
|
|
18889
|
-
|
|
18890
|
-
|
|
18891
|
-
|
|
18892
|
-
|
|
18893
|
-
|
|
18894
|
-
|
|
18895
|
-
|
|
18896
|
-
|
|
18897
|
-
|
|
18898
|
-
|
|
18849
|
+
TextTags as b$,
|
|
18850
|
+
PodSelectorField as b0,
|
|
18851
|
+
PortsTableField as b1,
|
|
18852
|
+
DurationField as b2,
|
|
18853
|
+
StorageClassProvisionerField as b3,
|
|
18854
|
+
StorageClassPvField as b4,
|
|
18855
|
+
PVCapacityField as b5,
|
|
18856
|
+
PVCStorageField as b6,
|
|
18857
|
+
PVRefField as b7,
|
|
18858
|
+
PVStorageClassField as b8,
|
|
18859
|
+
PVPhaseField as b9,
|
|
18860
|
+
StorageClassPvGroup as bA,
|
|
18861
|
+
ResourceTableGroup as bB,
|
|
18862
|
+
ShowGroupComponent as bC,
|
|
18863
|
+
ShowContent as bD,
|
|
18864
|
+
DeleteManyButton as bE,
|
|
18865
|
+
ListPage as bF,
|
|
18866
|
+
StateTag as bG,
|
|
18867
|
+
DrawerShow as bH,
|
|
18868
|
+
Menu as bI,
|
|
18869
|
+
Table as bJ,
|
|
18870
|
+
EditButton as bK,
|
|
18871
|
+
ReferenceLink as bL,
|
|
18872
|
+
ResourceLink as bM,
|
|
18873
|
+
NS_STORE_KEY as bN,
|
|
18874
|
+
ALL_NS as bO,
|
|
18875
|
+
useNamespacesFilter as bP,
|
|
18876
|
+
NamespacesFilter as bQ,
|
|
18877
|
+
FormModal as bR,
|
|
18878
|
+
renderCommonFormFiled as bS,
|
|
18879
|
+
RefineFormContent as bT,
|
|
18880
|
+
RefineFormPage as bU,
|
|
18881
|
+
SchemaStrategy as bV,
|
|
18882
|
+
YamlForm as bW,
|
|
18883
|
+
useRefineForm as bX,
|
|
18884
|
+
ServiceInClusterAccessComponent as bY,
|
|
18885
|
+
ServiceOutClusterAccessComponent as bZ,
|
|
18886
|
+
Tags as b_,
|
|
18887
|
+
PVVolumeModeField as ba,
|
|
18888
|
+
PVAccessModeField as bb,
|
|
18889
|
+
PVCPodsField as bc,
|
|
18890
|
+
PVCRefField as bd,
|
|
18891
|
+
PVCSIRefField as be,
|
|
18892
|
+
IsDefaultSCField as bf,
|
|
18893
|
+
SCReclaimPolicyField as bg,
|
|
18894
|
+
IsSCAllowVolumeExpansionField as bh,
|
|
18895
|
+
ResourceTableField as bi,
|
|
18896
|
+
EventsTab as bj,
|
|
18897
|
+
PodLogTab as bk,
|
|
18898
|
+
BasicGroup as bl,
|
|
18899
|
+
PodsGroup as bm,
|
|
18900
|
+
PodContainersGroup as bn,
|
|
18901
|
+
ServicePodsGroup as bo,
|
|
18902
|
+
PVCPodsGroup as bp,
|
|
18903
|
+
ConditionsGroup as bq,
|
|
18904
|
+
NodeTaintsGroup as br,
|
|
18905
|
+
SecretDataGroup as bs,
|
|
18906
|
+
JobsGroup as bt,
|
|
18907
|
+
IngressRulesGroup as bu,
|
|
18908
|
+
PodSelectorGroup as bv,
|
|
18909
|
+
PortsGroup as bw,
|
|
18910
|
+
DataGroup as bx,
|
|
18911
|
+
NetworkPolicyIngressRulesGroup as by,
|
|
18912
|
+
NetworkPolicyEgressRulesGroup as bz,
|
|
18899
18913
|
useDeleteModal as c,
|
|
18900
|
-
|
|
18901
|
-
|
|
18902
|
-
|
|
18903
|
-
|
|
18904
|
-
|
|
18905
|
-
|
|
18906
|
-
|
|
18907
|
-
|
|
18908
|
-
|
|
18909
|
-
|
|
18910
|
-
|
|
18911
|
-
|
|
18912
|
-
|
|
18913
|
-
|
|
18914
|
-
|
|
18915
|
-
|
|
18916
|
-
|
|
18917
|
-
|
|
18918
|
-
|
|
18919
|
-
|
|
18920
|
-
|
|
18921
|
-
|
|
18922
|
-
|
|
18923
|
-
|
|
18924
|
-
|
|
18925
|
-
|
|
18926
|
-
|
|
18927
|
-
|
|
18928
|
-
|
|
18929
|
-
|
|
18930
|
-
|
|
18931
|
-
|
|
18932
|
-
|
|
18933
|
-
|
|
18934
|
-
|
|
18935
|
-
|
|
18936
|
-
|
|
18937
|
-
|
|
18938
|
-
|
|
18939
|
-
|
|
18940
|
-
|
|
18941
|
-
|
|
18942
|
-
|
|
18943
|
-
|
|
18944
|
-
|
|
18945
|
-
|
|
18946
|
-
|
|
18947
|
-
|
|
18948
|
-
|
|
18949
|
-
|
|
18950
|
-
|
|
18951
|
-
|
|
18952
|
-
|
|
18953
|
-
|
|
18954
|
-
|
|
18955
|
-
|
|
18956
|
-
|
|
18957
|
-
|
|
18958
|
-
|
|
18959
|
-
|
|
18960
|
-
|
|
18961
|
-
|
|
18962
|
-
|
|
18963
|
-
|
|
18914
|
+
NodeModel as c$,
|
|
18915
|
+
PodLog as c0,
|
|
18916
|
+
NetworkPolicyRulesViewer as c1,
|
|
18917
|
+
PVVolumeModeDisplay as c2,
|
|
18918
|
+
Tabs as c3,
|
|
18919
|
+
ResourceSelect as c4,
|
|
18920
|
+
PodShellModal as c5,
|
|
18921
|
+
PodShell as c6,
|
|
18922
|
+
ResourceTable as c7,
|
|
18923
|
+
ErrorWrapper as c8,
|
|
18924
|
+
ErrorContentType as c9,
|
|
18925
|
+
PVC_INIT_VALUE as cA,
|
|
18926
|
+
ResourceState as cB,
|
|
18927
|
+
AccessControlAuth as cC,
|
|
18928
|
+
Dovetail as cD,
|
|
18929
|
+
RESOURCE_GROUP as cE,
|
|
18930
|
+
FormContainerType as cF,
|
|
18931
|
+
FormType as cG,
|
|
18932
|
+
FormMode as cH,
|
|
18933
|
+
ComponentContext as cI,
|
|
18934
|
+
GlobalStoreContext as cJ,
|
|
18935
|
+
ConfigsContext as cK,
|
|
18936
|
+
IngressModel as cL,
|
|
18937
|
+
NetworkPolicyModel as cM,
|
|
18938
|
+
JobModel as cN,
|
|
18939
|
+
WorkloadModel as cO,
|
|
18940
|
+
WorkloadBaseModel as cP,
|
|
18941
|
+
PodModel as cQ,
|
|
18942
|
+
PodMetricsModel as cR,
|
|
18943
|
+
ResourceModel as cS,
|
|
18944
|
+
CronJobModel as cT,
|
|
18945
|
+
EventModel as cU,
|
|
18946
|
+
DeploymentModel as cV,
|
|
18947
|
+
DaemonSetModel as cW,
|
|
18948
|
+
StatefulSetModel as cX,
|
|
18949
|
+
ServiceTypeEnum as cY,
|
|
18950
|
+
ServiceModel as cZ,
|
|
18951
|
+
NodeRole as c_,
|
|
18952
|
+
BASE_INIT_VALUE as ca,
|
|
18953
|
+
DEPLOYMENT_INIT_VALUE as cb,
|
|
18954
|
+
CRONJOB_INIT_VALUE as cc,
|
|
18955
|
+
DAEMONSET_INIT_VALUE as cd,
|
|
18956
|
+
JOB_INIT_VALUE as ce,
|
|
18957
|
+
STATEFULSET_INIT_VALUE as cf,
|
|
18958
|
+
POD_INIT_VALUE as cg,
|
|
18959
|
+
SERVICE_CLUSTER_IP_INIT_VALUE as ch,
|
|
18960
|
+
SERVICE_NODE_PORT_INIT_VALUE as ci,
|
|
18961
|
+
SERVICE_LOAD_BALANCER_INIT_VALUE as cj,
|
|
18962
|
+
SERVICE_EXTERNAL_NAME_INIT_VALUE as ck,
|
|
18963
|
+
SERVICE_HEADLESS_INIT_VALUE as cl,
|
|
18964
|
+
INGRESS_INIT_VALUE as cm,
|
|
18965
|
+
NETWORK_POLICY_INIT_VALUE as cn,
|
|
18966
|
+
CONFIG_MAP_INIT_VALUE as co,
|
|
18967
|
+
SERVER_INSTANCE_INIT_VALUE as cp,
|
|
18968
|
+
REDEPLOY_TIMESTAMP_KEY as cq,
|
|
18969
|
+
SECRET_OPAQUE_INIT_VALUE as cr,
|
|
18970
|
+
SECRET_IMAGE_REPO_INIT_VALUE as cs,
|
|
18971
|
+
SECRET_BASIC_AUTH_INIT_VALUE as ct,
|
|
18972
|
+
SECRET_SSH_AUTH_INIT_VALUE as cu,
|
|
18973
|
+
SECRET_TLS_INIT_VALUE as cv,
|
|
18974
|
+
SECRET_CUSTOM_INIT_VALUE as cw,
|
|
18975
|
+
NODE_INIT_VALUE as cx,
|
|
18976
|
+
STORAGE_CLASS_INIT_VALUE as cy,
|
|
18977
|
+
PV_INIT_VALUE as cz,
|
|
18964
18978
|
dovetailRefineI18n as d,
|
|
18965
|
-
|
|
18966
|
-
|
|
18967
|
-
|
|
18968
|
-
|
|
18969
|
-
|
|
18970
|
-
|
|
18971
|
-
|
|
18972
|
-
|
|
18973
|
-
|
|
18974
|
-
|
|
18975
|
-
|
|
18976
|
-
|
|
18977
|
-
|
|
18978
|
-
|
|
18979
|
-
|
|
18979
|
+
StorageClassModel as d0,
|
|
18980
|
+
PersistentVolumeModel as d1,
|
|
18981
|
+
PersistentVolumeClaimModel as d2,
|
|
18982
|
+
ProviderPlugins as d3,
|
|
18983
|
+
ModelPlugin as d4,
|
|
18984
|
+
modelPlugin as d5,
|
|
18985
|
+
RelationPlugin as d6,
|
|
18986
|
+
relationPlugin as d7,
|
|
18987
|
+
generateValueFromSchema as d8,
|
|
18988
|
+
generateSchemaTypeValue as d9,
|
|
18989
|
+
resolveRef as da,
|
|
18990
|
+
getApiVersion as db,
|
|
18991
|
+
pruneBeforeEdit as dc,
|
|
18992
|
+
matchSelector as dd,
|
|
18993
|
+
getResourceNameByKind as de,
|
|
18980
18994
|
useDeleteModalOnly as e,
|
|
18981
18995
|
useFailedModal as f,
|
|
18982
18996
|
NameSpaceColumnRenderer as g,
|
|
18983
|
-
|
|
18997
|
+
ReplicasColumnRenderer as h,
|
|
18984
18998
|
NodeNameColumnRenderer as i,
|
|
18985
|
-
|
|
18986
|
-
|
|
18987
|
-
|
|
18988
|
-
|
|
18989
|
-
|
|
18990
|
-
|
|
18991
|
-
|
|
18992
|
-
|
|
18999
|
+
CompletionsCountColumnRenderer as j,
|
|
19000
|
+
ServiceTypeColumnRenderer as k,
|
|
19001
|
+
ServiceInClusterAccessTitle as l,
|
|
19002
|
+
ServiceInClusterAccessColumnRenderer as m,
|
|
19003
|
+
ServiceOutClusterAccessTitle as n,
|
|
19004
|
+
ServiceOutClusterAccessColumnRenderer as o,
|
|
19005
|
+
PodWorkloadColumnRenderer as p,
|
|
19006
|
+
IngressDefaultBackendColumnRenderer as q,
|
|
18993
19007
|
routerProvider as r,
|
|
18994
|
-
|
|
18995
|
-
|
|
19008
|
+
IngressClassColumnRenderer as s,
|
|
19009
|
+
IngressTlsColumnRenderer as t,
|
|
18996
19010
|
useNamespaceRefineFilter as u,
|
|
18997
|
-
|
|
18998
|
-
|
|
18999
|
-
|
|
19000
|
-
|
|
19001
|
-
|
|
19011
|
+
PodContainersNumColumnRenderer as v,
|
|
19012
|
+
DataKeysColumnRenderer as w,
|
|
19013
|
+
PortMappingColumnRenderer as x,
|
|
19014
|
+
ProvisionerColumnRenderer as y,
|
|
19015
|
+
PVCapacityColumnRenderer as z
|
|
19002
19016
|
};
|