@dovetail-v2/refine 0.1.14-alpha.4 → 0.1.14

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.
Files changed (228) hide show
  1. package/dist/{MonacoYamlDiffEditor-2636b66c.js → MonacoYamlDiffEditor-fdc5faf9.js} +1 -1
  2. package/dist/{index-45c3dd0a.js → index-0a0a8e71.js} +51 -36
  3. package/dist/refine.js +1 -1
  4. package/dist/refine.umd.cjs +50 -35
  5. package/lib/components/EditMetadataForm/KeyValueTableForm.d.ts +1 -0
  6. package/lib/components/EditMetadataForm/LabelFormatPopover.d.ts +3 -1
  7. package/lib/utils/string.d.ts +1 -0
  8. package/package.json +1 -1
  9. package/lib/components/CronJobDropdown/index.d.ts +0 -9
  10. package/lib/components/K8sDropdown/index.d.ts +0 -9
  11. package/lib/components/PodDropdown/index.d.ts +0 -9
  12. package/lib/components/ReplicasDropdown/index.d.ts +0 -9
  13. package/lib/components/Table/TableToolBar.d.ts +0 -9
  14. package/lib/components/Table/TableWidgets.d.ts +0 -6
  15. package/lib/components/WorkloadDropdown/index.d.ts +0 -9
  16. package/lib/src/App.d.ts +0 -3
  17. package/lib/src/Dovetail.d.ts +0 -18
  18. package/lib/src/components/Breadcrumb/index.d.ts +0 -6
  19. package/lib/src/components/ConditionsTable/ConditionsTable.d.ts +0 -7
  20. package/lib/src/components/ConditionsTable/index.d.ts +0 -1
  21. package/lib/src/components/CreateButton/index.d.ts +0 -2
  22. package/lib/src/components/CronJobDropdown/index.d.ts +0 -9
  23. package/lib/src/components/CronjobJobsTable/index.d.ts +0 -8
  24. package/lib/src/components/DeleteButton/index.d.ts +0 -2
  25. package/lib/src/components/DeleteManyButton/index.d.ts +0 -4
  26. package/lib/src/components/DrawerShow/DrawerShow.d.ts +0 -9
  27. package/lib/src/components/DrawerShow/index.d.ts +0 -1
  28. package/lib/src/components/DurationTime/index.d.ts +0 -6
  29. package/lib/src/components/EditButton/index.d.ts +0 -2
  30. package/lib/src/components/EditField/index.d.ts +0 -15
  31. package/lib/src/components/ErrorContent/index.d.ts +0 -17
  32. package/lib/src/components/EventsTable/EventsTable.d.ts +0 -6
  33. package/lib/src/components/EventsTable/index.d.ts +0 -1
  34. package/lib/src/components/Form/FormModal.d.ts +0 -9
  35. package/lib/src/components/Form/RefineFormContent.d.ts +0 -12
  36. package/lib/src/components/Form/RefineFormPage.d.ts +0 -7
  37. package/lib/src/components/Form/YamlForm.d.ts +0 -29
  38. package/lib/src/components/Form/index.d.ts +0 -7
  39. package/lib/src/components/Form/type.d.ts +0 -17
  40. package/lib/src/components/Form/useFieldsConfig.d.ts +0 -4
  41. package/lib/src/components/Form/useReactHookForm.d.ts +0 -30
  42. package/lib/src/components/Form/useRefineForm.d.ts +0 -13
  43. package/lib/src/components/Form/useYamlForm.d.ts +0 -50
  44. package/lib/src/components/FormErrorAlert/index.d.ts +0 -9
  45. package/lib/src/components/FormLayout/index.d.ts +0 -7
  46. package/lib/src/components/FormWidgets/KeyValueListWidget.d.ts +0 -6
  47. package/lib/src/components/FormWidgets/MetadataForm.d.ts +0 -2
  48. package/lib/src/components/FormWidgets/NameInputWidget.d.ts +0 -51
  49. package/lib/src/components/FormWidgets/NamespaceSelectWidget.d.ts +0 -9
  50. package/lib/src/components/FormWidgets/index.d.ts +0 -4
  51. package/lib/src/components/FormWidgets/widget.d.ts +0 -5
  52. package/lib/src/components/ImageNames/index.d.ts +0 -5
  53. package/lib/src/components/IngressRulesComponent/index.d.ts +0 -5
  54. package/lib/src/components/IngressRulesTable/IngressRulesTable.d.ts +0 -7
  55. package/lib/src/components/IngressRulesTable/index.d.ts +0 -1
  56. package/lib/src/components/K8sDropdown/index.d.ts +0 -9
  57. package/lib/src/components/KeyValue/KeyValue.d.ts +0 -7
  58. package/lib/src/components/KeyValue/KeyValueAnnotation.d.ts +0 -6
  59. package/lib/src/components/KeyValue/KeyValueSecret.d.ts +0 -5
  60. package/lib/src/components/KeyValue/index.d.ts +0 -3
  61. package/lib/src/components/Layout/index.d.ts +0 -3
  62. package/lib/src/components/LinkFallback/index.d.ts +0 -4
  63. package/lib/src/components/ListPage/index.d.ts +0 -10
  64. package/lib/src/components/Menu/index.d.ts +0 -2
  65. package/lib/src/components/NamespacesFilter/index.d.ts +0 -11
  66. package/lib/src/components/NetworkPolicyRulesViewer/NetworkPolicyRulesViewer.d.ts +0 -8
  67. package/lib/src/components/NetworkPolicyRulesViewer/index.d.ts +0 -1
  68. package/lib/src/components/PVCDistributeStorage/index.d.ts +0 -16
  69. package/lib/src/components/PageShow/PageShow.d.ts +0 -12
  70. package/lib/src/components/PageShow/index.d.ts +0 -1
  71. package/lib/src/components/PodContainersTable/PodContainersTable.d.ts +0 -8
  72. package/lib/src/components/PodContainersTable/index.d.ts +0 -1
  73. package/lib/src/components/PodDropdown/index.d.ts +0 -9
  74. package/lib/src/components/PodLog/index.d.ts +0 -6
  75. package/lib/src/components/PodSelectorTable/index.d.ts +0 -6
  76. package/lib/src/components/PodShellModal/PodShell.d.ts +0 -18
  77. package/lib/src/components/PodShellModal/index.d.ts +0 -10
  78. package/lib/src/components/PortsTable/index.d.ts +0 -7
  79. package/lib/src/components/ReferenceLink/index.d.ts +0 -8
  80. package/lib/src/components/ReplicasDropdown/index.d.ts +0 -9
  81. package/lib/src/components/ResourceCRUD/ResourceCRUD.d.ts +0 -8
  82. package/lib/src/components/ResourceCRUD/create/index.d.ts +0 -8
  83. package/lib/src/components/ResourceCRUD/index.d.ts +0 -4
  84. package/lib/src/components/ResourceCRUD/list/index.d.ts +0 -9
  85. package/lib/src/components/ResourceCRUD/show/index.d.ts +0 -9
  86. package/lib/src/components/ResourceFiledDisplays.d.ts +0 -7
  87. package/lib/src/components/ResourceLink/index.d.ts +0 -8
  88. package/lib/src/components/ResourceSelect/index.d.ts +0 -12
  89. package/lib/src/components/ResourceTable/index.d.ts +0 -9
  90. package/lib/src/components/ResourceUsageBar/index.d.ts +0 -8
  91. package/lib/src/components/Separator/index.d.ts +0 -2
  92. package/lib/src/components/ServiceComponents/index.d.ts +0 -10
  93. package/lib/src/components/Shell/ShellToolbar.d.ts +0 -16
  94. package/lib/src/components/Shell/index.d.ts +0 -74
  95. package/lib/src/components/ShowContent/ShowContent.d.ts +0 -18
  96. package/lib/src/components/ShowContent/fields.d.ts +0 -76
  97. package/lib/src/components/ShowContent/groups.d.ts +0 -24
  98. package/lib/src/components/ShowContent/index.d.ts +0 -4
  99. package/lib/src/components/ShowContent/tabs.d.ts +0 -5
  100. package/lib/src/components/StateTag/StateTag.d.ts +0 -10
  101. package/lib/src/components/StateTag/index.d.ts +0 -1
  102. package/lib/src/components/Table/TableToolBar.d.ts +0 -8
  103. package/lib/src/components/Table/TableWidgets.d.ts +0 -6
  104. package/lib/src/components/Table/index.d.ts +0 -43
  105. package/lib/src/components/Tabs/index.d.ts +0 -10
  106. package/lib/src/components/Tags/index.d.ts +0 -6
  107. package/lib/src/components/TextTags/index.d.ts +0 -6
  108. package/lib/src/components/Time/index.d.ts +0 -8
  109. package/lib/src/components/ValueDisplay/index.d.ts +0 -9
  110. package/lib/src/components/WorkloadDropdown/index.d.ts +0 -9
  111. package/lib/src/components/WorkloadPodsTable/WorkloadPodsTable.d.ts +0 -9
  112. package/lib/src/components/WorkloadPodsTable/index.d.ts +0 -1
  113. package/lib/src/components/WorkloadReplicas/index.d.ts +0 -17
  114. package/lib/src/components/YamlEditor/MonacoYamlDiffEditor.d.ts +0 -9
  115. package/lib/src/components/YamlEditor/MonacoYamlEditor.d.ts +0 -19
  116. package/lib/src/components/YamlEditor/YamlEditorComponent.d.ts +0 -27
  117. package/lib/src/components/YamlEditor/index.d.ts +0 -1
  118. package/lib/src/components/YamlEditor/style.d.ts +0 -11
  119. package/lib/src/components/YamlEditor/yaml.worker.d.ts +0 -1
  120. package/lib/src/components/index.d.ts +0 -49
  121. package/lib/src/constants/auth.d.ts +0 -5
  122. package/lib/src/constants/index.d.ts +0 -3
  123. package/lib/src/constants/k8s.d.ts +0 -522
  124. package/lib/src/constants/state.d.ts +0 -15
  125. package/lib/src/contexts/component.d.ts +0 -8
  126. package/lib/src/contexts/configs.d.ts +0 -4
  127. package/lib/src/contexts/global-store.d.ts +0 -6
  128. package/lib/src/contexts/index.d.ts +0 -3
  129. package/lib/src/hooks/index.d.ts +0 -8
  130. package/lib/src/hooks/useDeleteModal/index.d.ts +0 -1
  131. package/lib/src/hooks/useDeleteModal/useDeleteManyModal.d.ts +0 -8
  132. package/lib/src/hooks/useDeleteModal/useDeleteModal.d.ts +0 -7
  133. package/lib/src/hooks/useDownloadYAML.d.ts +0 -7
  134. package/lib/src/hooks/useEagleTable/columns.d.ts +0 -47
  135. package/lib/src/hooks/useEagleTable/index.d.ts +0 -2
  136. package/lib/src/hooks/useEagleTable/useEagleTable.d.ts +0 -56
  137. package/lib/src/hooks/useEdit.d.ts +0 -4
  138. package/lib/src/hooks/useGlobalStore.d.ts +0 -3
  139. package/lib/src/hooks/useK8sYamlEditor.d.ts +0 -5
  140. package/lib/src/hooks/useNamespaceRefineFilter.d.ts +0 -5
  141. package/lib/src/hooks/useOpenForm.d.ts +0 -8
  142. package/lib/src/hooks/useSchema.d.ts +0 -21
  143. package/lib/src/hooks/useSubmitForm.d.ts +0 -14
  144. package/lib/src/hooks/useTableData.d.ts +0 -20
  145. package/lib/src/i18n.d.ts +0 -371
  146. package/lib/src/index.d.ts +0 -12
  147. package/lib/src/locales/en-US/index.d.ts +0 -175
  148. package/lib/src/locales/index.d.ts +0 -2
  149. package/lib/src/locales/zh-CN/index.d.ts +0 -193
  150. package/lib/src/main.d.ts +0 -3
  151. package/lib/src/models/cronjob-model.d.ts +0 -15
  152. package/lib/src/models/daemonset-model.d.ts +0 -15
  153. package/lib/src/models/deployment-model.d.ts +0 -13
  154. package/lib/src/models/event-model.d.ts +0 -7
  155. package/lib/src/models/index.d.ts +0 -19
  156. package/lib/src/models/ingress-model.d.ts +0 -20
  157. package/lib/src/models/job-model.d.ts +0 -20
  158. package/lib/src/models/network-policy-model.d.ts +0 -9
  159. package/lib/src/models/node-model.d.ts +0 -17
  160. package/lib/src/models/persistent-volume-claim.d.ts +0 -13
  161. package/lib/src/models/persistent-volume.d.ts +0 -13
  162. package/lib/src/models/pod-metrics-model.d.ts +0 -8
  163. package/lib/src/models/pod-model.d.ts +0 -20
  164. package/lib/src/models/resource-model.d.ts +0 -21
  165. package/lib/src/models/service-model.d.ts +0 -24
  166. package/lib/src/models/statefulset-model.d.ts +0 -13
  167. package/lib/src/models/storage-class.d.ts +0 -16
  168. package/lib/src/models/types/index.d.ts +0 -1
  169. package/lib/src/models/types/metric.d.ts +0 -25
  170. package/lib/src/models/workload-base-model.d.ts +0 -12
  171. package/lib/src/models/workload-model.d.ts +0 -18
  172. package/lib/src/pages/configmaps/index.d.ts +0 -4
  173. package/lib/src/pages/cronjobs/create/index.d.ts +0 -3
  174. package/lib/src/pages/cronjobs/index.d.ts +0 -3
  175. package/lib/src/pages/cronjobs/list/index.d.ts +0 -3
  176. package/lib/src/pages/cronjobs/show/index.d.ts +0 -3
  177. package/lib/src/pages/daemonsets/create/index.d.ts +0 -3
  178. package/lib/src/pages/daemonsets/index.d.ts +0 -3
  179. package/lib/src/pages/daemonsets/list/index.d.ts +0 -3
  180. package/lib/src/pages/daemonsets/show/index.d.ts +0 -3
  181. package/lib/src/pages/deployments/index.d.ts +0 -2
  182. package/lib/src/pages/deployments/list/index.d.ts +0 -3
  183. package/lib/src/pages/deployments/show/index.d.ts +0 -3
  184. package/lib/src/pages/ingresses/index.d.ts +0 -4
  185. package/lib/src/pages/jobs/index.d.ts +0 -4
  186. package/lib/src/pages/networkPolicies/index.d.ts +0 -4
  187. package/lib/src/pages/nodes/index.d.ts +0 -2
  188. package/lib/src/pages/nodes/list/index.d.ts +0 -3
  189. package/lib/src/pages/nodes/show/index.d.ts +0 -3
  190. package/lib/src/pages/persistentvolumeclaims/index.d.ts +0 -4
  191. package/lib/src/pages/persistentvolumes/index.d.ts +0 -4
  192. package/lib/src/pages/pods/create/index.d.ts +0 -3
  193. package/lib/src/pages/pods/index.d.ts +0 -3
  194. package/lib/src/pages/pods/list/index.d.ts +0 -3
  195. package/lib/src/pages/pods/show/index.d.ts +0 -3
  196. package/lib/src/pages/secrets/index.d.ts +0 -4
  197. package/lib/src/pages/services/index.d.ts +0 -4
  198. package/lib/src/pages/statefulsets/index.d.ts +0 -4
  199. package/lib/src/pages/storageclasses/form/index.d.ts +0 -9
  200. package/lib/src/pages/storageclasses/index.d.ts +0 -48
  201. package/lib/src/plugins/index.d.ts +0 -4
  202. package/lib/src/plugins/model-plugin.d.ts +0 -13
  203. package/lib/src/plugins/relation-plugin.d.ts +0 -26
  204. package/lib/src/plugins/type.d.ts +0 -8
  205. package/lib/src/providers/index.d.ts +0 -1
  206. package/lib/src/providers/router-provider/index.d.ts +0 -21
  207. package/lib/src/styles/button.d.ts +0 -1
  208. package/lib/src/styles/modal.d.ts +0 -1
  209. package/lib/src/types/index.d.ts +0 -1
  210. package/lib/src/types/resource.d.ts +0 -62
  211. package/lib/src/utils/addId.d.ts +0 -3
  212. package/lib/src/utils/download.d.ts +0 -1
  213. package/lib/src/utils/error.d.ts +0 -20
  214. package/lib/src/utils/form.d.ts +0 -3
  215. package/lib/src/utils/index.d.ts +0 -1
  216. package/lib/src/utils/k8s.d.ts +0 -3
  217. package/lib/src/utils/labels.d.ts +0 -9
  218. package/lib/src/utils/match-selector.d.ts +0 -3
  219. package/lib/src/utils/openapi.d.ts +0 -40
  220. package/lib/src/utils/schema.d.ts +0 -18
  221. package/lib/src/utils/selector.d.ts +0 -3
  222. package/lib/src/utils/shell.d.ts +0 -16
  223. package/lib/src/utils/storage.d.ts +0 -13
  224. package/lib/src/utils/string.d.ts +0 -1
  225. package/lib/src/utils/time.d.ts +0 -13
  226. package/lib/src/utils/unit.d.ts +0 -12
  227. package/lib/src/utils/yaml.d.ts +0 -2
  228. package/lib/vite.config.d.ts +0 -2
@@ -1,49 +0,0 @@
1
- export * from './Breadcrumb';
2
- export * from './FormWidgets';
3
- export * from './PageShow';
4
- export * from './Time';
5
- export * from './ConditionsTable';
6
- export * from './FormLayout';
7
- export * from './FormErrorAlert';
8
- export * from './PodContainersTable';
9
- export * from './WorkloadDropdown';
10
- export * from './ReplicasDropdown';
11
- export * from './PodDropdown';
12
- export * from './CreateButton';
13
- export * from './ImageNames';
14
- export * from './ResourceCRUD';
15
- export * from './WorkloadPodsTable';
16
- export * from './CronJobDropdown';
17
- export * from './K8sDropdown';
18
- export * from './ResourceUsageBar';
19
- export * from './WorkloadReplicas';
20
- export * from './CronjobJobsTable';
21
- export * from './KeyValue';
22
- export * from './Separator';
23
- export * from './YamlEditor';
24
- export * from './DeleteButton';
25
- export * from './Layout';
26
- export * from './ShowContent';
27
- export * from './DeleteManyButton';
28
- export * from './ListPage';
29
- export * from './StateTag';
30
- export * from './DrawerShow';
31
- export * from './Menu';
32
- export * from './Table';
33
- export * from './EditButton';
34
- export * from './ReferenceLink';
35
- export * from './ResourceLink';
36
- export * from './NamespacesFilter';
37
- export * from './Form';
38
- export * from './ServiceComponents';
39
- export * from './Tags';
40
- export * from './TextTags';
41
- export * from './PodLog';
42
- export * from './NetworkPolicyRulesViewer';
43
- export * from './ResourceFiledDisplays';
44
- export * from './Tabs';
45
- export * as ValueDisplay from './ValueDisplay';
46
- export * from './ResourceSelect';
47
- export * from './Shell';
48
- export * from './PodShellModal';
49
- export * from './ResourceTable';
@@ -1,5 +0,0 @@
1
- export declare enum AccessControlAuth {
2
- Edit = "Edit",
3
- Delete = "Delete",
4
- Create = "Create"
5
- }
@@ -1,3 +0,0 @@
1
- export * from './k8s';
2
- export * from './state';
3
- export * from './auth';
@@ -1,522 +0,0 @@
1
- export declare const BASE_INIT_VALUE: {
2
- metadata: {
3
- name: string;
4
- namespace: string;
5
- annotations: {};
6
- labels: {};
7
- };
8
- };
9
- export declare const DEPLOYMENT_INIT_VALUE: {
10
- apiVersion: string;
11
- kind: string;
12
- metadata: {
13
- name: string;
14
- namespace: string;
15
- };
16
- spec: {
17
- selector: {
18
- matchLabels: {
19
- app: string;
20
- };
21
- };
22
- replicas: number;
23
- template: {
24
- metadata: {
25
- labels: {
26
- app: string;
27
- };
28
- };
29
- spec: {
30
- containers: {
31
- name: string;
32
- image: string;
33
- ports: {
34
- containerPort: number;
35
- protocol: string;
36
- }[];
37
- }[];
38
- };
39
- };
40
- strategy: {
41
- type: string;
42
- rollingUpdate: {
43
- maxSurge: string;
44
- maxUnavailable: string;
45
- };
46
- };
47
- };
48
- };
49
- export declare const CRONJOB_INIT_VALUE: {
50
- apiVersion: string;
51
- kind: string;
52
- metadata: {
53
- name: string;
54
- namespace: string;
55
- };
56
- spec: {
57
- schedule: string;
58
- jobTemplate: {
59
- spec: {
60
- template: {
61
- spec: {
62
- containers: {
63
- name: string;
64
- image: string;
65
- args: string[];
66
- }[];
67
- restartPolicy: string;
68
- };
69
- };
70
- };
71
- };
72
- };
73
- };
74
- export declare const DAEMONSET_INIT_VALUE: {
75
- apiVersion: string;
76
- kind: string;
77
- metadata: {
78
- name: string;
79
- namespace: string;
80
- };
81
- spec: {
82
- selector: {
83
- matchLabels: {
84
- app: string;
85
- };
86
- };
87
- template: {
88
- metadata: {
89
- labels: {
90
- app: string;
91
- };
92
- };
93
- spec: {
94
- containers: {
95
- name: string;
96
- image: string;
97
- ports: {
98
- containerPort: number;
99
- }[];
100
- }[];
101
- };
102
- };
103
- };
104
- };
105
- export declare const JOB_INIT_VALUE: {
106
- apiVersion: string;
107
- kind: string;
108
- metadata: {
109
- name: string;
110
- namespace: string;
111
- };
112
- spec: {
113
- selector: {};
114
- template: {
115
- metadata: {
116
- name: string;
117
- };
118
- spec: {
119
- containers: {
120
- name: string;
121
- image: string;
122
- command: string[];
123
- }[];
124
- restartPolicy: string;
125
- };
126
- };
127
- };
128
- };
129
- export declare const STATEFULSET_INIT_VALUE: {
130
- apiVersion: "apps/v1";
131
- kind: "StatefulSet";
132
- metadata: {
133
- name: string;
134
- namespace: string;
135
- };
136
- spec: {
137
- serviceName: string;
138
- replicas: number;
139
- selector: {
140
- matchLabels: {
141
- app: string;
142
- };
143
- };
144
- template: {
145
- metadata: {
146
- labels: {
147
- app: string;
148
- };
149
- };
150
- spec: {
151
- terminationGracePeriodSeconds: number;
152
- containers: {
153
- name: string;
154
- image: string;
155
- command: string[];
156
- args: string[];
157
- ports: {
158
- containerPort: number;
159
- name: string;
160
- }[];
161
- volumeMounts: {
162
- name: string;
163
- mountPath: string;
164
- }[];
165
- }[];
166
- };
167
- };
168
- volumeClaimTemplates: {
169
- metadata: {
170
- name: string;
171
- };
172
- spec: {
173
- accessModes: string[];
174
- resources: {
175
- requests: {
176
- storage: string;
177
- };
178
- };
179
- };
180
- }[];
181
- };
182
- };
183
- export declare const POD_INIT_VALUE: {
184
- apiVersion: string;
185
- kind: string;
186
- metadata: {
187
- name: string;
188
- namespace: string;
189
- labels: {
190
- app: string;
191
- };
192
- };
193
- spec: {
194
- securityContext: {
195
- runAsNonRoot: boolean;
196
- seccompProfile: {
197
- type: string;
198
- };
199
- };
200
- containers: {
201
- name: string;
202
- image: string;
203
- ports: {
204
- containerPort: number;
205
- }[];
206
- securityContext: {
207
- allowPrivilegeEscalation: boolean;
208
- capabilities: {
209
- drop: string[];
210
- };
211
- };
212
- }[];
213
- };
214
- };
215
- export declare const SERVICE_CLUSTER_IP_INIT_VALUE: {
216
- apiVersion: string;
217
- kind: string;
218
- metadata: {
219
- name: string;
220
- namespace: string;
221
- };
222
- spec: {
223
- selector: {
224
- app: string;
225
- };
226
- ports: {
227
- name: string;
228
- port: number;
229
- protocol: string;
230
- targetPort: number;
231
- }[];
232
- sessionAffinity: string;
233
- type: string;
234
- };
235
- };
236
- export declare const SERVICE_NODE_PORT_INIT_VALUE: {
237
- apiVersion: string;
238
- kind: string;
239
- metadata: {
240
- name: string;
241
- namespace: string;
242
- };
243
- spec: {
244
- selector: {
245
- app: string;
246
- };
247
- ports: {
248
- name: string;
249
- port: number;
250
- protocol: string;
251
- targetPort: number;
252
- }[];
253
- sessionAffinity: string;
254
- type: string;
255
- };
256
- };
257
- export declare const SERVICE_LOAD_BALANCER_INIT_VALUE: {
258
- apiVersion: string;
259
- kind: string;
260
- metadata: {
261
- name: string;
262
- namespace: string;
263
- };
264
- spec: {
265
- selector: {
266
- app: string;
267
- };
268
- ports: {
269
- name: string;
270
- port: number;
271
- protocol: string;
272
- targetPort: number;
273
- }[];
274
- sessionAffinity: string;
275
- type: string;
276
- };
277
- };
278
- export declare const SERVICE_EXTERNAL_NAME_INIT_VALUE: {
279
- apiVersion: string;
280
- kind: string;
281
- metadata: {
282
- name: string;
283
- namespace: string;
284
- };
285
- spec: {
286
- selector: {
287
- app: string;
288
- };
289
- ports: {
290
- name: string;
291
- port: number;
292
- protocol: string;
293
- targetPort: number;
294
- }[];
295
- sessionAffinity: string;
296
- type: string;
297
- externalName: string;
298
- };
299
- };
300
- export declare const SERVICE_HEADLESS_INIT_VALUE: {
301
- apiVersion: string;
302
- kind: string;
303
- metadata: {
304
- name: string;
305
- namespace: string;
306
- };
307
- spec: {
308
- selector: {
309
- app: string;
310
- };
311
- clusterIP: string;
312
- ports: {
313
- name: string;
314
- port: null;
315
- protocol: string;
316
- targetPort: null;
317
- }[];
318
- sessionAffinity: string;
319
- type: string;
320
- };
321
- };
322
- export declare const INGRESS_INIT_VALUE: {
323
- apiVersion: string;
324
- kind: string;
325
- metadata: {
326
- name: string;
327
- namespace: string;
328
- };
329
- spec: {
330
- rules: {
331
- host: string;
332
- http: {
333
- paths: {
334
- path: string;
335
- pathType: string;
336
- backend: {
337
- service: {
338
- name: string;
339
- port: {
340
- number: number;
341
- };
342
- };
343
- };
344
- }[];
345
- };
346
- }[];
347
- };
348
- };
349
- export declare const NETWORK_POLICY_INIT_VALUE: {
350
- apiVersion: string;
351
- kind: string;
352
- metadata: {
353
- name: string;
354
- namespace: string;
355
- };
356
- spec: {
357
- podSelector: {};
358
- policyTypes: never[];
359
- };
360
- };
361
- export declare const CONFIG_MAP_INIT_VALUE: {
362
- apiVersion: string;
363
- kind: string;
364
- metadata: {
365
- name: string;
366
- namespace: string;
367
- };
368
- data: {
369
- key: string;
370
- };
371
- immutable: boolean;
372
- };
373
- export declare const SERVER_INSTANCE_INIT_VALUE: {
374
- spec: {
375
- address: {
376
- host: string;
377
- port: number;
378
- protocol: string;
379
- credentials: {
380
- ssh: {
381
- username: string;
382
- password: string;
383
- };
384
- };
385
- };
386
- };
387
- metadata: {
388
- name: string;
389
- namespace: string;
390
- annotations: {};
391
- labels: {};
392
- };
393
- apiVersion: string;
394
- kind: string;
395
- };
396
- export declare const TIMESTAMP_LABEL = "sks.user.kubesmart.smtx.io/timestamp";
397
- export declare const SECRET_OPAQUE_INIT_VALUE: {
398
- apiVersion: string;
399
- kind: string;
400
- metadata: {
401
- name: string;
402
- namespace: string;
403
- };
404
- type: string;
405
- data: {
406
- key: string;
407
- };
408
- };
409
- export declare const SECRET_IMAGE_REPO_INIT_VALUE: {
410
- apiVersion: string;
411
- kind: string;
412
- metadata: {
413
- name: string;
414
- namespace: string;
415
- };
416
- type: string;
417
- data: {
418
- '.dockerconfigjson': string;
419
- };
420
- };
421
- export declare const SECRET_BASIC_AUTH_INIT_VALUE: {
422
- apiVersion: string;
423
- kind: string;
424
- metadata: {
425
- name: string;
426
- namespace: string;
427
- };
428
- type: string;
429
- data: {
430
- username: string;
431
- password: string;
432
- };
433
- };
434
- export declare const SECRET_SSH_AUTH_INIT_VALUE: {
435
- apiVersion: string;
436
- kind: string;
437
- metadata: {
438
- name: string;
439
- namespace: string;
440
- };
441
- type: string;
442
- data: {
443
- 'ssh-publickey': string;
444
- 'ssh-privatekey': string;
445
- };
446
- };
447
- export declare const SECRET_TLS_INIT_VALUE: {
448
- apiVersion: string;
449
- kind: string;
450
- metadata: {
451
- name: string;
452
- namespace: string;
453
- };
454
- type: string;
455
- data: {
456
- 'tls.crt': string;
457
- 'tls.key': string;
458
- };
459
- };
460
- export declare const SECRET_CUSTOM_INIT_VALUE: {
461
- apiVersion: string;
462
- kind: string;
463
- metadata: {
464
- name: string;
465
- namespace: string;
466
- };
467
- type: string;
468
- data: {};
469
- };
470
- export declare const NODE_INIT_VALUE: {
471
- apiVersion: string;
472
- kind: string;
473
- metadata: {
474
- name: string;
475
- namespace: string;
476
- };
477
- spec: {};
478
- };
479
- export declare const STORAGE_CLASS_INIT_VALUE: {
480
- apiVersion: string;
481
- kind: string;
482
- metadata: {
483
- name: string;
484
- };
485
- parameters: {};
486
- provisioner: string;
487
- reclaimPolicy: string;
488
- allowVolumeExpansion: boolean;
489
- volumeBindingMode: string;
490
- };
491
- export declare const PV_INIT_VALUE: {
492
- apiVersion: string;
493
- kind: string;
494
- metadata: {
495
- name: string;
496
- };
497
- spec: {
498
- accessModes: string[];
499
- capacity: {
500
- storage: string;
501
- };
502
- persistentVolumeReclaimPolicy: string;
503
- volumeMode: string;
504
- };
505
- };
506
- export declare const PVC_INIT_VALUE: {
507
- apiVersion: string;
508
- kind: string;
509
- metadata: {
510
- name: string;
511
- namespace: string;
512
- };
513
- spec: {
514
- accessModes: string[];
515
- resources: {
516
- requests: {
517
- storage: string;
518
- };
519
- };
520
- storageClassName: string;
521
- };
522
- };
@@ -1,15 +0,0 @@
1
- export declare enum WorkloadState {
2
- Terminated = "terminated",
3
- UPDATING = "updating",
4
- READY = "ready",
5
- COMPLETED = "completed",
6
- FAILED = "failed",
7
- SUSPENDED = "suspended",
8
- RUNNING = "running",
9
- SUCCEEDED = "succeeded",
10
- UNKNOWN = "unknown",
11
- TERMINATING = "terminating",
12
- PENDING = "pending",
13
- WAITING = "waiting",
14
- STOPPED = "stopped"
15
- }
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import Table from 'src/components/Table';
3
- import { Tabs } from 'src/components/Tabs';
4
- declare const ComponentContext: import("react").Context<{
5
- Table?: typeof Table | undefined;
6
- Tabs?: typeof Tabs | undefined;
7
- }>;
8
- export default ComponentContext;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { ResourceConfig } from 'src/types';
3
- declare const ConfigsContext: import("react").Context<Record<string, ResourceConfig>>;
4
- export default ConfigsContext;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { GlobalStore } from 'k8s-api-provider';
3
- declare const GlobalStoreContext: import("react").Context<{
4
- globalStore?: GlobalStore | undefined;
5
- }>;
6
- export default GlobalStoreContext;
@@ -1,3 +0,0 @@
1
- export { default as ComponentContext } from './component';
2
- export { default as GlobalStoreContext } from './global-store';
3
- export { default as ConfigsContext } from './configs';
@@ -1,8 +0,0 @@
1
- export * from './useSchema';
2
- export * from './useDeleteModal';
3
- export * from './useEagleTable';
4
- export * from './useDownloadYAML';
5
- export * from './useEdit';
6
- export * from './useGlobalStore';
7
- export * from './useOpenForm';
8
- export { default as useNamespaceRefineFilter } from './useNamespaceRefineFilter';
@@ -1 +0,0 @@
1
- export * from './useDeleteModal';
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { ModalProps } from '@cloudtower/eagle';
3
- import { BaseKey } from '@refinedev/core';
4
- export declare const useDeleteManyModal: (resource: string, ids: BaseKey[]) => {
5
- modalProps: ModalProps;
6
- visible: boolean;
7
- setVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
8
- };
@@ -1,7 +0,0 @@
1
- import { ModalProps } from '@cloudtower/eagle';
2
- export declare const ModalStyle: import("@linaria/core").LinariaClassName;
3
- export declare const useDeleteModal: (resource: string) => {
4
- modalProps: ModalProps;
5
- visible: boolean;
6
- openDeleteConfirmModal: (id: string) => void;
7
- };
@@ -1,7 +0,0 @@
1
- import { Unstructured } from 'k8s-api-provider';
2
- type DownloadYAMLOptions = {
3
- name: string;
4
- item: Omit<Unstructured, 'id'>;
5
- };
6
- export declare function useDownloadYAML(): (options: DownloadYAMLOptions) => void;
7
- export {};