@rancher/shell 3.0.12-rc.2 → 3.0.12-rc.4
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/apis/impl/apis.ts +6 -0
- package/apis/index.ts +26 -0
- package/apis/intf/resources-api/cluster-api.ts +18 -0
- package/apis/intf/resources-api/mgmt-api.ts +15 -0
- package/apis/intf/resources-api/resource-base.ts +107 -0
- package/apis/intf/resources-api/resource-constants.ts +147 -0
- package/apis/intf/resources-api/resources-api.ts +143 -0
- package/apis/intf/resources.ts +49 -0
- package/apis/intf/{modal.ts → shell-api/modal.ts} +21 -26
- package/apis/intf/shell-api/proxy.ts +216 -0
- package/apis/intf/{slide-in.ts → shell-api/slide-in.ts} +4 -3
- package/apis/intf/{system.ts → shell-api/system.ts} +4 -1
- package/apis/intf/shell.ts +12 -6
- package/apis/resources/__tests__/resources-api-class.test.ts +550 -0
- package/apis/resources/index.ts +22 -0
- package/apis/resources/resources-api-class.ts +187 -0
- package/apis/shell/__tests__/proxy.test.ts +369 -0
- package/apis/shell/index.ts +8 -1
- package/apis/shell/modal.ts +4 -1
- package/apis/shell/notifications.ts +9 -6
- package/apis/shell/proxy.ts +256 -0
- package/apis/shell/slide-in.ts +4 -1
- package/apis/vue-shim.d.ts +2 -1
- package/assets/data/aws-regions.json +4 -0
- package/assets/fonts/lato/LatoLatin-Black.woff +0 -0
- package/assets/fonts/lato/LatoLatin-Black.woff2 +0 -0
- package/assets/fonts/lato/LatoLatin-BlackItalic.woff +0 -0
- package/assets/fonts/lato/LatoLatin-BlackItalic.woff2 +0 -0
- package/assets/fonts/lato/LatoLatin-Bold.woff +0 -0
- package/assets/fonts/lato/LatoLatin-Bold.woff2 +0 -0
- package/assets/fonts/lato/LatoLatin-BoldItalic.woff +0 -0
- package/assets/fonts/lato/LatoLatin-BoldItalic.woff2 +0 -0
- package/assets/fonts/lato/LatoLatin-Heavy.woff +0 -0
- package/assets/fonts/lato/LatoLatin-Heavy.woff2 +0 -0
- package/assets/fonts/lato/LatoLatin-HeavyItalic.woff +0 -0
- package/assets/fonts/lato/LatoLatin-HeavyItalic.woff2 +0 -0
- package/assets/fonts/lato/LatoLatin-Italic.woff +0 -0
- package/assets/fonts/lato/LatoLatin-Italic.woff2 +0 -0
- package/assets/fonts/lato/LatoLatin-Light.woff +0 -0
- package/assets/fonts/lato/LatoLatin-Light.woff2 +0 -0
- package/assets/fonts/lato/LatoLatin-LightItalic.woff +0 -0
- package/assets/fonts/lato/LatoLatin-LightItalic.woff2 +0 -0
- package/assets/fonts/lato/LatoLatin-Medium.woff +0 -0
- package/assets/fonts/lato/LatoLatin-Medium.woff2 +0 -0
- package/assets/fonts/lato/LatoLatin-MediumItalic.woff +0 -0
- package/assets/fonts/lato/LatoLatin-MediumItalic.woff2 +0 -0
- package/assets/fonts/lato/LatoLatin-Regular.woff +0 -0
- package/assets/fonts/lato/LatoLatin-Regular.woff2 +0 -0
- package/assets/fonts/lato/LatoLatin-Semibold.woff +0 -0
- package/assets/fonts/lato/LatoLatin-Semibold.woff2 +0 -0
- package/assets/fonts/lato/LatoLatin-SemiboldItalic.woff +0 -0
- package/assets/fonts/lato/LatoLatin-SemiboldItalic.woff2 +0 -0
- package/assets/styles/base/_variables.scss +2 -0
- package/assets/styles/fonts/_fontstack.scss +132 -8
- package/assets/styles/global/_layout.scss +4 -0
- package/assets/translations/en-us.yaml +165 -45
- package/assets/translations/zh-hans.yaml +1 -7
- package/chart/monitoring/ClusterSelector.vue +0 -21
- package/chart/monitoring/index.vue +10 -1
- package/chart/monitoring/prometheus/index.vue +6 -3
- package/components/ActionDropdownShell.vue +2 -1
- package/components/CruResource.vue +161 -14
- package/components/CruResourceFooter.vue +9 -5
- package/components/ExplorerMembers.vue +8 -4
- package/components/ExplorerProjectsNamespaces.vue +11 -7
- package/components/GrowlManager.vue +4 -0
- package/components/InstallHelmCharts.vue +2 -2
- package/components/LandingPagePreference.vue +14 -5
- package/components/MgmtNodeList.vue +184 -0
- package/components/Resource/Detail/Card/StateCard/__tests__/composables.test.ts +90 -1
- package/components/Resource/Detail/Card/StateCard/composables.ts +57 -87
- package/components/Resource/Detail/Card/StatusCard/__tests__/StatusCard.test.ts +61 -0
- package/components/Resource/Detail/Card/StatusCard/index.vue +61 -15
- package/components/Resource/Detail/Metadata/IdentifyingInformation/index.vue +17 -1
- package/components/Resource/Detail/Metadata/KeyValue.vue +5 -2
- package/components/Resource/Detail/Metadata/KeyValueRow.vue +2 -6
- package/components/Resource/Detail/Metadata/index.vue +6 -0
- package/components/Resource/Detail/ResourcePopover/index.vue +12 -1
- package/components/Resource/Detail/SpacedRow.vue +3 -1
- package/components/Resource/Detail/TitleBar/index.vue +10 -11
- package/components/ResourceDetail/index.vue +1 -1
- package/components/ResourceList/Masthead.vue +19 -9
- package/components/ResourceList/index.vue +82 -1
- package/components/RichTranslation.vue +5 -2
- package/components/SelectIconGrid.vue +0 -10
- package/components/Setting.vue +1 -0
- package/components/SingleClusterInfo.vue +1 -0
- package/components/SortableTable/__tests__/sorting.test.ts +126 -0
- package/components/SortableTable/index.vue +6 -9
- package/components/SortableTable/selection.js +23 -5
- package/components/SortableTable/sorting.js +6 -3
- package/components/SubtleLink.vue +31 -6
- package/components/Tabbed/Tab.vue +29 -3
- package/components/Tabbed/index.vue +25 -3
- package/components/TableOfContents/TableOfContents.vue +109 -0
- package/components/TableOfContents/composables.ts +258 -0
- package/components/Window/ContainerShell.vue +21 -11
- package/components/Window/__tests__/ContainerShell.test.ts +107 -37
- package/components/Wizard.vue +23 -17
- package/components/fleet/AppCoChartGrid.vue +401 -0
- package/components/fleet/AppCoEmptyState.vue +127 -0
- package/components/fleet/AppCoPageHeader.vue +119 -0
- package/components/fleet/AppCoVersionSelect.vue +70 -0
- package/components/fleet/FleetBundles.vue +100 -12
- package/components/fleet/FleetClusterTargets/ClusterSelectionFields.vue +217 -0
- package/components/fleet/FleetClusterTargets/TargetsList.vue +123 -35
- package/components/fleet/FleetClusterTargets/index.vue +226 -161
- package/components/fleet/FleetIntro.vue +7 -3
- package/components/fleet/FleetNoWorkspaces.vue +7 -3
- package/components/fleet/FleetSecretSelector.vue +5 -3
- package/components/fleet/FleetValuesFrom.vue +8 -2
- package/components/fleet/GitRepoTargetTab.vue +0 -2
- package/components/fleet/HelmOpAdvancedTab.vue +19 -53
- package/components/fleet/HelmOpAppCoConfigTab.vue +593 -0
- package/components/fleet/HelmOpAppCoResourcesSection.vue +162 -0
- package/components/fleet/HelmOpResourcesSection.vue +82 -0
- package/components/fleet/HelmOpTargetOptionsSection.vue +89 -0
- package/components/fleet/HelmOpTargetTab.vue +64 -60
- package/components/fleet/HelmOpValuesTab.vue +129 -105
- package/components/fleet/__tests__/AppCoEmptyState.test.ts +71 -0
- package/components/fleet/__tests__/AppCoVersionSelect.test.ts +36 -0
- package/components/fleet/__tests__/ClusterSelectionFields.test.ts +62 -0
- package/components/fleet/__tests__/FleetClusterTargets.test.ts +402 -115
- package/components/fleet/__tests__/FleetClusters.test.ts +12 -12
- package/components/fleet/__tests__/FleetSecretSelector.test.ts +16 -0
- package/components/fleet/__tests__/FleetValuesFrom.test.ts +44 -0
- package/components/fleet/__tests__/HelmOpAppCoConfigTab.test.ts +59 -0
- package/components/fleet/__tests__/HelmOpAppCoResourcesSection.test.ts +62 -0
- package/components/fleet/__tests__/HelmOpResourcesSection.test.ts +43 -0
- package/components/fleet/__tests__/HelmOpTargetOptionsSection.test.ts +34 -0
- package/components/fleet/__tests__/HelmOpValuesTab.test.ts +39 -0
- package/components/fleet/__tests__/__snapshots__/AppCoEmptyState.test.ts.snap +97 -0
- package/components/fleet/__tests__/__snapshots__/AppCoVersionSelect.test.ts.snap +30 -0
- package/components/fleet/__tests__/__snapshots__/ClusterSelectionFields.test.ts.snap +209 -0
- package/components/fleet/__tests__/__snapshots__/HelmOpTargetOptionsSection.test.ts.snap +140 -0
- package/components/fleet/dashboard/Empty.vue +8 -4
- package/components/fleet/dashboard/ResourceCard.vue +28 -0
- package/components/fleet/dashboard/ResourceDetails.vue +28 -0
- package/components/fleet/dashboard/__tests__/ResourceCard.test.ts +87 -0
- package/components/form/ArrayList.vue +61 -4
- package/components/form/KeyValue.vue +23 -2
- package/components/form/LabeledSelect.vue +59 -4
- package/components/form/Labels.vue +22 -3
- package/components/form/NameNsDescription.vue +24 -5
- package/components/form/ResourceTabs/index.vue +1 -0
- package/components/form/Security.vue +6 -2
- package/components/form/WorkloadPorts.vue +2 -7
- package/components/form/__tests__/NameNsDescription.test.ts +75 -0
- package/components/form/__tests__/Security.test.ts +76 -0
- package/components/formatter/Autoscaler.vue +4 -4
- package/components/formatter/ClusterKubeVersion.vue +27 -0
- package/components/formatter/ClusterLink.vue +1 -7
- package/components/formatter/ClusterProvider.vue +6 -10
- package/components/formatter/FleetSummaryGraph.vue +0 -3
- package/components/formatter/InternalExternalIP.vue +10 -4
- package/components/formatter/MachineSummaryGraph.vue +1 -1
- package/components/formatter/PodsUsage.vue +2 -2
- package/components/formatter/ServiceTargets.vue +26 -7
- package/components/formatter/__tests__/Autoscaler.test.ts +19 -22
- package/components/formatter/__tests__/FleetSummaryGraph.test.ts +216 -0
- package/components/formatter/__tests__/InternalExternalIP.test.ts +132 -0
- package/components/formatter/__tests__/PodsUsage.test.ts +6 -10
- package/components/formatter/__tests__/ServiceTargets.test.ts +412 -0
- package/components/nav/Header.vue +4 -0
- package/components/nav/NamespaceFilter.vue +2 -2
- package/components/nav/TopLevelMenu.helper.ts +15 -3
- package/components/nav/TopLevelMenu.vue +22 -6
- package/components/nav/__tests__/Header.test.ts +15 -0
- package/components/nav/__tests__/TopLevelMenu.test.ts +263 -21
- package/components/templates/default.vue +9 -4
- package/components/templates/home.vue +23 -0
- package/components/templates/plain.vue +23 -0
- package/components/templates/standalone.vue +17 -0
- package/composables/useFormValidation.ts +93 -0
- package/composables/useHelmOpResources.test.ts +56 -0
- package/composables/useHelmOpResources.ts +32 -0
- package/composables/useStateColor.test.ts +325 -0
- package/composables/useStateColor.ts +128 -0
- package/composables/useVeeValidateField.test.ts +159 -0
- package/composables/useVeeValidateField.ts +67 -0
- package/config/home-links.js +1 -1
- package/config/labels-annotations.js +1 -0
- package/config/pagination-table-headers.js +18 -1
- package/config/product/explorer.js +17 -4
- package/config/product/manager.js +84 -21
- package/config/router/index.js +16 -0
- package/config/router/navigation-guards/__tests__/authentication.test.ts +130 -0
- package/config/router/navigation-guards/authentication.js +10 -4
- package/config/router/routes.js +26 -6
- package/config/settings.ts +0 -2
- package/config/table-headers.js +23 -5
- package/config/types.js +11 -1
- package/core/__tests__/plugin-products.test.ts +904 -20
- package/core/plugin-products-base.ts +110 -10
- package/core/plugin-products.ts +4 -0
- package/core/plugin-types.ts +194 -31
- package/core/plugin.ts +18 -7
- package/core/productDebugger.js +9 -4
- package/core/types-provisioning.ts +77 -31
- package/core/types.ts +72 -22
- package/detail/__tests__/pod.test.ts +41 -0
- package/detail/__tests__/provisioning.cattle.io.cluster.test.ts +114 -0
- package/detail/__tests__/workload.test.ts +3 -152
- package/detail/catalog.cattle.io.clusterrepo.vue +1 -1
- package/detail/harvesterhci.io.management.cluster.vue +6 -2
- package/detail/pod.vue +1 -1
- package/detail/provisioning.cattle.io.cluster.vue +34 -14
- package/detail/workload/index.vue +12 -55
- package/edit/__tests__/catalog.cattle.io.clusterrepo.test.ts +248 -0
- package/edit/__tests__/fleet.cattle.io.helmop.test.ts +105 -0
- package/edit/auditlog.cattle.io.auditpolicy/__tests__/__snapshots__/General.test.ts.snap +6 -0
- package/edit/auditlog.cattle.io.auditpolicy/__tests__/__snapshots__/index.test.ts.snap +1 -0
- package/edit/auth/__tests__/azuread.test.ts +247 -39
- package/edit/auth/__tests__/github.test.ts +234 -0
- package/edit/auth/__tests__/oidc.test.ts +26 -6
- package/edit/auth/__tests__/saml.test.ts +196 -0
- package/edit/auth/azuread.vue +197 -56
- package/edit/auth/github.vue +72 -13
- package/edit/auth/ldap/__tests__/index.test.ts +206 -0
- package/edit/auth/ldap/config.vue +8 -0
- package/edit/auth/ldap/index.vue +75 -1
- package/edit/auth/oidc.vue +119 -73
- package/edit/auth/saml.vue +76 -12
- package/edit/catalog.cattle.io.clusterrepo.vue +140 -32
- package/edit/fleet.cattle.io.helmop.vue +491 -136
- package/edit/management.cattle.io.user.vue +5 -2
- package/edit/networking.k8s.io.ingress/DefaultBackend.vue +13 -4
- package/edit/networking.k8s.io.ingress/RulePath.vue +8 -4
- package/edit/networking.k8s.io.ingress/index.vue +75 -20
- package/edit/provisioning.cattle.io.cluster/__tests__/MachinePool.test.ts +104 -0
- package/edit/provisioning.cattle.io.cluster/index.vue +11 -7
- package/edit/provisioning.cattle.io.cluster/rke2.vue +92 -14
- package/edit/provisioning.cattle.io.cluster/tabs/MachinePool.vue +22 -0
- package/edit/provisioning.cattle.io.cluster/tabs/registries/RegistryConfigs.vue +37 -4
- package/edit/provisioning.cattle.io.cluster/tabs/registries/__tests__/RegistryConfigs.test.ts +132 -7
- package/edit/provisioning.cattle.io.cluster/tabs/registries/index.vue +2 -1
- package/edit/secret/__tests__/ssh.test.ts +5 -6
- package/edit/secret/basic.vue +31 -0
- package/edit/secret/index.vue +68 -17
- package/edit/secret/registry.vue +38 -0
- package/edit/secret/ssh.vue +29 -0
- package/edit/secret/tls.vue +30 -0
- package/edit/service.vue +4 -4
- package/edit/workload/Upgrading.vue +3 -3
- package/edit/workload/__tests__/Upgrading.test.ts +6 -9
- package/edit/workload/mixins/workload.js +2 -1
- package/list/fleet.cattle.io.bundle.vue +7 -104
- package/list/fleet.cattle.io.clusterregistrationtoken.vue +20 -0
- package/list/group.principal.vue +5 -4
- package/list/harvesterhci.io.management.cluster.vue +8 -9
- package/list/management.cattle.io.user.vue +12 -9
- package/list/provisioning.cattle.io.cluster.vue +268 -180
- package/list/utils/management.cattle.io.cluster.utils.ts +128 -0
- package/mixins/__tests__/auth-config.test.ts +90 -0
- package/mixins/__tests__/chart.test.ts +206 -0
- package/mixins/__tests__/resource-fetch-api-pagination.test.ts +48 -0
- package/mixins/auth-config.js +7 -0
- package/mixins/brand.js +2 -1
- package/mixins/chart.js +22 -9
- package/mixins/child-hook.js +12 -6
- package/mixins/create-edit-view/impl.js +5 -3
- package/mixins/resource-fetch-api-pagination.js +62 -6
- package/models/__tests__/catalog.cattle.io.clusterrepo.test.ts +57 -0
- package/models/__tests__/compliance.cattle.io.clusterscan.test.ts +144 -0
- package/models/__tests__/ext.cattle.io.kubeconfig.test.ts +67 -67
- package/models/__tests__/fleet-application.test.ts +175 -0
- package/models/__tests__/fleet.cattle.io.bundle.test.ts +169 -0
- package/models/__tests__/fleet.cattle.io.helmop.test.ts +84 -0
- package/models/__tests__/management.cattle.io.cluster.test.ts +1 -1
- package/models/__tests__/management.cattle.io.node.ts +28 -5
- package/models/__tests__/management.cattle.io.nodepool.ts +5 -4
- package/models/__tests__/namespace.test.ts +36 -0
- package/models/__tests__/provisioning.cattle.io.cluster.test.ts +81 -11
- package/models/__tests__/workload.test.ts +401 -26
- package/models/base-cluster.x-k8s.io.js +26 -0
- package/models/catalog.cattle.io.clusterrepo.js +28 -4
- package/models/cluster.js +1 -1
- package/models/cluster.x-k8s.io.machine.js +4 -22
- package/models/cluster.x-k8s.io.machinedeployment.js +2 -20
- package/models/cluster.x-k8s.io.machineset.js +2 -20
- package/models/compliance.cattle.io.clusterscan.js +165 -2
- package/models/ext.cattle.io.kubeconfig.ts +4 -7
- package/models/fleet-application.js +7 -1
- package/models/fleet.cattle.io.helmop.js +20 -1
- package/models/management.cattle.io.cluster.js +434 -41
- package/models/management.cattle.io.node.js +50 -7
- package/models/management.cattle.io.nodepool.js +1 -1
- package/models/namespace.js +1 -1
- package/models/networking.k8s.io.ingress.js +12 -4
- package/models/pod.js +33 -1
- package/models/provisioning.cattle.io.cluster.js +51 -334
- package/models/rke.cattle.io.etcdsnapshot.js +1 -2
- package/models/workload.js +108 -13
- package/models/workload.service.js +5 -0
- package/package.json +22 -39
- package/pages/__tests__/readme.test.ts +49 -0
- package/pages/about.vue +5 -6
- package/pages/auth/login.vue +0 -35
- package/pages/auth/setup.vue +13 -3
- package/pages/c/_cluster/apps/charts/AppChartCardFooter.vue +2 -2
- package/pages/c/_cluster/apps/charts/AppChartCardSubHeader.vue +10 -1
- package/pages/c/_cluster/apps/charts/__tests__/chart.test.ts +76 -0
- package/pages/c/_cluster/apps/charts/__tests__/index.test.ts +93 -0
- package/pages/c/_cluster/apps/charts/chart.vue +62 -9
- package/pages/c/_cluster/apps/charts/index.vue +48 -10
- package/pages/c/_cluster/apps/charts/install.vue +122 -113
- package/pages/c/_cluster/auth/roles/index.vue +5 -4
- package/pages/c/_cluster/explorer/__tests__/index.test.ts +23 -25
- package/pages/c/_cluster/explorer/index.vue +5 -49
- package/pages/c/_cluster/explorer/workload-dashboard/ByNamespaceSection.vue +31 -0
- package/pages/c/_cluster/explorer/workload-dashboard/ByStateSection.vue +138 -0
- package/pages/c/_cluster/explorer/workload-dashboard/ByTypeSection.vue +30 -0
- package/pages/c/_cluster/explorer/workload-dashboard/WorkloadCard.vue +155 -0
- package/pages/c/_cluster/explorer/workload-dashboard/WorkloadNamespaceCard.vue +142 -0
- package/pages/c/_cluster/explorer/workload-dashboard/WorkloadTypeCard.vue +159 -0
- package/pages/c/_cluster/explorer/workload-dashboard/__tests__/composable.test.ts +561 -0
- package/pages/c/_cluster/explorer/workload-dashboard/composable.ts +440 -0
- package/pages/c/_cluster/explorer/workload-dashboard/index.vue +187 -0
- package/pages/c/_cluster/explorer/workload-dashboard/types.ts +80 -0
- package/pages/c/_cluster/fleet/application/create.vue +187 -136
- package/pages/c/_cluster/fleet/application/index.vue +5 -3
- package/pages/c/_cluster/fleet/application/suse-app-collection/ChartDetailBody.vue +338 -0
- package/pages/c/_cluster/fleet/application/suse-app-collection/ChartDetailHeader.vue +121 -0
- package/pages/c/_cluster/fleet/application/suse-app-collection/chart.vue +369 -0
- package/pages/c/_cluster/fleet/application/suse-app-collection/charts.vue +248 -0
- package/pages/c/_cluster/fleet/application/suse-app-collection/credentials.vue +310 -0
- package/pages/c/_cluster/fleet/index.vue +2 -2
- package/pages/c/_cluster/istio/__tests__/istio.index.test.ts +194 -0
- package/pages/c/_cluster/istio/index.vue +21 -6
- package/pages/c/_cluster/uiplugins/PluginInfoPanel.vue +1 -0
- package/pages/c/_cluster/uiplugins/__tests__/index.test.ts +815 -2
- package/pages/c/_cluster/uiplugins/index.vue +218 -197
- package/pages/diagnostic.vue +13 -17
- package/pages/fail-whale.vue +30 -7
- package/pages/home.vue +93 -306
- package/pages/readme.vue +88 -0
- package/plugins/clean-html.d.ts +9 -0
- package/plugins/dashboard-store/__tests__/resource-class.test.ts +181 -0
- package/plugins/dashboard-store/actions.js +40 -18
- package/plugins/dashboard-store/resource-class.js +67 -9
- package/plugins/steve/__tests__/actions.test.ts +212 -0
- package/plugins/steve/__tests__/subscribe.spec.ts +6 -3
- package/plugins/steve/actions.js +96 -0
- package/plugins/steve/steve-pagination-utils.ts +12 -4
- package/plugins/steve/subscribe.js +35 -5
- package/rancher-components/Accordion/Accordion.vue +53 -9
- package/rancher-components/Form/Checkbox/Checkbox.vue +14 -0
- package/rancher-components/Form/LabeledInput/LabeledInput.test.ts +10 -4
- package/rancher-components/Form/LabeledInput/LabeledInput.vue +7 -52
- package/rancher-components/Form/Radio/RadioButton.vue +17 -1
- package/rancher-components/Form/Radio/RadioGroup.vue +10 -0
- package/rancher-components/Pill/RcTag/RcTag.vue +3 -2
- package/rancher-components/RcButton/RcButton.test.ts +140 -1
- package/rancher-components/RcButton/RcButton.vue +126 -17
- package/rancher-components/RcButton/types.ts +3 -0
- package/rancher-components/RcDropdown/RcDropdownTrigger.vue +10 -8
- package/rancher-components/RcItemCard/RcItemCard.test.ts +18 -0
- package/rancher-components/RcItemCard/RcItemCard.vue +2 -2
- package/rancher-components/RcSection/RcSection.vue +28 -3
- package/scripts/extension/helm/package/Dockerfile +1 -1
- package/scripts/test-plugins-build.sh +2 -1
- package/store/__tests__/catalog.test.ts +115 -1
- package/store/__tests__/notifications.test.ts +434 -0
- package/store/__tests__/type-map.test.ts +556 -1
- package/store/action-menu.js +8 -3
- package/store/auth.js +1 -1
- package/store/aws.js +27 -16
- package/store/catalog.js +84 -3
- package/store/digitalocean.js +20 -38
- package/store/index.js +2 -0
- package/store/linode.js +25 -40
- package/store/plugins.js +7 -4
- package/store/pnap.js +1 -0
- package/store/type-map.js +111 -29
- package/tsconfig.paths.json +8 -8
- package/types/components/buttonGroup.ts +5 -0
- package/types/kube/kube-api.ts +14 -1
- package/types/rancher/steve.api.ts +12 -12
- package/types/resources/settings.d.ts +2 -1
- package/types/shell/index.d.ts +206 -72
- package/types/store/dashboard-store.types.ts +108 -11
- package/types/store/pagination.types.ts +6 -3
- package/utils/__tests__/alertmanagerconfig.test.ts +117 -0
- package/utils/__tests__/async.test.ts +87 -0
- package/utils/__tests__/auth.test.ts +273 -0
- package/utils/__tests__/aws.test.ts +140 -0
- package/utils/__tests__/banners.test.ts +176 -0
- package/utils/__tests__/chart.test.ts +64 -1
- package/utils/__tests__/color.test.ts +226 -0
- package/utils/__tests__/computed.test.ts +193 -0
- package/utils/__tests__/cspAdaptor.test.ts +163 -0
- package/utils/__tests__/dom.test.ts +81 -0
- package/utils/__tests__/duration.test.ts +176 -0
- package/utils/__tests__/dynamic-importer.test.ts +102 -0
- package/utils/__tests__/fleet-appco.test.ts +312 -0
- package/utils/__tests__/fleet.test.ts +340 -0
- package/utils/__tests__/ingress.test.ts +553 -0
- package/utils/__tests__/kube.test.ts +68 -0
- package/utils/__tests__/monitoring.test.ts +130 -0
- package/utils/__tests__/namespace-filter.test.ts +109 -0
- package/utils/__tests__/object.test.ts +22 -0
- package/utils/__tests__/pagination-utils.test.ts +361 -0
- package/utils/__tests__/parse-externalid.test.ts +137 -0
- package/utils/__tests__/perf-setting.utils.test.ts +98 -0
- package/utils/__tests__/platform.test.ts +91 -0
- package/utils/__tests__/poller-sequential.test.ts +177 -0
- package/utils/__tests__/poller.test.ts +170 -0
- package/utils/__tests__/position.test.ts +237 -0
- package/utils/__tests__/promise.test.ts +346 -0
- package/utils/__tests__/provider.test.ts +51 -1
- package/utils/__tests__/queue.test.ts +232 -0
- package/utils/__tests__/release-notes.test.ts +221 -0
- package/utils/__tests__/router.test.js +254 -1
- package/utils/__tests__/select.test.ts +208 -0
- package/utils/__tests__/settings.test.ts +140 -0
- package/utils/__tests__/sort-utils.test.ts +301 -0
- package/utils/__tests__/string-utils.test.ts +798 -0
- package/utils/__tests__/string.test.ts +23 -1
- package/utils/__tests__/style.test.ts +154 -0
- package/utils/__tests__/svg-filter.test.ts +184 -0
- package/utils/__tests__/time.test.ts +265 -1
- package/utils/__tests__/title.test.ts +47 -0
- package/utils/__tests__/units.test.ts +417 -0
- package/utils/__tests__/versions.test.ts +128 -0
- package/utils/__tests__/width.test.ts +53 -0
- package/utils/__tests__/window.test.ts +158 -0
- package/utils/__tests__/xccdf.test.ts +511 -0
- package/utils/chart.js +36 -0
- package/utils/crypto/__tests__/browserHashUtils.test.ts +98 -0
- package/utils/crypto/__tests__/index.test.ts +144 -0
- package/utils/duration.ts +104 -0
- package/utils/dynamic-content/__tests__/notification-handler.test.ts +196 -0
- package/utils/dynamic-content/info.ts +2 -1
- package/utils/error.js +13 -0
- package/utils/fleet-appco.ts +323 -0
- package/utils/fleet.ts +13 -3
- package/utils/gatekeeper/__tests__/util.test.ts +174 -0
- package/utils/gc/__tests__/gc-interval.test.ts +119 -0
- package/utils/gc/__tests__/gc-root-store.test.ts +225 -0
- package/utils/gc/__tests__/gc-route-changed.test.ts +96 -0
- package/utils/gc/__tests__/gc.test.ts +487 -0
- package/utils/ingress.ts +9 -1
- package/utils/object.js +22 -2
- package/utils/pagination-utils.ts +2 -1
- package/utils/provider.ts +12 -0
- package/utils/string.js +25 -2
- package/utils/uiplugins.ts +5 -5
- package/utils/validators/__tests__/cluster-name.test.ts +110 -0
- package/utils/validators/__tests__/container-images.test.ts +104 -0
- package/utils/validators/__tests__/cron-schedule.test.ts +79 -0
- package/utils/validators/__tests__/flow-output.test.ts +91 -0
- package/utils/validators/__tests__/index.test.ts +481 -0
- package/utils/validators/__tests__/kubernetes-name.test.ts +163 -0
- package/utils/validators/__tests__/logging-outputs.test.ts +58 -0
- package/utils/validators/__tests__/misc-validators.test.ts +246 -0
- package/utils/validators/__tests__/monitoring-route.test.ts +119 -0
- package/utils/validators/__tests__/pod-affinity.test.ts +382 -0
- package/utils/validators/__tests__/prometheusrule.test.ts +211 -0
- package/utils/validators/__tests__/role-template.test.ts +149 -0
- package/utils/validators/__tests__/service.test.ts +283 -0
- package/utils/validators/__tests__/setting.test.js +32 -0
- package/utils/validators/formRules/__tests__/index.test.ts +50 -0
- package/utils/validators/formRules/index.ts +5 -5
- package/utils/validators/machine-pool.ts +1 -1
- package/utils/validators/setting.js +18 -3
- package/utils/xccdf.ts +415 -0
- package/vue.config.js +1 -1
- package/assets/fonts/lato/lato-v17-latin-700.woff +0 -0
- package/assets/fonts/lato/lato-v17-latin-700.woff2 +0 -0
- package/assets/fonts/lato/lato-v17-latin-regular.woff +0 -0
- package/assets/fonts/lato/lato-v17-latin-regular.woff2 +0 -0
- package/pages/support/index.vue +0 -264
- package/utils/duration.js +0 -43
package/types/shell/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export const NODE_ARCHITECTURE: "kubernetes.io/arch";
|
|
|
27
27
|
export const IMPORTED_CLUSTER_VERSION_MANAGEMENT: "rancher.io/imported-cluster-version-management";
|
|
28
28
|
export const UI_PROJECT_SECRET: "management.cattle.io/project-scoped-secret";
|
|
29
29
|
export const UI_PROJECT_SECRET_COPY: "management.cattle.io/project-scoped-secret-copy";
|
|
30
|
+
export const SERVICE_LINKS: "ui.rancher/service-links";
|
|
30
31
|
export namespace KUBERNETES {
|
|
31
32
|
let SERVICE_ACCOUNT_UID: string;
|
|
32
33
|
let SERVICE_ACCOUNT_NAME: string;
|
|
@@ -194,6 +195,7 @@ export const NODE_ARCHITECTURE: "kubernetes.io/arch";
|
|
|
194
195
|
export const IMPORTED_CLUSTER_VERSION_MANAGEMENT: "rancher.io/imported-cluster-version-management";
|
|
195
196
|
export const UI_PROJECT_SECRET: "management.cattle.io/project-scoped-secret";
|
|
196
197
|
export const UI_PROJECT_SECRET_COPY: "management.cattle.io/project-scoped-secret-copy";
|
|
198
|
+
export const SERVICE_LINKS: "ui.rancher/service-links";
|
|
197
199
|
export namespace KUBERNETES {
|
|
198
200
|
let SERVICE_ACCOUNT_UID: string;
|
|
199
201
|
let SERVICE_ACCOUNT_NAME: string;
|
|
@@ -1923,8 +1925,6 @@ export namespace FLEET_APPLICATION_TYPE {
|
|
|
1923
1925
|
export { sort_79 as sort };
|
|
1924
1926
|
let search_10: boolean;
|
|
1925
1927
|
export { search_10 as search };
|
|
1926
|
-
let align_12: string;
|
|
1927
|
-
export { align_12 as align };
|
|
1928
1928
|
let width_22: number;
|
|
1929
1929
|
export { width_22 as width };
|
|
1930
1930
|
}
|
|
@@ -1979,8 +1979,8 @@ export namespace FLEET_APPLICATION_RESOURCES_SUMMARY {
|
|
|
1979
1979
|
export { search_13 as search };
|
|
1980
1980
|
let formatter_49: string;
|
|
1981
1981
|
export { formatter_49 as formatter };
|
|
1982
|
-
let
|
|
1983
|
-
export {
|
|
1982
|
+
let align_12: string;
|
|
1983
|
+
export { align_12 as align };
|
|
1984
1984
|
let width_23: number;
|
|
1985
1985
|
export { width_23 as width };
|
|
1986
1986
|
}
|
|
@@ -1997,8 +1997,8 @@ export namespace FLEET_REPO_CLUSTER_SUMMARY {
|
|
|
1997
1997
|
export { search_14 as search };
|
|
1998
1998
|
let formatter_50: string;
|
|
1999
1999
|
export { formatter_50 as formatter };
|
|
2000
|
-
let
|
|
2001
|
-
export {
|
|
2000
|
+
let align_13: string;
|
|
2001
|
+
export { align_13 as align };
|
|
2002
2002
|
let width_24: number;
|
|
2003
2003
|
export { width_24 as width };
|
|
2004
2004
|
}
|
|
@@ -2035,8 +2035,8 @@ export namespace APP_SUMMARY {
|
|
|
2035
2035
|
export { search_15 as search };
|
|
2036
2036
|
let formatter_52: string;
|
|
2037
2037
|
export { formatter_52 as formatter };
|
|
2038
|
-
let
|
|
2039
|
-
export {
|
|
2038
|
+
let align_14: string;
|
|
2039
|
+
export { align_14 as align };
|
|
2040
2040
|
let width_26: number;
|
|
2041
2041
|
export { width_26 as width };
|
|
2042
2042
|
}
|
|
@@ -2259,8 +2259,8 @@ export namespace ACCESS_KEY {
|
|
|
2259
2259
|
export { name_112 as name };
|
|
2260
2260
|
let labelKey_109: string;
|
|
2261
2261
|
export { labelKey_109 as labelKey };
|
|
2262
|
-
let
|
|
2263
|
-
export {
|
|
2262
|
+
let align_15: string;
|
|
2263
|
+
export { align_15 as align };
|
|
2264
2264
|
let sort_101: string[];
|
|
2265
2265
|
export { sort_101 as sort };
|
|
2266
2266
|
let width_28: number;
|
|
@@ -2275,8 +2275,8 @@ export namespace SCOPE {
|
|
|
2275
2275
|
export { labelKey_110 as labelKey };
|
|
2276
2276
|
let dashIfEmpty_6: boolean;
|
|
2277
2277
|
export { dashIfEmpty_6 as dashIfEmpty };
|
|
2278
|
-
let
|
|
2279
|
-
export {
|
|
2278
|
+
let align_16: string;
|
|
2279
|
+
export { align_16 as align };
|
|
2280
2280
|
let sort_102: string[];
|
|
2281
2281
|
export { sort_102 as sort };
|
|
2282
2282
|
let width_29: number;
|
|
@@ -2295,8 +2295,8 @@ export namespace EXPIRES {
|
|
|
2295
2295
|
export { value_113 as value };
|
|
2296
2296
|
let labelKey_111: string;
|
|
2297
2297
|
export { labelKey_111 as labelKey };
|
|
2298
|
-
let
|
|
2299
|
-
export {
|
|
2298
|
+
let align_17: string;
|
|
2299
|
+
export { align_17 as align };
|
|
2300
2300
|
let sort_104: string[];
|
|
2301
2301
|
export { sort_104 as sort };
|
|
2302
2302
|
let width_30: number;
|
|
@@ -2311,8 +2311,8 @@ export namespace LAST_USED {
|
|
|
2311
2311
|
export { value_114 as value };
|
|
2312
2312
|
let labelKey_112: string;
|
|
2313
2313
|
export { labelKey_112 as labelKey };
|
|
2314
|
-
let
|
|
2315
|
-
export {
|
|
2314
|
+
let align_18: string;
|
|
2315
|
+
export { align_18 as align };
|
|
2316
2316
|
let sort_105: string[];
|
|
2317
2317
|
export { sort_105 as sort };
|
|
2318
2318
|
let width_31: number;
|
|
@@ -2337,8 +2337,8 @@ export namespace RESTART {
|
|
|
2337
2337
|
export { formatter_64 as formatter };
|
|
2338
2338
|
let width_32: number;
|
|
2339
2339
|
export { width_32 as width };
|
|
2340
|
-
let
|
|
2341
|
-
export {
|
|
2340
|
+
let align_19: string;
|
|
2341
|
+
export { align_19 as align };
|
|
2342
2342
|
}
|
|
2343
2343
|
export namespace ROLE {
|
|
2344
2344
|
let name_117: string;
|
|
@@ -2355,8 +2355,8 @@ export namespace FEATURE_DESCRIPTION {
|
|
|
2355
2355
|
export { labelKey_115 as labelKey };
|
|
2356
2356
|
let value_117: string;
|
|
2357
2357
|
export { value_117 as value };
|
|
2358
|
-
let
|
|
2359
|
-
export {
|
|
2358
|
+
let align_20: string;
|
|
2359
|
+
export { align_20 as align };
|
|
2360
2360
|
let sort_107: string[];
|
|
2361
2361
|
export { sort_107 as sort };
|
|
2362
2362
|
let formatter_65: string;
|
|
@@ -2511,6 +2511,35 @@ export namespace AUTOSCALER_ENABLED {
|
|
|
2511
2511
|
let formatter_72: string;
|
|
2512
2512
|
export { formatter_72 as formatter };
|
|
2513
2513
|
}
|
|
2514
|
+
export namespace MGMT_CLUSTER_PROVIDER {
|
|
2515
|
+
let name_128: string;
|
|
2516
|
+
export { name_128 as name };
|
|
2517
|
+
let labelKey_125: string;
|
|
2518
|
+
export { labelKey_125 as labelKey };
|
|
2519
|
+
export let subLabel: string;
|
|
2520
|
+
let value_126: string;
|
|
2521
|
+
export { value_126 as value };
|
|
2522
|
+
let sort_116: string[];
|
|
2523
|
+
export { sort_116 as sort };
|
|
2524
|
+
let search_20: string[];
|
|
2525
|
+
export { search_20 as search };
|
|
2526
|
+
let formatter_73: string;
|
|
2527
|
+
export { formatter_73 as formatter };
|
|
2528
|
+
}
|
|
2529
|
+
export namespace MGMT_CLUSTER_KUBE_VERSION {
|
|
2530
|
+
let name_129: string;
|
|
2531
|
+
export { name_129 as name };
|
|
2532
|
+
let labelKey_126: string;
|
|
2533
|
+
export { labelKey_126 as labelKey };
|
|
2534
|
+
let subLabel_1: string;
|
|
2535
|
+
export { subLabel_1 as subLabel };
|
|
2536
|
+
let sort_117: string;
|
|
2537
|
+
export { sort_117 as sort };
|
|
2538
|
+
let search_21: string;
|
|
2539
|
+
export { search_21 as search };
|
|
2540
|
+
let formatter_74: string;
|
|
2541
|
+
export { formatter_74 as formatter };
|
|
2542
|
+
}
|
|
2514
2543
|
}
|
|
2515
2544
|
|
|
2516
2545
|
// @shell/config/table-headers.js
|
|
@@ -3693,8 +3722,6 @@ export namespace FLEET_APPLICATION_TYPE {
|
|
|
3693
3722
|
export { sort_79 as sort };
|
|
3694
3723
|
let search_10: boolean;
|
|
3695
3724
|
export { search_10 as search };
|
|
3696
|
-
let align_12: string;
|
|
3697
|
-
export { align_12 as align };
|
|
3698
3725
|
let width_22: number;
|
|
3699
3726
|
export { width_22 as width };
|
|
3700
3727
|
}
|
|
@@ -3749,8 +3776,8 @@ export namespace FLEET_APPLICATION_RESOURCES_SUMMARY {
|
|
|
3749
3776
|
export { search_13 as search };
|
|
3750
3777
|
let formatter_49: string;
|
|
3751
3778
|
export { formatter_49 as formatter };
|
|
3752
|
-
let
|
|
3753
|
-
export {
|
|
3779
|
+
let align_12: string;
|
|
3780
|
+
export { align_12 as align };
|
|
3754
3781
|
let width_23: number;
|
|
3755
3782
|
export { width_23 as width };
|
|
3756
3783
|
}
|
|
@@ -3767,8 +3794,8 @@ export namespace FLEET_REPO_CLUSTER_SUMMARY {
|
|
|
3767
3794
|
export { search_14 as search };
|
|
3768
3795
|
let formatter_50: string;
|
|
3769
3796
|
export { formatter_50 as formatter };
|
|
3770
|
-
let
|
|
3771
|
-
export {
|
|
3797
|
+
let align_13: string;
|
|
3798
|
+
export { align_13 as align };
|
|
3772
3799
|
let width_24: number;
|
|
3773
3800
|
export { width_24 as width };
|
|
3774
3801
|
}
|
|
@@ -3805,8 +3832,8 @@ export namespace APP_SUMMARY {
|
|
|
3805
3832
|
export { search_15 as search };
|
|
3806
3833
|
let formatter_52: string;
|
|
3807
3834
|
export { formatter_52 as formatter };
|
|
3808
|
-
let
|
|
3809
|
-
export {
|
|
3835
|
+
let align_14: string;
|
|
3836
|
+
export { align_14 as align };
|
|
3810
3837
|
let width_26: number;
|
|
3811
3838
|
export { width_26 as width };
|
|
3812
3839
|
}
|
|
@@ -4029,8 +4056,8 @@ export namespace ACCESS_KEY {
|
|
|
4029
4056
|
export { name_112 as name };
|
|
4030
4057
|
let labelKey_109: string;
|
|
4031
4058
|
export { labelKey_109 as labelKey };
|
|
4032
|
-
let
|
|
4033
|
-
export {
|
|
4059
|
+
let align_15: string;
|
|
4060
|
+
export { align_15 as align };
|
|
4034
4061
|
let sort_101: string[];
|
|
4035
4062
|
export { sort_101 as sort };
|
|
4036
4063
|
let width_28: number;
|
|
@@ -4045,8 +4072,8 @@ export namespace SCOPE {
|
|
|
4045
4072
|
export { labelKey_110 as labelKey };
|
|
4046
4073
|
let dashIfEmpty_6: boolean;
|
|
4047
4074
|
export { dashIfEmpty_6 as dashIfEmpty };
|
|
4048
|
-
let
|
|
4049
|
-
export {
|
|
4075
|
+
let align_16: string;
|
|
4076
|
+
export { align_16 as align };
|
|
4050
4077
|
let sort_102: string[];
|
|
4051
4078
|
export { sort_102 as sort };
|
|
4052
4079
|
let width_29: number;
|
|
@@ -4065,8 +4092,8 @@ export namespace EXPIRES {
|
|
|
4065
4092
|
export { value_113 as value };
|
|
4066
4093
|
let labelKey_111: string;
|
|
4067
4094
|
export { labelKey_111 as labelKey };
|
|
4068
|
-
let
|
|
4069
|
-
export {
|
|
4095
|
+
let align_17: string;
|
|
4096
|
+
export { align_17 as align };
|
|
4070
4097
|
let sort_104: string[];
|
|
4071
4098
|
export { sort_104 as sort };
|
|
4072
4099
|
let width_30: number;
|
|
@@ -4081,8 +4108,8 @@ export namespace LAST_USED {
|
|
|
4081
4108
|
export { value_114 as value };
|
|
4082
4109
|
let labelKey_112: string;
|
|
4083
4110
|
export { labelKey_112 as labelKey };
|
|
4084
|
-
let
|
|
4085
|
-
export {
|
|
4111
|
+
let align_18: string;
|
|
4112
|
+
export { align_18 as align };
|
|
4086
4113
|
let sort_105: string[];
|
|
4087
4114
|
export { sort_105 as sort };
|
|
4088
4115
|
let width_31: number;
|
|
@@ -4107,8 +4134,8 @@ export namespace RESTART {
|
|
|
4107
4134
|
export { formatter_64 as formatter };
|
|
4108
4135
|
let width_32: number;
|
|
4109
4136
|
export { width_32 as width };
|
|
4110
|
-
let
|
|
4111
|
-
export {
|
|
4137
|
+
let align_19: string;
|
|
4138
|
+
export { align_19 as align };
|
|
4112
4139
|
}
|
|
4113
4140
|
export namespace ROLE {
|
|
4114
4141
|
let name_117: string;
|
|
@@ -4125,8 +4152,8 @@ export namespace FEATURE_DESCRIPTION {
|
|
|
4125
4152
|
export { labelKey_115 as labelKey };
|
|
4126
4153
|
let value_117: string;
|
|
4127
4154
|
export { value_117 as value };
|
|
4128
|
-
let
|
|
4129
|
-
export {
|
|
4155
|
+
let align_20: string;
|
|
4156
|
+
export { align_20 as align };
|
|
4130
4157
|
let sort_107: string[];
|
|
4131
4158
|
export { sort_107 as sort };
|
|
4132
4159
|
let formatter_65: string;
|
|
@@ -4281,6 +4308,35 @@ export namespace AUTOSCALER_ENABLED {
|
|
|
4281
4308
|
let formatter_72: string;
|
|
4282
4309
|
export { formatter_72 as formatter };
|
|
4283
4310
|
}
|
|
4311
|
+
export namespace MGMT_CLUSTER_PROVIDER {
|
|
4312
|
+
let name_128: string;
|
|
4313
|
+
export { name_128 as name };
|
|
4314
|
+
let labelKey_125: string;
|
|
4315
|
+
export { labelKey_125 as labelKey };
|
|
4316
|
+
export let subLabel: string;
|
|
4317
|
+
let value_126: string;
|
|
4318
|
+
export { value_126 as value };
|
|
4319
|
+
let sort_116: string[];
|
|
4320
|
+
export { sort_116 as sort };
|
|
4321
|
+
let search_20: string[];
|
|
4322
|
+
export { search_20 as search };
|
|
4323
|
+
let formatter_73: string;
|
|
4324
|
+
export { formatter_73 as formatter };
|
|
4325
|
+
}
|
|
4326
|
+
export namespace MGMT_CLUSTER_KUBE_VERSION {
|
|
4327
|
+
let name_129: string;
|
|
4328
|
+
export { name_129 as name };
|
|
4329
|
+
let labelKey_126: string;
|
|
4330
|
+
export { labelKey_126 as labelKey };
|
|
4331
|
+
let subLabel_1: string;
|
|
4332
|
+
export { subLabel_1 as subLabel };
|
|
4333
|
+
let sort_117: string;
|
|
4334
|
+
export { sort_117 as sort };
|
|
4335
|
+
let search_21: string;
|
|
4336
|
+
export { search_21 as search };
|
|
4337
|
+
let formatter_74: string;
|
|
4338
|
+
export { formatter_74 as formatter };
|
|
4339
|
+
}
|
|
4284
4340
|
}
|
|
4285
4341
|
|
|
4286
4342
|
// @shell/config/types
|
|
@@ -4354,6 +4410,7 @@ export namespace RBAC {
|
|
|
4354
4410
|
let CLUSTER_ROLE_BINDING: string;
|
|
4355
4411
|
}
|
|
4356
4412
|
export const WORKLOAD: "workload";
|
|
4413
|
+
export const WORKLOAD_DASHBOARD: "workload-dashboard";
|
|
4357
4414
|
export namespace WORKLOAD_TYPES {
|
|
4358
4415
|
let DEPLOYMENT: string;
|
|
4359
4416
|
let CRON_JOB: string;
|
|
@@ -4497,6 +4554,7 @@ export namespace MANAGEMENT {
|
|
|
4497
4554
|
export let RKE_TEMPLATE_REVISION: string;
|
|
4498
4555
|
export let CLUSTER_PROXY_CONFIG: string;
|
|
4499
4556
|
export let OIDC_CLIENT: string;
|
|
4557
|
+
export let PROXY_ENDPOINT: string;
|
|
4500
4558
|
}
|
|
4501
4559
|
export namespace BRAND {
|
|
4502
4560
|
let SUSE: string;
|
|
@@ -4518,6 +4576,7 @@ export namespace CAPI {
|
|
|
4518
4576
|
let MACHINE: string;
|
|
4519
4577
|
let RANCHER_CLUSTER: string;
|
|
4520
4578
|
let MACHINE_CONFIG_GROUP: string;
|
|
4579
|
+
let CAPI_PROVIDER: string;
|
|
4521
4580
|
}
|
|
4522
4581
|
export namespace FLEET {
|
|
4523
4582
|
export let APPLICATION: string;
|
|
@@ -4529,6 +4588,7 @@ export namespace FLEET {
|
|
|
4529
4588
|
export let DASHBOARD: string;
|
|
4530
4589
|
export let GIT_REPO: string;
|
|
4531
4590
|
export let HELM_OP: string;
|
|
4591
|
+
export let SUSE_APP_COLLECTION: string;
|
|
4532
4592
|
export let WORKSPACE: string;
|
|
4533
4593
|
let TOKEN_2: string;
|
|
4534
4594
|
export { TOKEN_2 as TOKEN };
|
|
@@ -4635,7 +4695,8 @@ export namespace CLUSTER_REPO_TYPES {
|
|
|
4635
4695
|
let GIT_REPO_1: string;
|
|
4636
4696
|
export { GIT_REPO_1 as GIT_REPO };
|
|
4637
4697
|
export let OCI_URL: string;
|
|
4638
|
-
|
|
4698
|
+
let SUSE_APP_COLLECTION_1: string;
|
|
4699
|
+
export { SUSE_APP_COLLECTION_1 as SUSE_APP_COLLECTION };
|
|
4639
4700
|
}
|
|
4640
4701
|
/**
|
|
4641
4702
|
* The `generateName` prefix used when creating authentication secrets
|
|
@@ -4647,6 +4708,11 @@ export const CLUSTER_REPO_APPCO_AUTH_GENERATE_NAME: "clusterrepo-appco-auth-";
|
|
|
4647
4708
|
* for standard repositories.
|
|
4648
4709
|
*/
|
|
4649
4710
|
export const CLUSTER_REPO_AUTH_GENERATE_NAME: "clusterrepo-auth-";
|
|
4711
|
+
/**
|
|
4712
|
+
* The `generateName` prefix used when creating Helm Op authentication secrets
|
|
4713
|
+
* for standard Helm sources.
|
|
4714
|
+
*/
|
|
4715
|
+
export const AUTH_GENERATE_NAME: "auth-";
|
|
4650
4716
|
export const ZERO_TIME: "0001-01-01T00:00:00Z";
|
|
4651
4717
|
export const DEFAULT_GRAFANA_STORAGE_SIZE: "10Gi";
|
|
4652
4718
|
export const DEPRECATED: "Deprecated";
|
|
@@ -4729,6 +4795,7 @@ export namespace RBAC {
|
|
|
4729
4795
|
let CLUSTER_ROLE_BINDING: string;
|
|
4730
4796
|
}
|
|
4731
4797
|
export const WORKLOAD: "workload";
|
|
4798
|
+
export const WORKLOAD_DASHBOARD: "workload-dashboard";
|
|
4732
4799
|
export namespace WORKLOAD_TYPES {
|
|
4733
4800
|
let DEPLOYMENT: string;
|
|
4734
4801
|
let CRON_JOB: string;
|
|
@@ -4872,6 +4939,7 @@ export namespace MANAGEMENT {
|
|
|
4872
4939
|
export let RKE_TEMPLATE_REVISION: string;
|
|
4873
4940
|
export let CLUSTER_PROXY_CONFIG: string;
|
|
4874
4941
|
export let OIDC_CLIENT: string;
|
|
4942
|
+
export let PROXY_ENDPOINT: string;
|
|
4875
4943
|
}
|
|
4876
4944
|
export namespace BRAND {
|
|
4877
4945
|
let SUSE: string;
|
|
@@ -4893,6 +4961,7 @@ export namespace CAPI {
|
|
|
4893
4961
|
let MACHINE: string;
|
|
4894
4962
|
let RANCHER_CLUSTER: string;
|
|
4895
4963
|
let MACHINE_CONFIG_GROUP: string;
|
|
4964
|
+
let CAPI_PROVIDER: string;
|
|
4896
4965
|
}
|
|
4897
4966
|
export namespace FLEET {
|
|
4898
4967
|
export let APPLICATION: string;
|
|
@@ -4904,6 +4973,7 @@ export namespace FLEET {
|
|
|
4904
4973
|
export let DASHBOARD: string;
|
|
4905
4974
|
export let GIT_REPO: string;
|
|
4906
4975
|
export let HELM_OP: string;
|
|
4976
|
+
export let SUSE_APP_COLLECTION: string;
|
|
4907
4977
|
export let WORKSPACE: string;
|
|
4908
4978
|
let TOKEN_2: string;
|
|
4909
4979
|
export { TOKEN_2 as TOKEN };
|
|
@@ -5010,7 +5080,8 @@ export namespace CLUSTER_REPO_TYPES {
|
|
|
5010
5080
|
let GIT_REPO_1: string;
|
|
5011
5081
|
export { GIT_REPO_1 as GIT_REPO };
|
|
5012
5082
|
export let OCI_URL: string;
|
|
5013
|
-
|
|
5083
|
+
let SUSE_APP_COLLECTION_1: string;
|
|
5084
|
+
export { SUSE_APP_COLLECTION_1 as SUSE_APP_COLLECTION };
|
|
5014
5085
|
}
|
|
5015
5086
|
/**
|
|
5016
5087
|
* The `generateName` prefix used when creating authentication secrets
|
|
@@ -5022,6 +5093,11 @@ export const CLUSTER_REPO_APPCO_AUTH_GENERATE_NAME: "clusterrepo-appco-auth-";
|
|
|
5022
5093
|
* for standard repositories.
|
|
5023
5094
|
*/
|
|
5024
5095
|
export const CLUSTER_REPO_AUTH_GENERATE_NAME: "clusterrepo-auth-";
|
|
5096
|
+
/**
|
|
5097
|
+
* The `generateName` prefix used when creating Helm Op authentication secrets
|
|
5098
|
+
* for standard Helm sources.
|
|
5099
|
+
*/
|
|
5100
|
+
export const AUTH_GENERATE_NAME: "auth-";
|
|
5025
5101
|
export const ZERO_TIME: "0001-01-01T00:00:00Z";
|
|
5026
5102
|
export const DEFAULT_GRAFANA_STORAGE_SIZE: "10Gi";
|
|
5027
5103
|
export const DEPRECATED: "Deprecated";
|
|
@@ -5282,6 +5358,7 @@ export default _default;
|
|
|
5282
5358
|
// @shell/mixins/mixins/resource-fetch-api-pagination
|
|
5283
5359
|
|
|
5284
5360
|
declare module '@shell/mixins/mixins/resource-fetch-api-pagination' {
|
|
5361
|
+
export function parseStateFilter(stateFilter: any): any[];
|
|
5285
5362
|
declare namespace _default {
|
|
5286
5363
|
namespace props {
|
|
5287
5364
|
namespace namespaced {
|
|
@@ -5410,6 +5487,7 @@ export default _default;
|
|
|
5410
5487
|
// @shell/mixins/mixins/resource-fetch-api-pagination.js
|
|
5411
5488
|
|
|
5412
5489
|
declare module '@shell/mixins/mixins/resource-fetch-api-pagination.js' {
|
|
5490
|
+
export function parseStateFilter(stateFilter: any): any[];
|
|
5413
5491
|
declare namespace _default {
|
|
5414
5492
|
namespace props {
|
|
5415
5493
|
namespace namespaced {
|
|
@@ -5771,18 +5849,21 @@ export default class ClusterRepo {
|
|
|
5771
5849
|
get canLoad(): boolean;
|
|
5772
5850
|
get isSuseAppCollectionFromUI(): any;
|
|
5773
5851
|
get isSuseAppCollection(): any;
|
|
5774
|
-
get typeDisplay():
|
|
5852
|
+
get typeDisplay(): any;
|
|
5775
5853
|
get nameDisplay(): any;
|
|
5776
5854
|
detailPageHeaderActionOverride(realMode: any): any;
|
|
5777
5855
|
get urlDisplay(): any;
|
|
5778
5856
|
get branchDisplay(): any;
|
|
5857
|
+
get defaultRefreshIntervalHours(): 1 | 24;
|
|
5858
|
+
get defaultRefreshInterval(): number;
|
|
5859
|
+
get refreshIntervalDisplay(): any;
|
|
5779
5860
|
get details(): ({
|
|
5780
|
-
label:
|
|
5781
|
-
content:
|
|
5861
|
+
label: any;
|
|
5862
|
+
content: any;
|
|
5782
5863
|
formatter?: undefined;
|
|
5783
5864
|
formatterOpts?: undefined;
|
|
5784
5865
|
} | {
|
|
5785
|
-
label:
|
|
5866
|
+
label: any;
|
|
5786
5867
|
content: any;
|
|
5787
5868
|
formatter: string;
|
|
5788
5869
|
formatterOpts: {
|
|
@@ -5829,18 +5910,21 @@ export default class ClusterRepo {
|
|
|
5829
5910
|
get canLoad(): boolean;
|
|
5830
5911
|
get isSuseAppCollectionFromUI(): any;
|
|
5831
5912
|
get isSuseAppCollection(): any;
|
|
5832
|
-
get typeDisplay():
|
|
5913
|
+
get typeDisplay(): any;
|
|
5833
5914
|
get nameDisplay(): any;
|
|
5834
5915
|
detailPageHeaderActionOverride(realMode: any): any;
|
|
5835
5916
|
get urlDisplay(): any;
|
|
5836
5917
|
get branchDisplay(): any;
|
|
5918
|
+
get defaultRefreshIntervalHours(): 1 | 24;
|
|
5919
|
+
get defaultRefreshInterval(): number;
|
|
5920
|
+
get refreshIntervalDisplay(): any;
|
|
5837
5921
|
get details(): ({
|
|
5838
|
-
label:
|
|
5839
|
-
content:
|
|
5922
|
+
label: any;
|
|
5923
|
+
content: any;
|
|
5840
5924
|
formatter?: undefined;
|
|
5841
5925
|
formatterOpts?: undefined;
|
|
5842
5926
|
} | {
|
|
5843
|
-
label:
|
|
5927
|
+
label: any;
|
|
5844
5928
|
content: any;
|
|
5845
5929
|
formatter: string;
|
|
5846
5930
|
formatterOpts: {
|
|
@@ -6040,6 +6124,7 @@ export default class Ingress {
|
|
|
6040
6124
|
get useNestedBackendField(): any;
|
|
6041
6125
|
get serviceNamePath(): "service.name" | "serviceName";
|
|
6042
6126
|
get servicePortPath(): "service.port.number" | "servicePort";
|
|
6127
|
+
get servicePortNamePath(): "servicePort" | "service.port.name";
|
|
6043
6128
|
get defaultBackendPath(): "defaultBackend" | "backend";
|
|
6044
6129
|
get hasDefaultBackend(): boolean;
|
|
6045
6130
|
get details(): any;
|
|
@@ -6103,6 +6188,7 @@ export default class Ingress {
|
|
|
6103
6188
|
get useNestedBackendField(): any;
|
|
6104
6189
|
get serviceNamePath(): "service.name" | "serviceName";
|
|
6105
6190
|
get servicePortPath(): "service.port.number" | "servicePort";
|
|
6191
|
+
get servicePortNamePath(): "servicePort" | "service.port.name";
|
|
6106
6192
|
get defaultBackendPath(): "defaultBackend" | "backend";
|
|
6107
6193
|
get hasDefaultBackend(): boolean;
|
|
6108
6194
|
get details(): any;
|
|
@@ -6223,7 +6309,7 @@ declare namespace _default {
|
|
|
6223
6309
|
commit: any;
|
|
6224
6310
|
dispatch: any;
|
|
6225
6311
|
state: any;
|
|
6226
|
-
},
|
|
6312
|
+
}, payload: any): void;
|
|
6227
6313
|
export function promptRemove({ commit, state }: {
|
|
6228
6314
|
commit: any;
|
|
6229
6315
|
state: any;
|
|
@@ -6393,7 +6479,7 @@ declare namespace _default {
|
|
|
6393
6479
|
commit: any;
|
|
6394
6480
|
dispatch: any;
|
|
6395
6481
|
state: any;
|
|
6396
|
-
},
|
|
6482
|
+
}, payload: any): void;
|
|
6397
6483
|
export function promptRemove({ commit, state }: {
|
|
6398
6484
|
commit: any;
|
|
6399
6485
|
state: any;
|
|
@@ -6518,7 +6604,8 @@ export function getStatesByType(type?: string): {
|
|
|
6518
6604
|
};
|
|
6519
6605
|
export function getStateLabel(state: any): string;
|
|
6520
6606
|
export function colorForState(state: any, isError: any, isTransitioning: any): string;
|
|
6521
|
-
export function
|
|
6607
|
+
export function simpleColorForState(state: any, isError?: boolean, isTransitioning?: boolean): string;
|
|
6608
|
+
export function stateDisplay(state: any, preserveOriginal?: boolean): any;
|
|
6522
6609
|
export function primaryDisplayStatusFromCount(status: any): string;
|
|
6523
6610
|
export function stateSort(color: any, display: any): string;
|
|
6524
6611
|
export function isConditionReadyAndWaiting(condition: any): boolean;
|
|
@@ -6657,9 +6744,9 @@ export default class Resource {
|
|
|
6657
6744
|
get stateColor(): any;
|
|
6658
6745
|
get stateColorPair(): {
|
|
6659
6746
|
state: any;
|
|
6660
|
-
color:
|
|
6747
|
+
color: string;
|
|
6661
6748
|
};
|
|
6662
|
-
get stateSimpleColor():
|
|
6749
|
+
get stateSimpleColor(): string;
|
|
6663
6750
|
get stateBackground(): any;
|
|
6664
6751
|
get stateIcon(): string;
|
|
6665
6752
|
get stateSort(): string;
|
|
@@ -7068,6 +7155,15 @@ export default class Resource {
|
|
|
7068
7155
|
rows: any[];
|
|
7069
7156
|
};
|
|
7070
7157
|
};
|
|
7158
|
+
get _resourcesCardRows(): any[];
|
|
7159
|
+
get resourcesCardRows(): any[];
|
|
7160
|
+
get resourcesCard(): {
|
|
7161
|
+
component: any;
|
|
7162
|
+
props: {
|
|
7163
|
+
title: any;
|
|
7164
|
+
rows: any[];
|
|
7165
|
+
};
|
|
7166
|
+
};
|
|
7071
7167
|
get _cards(): any[];
|
|
7072
7168
|
get cards(): any[];
|
|
7073
7169
|
}
|
|
@@ -7086,7 +7182,8 @@ export function getStatesByType(type?: string): {
|
|
|
7086
7182
|
};
|
|
7087
7183
|
export function getStateLabel(state: any): string;
|
|
7088
7184
|
export function colorForState(state: any, isError: any, isTransitioning: any): string;
|
|
7089
|
-
export function
|
|
7185
|
+
export function simpleColorForState(state: any, isError?: boolean, isTransitioning?: boolean): string;
|
|
7186
|
+
export function stateDisplay(state: any, preserveOriginal?: boolean): any;
|
|
7090
7187
|
export function primaryDisplayStatusFromCount(status: any): string;
|
|
7091
7188
|
export function stateSort(color: any, display: any): string;
|
|
7092
7189
|
export function isConditionReadyAndWaiting(condition: any): boolean;
|
|
@@ -7225,9 +7322,9 @@ export default class Resource {
|
|
|
7225
7322
|
get stateColor(): any;
|
|
7226
7323
|
get stateColorPair(): {
|
|
7227
7324
|
state: any;
|
|
7228
|
-
color:
|
|
7325
|
+
color: string;
|
|
7229
7326
|
};
|
|
7230
|
-
get stateSimpleColor():
|
|
7327
|
+
get stateSimpleColor(): string;
|
|
7231
7328
|
get stateBackground(): any;
|
|
7232
7329
|
get stateIcon(): string;
|
|
7233
7330
|
get stateSort(): string;
|
|
@@ -7636,6 +7733,15 @@ export default class Resource {
|
|
|
7636
7733
|
rows: any[];
|
|
7637
7734
|
};
|
|
7638
7735
|
};
|
|
7736
|
+
get _resourcesCardRows(): any[];
|
|
7737
|
+
get resourcesCardRows(): any[];
|
|
7738
|
+
get resourcesCard(): {
|
|
7739
|
+
component: any;
|
|
7740
|
+
props: {
|
|
7741
|
+
title: any;
|
|
7742
|
+
rows: any[];
|
|
7743
|
+
};
|
|
7744
|
+
};
|
|
7639
7745
|
get _cards(): any[];
|
|
7640
7746
|
get cards(): any[];
|
|
7641
7747
|
}
|
|
@@ -8378,6 +8484,16 @@ export function compareChartVersions(v1: string, v2: string): number;
|
|
|
8378
8484
|
* @returns {Object} The latest compatible chart version object.
|
|
8379
8485
|
*/
|
|
8380
8486
|
export function getLatestCompatibleVersion(chart: any, workerOSs: Array<string>, showPrerelease: boolean): any;
|
|
8487
|
+
/**
|
|
8488
|
+
* Builds the route URL for the standalone chart readme page.
|
|
8489
|
+
*
|
|
8490
|
+
* The helper maps chart context into query params so the readme page can fetch
|
|
8491
|
+
* version info directly (instead of relying on local/session storage transfer).
|
|
8492
|
+
*/
|
|
8493
|
+
export function getStandaloneReadmeUrl(router: any, { cluster, repoType, repoName, chartName, versionName, deprecated, showAppReadme, hideReadmeFirstTitle, }?: {
|
|
8494
|
+
showAppReadme?: boolean;
|
|
8495
|
+
hideReadmeFirstTitle?: boolean;
|
|
8496
|
+
}): any;
|
|
8381
8497
|
}
|
|
8382
8498
|
|
|
8383
8499
|
// @shell/utils/chart.js
|
|
@@ -8405,6 +8521,16 @@ export function compareChartVersions(v1: string, v2: string): number;
|
|
|
8405
8521
|
* @returns {Object} The latest compatible chart version object.
|
|
8406
8522
|
*/
|
|
8407
8523
|
export function getLatestCompatibleVersion(chart: any, workerOSs: Array<string>, showPrerelease: boolean): any;
|
|
8524
|
+
/**
|
|
8525
|
+
* Builds the route URL for the standalone chart readme page.
|
|
8526
|
+
*
|
|
8527
|
+
* The helper maps chart context into query params so the readme page can fetch
|
|
8528
|
+
* version info directly (instead of relying on local/session storage transfer).
|
|
8529
|
+
*/
|
|
8530
|
+
export function getStandaloneReadmeUrl(router: any, { cluster, repoType, repoName, chartName, versionName, deprecated, showAppReadme, hideReadmeFirstTitle, }?: {
|
|
8531
|
+
showAppReadme?: boolean;
|
|
8532
|
+
hideReadmeFirstTitle?: boolean;
|
|
8533
|
+
}): any;
|
|
8408
8534
|
}
|
|
8409
8535
|
|
|
8410
8536
|
// @shell/utils/clipboard
|
|
@@ -9171,20 +9297,6 @@ export function generateZip(files: any): any;
|
|
|
9171
9297
|
export function downloadUrl(url: any, id?: string): void;
|
|
9172
9298
|
}
|
|
9173
9299
|
|
|
9174
|
-
// @shell/utils/duration
|
|
9175
|
-
|
|
9176
|
-
declare module '@shell/utils/duration' {
|
|
9177
|
-
export function toMilliseconds(input: any): number;
|
|
9178
|
-
export function toSeconds(input: any): number;
|
|
9179
|
-
}
|
|
9180
|
-
|
|
9181
|
-
// @shell/utils/duration.js
|
|
9182
|
-
|
|
9183
|
-
declare module '@shell/utils/duration.js' {
|
|
9184
|
-
export function toMilliseconds(input: any): number;
|
|
9185
|
-
export function toSeconds(input: any): number;
|
|
9186
|
-
}
|
|
9187
|
-
|
|
9188
9300
|
// @shell/utils/dynamic-importer
|
|
9189
9301
|
|
|
9190
9302
|
declare module '@shell/utils/dynamic-importer' {
|
|
@@ -9242,6 +9354,8 @@ export function resolveCloudCredentialComponent(key: any): string;
|
|
|
9242
9354
|
declare module '@shell/utils/error' {
|
|
9243
9355
|
export function stringify(err: any): any;
|
|
9244
9356
|
export function exceptionToErrorsArray(err: any): any;
|
|
9357
|
+
export function createDoNotLogError(message: any): Error;
|
|
9358
|
+
export function isDoNotLogError(err: any): boolean;
|
|
9245
9359
|
export class ClusterNotFoundError extends Error {
|
|
9246
9360
|
static NAME: string;
|
|
9247
9361
|
constructor(message: any);
|
|
@@ -9277,6 +9391,8 @@ export function formatAWSError(err: any): any;
|
|
|
9277
9391
|
declare module '@shell/utils/error.js' {
|
|
9278
9392
|
export function stringify(err: any): any;
|
|
9279
9393
|
export function exceptionToErrorsArray(err: any): any;
|
|
9394
|
+
export function createDoNotLogError(message: any): Error;
|
|
9395
|
+
export function isDoNotLogError(err: any): boolean;
|
|
9280
9396
|
export class ClusterNotFoundError extends Error {
|
|
9281
9397
|
static NAME: string;
|
|
9282
9398
|
constructor(message: any);
|
|
@@ -10460,6 +10576,14 @@ export function sanitizeIP(v: any): any;
|
|
|
10460
10576
|
*/
|
|
10461
10577
|
export function xOfy(x: any, y: any): string;
|
|
10462
10578
|
export function isBase64(value: any): boolean;
|
|
10579
|
+
/**
|
|
10580
|
+
* Checks if a value is a valid base64-encoded CA bundle.
|
|
10581
|
+
* Unlike isBase64, this handles multiline base64 (e.g. openssl wraps at 76 chars)
|
|
10582
|
+
* and rejects short strings that could be false positives.
|
|
10583
|
+
* @param {string} value
|
|
10584
|
+
* @returns {boolean}
|
|
10585
|
+
*/
|
|
10586
|
+
export function isBase64EncodedCert(value: string): boolean;
|
|
10463
10587
|
export function generateRandomAlphaString(length: any): string;
|
|
10464
10588
|
/**
|
|
10465
10589
|
* Generate a key-value nested object from a list of paths that represents a directory tree.
|
|
@@ -10526,6 +10650,14 @@ export function sanitizeIP(v: any): any;
|
|
|
10526
10650
|
*/
|
|
10527
10651
|
export function xOfy(x: any, y: any): string;
|
|
10528
10652
|
export function isBase64(value: any): boolean;
|
|
10653
|
+
/**
|
|
10654
|
+
* Checks if a value is a valid base64-encoded CA bundle.
|
|
10655
|
+
* Unlike isBase64, this handles multiline base64 (e.g. openssl wraps at 76 chars)
|
|
10656
|
+
* and rejects short strings that could be false positives.
|
|
10657
|
+
* @param {string} value
|
|
10658
|
+
* @returns {boolean}
|
|
10659
|
+
*/
|
|
10660
|
+
export function isBase64EncodedCert(value: string): boolean;
|
|
10529
10661
|
export function generateRandomAlphaString(length: any): string;
|
|
10530
10662
|
/**
|
|
10531
10663
|
* Generate a key-value nested object from a list of paths that represents a directory tree.
|
|
@@ -10960,6 +11092,7 @@ export function isServerUrl(value: any): boolean;
|
|
|
10960
11092
|
export function isHttps(value: any): any;
|
|
10961
11093
|
export function isDomainWithoutProtocol(value: any): boolean;
|
|
10962
11094
|
export function isLocalhost(value: any): boolean;
|
|
11095
|
+
export function isValidUrl(value: any): boolean;
|
|
10963
11096
|
export function hasTrailingForwardSlash(value: any): any;
|
|
10964
11097
|
}
|
|
10965
11098
|
|
|
@@ -10970,6 +11103,7 @@ export function isServerUrl(value: any): boolean;
|
|
|
10970
11103
|
export function isHttps(value: any): any;
|
|
10971
11104
|
export function isDomainWithoutProtocol(value: any): boolean;
|
|
10972
11105
|
export function isLocalhost(value: any): boolean;
|
|
11106
|
+
export function isValidUrl(value: any): boolean;
|
|
10973
11107
|
export function hasTrailingForwardSlash(value: any): any;
|
|
10974
11108
|
}
|
|
10975
11109
|
|