@rancher/shell 0.3.16 → 0.3.18

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 (174) hide show
  1. package/assets/images/wechat-qr-code.jpg +0 -0
  2. package/assets/translations/en-us.yaml +75 -16
  3. package/assets/translations/zh-hans.yaml +151 -15
  4. package/chart/__tests__/S3.test.ts +50 -0
  5. package/chart/rancher-backup/S3.vue +21 -0
  6. package/chart/rancher-backup/index.vue +4 -0
  7. package/components/AsyncButton.vue +1 -1
  8. package/components/CommunityLinks.vue +1 -0
  9. package/components/FileDiff.vue +92 -85
  10. package/components/Inactivity.vue +10 -0
  11. package/components/LazyImage.vue +2 -2
  12. package/components/PromptRestore.vue +7 -5
  13. package/components/ResourceDetail/Masthead.vue +1 -1
  14. package/components/ResourceDetail/index.vue +8 -14
  15. package/components/ResourceList/index.vue +1 -1
  16. package/components/ResourceTable.vue +50 -2
  17. package/components/YamlEditor.vue +1 -0
  18. package/components/__tests__/PromptRestore.test.ts +72 -0
  19. package/components/auth/AzureWarning.vue +1 -1
  20. package/components/auth/RoleDetailEdit.vue +1 -0
  21. package/components/fleet/FleetResources.vue +3 -64
  22. package/components/form/FileImageSelector.vue +9 -0
  23. package/components/form/FileSelector.vue +2 -1
  24. package/components/form/MatchExpressions.vue +1 -3
  25. package/components/form/NameNsDescription.vue +28 -12
  26. package/components/form/NodeAffinity.vue +2 -2
  27. package/components/form/PodAffinity.vue +2 -2
  28. package/components/form/ResourceTabs/index.vue +8 -2
  29. package/components/form/Select.vue +16 -0
  30. package/components/form/__tests__/FileImageSelector.test.ts +42 -0
  31. package/components/form/__tests__/FileSelector.test.ts +76 -0
  32. package/components/form/__tests__/NodeAffinity.test.ts +38 -0
  33. package/components/form/__tests__/PodAffinity.test.ts +46 -0
  34. package/components/formatter/ClusterLink.vue +8 -4
  35. package/components/formatter/ClusterProvider.vue +3 -1
  36. package/components/formatter/ImageName.vue +23 -0
  37. package/components/formatter/PodImages.vue +7 -1
  38. package/components/formatter/__tests__/ClusterLink.test.ts +101 -0
  39. package/components/formatter/__tests__/ClusterProvider.test.ts +24 -0
  40. package/components/nav/Header.vue +2 -2
  41. package/components/nav/WindowManager/ContainerShell.vue +60 -36
  42. package/components/nav/WindowManager/__tests__/ContainerShell.test.ts +561 -0
  43. package/config/__test__/home-links.test.ts +62 -0
  44. package/config/home-links.js +15 -3
  45. package/config/labels-annotations.js +7 -2
  46. package/config/persistentVolume.ts +108 -0
  47. package/config/product/manager.js +5 -1
  48. package/config/router.js +0 -4
  49. package/config/settings.ts +4 -0
  50. package/config/table-headers.js +6 -5
  51. package/config/types.js +2 -0
  52. package/config/uiplugins.js +50 -5
  53. package/core/plugin-helpers.js +39 -15
  54. package/core/plugin.ts +9 -0
  55. package/core/plugins.js +1 -1
  56. package/core/types-provisioning.ts +253 -0
  57. package/core/types.ts +21 -3
  58. package/detail/autoscaling.horizontalpodautoscaler/index.vue +50 -1
  59. package/detail/fleet.cattle.io.gitrepo.vue +10 -2
  60. package/detail/node.vue +6 -6
  61. package/detail/pod.vue +38 -9
  62. package/detail/provisioning.cattle.io.cluster.vue +46 -7
  63. package/detail/workload/index.vue +49 -18
  64. package/edit/__tests__/fleet.cattle.io.gitrepo.test.ts +62 -0
  65. package/edit/__tests__/ui.cattle.io.navlink.test.ts +110 -0
  66. package/edit/auth/github.vue +1 -0
  67. package/edit/autoscaling.horizontalpodautoscaler/hpa-scaling-rule.vue +130 -0
  68. package/edit/autoscaling.horizontalpodautoscaler/index.vue +79 -0
  69. package/edit/fleet.cattle.io.clustergroup.vue +14 -3
  70. package/edit/fleet.cattle.io.gitrepo.vue +18 -1
  71. package/edit/namespace.vue +9 -1
  72. package/edit/networking.k8s.io.ingress/RulePath.vue +0 -2
  73. package/edit/persistentvolume/__tests__/persistentvolume.test.ts +82 -0
  74. package/edit/persistentvolume/index.vue +2 -1
  75. package/edit/persistentvolume/plugins/csi.vue +3 -1
  76. package/edit/persistentvolume/plugins/longhorn.vue +12 -12
  77. package/edit/provisioning.cattle.io.cluster/AgentConfiguration.vue +1 -30
  78. package/edit/provisioning.cattle.io.cluster/RegistryConfigs.vue +15 -11
  79. package/edit/provisioning.cattle.io.cluster/__tests__/rke2.test.ts +79 -1
  80. package/edit/provisioning.cattle.io.cluster/index.vue +53 -1
  81. package/edit/provisioning.cattle.io.cluster/rke2.vue +335 -151
  82. package/edit/storage.k8s.io.storageclass/index.vue +1 -2
  83. package/edit/ui.cattle.io.navlink.vue +213 -186
  84. package/initialize/App.js +3 -13
  85. package/initialize/layouts.ts +26 -0
  86. package/layouts/default.vue +1 -1
  87. package/list/group.principal.vue +1 -1
  88. package/list/provisioning.cattle.io.cluster.vue +8 -1
  89. package/middleware/authenticated.js +101 -5
  90. package/mixins/brand.js +39 -3
  91. package/mixins/child-hook.js +2 -2
  92. package/mixins/create-edit-view/impl.js +4 -4
  93. package/models/chart.js +1 -1
  94. package/models/fleet.cattle.io.cluster.js +33 -4
  95. package/models/fleet.cattle.io.gitrepo.js +113 -38
  96. package/models/management.cattle.io.kontainerdriver.js +14 -0
  97. package/models/persistentvolume.js +2 -111
  98. package/models/pod.js +30 -0
  99. package/models/provisioning.cattle.io.cluster.js +9 -1
  100. package/models/rke.cattle.io.etcdsnapshot.js +10 -7
  101. package/package.json +2 -2
  102. package/pages/about.vue +8 -2
  103. package/pages/auth/login.vue +1 -1
  104. package/pages/auth/logout.vue +11 -3
  105. package/pages/c/_cluster/apps/charts/index.vue +5 -2
  106. package/pages/c/_cluster/apps/charts/install.vue +5 -0
  107. package/pages/c/_cluster/auth/group.principal/assign-edit.vue +1 -1
  108. package/pages/c/_cluster/auth/roles/index.vue +1 -1
  109. package/pages/c/_cluster/explorer/index.vue +2 -11
  110. package/pages/c/_cluster/manager/cloudCredential/_id.vue +0 -1
  111. package/pages/c/_cluster/manager/cloudCredential/create.vue +0 -1
  112. package/pages/c/_cluster/settings/brand.vue +11 -8
  113. package/pages/c/_cluster/uiplugins/AddExtensionRepos.vue +177 -0
  114. package/pages/c/_cluster/uiplugins/PluginInfoPanel.vue +19 -3
  115. package/pages/c/_cluster/uiplugins/RemoveUIPlugins.vue +90 -21
  116. package/pages/c/_cluster/uiplugins/SetupUIPlugins.vue +107 -37
  117. package/pages/c/_cluster/uiplugins/index.vue +160 -44
  118. package/pages/docs/_doc.vue +9 -3
  119. package/pages/home.vue +6 -6
  120. package/pages/support/index.vue +10 -4
  121. package/pkg/auto-import.js +1 -1
  122. package/plugins/clean-tooltip-directive.js +1 -1
  123. package/plugins/dashboard-store/__tests__/actions.spec.ts +165 -0
  124. package/plugins/dashboard-store/__tests__/getters.spec.ts +100 -0
  125. package/plugins/dashboard-store/__tests__/{mutations.spec.js → mutations.spec.ts} +2 -2
  126. package/plugins/dashboard-store/actions.js +1 -1
  127. package/plugins/dashboard-store/resource-class.js +39 -2
  128. package/plugins/plugin.js +9 -1
  129. package/plugins/steve/__tests__/getters.spec.ts +93 -0
  130. package/plugins/steve/getters.js +21 -1
  131. package/plugins/steve/subscribe.js +1 -3
  132. package/rancher-components/BadgeState/BadgeState.vue +5 -1
  133. package/rancher-components/Banner/Banner.test.ts +51 -1
  134. package/rancher-components/Banner/Banner.vue +134 -53
  135. package/rancher-components/Card/Card.test.ts +37 -0
  136. package/rancher-components/Card/Card.vue +24 -7
  137. package/rancher-components/Form/Checkbox/Checkbox.test.ts +20 -29
  138. package/rancher-components/Form/Checkbox/Checkbox.vue +45 -20
  139. package/rancher-components/Form/LabeledInput/LabeledInput.test.ts +2 -8
  140. package/rancher-components/Form/LabeledInput/LabeledInput.vue +22 -10
  141. package/rancher-components/Form/Radio/RadioButton.test.ts +31 -0
  142. package/rancher-components/Form/Radio/RadioButton.vue +30 -13
  143. package/rancher-components/Form/Radio/RadioGroup.vue +26 -7
  144. package/rancher-components/Form/TextArea/TextAreaAutoGrow.vue +7 -6
  145. package/rancher-components/Form/ToggleSwitch/ToggleSwitch.test.ts +25 -38
  146. package/rancher-components/Form/ToggleSwitch/ToggleSwitch.vue +23 -11
  147. package/rancher-components/LabeledTooltip/LabeledTooltip.vue +19 -5
  148. package/rancher-components/StringList/StringList.test.ts +453 -49
  149. package/rancher-components/StringList/StringList.vue +44 -26
  150. package/scripts/extension/publish +2 -2
  151. package/scripts/typegen.sh +11 -2
  152. package/server/server-middleware.js +4 -12
  153. package/store/index.js +14 -3
  154. package/store/prefs.js +0 -3
  155. package/store/store-types.js +2 -0
  156. package/store/type-map.js +17 -29
  157. package/types/api.d.ts +1 -0
  158. package/types/fleet.d.ts +1 -0
  159. package/types/shell/index.d.ts +931 -85
  160. package/types/userPreferences.d.ts +1 -1
  161. package/utils/__mocks__/socket.js +21 -0
  162. package/utils/grafana.js +23 -11
  163. package/utils/kube.js +9 -0
  164. package/utils/object.js +27 -0
  165. package/utils/selector.js +2 -1
  166. package/utils/settings.ts +2 -2
  167. package/utils/validators/formRules/index.ts +3 -3
  168. package/vue.config.js +3 -2
  169. package/components/.DS_Store +0 -0
  170. package/components/__tests__/.DS_Store +0 -0
  171. package/creators/pkg/package-lock.json +0 -37
  172. package/pages/safeMode.vue +0 -17
  173. package/plugins/steve/urloptions.js +0 -47
  174. package/yarn-error.log +0 -196
@@ -21,6 +21,144 @@ declare module 'vue/types/vue' {
21
21
 
22
22
  declare module 'js-yaml';
23
23
 
24
+ // @shell/config/labels-annotations
25
+
26
+ declare module '@shell/config/labels-annotations' {
27
+ export const NORMAN_NAME: "field.cattle.io/name";
28
+ export const DESCRIPTION: "field.cattle.io/description";
29
+ export const HOSTNAME: "kubernetes.io/hostname";
30
+ export const TIMESTAMP: "cattle.io/timestamp";
31
+ export const SYSTEM_NAMESPACE: "management.cattle.io/system-namespace";
32
+ export const PROJECT: "field.cattle.io/projectId";
33
+ export const DEFAULT_PROJECT: "authz.management.cattle.io/default-project";
34
+ export const SYSTEM_PROJECT: "authz.management.cattle.io/system-project";
35
+ export const CONTAINER_DEFAULT_RESOURCE_LIMIT: "field.cattle.io/containerDefaultResourceLimit";
36
+ export const CATTLE_PUBLIC_ENDPOINTS: "field.cattle.io/publicEndpoints";
37
+ export const TARGET_WORKLOADS: "field.cattle.io/targetWorkloadIds";
38
+ export const UI_MANAGED: "management.cattle.io/ui-managed";
39
+ export const CREATOR_ID: "field.cattle.io/creatorId";
40
+ export const RESOURCE_QUOTA: "field.cattle.io/resourceQuota";
41
+ export const AZURE_MIGRATED: "auth.cattle.io/azuread-endpoint-migrated";
42
+ export const WORKSPACE_ANNOTATION: "objectset.rio.cattle.io/id";
43
+ export namespace KUBERNETES {
44
+ const SERVICE_ACCOUNT_UID: string;
45
+ const SERVICE_ACCOUNT_NAME: string;
46
+ const MANAGED_BY: string;
47
+ const MANAGED_NAME: string;
48
+ const INSTANCE: string;
49
+ }
50
+ export namespace CERTMANAGER {
51
+ const ISSUER: string;
52
+ }
53
+ export namespace STORAGE {
54
+ const DEFAULT_STORAGE_CLASS: string;
55
+ const BETA_DEFAULT_STORAGE_CLASS: string;
56
+ }
57
+ export namespace MANAGEMENT_NODE {
58
+ const NODE_NAME: string;
59
+ }
60
+ export namespace NODE_ROLES {
61
+ const CONTROL_PLANE_OLD: string;
62
+ const CONTROL_PLANE: string;
63
+ const WORKER: string;
64
+ const ETCD: string;
65
+ }
66
+ export namespace MACHINE_ROLES {
67
+ const CONTROL_PLANE_1: string;
68
+ export { CONTROL_PLANE_1 as CONTROL_PLANE };
69
+ const WORKER_1: string;
70
+ export { WORKER_1 as WORKER };
71
+ const ETCD_1: string;
72
+ export { ETCD_1 as ETCD };
73
+ }
74
+ export namespace CAPI {
75
+ const DEPLOYMENT_NAME: string;
76
+ const CREDENTIAL_DRIVER: string;
77
+ const CLUSTER_NAMESPACE: string;
78
+ const FORCE_MACHINE_REMOVE: string;
79
+ const MACHINE_NAME: string;
80
+ const DELETE_MACHINE: string;
81
+ const PROVIDER: string;
82
+ const SECRET_AUTH: string;
83
+ const SECRET_WILL_DELETE: string;
84
+ const UI_CUSTOM_PROVIDER: string;
85
+ }
86
+ export namespace CATALOG {
87
+ const CERTIFIED: string;
88
+ const _RANCHER: string;
89
+ const _PARTNER: string;
90
+ const _OTHER: string;
91
+ const EXPERIMENTAL: string;
92
+ const NAMESPACE: string;
93
+ const RELEASE_NAME: string;
94
+ const FEATURED: string;
95
+ const REQUIRES_GVK: string;
96
+ const PROVIDES: string;
97
+ const AUTO_INSTALL_GVK: string;
98
+ const AUTO_INSTALL: string;
99
+ const HIDDEN: string;
100
+ const REQUESTS_CPU: string;
101
+ const REQUESTS_MEMORY: string;
102
+ const SCOPE: string;
103
+ const _MANAGEMENT: string;
104
+ const _DOWNSTREAM: string;
105
+ const TYPE: string;
106
+ const _APP: string;
107
+ const _CLUSTER_TPL: string;
108
+ const _CLUSTER_TOOL: string;
109
+ const COMPONENT: string;
110
+ const SOURCE_REPO_TYPE: string;
111
+ const SOURCE_REPO_NAME: string;
112
+ const COLOR: string;
113
+ const DISPLAY_NAME: string;
114
+ const SUPPORTED_OS: string;
115
+ const PERMITTED_OS: string;
116
+ const DEPLOYED_OS: string;
117
+ const MIGRATED: string;
118
+ const MANAGED: string;
119
+ const HIDDEN_REPO: string;
120
+ }
121
+ export namespace FLEET {
122
+ export const CLUSTER_DISPLAY_NAME: string;
123
+ export const CLUSTER_NAME: string;
124
+ export const BUNDLE_ID: string;
125
+ const MANAGED_1: string;
126
+ export { MANAGED_1 as MANAGED };
127
+ export const CLUSTER: string;
128
+ }
129
+ export namespace RBAC {
130
+ const PRODUCT: string;
131
+ }
132
+ export namespace RKE {
133
+ const EXTERNAL_IP: string;
134
+ }
135
+ export namespace SNAPSHOT {
136
+ const CLUSTER_NAME_1: string;
137
+ export { CLUSTER_NAME_1 as CLUSTER_NAME };
138
+ }
139
+ export namespace ISTIO {
140
+ const AUTO_INJECTION: string;
141
+ }
142
+ export const LABELS_TO_IGNORE_REGEX: RegExp[];
143
+ export const ANNOTATIONS_TO_IGNORE_REGEX: RegExp[];
144
+ export const ANNOTATIONS_TO_FOLD: RegExp[];
145
+ export namespace HCI {
146
+ const CLOUD_INIT: string;
147
+ const CLOUD_PROVIDER_IPAM: string;
148
+ const NETWORK_ROUTE: string;
149
+ const IMAGE_NAME: string;
150
+ const NETWORK_TYPE: string;
151
+ const PRIMARY_SERVICE: string;
152
+ }
153
+ export namespace CLUSTER_BADGE {
154
+ export const TEXT: string;
155
+ const COLOR_1: string;
156
+ export { COLOR_1 as COLOR };
157
+ export const ICON_TEXT: string;
158
+ }
159
+ export const SYSTEM_LABELS: string[];
160
+ }
161
+
24
162
  // @shell/config/query-params
25
163
 
26
164
  declare module '@shell/config/query-params' {
@@ -471,7 +609,7 @@ export namespace DURATION {
471
609
  const formatter_16: string;
472
610
  export { formatter_16 as formatter };
473
611
  }
474
- export namespace IMAGE {
612
+ export namespace IMAGE_NAME {
475
613
  const name_29: string;
476
614
  export { name_29 as name };
477
615
  const labelKey_29: string;
@@ -480,6 +618,8 @@ export namespace IMAGE {
480
618
  export { value_28 as value };
481
619
  const sort_29: string[];
482
620
  export { sort_29 as sort };
621
+ const formatter_17: string;
622
+ export { formatter_17 as formatter };
483
623
  }
484
624
  export namespace POD_IMAGES {
485
625
  const name_30: string;
@@ -492,16 +632,16 @@ export namespace POD_IMAGES {
492
632
  export { getValue_8 as getValue };
493
633
  const sort_30: string;
494
634
  export { sort_30 as sort };
495
- const formatter_17: string;
496
- export { formatter_17 as formatter };
635
+ const formatter_18: string;
636
+ export { formatter_18 as formatter };
497
637
  }
498
638
  export namespace POD_RESTARTS {
499
639
  const name_31: string;
500
640
  export { name_31 as name };
501
641
  const labelKey_31: string;
502
642
  export { labelKey_31 as labelKey };
503
- const formatter_18: string;
504
- export { formatter_18 as formatter };
643
+ const formatter_19: string;
644
+ export { formatter_19 as formatter };
505
645
  export const delayLoading: boolean;
506
646
  const value_30: string;
507
647
  export { value_30 as value };
@@ -518,8 +658,8 @@ export namespace ENDPOINTS {
518
658
  export { labelKey_32 as labelKey };
519
659
  const value_31: string;
520
660
  export { value_31 as value };
521
- const formatter_19: string;
522
- export { formatter_19 as formatter };
661
+ const formatter_20: string;
662
+ export { formatter_20 as formatter };
523
663
  const width_7: number;
524
664
  export { width_7 as width };
525
665
  const align_3: string;
@@ -534,8 +674,8 @@ export namespace SCALE {
534
674
  export { value_32 as value };
535
675
  const sort_31: string[];
536
676
  export { sort_31 as sort };
537
- const formatter_20: string;
538
- export { formatter_20 as formatter };
677
+ const formatter_21: string;
678
+ export { formatter_21 as formatter };
539
679
  const width_8: number;
540
680
  export { width_8 as width };
541
681
  const align_4: string;
@@ -560,8 +700,8 @@ export namespace WEIGHT {
560
700
  export { value_34 as value };
561
701
  const sort_33: string;
562
702
  export { sort_33 as sort };
563
- const formatter_21: string;
564
- export { formatter_21 as formatter };
703
+ const formatter_22: string;
704
+ export { formatter_22 as formatter };
565
705
  const width_9: number;
566
706
  export { width_9 as width };
567
707
  const align_5: string;
@@ -674,8 +814,8 @@ export namespace USER_ID {
674
814
  export { labelKey_45 as labelKey };
675
815
  const value_44: string;
676
816
  export { value_44 as value };
677
- const formatter_22: string;
678
- export { formatter_22 as formatter };
817
+ const formatter_23: string;
818
+ export { formatter_23 as formatter };
679
819
  const canBeVariable_5: boolean;
680
820
  export { canBeVariable_5 as canBeVariable };
681
821
  const sort_38: string;
@@ -712,8 +852,8 @@ export namespace IMAGE_SIZE {
712
852
  export { value_47 as value };
713
853
  const sort_41: string[];
714
854
  export { sort_41 as sort };
715
- const formatter_23: string;
716
- export { formatter_23 as formatter };
855
+ const formatter_24: string;
856
+ export { formatter_24 as formatter };
717
857
  }
718
858
  export namespace TYPE {
719
859
  const name_49: string;
@@ -783,8 +923,8 @@ export namespace LAST_HEARTBEAT_TIME {
783
923
  export { value_53 as value };
784
924
  const sort_47: string[];
785
925
  export { sort_47 as sort };
786
- const formatter_24: string;
787
- export { formatter_24 as formatter };
926
+ const formatter_25: string;
927
+ export { formatter_25 as formatter };
788
928
  const width_18: number;
789
929
  export { width_18 as width };
790
930
  }
@@ -809,8 +949,8 @@ export namespace OBJECT {
809
949
  export { sort_49 as sort };
810
950
  const canBeVariable_6: boolean;
811
951
  export { canBeVariable_6 as canBeVariable };
812
- const formatter_25: string;
813
- export { formatter_25 as formatter };
952
+ const formatter_26: string;
953
+ export { formatter_26 as formatter };
814
954
  }
815
955
  export namespace RECLAIM_POLICY {
816
956
  const name_57: string;
@@ -873,8 +1013,8 @@ export namespace BUILT_IN {
873
1013
  export { sort_55 as sort };
874
1014
  const align_9: string;
875
1015
  export { align_9 as align };
876
- const formatter_26: string;
877
- export { formatter_26 as formatter };
1016
+ const formatter_27: string;
1017
+ export { formatter_27 as formatter };
878
1018
  }
879
1019
  export namespace CLUSTER_CREATOR_DEFAULT {
880
1020
  const name_63: string;
@@ -887,8 +1027,8 @@ export namespace CLUSTER_CREATOR_DEFAULT {
887
1027
  export { sort_56 as sort };
888
1028
  const align_10: string;
889
1029
  export { align_10 as align };
890
- const formatter_27: string;
891
- export { formatter_27 as formatter };
1030
+ const formatter_28: string;
1031
+ export { formatter_28 as formatter };
892
1032
  }
893
1033
  export namespace RBAC_DEFAULT {
894
1034
  const name_64: string;
@@ -897,8 +1037,8 @@ export namespace RBAC_DEFAULT {
897
1037
  export { labelKey_64 as labelKey };
898
1038
  const value_63: string;
899
1039
  export { value_63 as value };
900
- const formatter_28: string;
901
- export { formatter_28 as formatter };
1040
+ const formatter_29: string;
1041
+ export { formatter_29 as formatter };
902
1042
  const sort_57: string[];
903
1043
  export { sort_57 as sort };
904
1044
  }
@@ -909,8 +1049,8 @@ export namespace RBAC_BUILTIN {
909
1049
  export { labelKey_65 as labelKey };
910
1050
  const value_64: string;
911
1051
  export { value_64 as value };
912
- const formatter_29: string;
913
- export { formatter_29 as formatter };
1052
+ const formatter_30: string;
1053
+ export { formatter_30 as formatter };
914
1054
  const sort_58: string[];
915
1055
  export { sort_58 as sort };
916
1056
  }
@@ -953,8 +1093,8 @@ export namespace INGRESS_DEFAULT_BACKEND {
953
1093
  export { value_68 as value };
954
1094
  const sort_62: string[];
955
1095
  export { sort_62 as sort };
956
- const formatter_30: string;
957
- export { formatter_30 as formatter };
1096
+ const formatter_31: string;
1097
+ export { formatter_31 as formatter };
958
1098
  const width_19: number;
959
1099
  export { width_19 as width };
960
1100
  const align_11: string;
@@ -967,8 +1107,8 @@ export namespace INGRESS_TARGET {
967
1107
  export { labelKey_70 as labelKey };
968
1108
  const value_69: string;
969
1109
  export { value_69 as value };
970
- const formatter_31: string;
971
- export { formatter_31 as formatter };
1110
+ const formatter_32: string;
1111
+ export { formatter_32 as formatter };
972
1112
  const sort_63: string;
973
1113
  export { sort_63 as sort };
974
1114
  }
@@ -981,12 +1121,12 @@ export namespace SPEC_TYPE {
981
1121
  export { value_70 as value };
982
1122
  const sort_64: string;
983
1123
  export { sort_64 as sort };
984
- const formatter_32: string;
985
- export { formatter_32 as formatter };
986
- }
987
- export namespace TARGET_PORT {
988
1124
  const formatter_33: string;
989
1125
  export { formatter_33 as formatter };
1126
+ }
1127
+ export namespace TARGET_PORT {
1128
+ const formatter_34: string;
1129
+ export { formatter_34 as formatter };
990
1130
  const labelKey_72: string;
991
1131
  export { labelKey_72 as labelKey };
992
1132
  const name_72: string;
@@ -997,8 +1137,8 @@ export namespace TARGET_PORT {
997
1137
  export { value_71 as value };
998
1138
  }
999
1139
  export namespace SELECTOR {
1000
- const formatter_34: string;
1001
- export { formatter_34 as formatter };
1140
+ const formatter_35: string;
1141
+ export { formatter_35 as formatter };
1002
1142
  const name_73: string;
1003
1143
  export { name_73 as name };
1004
1144
  const labelKey_73: string;
@@ -1059,8 +1199,8 @@ export namespace LAST_UPDATED {
1059
1199
  export { labelKey_78 as labelKey };
1060
1200
  const value_77: string;
1061
1201
  export { value_77 as value };
1062
- const formatter_35: string;
1063
- export { formatter_35 as formatter };
1202
+ const formatter_36: string;
1203
+ export { formatter_36 as formatter };
1064
1204
  export namespace formatterOpts_3 {
1065
1205
  const addSuffix: boolean;
1066
1206
  }
@@ -1091,8 +1231,8 @@ export namespace WORKLOAD_ENDPOINTS {
1091
1231
  export { value_80 as value };
1092
1232
  export function getValue_11(row: any): any;
1093
1233
  export { getValue_11 as getValue };
1094
- const formatter_36: string;
1095
- export { formatter_36 as formatter };
1234
+ const formatter_37: string;
1235
+ export { formatter_37 as formatter };
1096
1236
  const dashIfEmpty_5: boolean;
1097
1237
  export { dashIfEmpty_5 as dashIfEmpty };
1098
1238
  const breakpoint_1: any;
@@ -1104,8 +1244,8 @@ export namespace WORKLOAD_HEALTH_SCALE {
1104
1244
  export { name_81 as name };
1105
1245
  const labelKey_80: string;
1106
1246
  export { labelKey_80 as labelKey };
1107
- const formatter_37: string;
1108
- export { formatter_37 as formatter };
1247
+ const formatter_38: string;
1248
+ export { formatter_38 as formatter };
1109
1249
  export function getValue_12(): any;
1110
1250
  export { getValue_12 as getValue };
1111
1251
  const width_21: number;
@@ -1129,8 +1269,8 @@ export namespace FLEET_SUMMARY {
1129
1269
  export { sort_73 as sort };
1130
1270
  const search_7: boolean;
1131
1271
  export { search_7 as search };
1132
- const formatter_38: string;
1133
- export { formatter_38 as formatter };
1272
+ const formatter_39: string;
1273
+ export { formatter_39 as formatter };
1134
1274
  const align_12: string;
1135
1275
  export { align_12 as align };
1136
1276
  const width_22: number;
@@ -1147,8 +1287,8 @@ export namespace APP_SUMMARY {
1147
1287
  export { sort_74 as sort };
1148
1288
  const search_8: boolean;
1149
1289
  export { search_8 as search };
1150
- const formatter_39: string;
1151
- export { formatter_39 as formatter };
1290
+ const formatter_40: string;
1291
+ export { formatter_40 as formatter };
1152
1292
  const align_13: string;
1153
1293
  export { align_13 as align };
1154
1294
  const width_23: number;
@@ -1163,8 +1303,8 @@ export namespace CONSTRAINT_VIOLATION_CONSTRAINT_LINK {
1163
1303
  export { value_83 as value };
1164
1304
  const sort_75: string;
1165
1305
  export { sort_75 as sort };
1166
- const formatter_40: string;
1167
- export { formatter_40 as formatter };
1306
+ const formatter_41: string;
1307
+ export { formatter_41 as formatter };
1168
1308
  export namespace formatterOpts_4 {
1169
1309
  export namespace options_1 {
1170
1310
  const internal_1: boolean;
@@ -1185,8 +1325,8 @@ export namespace CONSTRAINT_VIOLATION_RESOURCE_LINK {
1185
1325
  export { sort_76 as sort };
1186
1326
  const search_9: string;
1187
1327
  export { search_9 as search };
1188
- const formatter_41: string;
1189
- export { formatter_41 as formatter };
1328
+ const formatter_42: string;
1329
+ export { formatter_42 as formatter };
1190
1330
  export namespace formatterOpts_5 {
1191
1331
  export namespace options_2 {
1192
1332
  const internal_2: boolean;
@@ -1237,8 +1377,8 @@ export namespace CONSTRAINT_VIOLATION_TEMPLATE_LINK {
1237
1377
  export { value_88 as value };
1238
1378
  const sort_80: string;
1239
1379
  export { sort_80 as sort };
1240
- const formatter_42: string;
1241
- export { formatter_42 as formatter };
1380
+ const formatter_43: string;
1381
+ export { formatter_43 as formatter };
1242
1382
  export namespace formatterOpts_6 {
1243
1383
  export namespace options_3 {
1244
1384
  const internal_3: boolean;
@@ -1257,8 +1397,8 @@ export namespace CONSTRAINT_VIOLATION_COUNT {
1257
1397
  export { value_89 as value };
1258
1398
  const sort_81: string;
1259
1399
  export { sort_81 as sort };
1260
- const formatter_43: string;
1261
- export { formatter_43 as formatter };
1400
+ const formatter_44: string;
1401
+ export { formatter_44 as formatter };
1262
1402
  export namespace formatterOpts_7 {
1263
1403
  function qualityFn(value: any): "error" | "success" | "warning";
1264
1404
  function qualityFn(value: any): "error" | "success" | "warning";
@@ -1274,8 +1414,8 @@ export namespace RECEIVER_PROVIDERS {
1274
1414
  export { value_90 as value };
1275
1415
  const sort_82: string;
1276
1416
  export { sort_82 as sort };
1277
- const formatter_44: string;
1278
- export { formatter_44 as formatter };
1417
+ const formatter_45: string;
1418
+ export { formatter_45 as formatter };
1279
1419
  }
1280
1420
  export namespace CONFIGURED_RECEIVER {
1281
1421
  const name_92: string;
@@ -1286,8 +1426,8 @@ export namespace CONFIGURED_RECEIVER {
1286
1426
  export { value_91 as value };
1287
1427
  const sort_83: string;
1288
1428
  export { sort_83 as sort };
1289
- const formatter_45: string;
1290
- export { formatter_45 as formatter };
1429
+ const formatter_46: string;
1430
+ export { formatter_46 as formatter };
1291
1431
  export namespace formatterOpts_8 {
1292
1432
  export namespace options_4 {
1293
1433
  const internal_4: boolean;
@@ -1308,8 +1448,8 @@ export namespace GROUP_NAME {
1308
1448
  export { sort_84 as sort };
1309
1449
  const search_11: string[];
1310
1450
  export { search_11 as search };
1311
- const formatter_46: string;
1312
- export { formatter_46 as formatter };
1451
+ const formatter_47: string;
1452
+ export { formatter_47 as formatter };
1313
1453
  const width_24: number;
1314
1454
  export { width_24 as width };
1315
1455
  }
@@ -1320,8 +1460,8 @@ export namespace GROUP_ROLE_NAME {
1320
1460
  export { labelKey_91 as labelKey };
1321
1461
  const value_93: string;
1322
1462
  export { value_93 as value };
1323
- const formatter_47: string;
1324
- export { formatter_47 as formatter };
1463
+ const formatter_48: string;
1464
+ export { formatter_48 as formatter };
1325
1465
  }
1326
1466
  export namespace HPA_REFERENCE {
1327
1467
  const name_95: string;
@@ -1366,8 +1506,8 @@ export namespace CURRENT_REPLICA {
1366
1506
  export namespace EXPIRY_STATE {
1367
1507
  const value_98: string;
1368
1508
  export { value_98 as value };
1369
- const formatter_48: string;
1370
- export { formatter_48 as formatter };
1509
+ const formatter_49: string;
1510
+ export { formatter_49 as formatter };
1371
1511
  }
1372
1512
  export namespace ACCESS_KEY {
1373
1513
  const name_99: string;
@@ -1416,8 +1556,8 @@ export namespace EXPIRES {
1416
1556
  export { sort_92 as sort };
1417
1557
  const width_27: number;
1418
1558
  export { width_27 as width };
1419
- const formatter_49: string;
1420
- export { formatter_49 as formatter };
1559
+ const formatter_50: string;
1560
+ export { formatter_50 as formatter };
1421
1561
  }
1422
1562
  export namespace RESTART {
1423
1563
  const name_102: string;
@@ -1428,8 +1568,8 @@ export namespace RESTART {
1428
1568
  export { value_102 as value };
1429
1569
  const sort_93: string[];
1430
1570
  export { sort_93 as sort };
1431
- const formatter_50: string;
1432
- export { formatter_50 as formatter };
1571
+ const formatter_51: string;
1572
+ export { formatter_51 as formatter };
1433
1573
  const width_28: number;
1434
1574
  export { width_28 as width };
1435
1575
  const align_17: string;
@@ -1454,8 +1594,8 @@ export namespace FEATURE_DESCRIPTION {
1454
1594
  export { align_18 as align };
1455
1595
  const sort_94: string[];
1456
1596
  export { sort_94 as sort };
1457
- const formatter_51: string;
1458
- export { formatter_51 as formatter };
1597
+ const formatter_52: string;
1598
+ export { formatter_52 as formatter };
1459
1599
  export namespace formatterOpts_9 {
1460
1600
  const prefix: string;
1461
1601
  }
@@ -1474,8 +1614,8 @@ export namespace STATE_NORMAN {
1474
1614
  export { width_29 as width };
1475
1615
  const _default_1: string;
1476
1616
  export { _default_1 as default };
1477
- const formatter_52: string;
1478
- export { formatter_52 as formatter };
1617
+ const formatter_53: string;
1618
+ export { formatter_53 as formatter };
1479
1619
  }
1480
1620
  export namespace KUBE_NODE_OS {
1481
1621
  const name_106: string;
@@ -1486,8 +1626,8 @@ export namespace KUBE_NODE_OS {
1486
1626
  export { value_106 as value };
1487
1627
  const sort_96: string[];
1488
1628
  export { sort_96 as sort };
1489
- const formatter_53: string;
1490
- export { formatter_53 as formatter };
1629
+ const formatter_54: string;
1630
+ export { formatter_54 as formatter };
1491
1631
  }
1492
1632
  export namespace MACHINE_NODE_OS {
1493
1633
  const name_107: string;
@@ -1498,8 +1638,8 @@ export namespace MACHINE_NODE_OS {
1498
1638
  export { value_107 as value };
1499
1639
  const sort_97: string[];
1500
1640
  export { sort_97 as sort };
1501
- const formatter_54: string;
1502
- export { formatter_54 as formatter };
1641
+ const formatter_55: string;
1642
+ export { formatter_55 as formatter };
1503
1643
  const dashIfEmpty_7: boolean;
1504
1644
  export { dashIfEmpty_7 as dashIfEmpty };
1505
1645
  }
@@ -1512,8 +1652,8 @@ export namespace MANAGEMENT_NODE_OS {
1512
1652
  export { value_108 as value };
1513
1653
  const sort_98: string[];
1514
1654
  export { sort_98 as sort };
1515
- const formatter_55: string;
1516
- export { formatter_55 as formatter };
1655
+ const formatter_56: string;
1656
+ export { formatter_56 as formatter };
1517
1657
  const dashIfEmpty_8: boolean;
1518
1658
  export { dashIfEmpty_8 as dashIfEmpty };
1519
1659
  }
@@ -1524,8 +1664,8 @@ export namespace FLEET_BUNDLE_LAST_UPDATED {
1524
1664
  export { labelKey_106 as labelKey };
1525
1665
  const value_109: string;
1526
1666
  export { value_109 as value };
1527
- const formatter_56: string;
1528
- export { formatter_56 as formatter };
1667
+ const formatter_57: string;
1668
+ export { formatter_57 as formatter };
1529
1669
  export namespace formatterOpts_10 {
1530
1670
  const addSuffix_1: boolean;
1531
1671
  export { addSuffix_1 as addSuffix };
@@ -1710,6 +1850,7 @@ export namespace LONGHORN {
1710
1850
  const SETTINGS: string;
1711
1851
  const VOLUMES: string;
1712
1852
  }
1853
+ export const LONGHORN_DRIVER: "driver.longhorn.io";
1713
1854
  export const SNAPSHOT: "rke.cattle.io.etcdsnapshot";
1714
1855
  export namespace MANAGEMENT {
1715
1856
  const AUTH_CONFIG_1: string;
@@ -1923,7 +2064,7 @@ export default _default;
1923
2064
  // @shell/mixins/create-edit-view
1924
2065
 
1925
2066
  declare module '@shell/mixins/create-edit-view' {
1926
- declare var _default: import("vue/types/vue").ExtendedVue<Vue, {
2067
+ declare var _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {
1927
2068
  errors: any[];
1928
2069
  }, {
1929
2070
  done(): any;
@@ -1949,11 +2090,317 @@ declare var _default: import("vue/types/vue").ExtendedVue<Vue, {
1949
2090
  initialValue: any;
1950
2091
  liveValue: any;
1951
2092
  doneEvent: boolean;
1952
- }>;
2093
+ }, {}, any, import("vue/types/v3-component-options").ComponentOptionsMixin>;
1953
2094
  export default _default;
1954
2095
  import Vue from "vue";
1955
2096
  }
1956
2097
 
2098
+ // @shell/models/namespace
2099
+
2100
+ declare module '@shell/models/namespace' {
2101
+ export default class Namespace {
2102
+ applyDefaults(): void;
2103
+ get _availableActions(): any;
2104
+ move(resources?: Namespace): void;
2105
+ get isSystem(): any;
2106
+ get isFleetManaged(): boolean;
2107
+ get isObscure(): any;
2108
+ get projectId(): any;
2109
+ get project(): any;
2110
+ get groupByLabel(): any;
2111
+ get projectNameSort(): any;
2112
+ get istioInstalled(): boolean;
2113
+ get injectionEnabled(): boolean;
2114
+ enableAutoInjection(namespaces?: Namespace, enable?: boolean): void;
2115
+ disableAutoInjection(namespaces?: Namespace): void;
2116
+ get confirmRemove(): boolean;
2117
+ get listLocation(): {
2118
+ name: string;
2119
+ };
2120
+ get _detailLocation(): any;
2121
+ get parentLocationOverride(): {
2122
+ name: string;
2123
+ };
2124
+ get doneOverride(): {
2125
+ name: string;
2126
+ };
2127
+ set resourceQuota(arg: any);
2128
+ get resourceQuota(): any;
2129
+ get detailTopTooltips(): any;
2130
+ get detailTopIcons(): any;
2131
+ /**
2132
+ * Check if resource contains PSA labels
2133
+ */
2134
+ get hasSystemLabels(): any;
2135
+ get filteredSystemLabels(): {};
2136
+ /**
2137
+ * Generate list of present keys which can be filtered based on existing label keys and system keys
2138
+ */
2139
+ get systemLabels(): any;
2140
+ get psaTooltipsDescription(): any;
2141
+ cleanForNew(): void;
2142
+ metadata: any;
2143
+ get hideDetailLocation(): boolean;
2144
+ }
2145
+ }
2146
+
2147
+ // @shell/models/networking.k8s.io.ingress
2148
+
2149
+ declare module '@shell/models/networking.k8s.io.ingress' {
2150
+ export function ingressFullPath(resource: any, rule: any, path?: {}): string;
2151
+ export default class Ingress {
2152
+ get tlsHosts(): any;
2153
+ get isTlsHost(): (host: any) => any;
2154
+ targetTo(workloads: any, serviceName: any): any;
2155
+ createRulesForListPage(workloads: any, certificates: any): any;
2156
+ createPathForListPage(workloads: any, rule: any, path: any, certificates: any): {
2157
+ isUrl: boolean;
2158
+ pathType: any;
2159
+ fullPath: string;
2160
+ serviceName: any;
2161
+ serviceTargetTo: any;
2162
+ certs: any;
2163
+ targetLink: {
2164
+ to: any;
2165
+ text: any;
2166
+ options: {
2167
+ internal: boolean;
2168
+ };
2169
+ };
2170
+ port: any;
2171
+ };
2172
+ fullPath(rule: any, path: any): string;
2173
+ certLink(cert: any, certificates?: any[]): {
2174
+ to: {
2175
+ name: string;
2176
+ params: {
2177
+ resource: any;
2178
+ id: any;
2179
+ };
2180
+ };
2181
+ text: any;
2182
+ options: {
2183
+ internal: boolean;
2184
+ };
2185
+ };
2186
+ certLinks(rule: any, certificates: any): any;
2187
+ targetLink(workloads: any, serviceName: any): {
2188
+ to: any;
2189
+ text: any;
2190
+ options: {
2191
+ internal: boolean;
2192
+ };
2193
+ };
2194
+ createDefaultService(workloads: any): {
2195
+ name: any;
2196
+ targetTo: any;
2197
+ };
2198
+ get cache(): {};
2199
+ cacheObject: {};
2200
+ get showPathType(): any;
2201
+ get useNestedBackendField(): any;
2202
+ get serviceNamePath(): "service.name" | "serviceName";
2203
+ get servicePortPath(): "service.port.number" | "servicePort";
2204
+ get defaultBackendPath(): "defaultBackend" | "backend";
2205
+ get hasDefaultBackend(): boolean;
2206
+ get details(): any;
2207
+ }
2208
+ }
2209
+
2210
+ // @shell/plugins/dashboard-store/actions
2211
+
2212
+ declare module '@shell/plugins/dashboard-store/actions' {
2213
+ export function handleSpoofedRequest(rootGetters: any, schemaStore: any, opt: any, product: any): Promise<any>;
2214
+ export function loadSchemas(ctx: any, watch?: boolean): Promise<any>;
2215
+ export const _ALL: "all";
2216
+ export const _MERGE: "merge";
2217
+ export const _MULTI: "multi";
2218
+ export const _ALL_IF_AUTHED: "allIfAuthed";
2219
+ export const _NONE: "none";
2220
+ declare namespace _default {
2221
+ export function request(): never;
2222
+ export function request(): never;
2223
+ export { loadSchemas };
2224
+ export function loadDataPage(ctx: any, { type, opt }: {
2225
+ type: any;
2226
+ opt: any;
2227
+ }): Promise<never>;
2228
+ export function loadDataPage(ctx: any, { type, opt }: {
2229
+ type: any;
2230
+ opt: any;
2231
+ }): Promise<never>;
2232
+ export function findAll(ctx: any, { type, opt }: {
2233
+ type: any;
2234
+ opt: any;
2235
+ }): Promise<any>;
2236
+ export function findAll(ctx: any, { type, opt }: {
2237
+ type: any;
2238
+ opt: any;
2239
+ }): Promise<any>;
2240
+ export function findMatching(ctx: any, { type, selector, opt, namespace }: {
2241
+ type: any;
2242
+ selector: any;
2243
+ opt: any;
2244
+ namespace: any;
2245
+ }): Promise<any>;
2246
+ export function findMatching(ctx: any, { type, selector, opt, namespace }: {
2247
+ type: any;
2248
+ selector: any;
2249
+ opt: any;
2250
+ namespace: any;
2251
+ }): Promise<any>;
2252
+ export function find(ctx: any, { type, id, opt }: {
2253
+ type: any;
2254
+ id: any;
2255
+ opt: any;
2256
+ }): Promise<any>;
2257
+ export function find(ctx: any, { type, id, opt }: {
2258
+ type: any;
2259
+ id: any;
2260
+ opt: any;
2261
+ }): Promise<any>;
2262
+ export function load(ctx: any, { data, existing }: {
2263
+ data: any;
2264
+ existing: any;
2265
+ }): any;
2266
+ export function load(ctx: any, { data, existing }: {
2267
+ data: any;
2268
+ existing: any;
2269
+ }): any;
2270
+ export function loadMulti(ctx: any, data: any): void;
2271
+ export function loadMulti(ctx: any, data: any): void;
2272
+ export function batchChanges(ctx: any, batch: any): void;
2273
+ export function batchChanges(ctx: any, batch: any): void;
2274
+ export function loadAll(ctx: any, { type, data }: {
2275
+ type: any;
2276
+ data: any;
2277
+ }): void;
2278
+ export function loadAll(ctx: any, { type, data }: {
2279
+ type: any;
2280
+ data: any;
2281
+ }): void;
2282
+ export function create(ctx: any, data: any): any;
2283
+ export function create(ctx: any, data: any): any;
2284
+ export function createMany(ctx: any, data: any): any;
2285
+ export function createMany(ctx: any, data: any): any;
2286
+ export function createPopulated(ctx: any, userData: any): any;
2287
+ export function createPopulated(ctx: any, userData: any): any;
2288
+ export function clone(ctx: any, { resource }?: {
2289
+ resource: any;
2290
+ }): any;
2291
+ export function clone(ctx: any, { resource }?: {
2292
+ resource: any;
2293
+ }): any;
2294
+ export function forgetType({ commit, dispatch, state }: {
2295
+ commit: any;
2296
+ dispatch: any;
2297
+ state: any;
2298
+ }, type: any): void;
2299
+ export function forgetType({ commit, dispatch, state }: {
2300
+ commit: any;
2301
+ dispatch: any;
2302
+ state: any;
2303
+ }, type: any): void;
2304
+ export function promptRemove({ commit, state }: {
2305
+ commit: any;
2306
+ state: any;
2307
+ }, resources: any): void;
2308
+ export function promptRemove({ commit, state }: {
2309
+ commit: any;
2310
+ state: any;
2311
+ }, resources: any): void;
2312
+ export function promptModal({ commit, state }: {
2313
+ commit: any;
2314
+ state: any;
2315
+ }, data: any): void;
2316
+ export function promptModal({ commit, state }: {
2317
+ commit: any;
2318
+ state: any;
2319
+ }, data: any): void;
2320
+ export function resourceAction({ getters, dispatch }: {
2321
+ getters: any;
2322
+ dispatch: any;
2323
+ }, { resource, actionName, body, opt, }: {
2324
+ resource: any;
2325
+ actionName: any;
2326
+ body: any;
2327
+ opt: any;
2328
+ }): never;
2329
+ export function resourceAction({ getters, dispatch }: {
2330
+ getters: any;
2331
+ dispatch: any;
2332
+ }, { resource, actionName, body, opt, }: {
2333
+ resource: any;
2334
+ actionName: any;
2335
+ body: any;
2336
+ opt: any;
2337
+ }): never;
2338
+ export function collectionAction({ getters, dispatch }: {
2339
+ getters: any;
2340
+ dispatch: any;
2341
+ }, { type, actionName, body, opt }: {
2342
+ type: any;
2343
+ actionName: any;
2344
+ body: any;
2345
+ opt: any;
2346
+ }): never;
2347
+ export function collectionAction({ getters, dispatch }: {
2348
+ getters: any;
2349
+ dispatch: any;
2350
+ }, { type, actionName, body, opt }: {
2351
+ type: any;
2352
+ actionName: any;
2353
+ body: any;
2354
+ opt: any;
2355
+ }): never;
2356
+ export function cleanForNew(ctx: any, resource: any): never;
2357
+ export function cleanForNew(ctx: any, resource: any): never;
2358
+ export function createNamespace(ctx: any, resource: any): never;
2359
+ export function createNamespace(ctx: any, resource: any): never;
2360
+ export function cleanForDiff(ctx: any, resource: any): never;
2361
+ export function cleanForDiff(ctx: any, resource: any): never;
2362
+ export function cleanForDetail(ctx: any, resource: any): any;
2363
+ export function cleanForDetail(ctx: any, resource: any): any;
2364
+ export function cleanForDownload(ctx: any, resource: any): any;
2365
+ export function cleanForDownload(ctx: any, resource: any): any;
2366
+ export function waitForSchema({ getters, dispatch }: {
2367
+ getters: any;
2368
+ dispatch: any;
2369
+ }, { type }: {
2370
+ type: any;
2371
+ }): Promise<void>;
2372
+ export function waitForSchema({ getters, dispatch }: {
2373
+ getters: any;
2374
+ dispatch: any;
2375
+ }, { type }: {
2376
+ type: any;
2377
+ }): Promise<void>;
2378
+ export function incrementLoadCounter({ commit }: {
2379
+ commit: any;
2380
+ }, resource: any): void;
2381
+ export function incrementLoadCounter({ commit }: {
2382
+ commit: any;
2383
+ }, resource: any): void;
2384
+ export function garbageCollect(ctx: any, ignoreTypes: any): any;
2385
+ export function garbageCollect(ctx: any, ignoreTypes: any): any;
2386
+ export function gcResetStore({ state }: {
2387
+ state: any;
2388
+ }): void;
2389
+ export function gcResetStore({ state }: {
2390
+ state: any;
2391
+ }): void;
2392
+ }
2393
+ export default _default;
2394
+ }
2395
+
2396
+ // @shell/plugins/dashboard-store/classify
2397
+
2398
+ declare module '@shell/plugins/dashboard-store/classify' {
2399
+ export function classify(ctx: any, obj: any, isClone?: boolean): any;
2400
+ export const BY_TYPE: "byType";
2401
+ export const SELF: "__[[SELF]]__";
2402
+ }
2403
+
1957
2404
  // @shell/plugins/dashboard-store/normalize
1958
2405
 
1959
2406
  declare module '@shell/plugins/dashboard-store/normalize' {
@@ -1980,6 +2427,7 @@ export function getStateLabel(state: any): string;
1980
2427
  export function colorForState(state: any, isError: any, isTransitioning: any): string;
1981
2428
  export function stateDisplay(state: any): any;
1982
2429
  export function stateSort(color: any, display: any): string;
2430
+ export function isConditionReadyAndWaiting(condition: any): boolean;
1983
2431
  export namespace STATES_ENUM {
1984
2432
  const IN_USE: string;
1985
2433
  const IN_PROGRESS: string;
@@ -2278,6 +2726,7 @@ export default class Resource {
2278
2726
  cleanForDiff(): void;
2279
2727
  yamlForSave(yaml: any): any;
2280
2728
  saveYaml(yaml: any): Promise<void>;
2729
+ _saveYaml(yaml: any): Promise<void>;
2281
2730
  get modelValidationRules(): {
2282
2731
  path: any;
2283
2732
  rules: any[];
@@ -2372,6 +2821,176 @@ export namespace actions {
2372
2821
  }
2373
2822
  }
2374
2823
 
2824
+ // @shell/store/prefs
2825
+
2826
+ declare module '@shell/store/prefs' {
2827
+ export function create(name: any, def: any, opt?: {}): any;
2828
+ export function mapPref(name: any): {
2829
+ get(): any;
2830
+ set(value: any): void;
2831
+ };
2832
+ export const CLUSTER: any;
2833
+ export const LAST_NAMESPACE: any;
2834
+ export const NAMESPACE_FILTERS: any;
2835
+ export const WORKSPACE: any;
2836
+ export const EXPANDED_GROUPS: any;
2837
+ export const FAVORITE_TYPES: any;
2838
+ export const GROUP_RESOURCES: any;
2839
+ export const DIFF: any;
2840
+ export const THEME: any;
2841
+ export const PREFERS_SCHEME: any;
2842
+ export const LOCALE: any;
2843
+ export const KEYMAP: any;
2844
+ export const ROWS_PER_PAGE: any;
2845
+ export const LOGS_WRAP: any;
2846
+ export const LOGS_TIME: any;
2847
+ export const LOGS_RANGE: any;
2848
+ export const HIDE_REPOS: any;
2849
+ export const HIDE_DESC: any;
2850
+ export const HIDE_SENSITIVE: any;
2851
+ export const SHOW_PRE_RELEASE: any;
2852
+ export const SHOW_CHART_MODE: any;
2853
+ export const DATE_FORMAT: any;
2854
+ export const TIME_FORMAT: any;
2855
+ export const TIME_ZONE: any;
2856
+ export const DEV: any;
2857
+ export const VIEW_IN_API: any;
2858
+ export const ALL_NAMESPACES: any;
2859
+ export const THEME_SHORTCUT: any;
2860
+ export const LAST_VISITED: any;
2861
+ export const SEEN_WHATS_NEW: any;
2862
+ export const READ_WHATS_NEW: any;
2863
+ export const AFTER_LOGIN_ROUTE: any;
2864
+ export const HIDE_HOME_PAGE_CARDS: any;
2865
+ export const PLUGIN_DEVELOPER: any;
2866
+ export const _RKE1: "rke1";
2867
+ export const _RKE2: "rke2";
2868
+ export const PROVISIONER: any;
2869
+ export const PSP_DEPRECATION_BANNER: any;
2870
+ export const MENU_MAX_CLUSTERS: any;
2871
+ export const SCALE_POOL_PROMPT: any;
2872
+ export function state(): {
2873
+ cookiesLoaded: boolean;
2874
+ data: {};
2875
+ definitions: {};
2876
+ };
2877
+ export namespace getters {
2878
+ function get(state: any): (key: any) => any;
2879
+ function defaultValue(state: any): (key: any) => any;
2880
+ function options(state: any): (key: any) => any;
2881
+ function theme(state: any, getters: any, rootState: any, rootGetters: any): any;
2882
+ function afterLoginRoute(state: any, getters: any): any;
2883
+ }
2884
+ export namespace mutations {
2885
+ function load(state: any, { key, value }: {
2886
+ key: any;
2887
+ value: any;
2888
+ }): void;
2889
+ function load(state: any, { key, value }: {
2890
+ key: any;
2891
+ value: any;
2892
+ }): void;
2893
+ function cookiesLoaded(state: any): void;
2894
+ function cookiesLoaded(state: any): void;
2895
+ function reset(state: any): void;
2896
+ function reset(state: any): void;
2897
+ function setDefinition(state: any, { name, definition }: {
2898
+ name: any;
2899
+ definition?: {};
2900
+ }): void;
2901
+ function setDefinition(state: any, { name, definition }: {
2902
+ name: any;
2903
+ definition?: {};
2904
+ }): void;
2905
+ }
2906
+ export namespace actions {
2907
+ function set({ dispatch, commit, rootGetters, state }: {
2908
+ dispatch: any;
2909
+ commit: any;
2910
+ rootGetters: any;
2911
+ state: any;
2912
+ }, opt: any): Promise<{
2913
+ type: any;
2914
+ status: any;
2915
+ }>;
2916
+ function set({ dispatch, commit, rootGetters, state }: {
2917
+ dispatch: any;
2918
+ commit: any;
2919
+ rootGetters: any;
2920
+ state: any;
2921
+ }, opt: any): Promise<{
2922
+ type: any;
2923
+ status: any;
2924
+ }>;
2925
+ function setTheme({ dispatch }: {
2926
+ dispatch: any;
2927
+ }, val: any): Promise<void>;
2928
+ function setTheme({ dispatch }: {
2929
+ dispatch: any;
2930
+ }, val: any): Promise<void>;
2931
+ function loadCookies({ state, commit }: {
2932
+ state: any;
2933
+ commit: any;
2934
+ }): void;
2935
+ function loadCookies({ state, commit }: {
2936
+ state: any;
2937
+ commit: any;
2938
+ }): void;
2939
+ function loadTheme({ state, dispatch }: {
2940
+ state: any;
2941
+ dispatch: any;
2942
+ }): void;
2943
+ function loadTheme({ state, dispatch }: {
2944
+ state: any;
2945
+ dispatch: any;
2946
+ }): void;
2947
+ function loadServer({ state, dispatch, commit, rootState, rootGetters }: {
2948
+ state: any;
2949
+ dispatch: any;
2950
+ commit: any;
2951
+ rootState: any;
2952
+ rootGetters: any;
2953
+ }, ignoreKey: any): Promise<{
2954
+ data: {};
2955
+ }>;
2956
+ function loadServer({ state, dispatch, commit, rootState, rootGetters }: {
2957
+ state: any;
2958
+ dispatch: any;
2959
+ commit: any;
2960
+ rootState: any;
2961
+ rootGetters: any;
2962
+ }, ignoreKey: any): Promise<{
2963
+ data: {};
2964
+ }>;
2965
+ function setLastVisited({ state, dispatch, getters }: {
2966
+ state: any;
2967
+ dispatch: any;
2968
+ getters: any;
2969
+ }, route: any): any;
2970
+ function setLastVisited({ state, dispatch, getters }: {
2971
+ state: any;
2972
+ dispatch: any;
2973
+ getters: any;
2974
+ }, route: any): any;
2975
+ function toggleTheme({ getters, dispatch }: {
2976
+ getters: any;
2977
+ dispatch: any;
2978
+ }): any;
2979
+ function toggleTheme({ getters, dispatch }: {
2980
+ getters: any;
2981
+ dispatch: any;
2982
+ }): any;
2983
+ function setBrandStyle({ rootState, rootGetters }: {
2984
+ rootState: any;
2985
+ rootGetters: any;
2986
+ }, dark?: boolean): void;
2987
+ function setBrandStyle({ rootState, rootGetters }: {
2988
+ rootState: any;
2989
+ rootGetters: any;
2990
+ }, dark?: boolean): void;
2991
+ }
2992
+ }
2993
+
2375
2994
  // @shell/utils/alertmanagerconfig
2376
2995
 
2377
2996
  declare module '@shell/utils/alertmanagerconfig' {
@@ -2533,6 +3152,125 @@ export const NEVER_ADD: string[];
2533
3152
  export const ACTIVELY_REMOVE: string[];
2534
3153
  }
2535
3154
 
3155
+ // @shell/utils/crypto/browserHashUtils
3156
+
3157
+ declare module '@shell/utils/crypto/browserHashUtils' {
3158
+ export function hashObj(obj: any): string;
3159
+ /**
3160
+ * @api private
3161
+ */
3162
+ export function isEmptyData(data: any): boolean;
3163
+ /**
3164
+ * @api private
3165
+ */
3166
+ export function convertToBuffer(data: any): Uint8Array;
3167
+ declare namespace _default {
3168
+ export { isEmptyData };
3169
+ export { convertToBuffer };
3170
+ }
3171
+ export default _default;
3172
+ }
3173
+
3174
+ // @shell/utils/crypto/browserMd5
3175
+
3176
+ declare module '@shell/utils/crypto/browserMd5' {
3177
+ /// <reference types="node" />
3178
+ export default Md5;
3179
+ /**
3180
+ * @api private
3181
+ */
3182
+ declare function Md5(): void;
3183
+ declare class Md5 {
3184
+ state: number[];
3185
+ buffer: DataView;
3186
+ bufferLength: number;
3187
+ bytesHashed: number;
3188
+ finished: boolean;
3189
+ update(sourceData: any): Md5;
3190
+ digest(encoding: any): string | Buffer;
3191
+ hashBuffer(): void;
3192
+ }
3193
+ declare namespace Md5 {
3194
+ export { BLOCK_SIZE };
3195
+ }
3196
+ import { Buffer } from "buffer";
3197
+ declare const BLOCK_SIZE: 64;
3198
+ }
3199
+
3200
+ // @shell/utils/crypto/browserSha1
3201
+
3202
+ declare module '@shell/utils/crypto/browserSha1' {
3203
+ /// <reference types="node" />
3204
+ export default Sha1;
3205
+ /**
3206
+ * @api private
3207
+ */
3208
+ declare function Sha1(): void;
3209
+ declare class Sha1 {
3210
+ h0: number;
3211
+ h1: number;
3212
+ h2: number;
3213
+ h3: number;
3214
+ h4: number;
3215
+ block: Uint32Array;
3216
+ offset: number;
3217
+ shift: number;
3218
+ totalLength: number;
3219
+ update(data: any): Sha1;
3220
+ write(byte: any): void;
3221
+ digest(encoding: any): string | Buffer;
3222
+ processBlock(): void;
3223
+ }
3224
+ declare namespace Sha1 {
3225
+ export { BLOCK_SIZE };
3226
+ }
3227
+ import { Buffer } from "buffer";
3228
+ declare const BLOCK_SIZE: 64;
3229
+ }
3230
+
3231
+ // @shell/utils/crypto/browserSha256
3232
+
3233
+ declare module '@shell/utils/crypto/browserSha256' {
3234
+ /// <reference types="node" />
3235
+ export default Sha256;
3236
+ /**
3237
+ * @private
3238
+ */
3239
+ declare function Sha256(): void;
3240
+ declare class Sha256 {
3241
+ state: number[];
3242
+ temp: Int32Array;
3243
+ buffer: Uint8Array;
3244
+ bufferLength: number;
3245
+ bytesHashed: number;
3246
+ /**
3247
+ * @private
3248
+ */
3249
+ private finished;
3250
+ update(data: any): Sha256;
3251
+ digest(encoding: any): string | Buffer;
3252
+ hashBuffer(): void;
3253
+ }
3254
+ declare namespace Sha256 {
3255
+ export { BLOCK_SIZE };
3256
+ }
3257
+ import { Buffer } from "buffer";
3258
+ declare const BLOCK_SIZE: 64;
3259
+ }
3260
+
3261
+ // @shell/utils/crypto
3262
+
3263
+ declare module '@shell/utils/crypto' {
3264
+ /// <reference types="node" />
3265
+ export function base64Encode(string: any, alphabet?: string): any;
3266
+ export function base64DecodeToBuffer(string: any): any;
3267
+ export function base64Decode(string: any): any;
3268
+ export function md5(data: any, digest: any, callback: any): string | Buffer;
3269
+ export function sha256(data: any, digest: any, callback: any): string | Buffer;
3270
+ export function binarySize(val: any): number;
3271
+ import { Buffer } from "buffer";
3272
+ }
3273
+
2536
3274
  // @shell/utils/custom-validators
2537
3275
 
2538
3276
  declare module '@shell/utils/custom-validators' {
@@ -2641,8 +3379,8 @@ export function setFavIcon(store: any): void;
2641
3379
  declare module '@shell/utils/grafana' {
2642
3380
  export function getClusterPrefix(monitoringVersion: any, clusterId: any): string;
2643
3381
  export function computeDashboardUrl(monitoringVersion: any, embedUrl: any, clusterId: any, params: any, modifyPrefix?: boolean): any;
2644
- export function dashboardExists(monitoringVersion: any, store: any, clusterId: any, embedUrl: any, storeName?: string): Promise<boolean>;
2645
- export function allDashboardsExist(store: any, clusterId: any, embeddedUrls: any, storeName?: string): Promise<boolean>;
3382
+ export function dashboardExists(monitoringVersion: any, store: any, clusterId: any, embedUrl: any, storeName?: string, projectId?: any): Promise<boolean>;
3383
+ export function allDashboardsExist(store: any, clusterId: any, embeddedUrls: any, storeName?: string, projectId?: any): Promise<boolean>;
2646
3384
  export function queryGrafana(monitoringVersion: any, dispatch: any, clusterId: any, query: any, range: any, step: any): any;
2647
3385
  export function hasLeader(monitoringVersion: any, dispatch: any, clusterId: any): Promise<boolean>;
2648
3386
  export function leaderChanges(monitoringVersion: any, dispatch: any, clusterId: any): Promise<any>;
@@ -2671,6 +3409,12 @@ export default function _default(product: any, chartName: any, defaultResourceOr
2671
3409
  }) => Promise<any>;
2672
3410
  }
2673
3411
 
3412
+ // @shell/utils/kube
3413
+
3414
+ declare module '@shell/utils/kube' {
3415
+ export function normalizeName(str: any): any;
3416
+ }
3417
+
2674
3418
  // @shell/utils/monitoring
2675
3419
 
2676
3420
  declare module '@shell/utils/monitoring' {
@@ -2781,7 +3525,14 @@ export function applyChangeset(obj: any, changeset: any): any;
2781
3525
  * Creates an object composed of the `object` properties `predicate` returns
2782
3526
  */
2783
3527
  export function pickBy(obj?: {}, predicate?: (value: any, key: any) => boolean): {};
3528
+ export { isEqualBasic as isEqual };
2784
3529
  export function toDictionary(array: any, callback: any): any;
3530
+ /**
3531
+ * Super simple lodash isEqual equivalent.
3532
+ *
3533
+ * Only checks root properties for strict equality
3534
+ */
3535
+ declare function isEqualBasic(from: any, to: any): boolean;
2785
3536
  }
2786
3537
 
2787
3538
  // @shell/utils/parse-externalid
@@ -3304,6 +4055,101 @@ declare namespace _default {
3304
4055
  export default _default;
3305
4056
  }
3306
4057
 
4058
+ // @shell/utils/validators/cidr
4059
+
4060
+ declare module '@shell/utils/validators/cidr' {
4061
+ export function isValidCIDR(cidr: any): boolean;
4062
+ export function isValidMac(value: any): boolean;
4063
+ }
4064
+
4065
+ // @shell/utils/validators/cluster-name
4066
+
4067
+ declare module '@shell/utils/validators/cluster-name' {
4068
+ export function clusterName(pathValue: any, getters: any, errors: any, validatorArgs: any, displayKey: any): any;
4069
+ }
4070
+
4071
+ // @shell/utils/validators/container-images
4072
+
4073
+ declare module '@shell/utils/validators/container-images' {
4074
+ export function containerImages(spec: any, getters: any, errors: any): void;
4075
+ }
4076
+
4077
+ // @shell/utils/validators/cron-schedule
4078
+
4079
+ declare module '@shell/utils/validators/cron-schedule' {
4080
+ export function cronSchedule(schedule: string, getters: any, errors: any): void;
4081
+ }
4082
+
4083
+ // @shell/utils/validators/flow-output
4084
+
4085
+ declare module '@shell/utils/validators/flow-output' {
4086
+ export function flowOutput(spec: any, getters: any, errors: any, validatorArgs: any): void;
4087
+ }
4088
+
4089
+ // @shell/utils/validators
4090
+
4091
+ declare module '@shell/utils/validators' {
4092
+ export function displayKeyFor(type: any, key: any, getters: any): any;
4093
+ export function validateLength(val: any, field: any, displayKey: any, getters: any, errors?: any[]): any[];
4094
+ export function validateChars(val: any, field: any, displayKey: any, getters: any, errors?: any[]): any[];
4095
+ export function validateHostname(val: any, displayKey: any, getters: any, opts: any, errors?: any[]): any[];
4096
+ export function validateDnsLabel(label: any, displayKey: any, getters: any, opts: any, errors?: any[]): any[];
4097
+ export function validateDnsLikeTypes(val: any, type: any, displayKey: any, getters: any, opts: any, errors?: any[]): any[];
4098
+ export function validateBoolean(val: any, field: any, displayKey: any, getters: any, errors?: any[]): void;
4099
+ }
4100
+
4101
+ // @shell/utils/validators/kubernetes-name
4102
+
4103
+ declare module '@shell/utils/validators/kubernetes-name' {
4104
+ export function validateKubernetesName(label: any, displayKey: any, getters: any, opts: any, errors?: any[]): any[];
4105
+ }
4106
+
4107
+ // @shell/utils/validators/logging-outputs
4108
+
4109
+ declare module '@shell/utils/validators/logging-outputs' {
4110
+ export function logdna(value: any, getters: any, errors: any, validatorArgs: any): void;
4111
+ }
4112
+
4113
+ // @shell/utils/validators/monitoring-route
4114
+
4115
+ declare module '@shell/utils/validators/monitoring-route' {
4116
+ export function matching(spec: any, getters: any, errors: any, validatorArgs: any): void;
4117
+ export function interval(value: any, getters: any, errors: any, validatorArgs: any, displayKey: any): void;
4118
+ }
4119
+
4120
+ // @shell/utils/validators/pod-affinity
4121
+
4122
+ declare module '@shell/utils/validators/pod-affinity' {
4123
+ export function podAffinity(spec: any, getters: any, errors: any): void;
4124
+ }
4125
+
4126
+ // @shell/utils/validators/prometheusrule
4127
+
4128
+ declare module '@shell/utils/validators/prometheusrule' {
4129
+ export function ruleGroups(spec: any, getters: any, errors: any, validatorArgs: any): any;
4130
+ export function groupsAreValid(groups: any[], getters: any, errors: any, validatorArgs: any): any;
4131
+ }
4132
+
4133
+ // @shell/utils/validators/role-template
4134
+
4135
+ declare module '@shell/utils/validators/role-template' {
4136
+ export function roleTemplateRules(rules: any[], getters: any, errors: any, validatorArgs?: any[]): void;
4137
+ }
4138
+
4139
+ // @shell/utils/validators/service
4140
+
4141
+ declare module '@shell/utils/validators/service' {
4142
+ export function servicePort(spec: any, getters: any, errors: any, validatorArgs: any): any;
4143
+ export function clusterIp(spec: any, getters: any, errors: any, validatorArgs: any): any;
4144
+ export function externalName(spec: any, getters: any, errors: any, validatorArgs: any): any;
4145
+ }
4146
+
4147
+ // @shell/utils/validators/setting
4148
+
4149
+ declare module '@shell/utils/validators/setting' {
4150
+ export function isHttps(value: any, getters: any, errors: any, validatorArgs: any, displayKey: any): any;
4151
+ }
4152
+
3307
4153
  // @shell/utils/version
3308
4154
 
3309
4155
  declare module '@shell/utils/version' {