@dovetail-v2/refine 0.1.11-alpha.2 → 0.1.12
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-42ab72d2.js → MonacoYamlDiffEditor-ae1a891e.js} +1 -1
- package/dist/{index-8ae38abf.js → index-90c4694a.js} +709 -322
- package/dist/refine.js +175 -172
- package/dist/refine.umd.cjs +535 -148
- package/dist/style.css +185 -0
- package/lib/components/DropdownMenuItems/index.d.ts +1 -0
- package/lib/components/EditField/index.d.ts +3 -0
- package/lib/components/EditMetadataForm/KeyValueTableForm.d.ts +15 -0
- package/lib/components/EditMetadataForm/LabelFormatPopover.d.ts +3 -0
- package/lib/components/Form/useYamlForm.d.ts +1 -1
- package/lib/i18n.d.ts +26 -0
- package/lib/locales/zh-CN/index.d.ts +26 -0
- package/lib/types/resource.d.ts +1 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/schema-store.d.ts +13 -0
- package/lib/utils/validation.d.ts +8 -0
- package/package.json +7 -7
- package/lib/components/CronJobDropdown/index.d.ts +0 -9
- package/lib/components/K8sDropdown/index.d.ts +0 -9
- package/lib/components/PodDropdown/index.d.ts +0 -9
- package/lib/components/ReplicasDropdown/index.d.ts +0 -9
- package/lib/components/Table/TableToolBar.d.ts +0 -9
- package/lib/components/Table/TableWidgets.d.ts +0 -6
- package/lib/components/WorkloadDropdown/index.d.ts +0 -9
- package/lib/src/App.d.ts +0 -3
- package/lib/src/Dovetail.d.ts +0 -18
- package/lib/src/components/Breadcrumb/index.d.ts +0 -6
- package/lib/src/components/ConditionsTable/ConditionsTable.d.ts +0 -7
- package/lib/src/components/ConditionsTable/index.d.ts +0 -1
- package/lib/src/components/CreateButton/index.d.ts +0 -2
- package/lib/src/components/CronJobDropdown/index.d.ts +0 -9
- package/lib/src/components/CronjobJobsTable/index.d.ts +0 -8
- package/lib/src/components/DeleteButton/index.d.ts +0 -2
- package/lib/src/components/DeleteManyButton/index.d.ts +0 -4
- package/lib/src/components/DrawerShow/DrawerShow.d.ts +0 -9
- package/lib/src/components/DrawerShow/index.d.ts +0 -1
- package/lib/src/components/DurationTime/index.d.ts +0 -6
- package/lib/src/components/EditButton/index.d.ts +0 -2
- package/lib/src/components/EditField/index.d.ts +0 -15
- package/lib/src/components/ErrorContent/index.d.ts +0 -17
- package/lib/src/components/EventsTable/EventsTable.d.ts +0 -6
- package/lib/src/components/EventsTable/index.d.ts +0 -1
- package/lib/src/components/Form/FormModal.d.ts +0 -9
- package/lib/src/components/Form/RefineFormContent.d.ts +0 -12
- package/lib/src/components/Form/RefineFormPage.d.ts +0 -7
- package/lib/src/components/Form/YamlForm.d.ts +0 -29
- package/lib/src/components/Form/index.d.ts +0 -7
- package/lib/src/components/Form/type.d.ts +0 -17
- package/lib/src/components/Form/useFieldsConfig.d.ts +0 -4
- package/lib/src/components/Form/useReactHookForm.d.ts +0 -30
- package/lib/src/components/Form/useRefineForm.d.ts +0 -13
- package/lib/src/components/Form/useYamlForm.d.ts +0 -50
- package/lib/src/components/FormErrorAlert/index.d.ts +0 -9
- package/lib/src/components/FormLayout/index.d.ts +0 -7
- package/lib/src/components/FormWidgets/KeyValueListWidget.d.ts +0 -6
- package/lib/src/components/FormWidgets/MetadataForm.d.ts +0 -2
- package/lib/src/components/FormWidgets/NameInputWidget.d.ts +0 -51
- package/lib/src/components/FormWidgets/NamespaceSelectWidget.d.ts +0 -9
- package/lib/src/components/FormWidgets/index.d.ts +0 -4
- package/lib/src/components/FormWidgets/widget.d.ts +0 -5
- package/lib/src/components/ImageNames/index.d.ts +0 -5
- package/lib/src/components/IngressRulesComponent/index.d.ts +0 -5
- package/lib/src/components/IngressRulesTable/IngressRulesTable.d.ts +0 -7
- package/lib/src/components/IngressRulesTable/index.d.ts +0 -1
- package/lib/src/components/K8sDropdown/index.d.ts +0 -9
- package/lib/src/components/KeyValue/KeyValue.d.ts +0 -7
- package/lib/src/components/KeyValue/KeyValueAnnotation.d.ts +0 -6
- package/lib/src/components/KeyValue/KeyValueSecret.d.ts +0 -5
- package/lib/src/components/KeyValue/index.d.ts +0 -3
- package/lib/src/components/Layout/index.d.ts +0 -3
- package/lib/src/components/LinkFallback/index.d.ts +0 -4
- package/lib/src/components/ListPage/index.d.ts +0 -10
- package/lib/src/components/Menu/index.d.ts +0 -2
- package/lib/src/components/NamespacesFilter/index.d.ts +0 -11
- package/lib/src/components/NetworkPolicyRulesViewer/NetworkPolicyRulesViewer.d.ts +0 -8
- package/lib/src/components/NetworkPolicyRulesViewer/index.d.ts +0 -1
- package/lib/src/components/PVCDistributeStorage/index.d.ts +0 -16
- package/lib/src/components/PageShow/PageShow.d.ts +0 -12
- package/lib/src/components/PageShow/index.d.ts +0 -1
- package/lib/src/components/PodContainersTable/PodContainersTable.d.ts +0 -8
- package/lib/src/components/PodContainersTable/index.d.ts +0 -1
- package/lib/src/components/PodDropdown/index.d.ts +0 -9
- package/lib/src/components/PodLog/index.d.ts +0 -6
- package/lib/src/components/PodSelectorTable/index.d.ts +0 -6
- package/lib/src/components/PodShellModal/PodShell.d.ts +0 -18
- package/lib/src/components/PodShellModal/index.d.ts +0 -10
- package/lib/src/components/PortsTable/index.d.ts +0 -7
- package/lib/src/components/ReferenceLink/index.d.ts +0 -8
- package/lib/src/components/ReplicasDropdown/index.d.ts +0 -9
- package/lib/src/components/ResourceCRUD/ResourceCRUD.d.ts +0 -8
- package/lib/src/components/ResourceCRUD/create/index.d.ts +0 -8
- package/lib/src/components/ResourceCRUD/index.d.ts +0 -4
- package/lib/src/components/ResourceCRUD/list/index.d.ts +0 -9
- package/lib/src/components/ResourceCRUD/show/index.d.ts +0 -9
- package/lib/src/components/ResourceFiledDisplays.d.ts +0 -7
- package/lib/src/components/ResourceLink/index.d.ts +0 -8
- package/lib/src/components/ResourceSelect/index.d.ts +0 -12
- package/lib/src/components/ResourceTable/index.d.ts +0 -9
- package/lib/src/components/ResourceUsageBar/index.d.ts +0 -8
- package/lib/src/components/Separator/index.d.ts +0 -2
- package/lib/src/components/ServiceComponents/index.d.ts +0 -10
- package/lib/src/components/Shell/ShellToolbar.d.ts +0 -16
- package/lib/src/components/Shell/index.d.ts +0 -74
- package/lib/src/components/ShowContent/ShowContent.d.ts +0 -18
- package/lib/src/components/ShowContent/fields.d.ts +0 -76
- package/lib/src/components/ShowContent/groups.d.ts +0 -24
- package/lib/src/components/ShowContent/index.d.ts +0 -4
- package/lib/src/components/ShowContent/tabs.d.ts +0 -5
- package/lib/src/components/StateTag/StateTag.d.ts +0 -10
- package/lib/src/components/StateTag/index.d.ts +0 -1
- package/lib/src/components/Table/TableToolBar.d.ts +0 -8
- package/lib/src/components/Table/TableWidgets.d.ts +0 -6
- package/lib/src/components/Table/index.d.ts +0 -43
- package/lib/src/components/Tabs/index.d.ts +0 -10
- package/lib/src/components/Tags/index.d.ts +0 -6
- package/lib/src/components/TextTags/index.d.ts +0 -6
- package/lib/src/components/Time/index.d.ts +0 -8
- package/lib/src/components/ValueDisplay/index.d.ts +0 -9
- package/lib/src/components/WorkloadDropdown/index.d.ts +0 -9
- package/lib/src/components/WorkloadPodsTable/WorkloadPodsTable.d.ts +0 -9
- package/lib/src/components/WorkloadPodsTable/index.d.ts +0 -1
- package/lib/src/components/WorkloadReplicas/index.d.ts +0 -17
- package/lib/src/components/YamlEditor/MonacoYamlDiffEditor.d.ts +0 -9
- package/lib/src/components/YamlEditor/MonacoYamlEditor.d.ts +0 -19
- package/lib/src/components/YamlEditor/YamlEditorComponent.d.ts +0 -27
- package/lib/src/components/YamlEditor/index.d.ts +0 -1
- package/lib/src/components/YamlEditor/style.d.ts +0 -11
- package/lib/src/components/YamlEditor/yaml.worker.d.ts +0 -1
- package/lib/src/components/index.d.ts +0 -49
- package/lib/src/constants/auth.d.ts +0 -5
- package/lib/src/constants/index.d.ts +0 -3
- package/lib/src/constants/k8s.d.ts +0 -522
- package/lib/src/constants/state.d.ts +0 -15
- package/lib/src/contexts/component.d.ts +0 -8
- package/lib/src/contexts/configs.d.ts +0 -4
- package/lib/src/contexts/global-store.d.ts +0 -6
- package/lib/src/contexts/index.d.ts +0 -3
- package/lib/src/hooks/index.d.ts +0 -8
- package/lib/src/hooks/useDeleteModal/index.d.ts +0 -1
- package/lib/src/hooks/useDeleteModal/useDeleteManyModal.d.ts +0 -8
- package/lib/src/hooks/useDeleteModal/useDeleteModal.d.ts +0 -7
- package/lib/src/hooks/useDownloadYAML.d.ts +0 -7
- package/lib/src/hooks/useEagleTable/columns.d.ts +0 -47
- package/lib/src/hooks/useEagleTable/index.d.ts +0 -2
- package/lib/src/hooks/useEagleTable/useEagleTable.d.ts +0 -56
- package/lib/src/hooks/useEdit.d.ts +0 -4
- package/lib/src/hooks/useGlobalStore.d.ts +0 -3
- package/lib/src/hooks/useK8sYamlEditor.d.ts +0 -5
- package/lib/src/hooks/useNamespaceRefineFilter.d.ts +0 -5
- package/lib/src/hooks/useOpenForm.d.ts +0 -8
- package/lib/src/hooks/useSchema.d.ts +0 -21
- package/lib/src/hooks/useSubmitForm.d.ts +0 -14
- package/lib/src/hooks/useTableData.d.ts +0 -20
- package/lib/src/i18n.d.ts +0 -371
- package/lib/src/index.d.ts +0 -12
- package/lib/src/locales/en-US/index.d.ts +0 -175
- package/lib/src/locales/index.d.ts +0 -2
- package/lib/src/locales/zh-CN/index.d.ts +0 -193
- package/lib/src/main.d.ts +0 -3
- package/lib/src/models/cronjob-model.d.ts +0 -15
- package/lib/src/models/daemonset-model.d.ts +0 -15
- package/lib/src/models/deployment-model.d.ts +0 -13
- package/lib/src/models/event-model.d.ts +0 -7
- package/lib/src/models/index.d.ts +0 -19
- package/lib/src/models/ingress-model.d.ts +0 -20
- package/lib/src/models/job-model.d.ts +0 -20
- package/lib/src/models/network-policy-model.d.ts +0 -9
- package/lib/src/models/node-model.d.ts +0 -17
- package/lib/src/models/persistent-volume-claim.d.ts +0 -13
- package/lib/src/models/persistent-volume.d.ts +0 -13
- package/lib/src/models/pod-metrics-model.d.ts +0 -8
- package/lib/src/models/pod-model.d.ts +0 -20
- package/lib/src/models/resource-model.d.ts +0 -21
- package/lib/src/models/service-model.d.ts +0 -24
- package/lib/src/models/statefulset-model.d.ts +0 -13
- package/lib/src/models/storage-class.d.ts +0 -16
- package/lib/src/models/types/index.d.ts +0 -1
- package/lib/src/models/types/metric.d.ts +0 -25
- package/lib/src/models/workload-base-model.d.ts +0 -12
- package/lib/src/models/workload-model.d.ts +0 -18
- package/lib/src/pages/configmaps/index.d.ts +0 -4
- package/lib/src/pages/cronjobs/create/index.d.ts +0 -3
- package/lib/src/pages/cronjobs/index.d.ts +0 -3
- package/lib/src/pages/cronjobs/list/index.d.ts +0 -3
- package/lib/src/pages/cronjobs/show/index.d.ts +0 -3
- package/lib/src/pages/daemonsets/create/index.d.ts +0 -3
- package/lib/src/pages/daemonsets/index.d.ts +0 -3
- package/lib/src/pages/daemonsets/list/index.d.ts +0 -3
- package/lib/src/pages/daemonsets/show/index.d.ts +0 -3
- package/lib/src/pages/deployments/index.d.ts +0 -2
- package/lib/src/pages/deployments/list/index.d.ts +0 -3
- package/lib/src/pages/deployments/show/index.d.ts +0 -3
- package/lib/src/pages/ingresses/index.d.ts +0 -4
- package/lib/src/pages/jobs/index.d.ts +0 -4
- package/lib/src/pages/networkPolicies/index.d.ts +0 -4
- package/lib/src/pages/nodes/index.d.ts +0 -2
- package/lib/src/pages/nodes/list/index.d.ts +0 -3
- package/lib/src/pages/nodes/show/index.d.ts +0 -3
- package/lib/src/pages/persistentvolumeclaims/index.d.ts +0 -4
- package/lib/src/pages/persistentvolumes/index.d.ts +0 -4
- package/lib/src/pages/pods/create/index.d.ts +0 -3
- package/lib/src/pages/pods/index.d.ts +0 -3
- package/lib/src/pages/pods/list/index.d.ts +0 -3
- package/lib/src/pages/pods/show/index.d.ts +0 -3
- package/lib/src/pages/secrets/index.d.ts +0 -4
- package/lib/src/pages/services/index.d.ts +0 -4
- package/lib/src/pages/statefulsets/index.d.ts +0 -4
- package/lib/src/pages/storageclasses/form/index.d.ts +0 -9
- package/lib/src/pages/storageclasses/index.d.ts +0 -48
- package/lib/src/plugins/index.d.ts +0 -4
- package/lib/src/plugins/model-plugin.d.ts +0 -13
- package/lib/src/plugins/relation-plugin.d.ts +0 -26
- package/lib/src/plugins/type.d.ts +0 -8
- package/lib/src/providers/index.d.ts +0 -1
- package/lib/src/providers/router-provider/index.d.ts +0 -21
- package/lib/src/styles/button.d.ts +0 -1
- package/lib/src/styles/modal.d.ts +0 -1
- package/lib/src/types/index.d.ts +0 -1
- package/lib/src/types/resource.d.ts +0 -62
- package/lib/src/utils/addId.d.ts +0 -3
- package/lib/src/utils/download.d.ts +0 -1
- package/lib/src/utils/error.d.ts +0 -20
- package/lib/src/utils/form.d.ts +0 -3
- package/lib/src/utils/index.d.ts +0 -1
- package/lib/src/utils/k8s.d.ts +0 -3
- package/lib/src/utils/labels.d.ts +0 -9
- package/lib/src/utils/match-selector.d.ts +0 -3
- package/lib/src/utils/openapi.d.ts +0 -40
- package/lib/src/utils/schema.d.ts +0 -18
- package/lib/src/utils/selector.d.ts +0 -3
- package/lib/src/utils/shell.d.ts +0 -16
- package/lib/src/utils/storage.d.ts +0 -13
- package/lib/src/utils/string.d.ts +0 -1
- package/lib/src/utils/time.d.ts +0 -13
- package/lib/src/utils/unit.d.ts +0 -12
- package/lib/src/utils/yaml.d.ts +0 -2
- package/lib/vite.config.d.ts +0 -2
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
dovetail: {
|
|
3
|
-
copy: string;
|
|
4
|
-
reset_arguments: string;
|
|
5
|
-
view_changes: string;
|
|
6
|
-
back_to_edit: string;
|
|
7
|
-
configure_file: string;
|
|
8
|
-
yaml_format_wrong: string;
|
|
9
|
-
yaml_value_wrong: string;
|
|
10
|
-
edit_yaml: string;
|
|
11
|
-
copied: string;
|
|
12
|
-
already_reset: string;
|
|
13
|
-
fetch_schema_fail: string;
|
|
14
|
-
obtain_data_error: string;
|
|
15
|
-
retry: string;
|
|
16
|
-
create_resource: string;
|
|
17
|
-
edit_resource: string;
|
|
18
|
-
state: string;
|
|
19
|
-
name: string;
|
|
20
|
-
pod: string;
|
|
21
|
-
cancel: string;
|
|
22
|
-
delete: string;
|
|
23
|
-
create: string;
|
|
24
|
-
confirm_delete_text: string;
|
|
25
|
-
edit: string;
|
|
26
|
-
namespace: string;
|
|
27
|
-
created_time: string;
|
|
28
|
-
label: string;
|
|
29
|
-
annotation: string;
|
|
30
|
-
type: string;
|
|
31
|
-
event: string;
|
|
32
|
-
reason: string;
|
|
33
|
-
object: string;
|
|
34
|
-
note: string;
|
|
35
|
-
condition: string;
|
|
36
|
-
download_yaml: string;
|
|
37
|
-
detail: string;
|
|
38
|
-
message: string;
|
|
39
|
-
save: string;
|
|
40
|
-
workload: string;
|
|
41
|
-
empty: string;
|
|
42
|
-
schedule: string;
|
|
43
|
-
lastScheduleTime: string;
|
|
44
|
-
duration: string;
|
|
45
|
-
started: string;
|
|
46
|
-
container: string;
|
|
47
|
-
redeploy: string;
|
|
48
|
-
data: string;
|
|
49
|
-
resume: string;
|
|
50
|
-
sessionAffinity: string;
|
|
51
|
-
log: string;
|
|
52
|
-
ready: string;
|
|
53
|
-
updating: string;
|
|
54
|
-
completed: string;
|
|
55
|
-
failed: string;
|
|
56
|
-
suspended: string;
|
|
57
|
-
running: string;
|
|
58
|
-
terminating: string;
|
|
59
|
-
terminated: string;
|
|
60
|
-
succeeded: string;
|
|
61
|
-
unknown: string;
|
|
62
|
-
pending: string;
|
|
63
|
-
waiting: string;
|
|
64
|
-
expand: string;
|
|
65
|
-
fold: string;
|
|
66
|
-
rule: string;
|
|
67
|
-
port: string;
|
|
68
|
-
cert: string;
|
|
69
|
-
ip_address: string;
|
|
70
|
-
last_seen: string;
|
|
71
|
-
node_port: string;
|
|
72
|
-
protocol: string;
|
|
73
|
-
key: string;
|
|
74
|
-
value: string;
|
|
75
|
-
path: string;
|
|
76
|
-
backend: string;
|
|
77
|
-
belong_to_node: string;
|
|
78
|
-
true: string;
|
|
79
|
-
false: string;
|
|
80
|
-
warning: string;
|
|
81
|
-
normal: string;
|
|
82
|
-
delete_tip: string;
|
|
83
|
-
delete_resource: string;
|
|
84
|
-
password: string;
|
|
85
|
-
username: string;
|
|
86
|
-
host: string;
|
|
87
|
-
no_resource: string;
|
|
88
|
-
all_namespaces: string;
|
|
89
|
-
clusterIp: string;
|
|
90
|
-
select_container: string;
|
|
91
|
-
sec: string;
|
|
92
|
-
min: string;
|
|
93
|
-
hr: string;
|
|
94
|
-
day: string;
|
|
95
|
-
port_mapping: string;
|
|
96
|
-
out_cluster_access: string;
|
|
97
|
-
in_cluster_access: string;
|
|
98
|
-
fail_get_detail: string;
|
|
99
|
-
pod_num: string;
|
|
100
|
-
show_data_value: string;
|
|
101
|
-
hide_data_value: string;
|
|
102
|
-
please_input: string;
|
|
103
|
-
create_failed: string;
|
|
104
|
-
create_failed_tip: string;
|
|
105
|
-
save_failed: string;
|
|
106
|
-
save_failed_tip: string;
|
|
107
|
-
completion_num_tooltip: string;
|
|
108
|
-
ready_num_tooltip: string;
|
|
109
|
-
realtime_log: string;
|
|
110
|
-
previous_log: string;
|
|
111
|
-
auto_wrap: string;
|
|
112
|
-
container_num: string;
|
|
113
|
-
edit_resource_success: string;
|
|
114
|
-
redeploy_success_toast: string;
|
|
115
|
-
redeploy_failed_toast: string;
|
|
116
|
-
pause_success_toast: string;
|
|
117
|
-
pause_failed_toast: string;
|
|
118
|
-
resume_success_toast: string;
|
|
119
|
-
resume_failed_toast: string;
|
|
120
|
-
delete_success_toast: string;
|
|
121
|
-
delete_failed_toast: string;
|
|
122
|
-
create_success_toast: string;
|
|
123
|
-
save_yaml_success_toast: string;
|
|
124
|
-
save_replicas_success_toast: string;
|
|
125
|
-
save_replicas_failed_toast: string;
|
|
126
|
-
port_mapping_title_tooltip: string;
|
|
127
|
-
in_cluster_desc: string;
|
|
128
|
-
in_cluster_ip_desc: string;
|
|
129
|
-
in_cluster_external_name_desc: string;
|
|
130
|
-
out_cluster_ip_desc: string;
|
|
131
|
-
out_cluster_node_port_desc: string;
|
|
132
|
-
out_cluster_lb_desc: string;
|
|
133
|
-
out_external_name_desc: string;
|
|
134
|
-
image: string;
|
|
135
|
-
restarts: string;
|
|
136
|
-
updated_time: string;
|
|
137
|
-
init_container: string;
|
|
138
|
-
regular_container: string;
|
|
139
|
-
suspend: string;
|
|
140
|
-
default_backend: string;
|
|
141
|
-
ingress_class: string;
|
|
142
|
-
pod_ready_num: string;
|
|
143
|
-
pod_complete_num: string;
|
|
144
|
-
pod_replicas_num: string;
|
|
145
|
-
edit_replicas: string;
|
|
146
|
-
dns_record: string;
|
|
147
|
-
basic_info: string;
|
|
148
|
-
pod_selector: string;
|
|
149
|
-
ingress_rule: string;
|
|
150
|
-
egress_rule: string;
|
|
151
|
-
service_port: string;
|
|
152
|
-
pod_port: string;
|
|
153
|
-
path_type: string;
|
|
154
|
-
only_support_one_yaml: string;
|
|
155
|
-
not_support: string;
|
|
156
|
-
stopped: string;
|
|
157
|
-
any_node_ip: string;
|
|
158
|
-
storage_class: string;
|
|
159
|
-
persistent_volume: string;
|
|
160
|
-
provisioner: string;
|
|
161
|
-
file_system: string;
|
|
162
|
-
capacity: string;
|
|
163
|
-
volume_mode: string;
|
|
164
|
-
access_mode: string;
|
|
165
|
-
block: string;
|
|
166
|
-
pv_phase_available: string;
|
|
167
|
-
pv_phase_bound: string;
|
|
168
|
-
pv_phase_released: string;
|
|
169
|
-
pv_phase_failed: string;
|
|
170
|
-
pv_phase_pending: string;
|
|
171
|
-
exec_pod: string;
|
|
172
|
-
search: string;
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
export default _default;
|
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
dovetail: {
|
|
3
|
-
copy: string;
|
|
4
|
-
reset_arguments: string;
|
|
5
|
-
view_changes: string;
|
|
6
|
-
back_to_edit: string;
|
|
7
|
-
configure_file: string;
|
|
8
|
-
yaml_format_wrong: string;
|
|
9
|
-
yaml_value_wrong: string;
|
|
10
|
-
edit_yaml: string;
|
|
11
|
-
copied: string;
|
|
12
|
-
already_reset: string;
|
|
13
|
-
cancel: string;
|
|
14
|
-
delete: string;
|
|
15
|
-
create: string;
|
|
16
|
-
delete_resource: string;
|
|
17
|
-
confirm_delete_text: string;
|
|
18
|
-
delete_tip: string;
|
|
19
|
-
edit: string;
|
|
20
|
-
namespace: string;
|
|
21
|
-
name: string;
|
|
22
|
-
state: string;
|
|
23
|
-
image: string;
|
|
24
|
-
created_time: string;
|
|
25
|
-
label: string;
|
|
26
|
-
annotation: string;
|
|
27
|
-
type: string;
|
|
28
|
-
event: string;
|
|
29
|
-
reason: string;
|
|
30
|
-
object: string;
|
|
31
|
-
note: string;
|
|
32
|
-
condition: string;
|
|
33
|
-
download_yaml: string;
|
|
34
|
-
detail: string;
|
|
35
|
-
restarts: string;
|
|
36
|
-
updated_time: string;
|
|
37
|
-
message: string;
|
|
38
|
-
save: string;
|
|
39
|
-
workload: string;
|
|
40
|
-
all_namespaces: string;
|
|
41
|
-
empty: string;
|
|
42
|
-
schedule: string;
|
|
43
|
-
lastScheduleTime: string;
|
|
44
|
-
duration: string;
|
|
45
|
-
started: string;
|
|
46
|
-
init_container: string;
|
|
47
|
-
regular_container: string;
|
|
48
|
-
container: string;
|
|
49
|
-
redeploy: string;
|
|
50
|
-
data: string;
|
|
51
|
-
suspend: string;
|
|
52
|
-
resume: string;
|
|
53
|
-
clusterIp: string;
|
|
54
|
-
sessionAffinity: string;
|
|
55
|
-
log: string;
|
|
56
|
-
select_container: string;
|
|
57
|
-
fetch_schema_fail: string;
|
|
58
|
-
obtain_data_error: string;
|
|
59
|
-
retry: string;
|
|
60
|
-
ready: string;
|
|
61
|
-
updating: string;
|
|
62
|
-
completed: string;
|
|
63
|
-
failed: string;
|
|
64
|
-
suspended: string;
|
|
65
|
-
running: string;
|
|
66
|
-
terminating: string;
|
|
67
|
-
succeeded: string;
|
|
68
|
-
terminated: string;
|
|
69
|
-
unknown: string;
|
|
70
|
-
pending: string;
|
|
71
|
-
waiting: string;
|
|
72
|
-
create_resource: string;
|
|
73
|
-
edit_resource: string;
|
|
74
|
-
sec: string;
|
|
75
|
-
min: string;
|
|
76
|
-
hr: string;
|
|
77
|
-
day: string;
|
|
78
|
-
expand: string;
|
|
79
|
-
fold: string;
|
|
80
|
-
rule: string;
|
|
81
|
-
default_backend: string;
|
|
82
|
-
ingress_class: string;
|
|
83
|
-
port: string;
|
|
84
|
-
pod_ready_num: string;
|
|
85
|
-
pod_complete_num: string;
|
|
86
|
-
pod_replicas_num: string;
|
|
87
|
-
edit_replicas: string;
|
|
88
|
-
cert: string;
|
|
89
|
-
dns_record: string;
|
|
90
|
-
port_mapping: string;
|
|
91
|
-
out_cluster_access: string;
|
|
92
|
-
in_cluster_access: string;
|
|
93
|
-
fail_get_detail: string;
|
|
94
|
-
basic_info: string;
|
|
95
|
-
pod: string;
|
|
96
|
-
pod_num: string;
|
|
97
|
-
pod_selector: string;
|
|
98
|
-
ingress_rule: string;
|
|
99
|
-
egress_rule: string;
|
|
100
|
-
ip_address: string;
|
|
101
|
-
last_seen: string;
|
|
102
|
-
service_port: string;
|
|
103
|
-
pod_port: string;
|
|
104
|
-
node_port: string;
|
|
105
|
-
protocol: string;
|
|
106
|
-
key: string;
|
|
107
|
-
value: string;
|
|
108
|
-
show_data_value: string;
|
|
109
|
-
hide_data_value: string;
|
|
110
|
-
path_type: string;
|
|
111
|
-
path: string;
|
|
112
|
-
backend: string;
|
|
113
|
-
belong_to_node: string;
|
|
114
|
-
please_input: string;
|
|
115
|
-
create_failed: string;
|
|
116
|
-
create_failed_tip: string;
|
|
117
|
-
save_failed: string;
|
|
118
|
-
save_failed_tip: string;
|
|
119
|
-
completion_num_tooltip: string;
|
|
120
|
-
ready_num_tooltip: string;
|
|
121
|
-
true: string;
|
|
122
|
-
false: string;
|
|
123
|
-
warning: string;
|
|
124
|
-
normal: string;
|
|
125
|
-
realtime_log: string;
|
|
126
|
-
previous_log: string;
|
|
127
|
-
auto_wrap: string;
|
|
128
|
-
name_can_not_be_empty: string;
|
|
129
|
-
password: string;
|
|
130
|
-
username: string;
|
|
131
|
-
host: string;
|
|
132
|
-
container_num: string;
|
|
133
|
-
edit_resource_success: string;
|
|
134
|
-
redeploy_success_toast: string;
|
|
135
|
-
redeploy_failed_toast: string;
|
|
136
|
-
pause_success_toast: string;
|
|
137
|
-
pause_failed_toast: string;
|
|
138
|
-
resume_success_toast: string;
|
|
139
|
-
resume_failed_toast: string;
|
|
140
|
-
delete_success_toast: string;
|
|
141
|
-
delete_failed_toast: string;
|
|
142
|
-
create_success_toast: string;
|
|
143
|
-
save_yaml_success_toast: string;
|
|
144
|
-
save_replicas_success_toast: string;
|
|
145
|
-
save_replicas_failed_toast: string;
|
|
146
|
-
no_resource: string;
|
|
147
|
-
port_mapping_title_tooltip: string;
|
|
148
|
-
in_cluster_desc: string;
|
|
149
|
-
in_cluster_ip_desc: string;
|
|
150
|
-
in_cluster_external_name_desc: string;
|
|
151
|
-
out_cluster_ip_desc: string;
|
|
152
|
-
out_cluster_node_port_desc: string;
|
|
153
|
-
out_cluster_lb_desc: string;
|
|
154
|
-
out_external_name_desc: string;
|
|
155
|
-
only_support_one_yaml: string;
|
|
156
|
-
support: string;
|
|
157
|
-
not_support: string;
|
|
158
|
-
stopped: string;
|
|
159
|
-
any_node_ip: string;
|
|
160
|
-
storage_class: string;
|
|
161
|
-
persistent_volume: string;
|
|
162
|
-
provisioner: string;
|
|
163
|
-
file_system: string;
|
|
164
|
-
capacity: string;
|
|
165
|
-
distributed: string;
|
|
166
|
-
volume_mode: string;
|
|
167
|
-
access_mode: string;
|
|
168
|
-
block: string;
|
|
169
|
-
pv_phase_available: string;
|
|
170
|
-
pv_phase_bound: string;
|
|
171
|
-
pv_phase_released: string;
|
|
172
|
-
pv_phase_failed: string;
|
|
173
|
-
pv_phase_pending: string;
|
|
174
|
-
font_size: string;
|
|
175
|
-
download_shell_content: string;
|
|
176
|
-
clear_shell: string;
|
|
177
|
-
disconnected: string;
|
|
178
|
-
connecting: string;
|
|
179
|
-
reconnect: string;
|
|
180
|
-
search: string;
|
|
181
|
-
pvc: string;
|
|
182
|
-
pv: string;
|
|
183
|
-
csi: string;
|
|
184
|
-
retain: string;
|
|
185
|
-
default_sc: string;
|
|
186
|
-
reclaim_policy: string;
|
|
187
|
-
allow_expand: string;
|
|
188
|
-
edit_distribute_storage: string;
|
|
189
|
-
edit_distribute_storage_success_toast: string;
|
|
190
|
-
edit_distribute_storage_failed_toast: string;
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
export default _default;
|
package/lib/src/main.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { GlobalStore, Unstructured } from 'k8s-api-provider';
|
|
2
|
-
import { CronJob } from 'kubernetes-types/batch/v1';
|
|
3
|
-
import { WorkloadState } from '../constants';
|
|
4
|
-
import { WorkloadBaseModel } from './workload-base-model';
|
|
5
|
-
type RequiredCronJob = Required<CronJob> & Unstructured;
|
|
6
|
-
export declare class CronJobModel extends WorkloadBaseModel {
|
|
7
|
-
_rawYaml: RequiredCronJob;
|
|
8
|
-
spec?: RequiredCronJob['spec'];
|
|
9
|
-
status?: RequiredCronJob['status'];
|
|
10
|
-
constructor(_rawYaml: RequiredCronJob, _globalStore: GlobalStore);
|
|
11
|
-
get stateDisplay(): WorkloadState.SUSPENDED | WorkloadState.RUNNING;
|
|
12
|
-
suspend(): RequiredCronJob;
|
|
13
|
-
resume(): RequiredCronJob;
|
|
14
|
-
}
|
|
15
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { GlobalStore, Unstructured } from 'k8s-api-provider';
|
|
2
|
-
import { DaemonSet } from 'kubernetes-types/apps/v1';
|
|
3
|
-
import { WorkloadState } from '../constants';
|
|
4
|
-
import { WorkloadModel } from './workload-model';
|
|
5
|
-
type RequiredDaemonSet = Required<DaemonSet> & Unstructured;
|
|
6
|
-
export declare class DaemonSetModel extends WorkloadModel {
|
|
7
|
-
_rawYaml: RequiredDaemonSet;
|
|
8
|
-
spec?: RequiredDaemonSet['spec'];
|
|
9
|
-
status?: RequiredDaemonSet['status'];
|
|
10
|
-
constructor(_rawYaml: RequiredDaemonSet, _globalStore: GlobalStore);
|
|
11
|
-
get stateDisplay(): WorkloadState.UPDATING | WorkloadState.READY;
|
|
12
|
-
get replicas(): number;
|
|
13
|
-
get readyReplicas(): number;
|
|
14
|
-
}
|
|
15
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { GlobalStore, Unstructured } from 'k8s-api-provider';
|
|
2
|
-
import { Deployment } from 'kubernetes-types/apps/v1';
|
|
3
|
-
import { WorkloadState } from '../constants';
|
|
4
|
-
import { WorkloadModel } from './workload-model';
|
|
5
|
-
type RequiredDeployment = Required<Deployment> & Unstructured;
|
|
6
|
-
export declare class DeploymentModel extends WorkloadModel {
|
|
7
|
-
_rawYaml: RequiredDeployment;
|
|
8
|
-
spec?: RequiredDeployment['spec'];
|
|
9
|
-
status?: RequiredDeployment['status'];
|
|
10
|
-
constructor(_rawYaml: RequiredDeployment, _globalStore: GlobalStore);
|
|
11
|
-
get stateDisplay(): WorkloadState.UPDATING | WorkloadState.READY | WorkloadState.STOPPED;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { GlobalStore, Unstructured } from 'k8s-api-provider';
|
|
2
|
-
import { Event } from 'kubernetes-types/core/v1';
|
|
3
|
-
import { ResourceModel } from './resource-model';
|
|
4
|
-
export declare class EventModel extends ResourceModel {
|
|
5
|
-
_rawYaml: Unstructured & Event;
|
|
6
|
-
constructor(_rawYaml: Unstructured & Event, _globalStore: GlobalStore);
|
|
7
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export * from './ingress-model';
|
|
2
|
-
export * from './network-policy-model';
|
|
3
|
-
export * from './job-model';
|
|
4
|
-
export * from './workload-model';
|
|
5
|
-
export * from './workload-base-model';
|
|
6
|
-
export * from './pod-model';
|
|
7
|
-
export * from './pod-metrics-model';
|
|
8
|
-
export * from './resource-model';
|
|
9
|
-
export * from './workload-model';
|
|
10
|
-
export * from './cronjob-model';
|
|
11
|
-
export * from './event-model';
|
|
12
|
-
export * from './deployment-model';
|
|
13
|
-
export * from './daemonset-model';
|
|
14
|
-
export * from './statefulset-model';
|
|
15
|
-
export * from './service-model';
|
|
16
|
-
export * from './node-model';
|
|
17
|
-
export * from './storage-class';
|
|
18
|
-
export * from './persistent-volume';
|
|
19
|
-
export * from './persistent-volume-claim';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { GlobalStore, Unstructured } from 'k8s-api-provider';
|
|
2
|
-
import type { Ingress } from 'kubernetes-types/networking/v1';
|
|
3
|
-
import { ResourceModel } from './resource-model';
|
|
4
|
-
type IngressTypes = Required<Ingress> & Unstructured;
|
|
5
|
-
export type RuleItem = {
|
|
6
|
-
serviceName?: string;
|
|
7
|
-
resourceName?: string;
|
|
8
|
-
fullPath: string;
|
|
9
|
-
pathType: string;
|
|
10
|
-
host?: string;
|
|
11
|
-
servicePort?: number | string;
|
|
12
|
-
};
|
|
13
|
-
export declare class IngressModel extends ResourceModel<IngressTypes> {
|
|
14
|
-
_rawYaml: IngressTypes;
|
|
15
|
-
flattenedRules: RuleItem[];
|
|
16
|
-
constructor(_rawYaml: IngressTypes, _globalStore: GlobalStore);
|
|
17
|
-
init(): Promise<void>;
|
|
18
|
-
private getFullPath;
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { GlobalStore, Unstructured } from 'k8s-api-provider';
|
|
2
|
-
import { Job } from 'kubernetes-types/batch/v1';
|
|
3
|
-
import { WorkloadState } from '../constants';
|
|
4
|
-
import { WorkloadBaseModel } from './workload-base-model';
|
|
5
|
-
type RequiredJob = Required<Job> & Unstructured;
|
|
6
|
-
export declare class JobModel extends WorkloadBaseModel {
|
|
7
|
-
_rawYaml: RequiredJob;
|
|
8
|
-
restarts: number;
|
|
9
|
-
spec?: RequiredJob['spec'];
|
|
10
|
-
status?: RequiredJob['status'];
|
|
11
|
-
constructor(_rawYaml: RequiredJob, _globalStore: GlobalStore);
|
|
12
|
-
init(): Promise<void>;
|
|
13
|
-
private getRestarts;
|
|
14
|
-
get duration(): number;
|
|
15
|
-
get completionsDisplay(): string;
|
|
16
|
-
get succeeded(): number;
|
|
17
|
-
get completions(): number | undefined;
|
|
18
|
-
get stateDisplay(): WorkloadState.COMPLETED | WorkloadState.FAILED | WorkloadState.SUSPENDED | WorkloadState.RUNNING;
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { GlobalStore, Unstructured } from 'k8s-api-provider';
|
|
2
|
-
import type { NetworkPolicy } from 'kubernetes-types/networking/v1';
|
|
3
|
-
import { ResourceModel } from './resource-model';
|
|
4
|
-
type NetworkPolicyTypes = Required<NetworkPolicy> & Unstructured;
|
|
5
|
-
export declare class NetworkPolicyModel extends ResourceModel<NetworkPolicyTypes> {
|
|
6
|
-
_rawYaml: NetworkPolicyTypes;
|
|
7
|
-
constructor(_rawYaml: NetworkPolicyTypes, _globalStore: GlobalStore);
|
|
8
|
-
}
|
|
9
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { GlobalStore, Unstructured } from 'k8s-api-provider';
|
|
2
|
-
import type { Node } from 'kubernetes-types/core/v1';
|
|
3
|
-
import { WorkloadBaseModel } from './workload-base-model';
|
|
4
|
-
type RequiredNode = Required<Node> & Unstructured;
|
|
5
|
-
export declare enum NodeRole {
|
|
6
|
-
ControlPlane = "Control Plane",
|
|
7
|
-
Worker = "Worker"
|
|
8
|
-
}
|
|
9
|
-
export declare class NodeModel extends WorkloadBaseModel {
|
|
10
|
-
_rawYaml: RequiredNode;
|
|
11
|
-
constructor(_rawYaml: RequiredNode, _globalStore: GlobalStore);
|
|
12
|
-
get role(): NodeRole;
|
|
13
|
-
get ip(): string | undefined;
|
|
14
|
-
get nodeGroupName(): string | undefined;
|
|
15
|
-
get isControlPlane(): boolean;
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { GlobalStore, Unstructured } from 'k8s-api-provider';
|
|
2
|
-
import type { PersistentVolumeClaim } from 'kubernetes-types/core/v1';
|
|
3
|
-
import { ResourceModel } from './resource-model';
|
|
4
|
-
type RequiredPersistentClaimVolume = Required<PersistentVolumeClaim> & Unstructured;
|
|
5
|
-
export declare class PersistentVolumeClaimModel extends ResourceModel {
|
|
6
|
-
_rawYaml: RequiredPersistentClaimVolume;
|
|
7
|
-
spec: Required<PersistentVolumeClaim>['spec'];
|
|
8
|
-
constructor(_rawYaml: RequiredPersistentClaimVolume, _globalStore: GlobalStore);
|
|
9
|
-
get phase(): string | undefined;
|
|
10
|
-
get pv(): string | undefined;
|
|
11
|
-
updateDistributeStorage(distributeStorage: number): RequiredPersistentClaimVolume;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { GlobalStore, Unstructured } from 'k8s-api-provider';
|
|
2
|
-
import type { PersistentVolume } from 'kubernetes-types/core/v1';
|
|
3
|
-
import { ResourceModel } from './resource-model';
|
|
4
|
-
type RequiredPersistentVolume = Required<PersistentVolume> & Unstructured;
|
|
5
|
-
export declare class PersistentVolumeModel extends ResourceModel {
|
|
6
|
-
_rawYaml: RequiredPersistentVolume;
|
|
7
|
-
spec: PersistentVolume['spec'];
|
|
8
|
-
constructor(_rawYaml: RequiredPersistentVolume, _globalStore: GlobalStore);
|
|
9
|
-
get phase(): string | undefined;
|
|
10
|
-
get csi(): string | undefined;
|
|
11
|
-
get pvc(): string | undefined;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { GlobalStore } from 'k8s-api-provider';
|
|
2
|
-
import { ResourceModel } from './resource-model';
|
|
3
|
-
import { PodMetrics, ResourceQuantity } from './types/metric';
|
|
4
|
-
export declare class PodMetricsModel extends ResourceModel<PodMetrics> {
|
|
5
|
-
_rawYaml: PodMetrics;
|
|
6
|
-
usage: ResourceQuantity;
|
|
7
|
-
constructor(_rawYaml: PodMetrics, _globalStore: GlobalStore);
|
|
8
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { GlobalStore, Unstructured } from 'k8s-api-provider';
|
|
2
|
-
import type { Pod } from 'kubernetes-types/core/v1';
|
|
3
|
-
import { ResourceQuantity } from './types/metric';
|
|
4
|
-
import { WorkloadBaseModel } from './workload-base-model';
|
|
5
|
-
type RequiredPod = Required<Pod> & Unstructured;
|
|
6
|
-
export declare class PodModel extends WorkloadBaseModel {
|
|
7
|
-
_rawYaml: RequiredPod;
|
|
8
|
-
request: ResourceQuantity;
|
|
9
|
-
limit: ResourceQuantity;
|
|
10
|
-
spec?: RequiredPod['spec'];
|
|
11
|
-
status?: RequiredPod['status'];
|
|
12
|
-
constructor(_rawYaml: RequiredPod, _globalStore: GlobalStore);
|
|
13
|
-
get imageNames(): string[];
|
|
14
|
-
get restartCount(): number;
|
|
15
|
-
get readyDisplay(): string;
|
|
16
|
-
get readyContainerCount(): number | undefined;
|
|
17
|
-
get containerCount(): number;
|
|
18
|
-
get stateDisplay(): string;
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { GlobalStore, Unstructured } from 'k8s-api-provider';
|
|
2
|
-
export type IResourceModel = Unstructured & ResourceModel;
|
|
3
|
-
export declare class ResourceModel<T extends Unstructured = Unstructured> {
|
|
4
|
-
_rawYaml: T;
|
|
5
|
-
id: string;
|
|
6
|
-
apiVersion: T['apiVersion'];
|
|
7
|
-
kind: T['kind'];
|
|
8
|
-
metadata: T['metadata'];
|
|
9
|
-
_globalStore: GlobalStore;
|
|
10
|
-
constructor(_rawYaml: T, _globalStore: GlobalStore);
|
|
11
|
-
init(): Promise<void>;
|
|
12
|
-
get name(): string | undefined;
|
|
13
|
-
get namespace(): string | undefined;
|
|
14
|
-
get labels(): {
|
|
15
|
-
[name: string]: string;
|
|
16
|
-
} | undefined;
|
|
17
|
-
get annotations(): {
|
|
18
|
-
[name: string]: string;
|
|
19
|
-
} | undefined;
|
|
20
|
-
restore(): T;
|
|
21
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { GlobalStore, Unstructured } from 'k8s-api-provider';
|
|
2
|
-
import { Service } from 'kubernetes-types/core/v1';
|
|
3
|
-
import { ResourceModel } from './resource-model';
|
|
4
|
-
export type ServiceType = Required<Unstructured & Service>;
|
|
5
|
-
export declare enum ServiceTypeEnum {
|
|
6
|
-
ClusterIP = "ClusterIP",
|
|
7
|
-
NodePort = "NodePort",
|
|
8
|
-
LoadBalancer = "LoadBalancer",
|
|
9
|
-
ExternalName = "ExternalName",
|
|
10
|
-
Headless = "Headless"
|
|
11
|
-
}
|
|
12
|
-
export declare class ServiceModel extends ResourceModel<ServiceType> {
|
|
13
|
-
_rawYaml: ServiceType;
|
|
14
|
-
constructor(_rawYaml: ServiceType, _globalStore: GlobalStore);
|
|
15
|
-
get displayType(): string | undefined;
|
|
16
|
-
get dnsRecord(): string;
|
|
17
|
-
get displayPortMapping(): {
|
|
18
|
-
servicePort: number;
|
|
19
|
-
nodePort: number | undefined;
|
|
20
|
-
link: string;
|
|
21
|
-
targetPort: string | number | undefined;
|
|
22
|
-
protocol: string | undefined;
|
|
23
|
-
}[] | undefined;
|
|
24
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { GlobalStore, Unstructured } from 'k8s-api-provider';
|
|
2
|
-
import { StatefulSet } from 'kubernetes-types/apps/v1';
|
|
3
|
-
import { WorkloadState } from '../constants';
|
|
4
|
-
import { WorkloadModel } from './workload-model';
|
|
5
|
-
type RequiredStatefulSet = Required<StatefulSet> & Unstructured;
|
|
6
|
-
export declare class StatefulSetModel extends WorkloadModel {
|
|
7
|
-
_rawYaml: RequiredStatefulSet;
|
|
8
|
-
spec?: RequiredStatefulSet['spec'];
|
|
9
|
-
status?: RequiredStatefulSet['status'];
|
|
10
|
-
constructor(_rawYaml: RequiredStatefulSet, _globalStore: GlobalStore);
|
|
11
|
-
get stateDisplay(): WorkloadState.UPDATING | WorkloadState.READY | WorkloadState.STOPPED;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { GlobalStore, Unstructured } from 'k8s-api-provider';
|
|
2
|
-
import type { PersistentVolume } from 'kubernetes-types/core/v1';
|
|
3
|
-
import type { StorageClass } from 'kubernetes-types/storage/v1';
|
|
4
|
-
import { PersistentVolumeModel } from './persistent-volume';
|
|
5
|
-
import { ResourceModel } from './resource-model';
|
|
6
|
-
type RequiredStorageClass = Required<StorageClass> & Unstructured;
|
|
7
|
-
export declare class StorageClassModel extends ResourceModel {
|
|
8
|
-
_rawYaml: RequiredStorageClass;
|
|
9
|
-
pvs: PersistentVolumeModel[];
|
|
10
|
-
constructor(_rawYaml: RequiredStorageClass, _globalStore: GlobalStore);
|
|
11
|
-
init(): Promise<void>;
|
|
12
|
-
filterPV(pv: PersistentVolume | PersistentVolumeModel, scName?: string): boolean;
|
|
13
|
-
get isDefaultSC(): string | undefined;
|
|
14
|
-
get reclaimPolicy(): string;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './metric';
|