mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Move around Custom Resource and Custom Resource Definition files to simplify names
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
66a7615e9c
commit
b1a988e133
33 files changed
+105
-219
No files matched your search
@@ -5,8 +5,8 @@
|
||||
|
||||
import type { RenderResult } from "@testing-library/react";
|
||||
import { CustomResourceDefinition } from "../../extensions/common-api/k8s-api";
|
||||
import type { CustomResourceDefinitionStore } from "../../renderer/components/custom-resources/definition.store";
|
||||
import customResourceDefinitionStoreInjectable from "../../renderer/components/custom-resources/definition.store.injectable";
|
||||
import type { CustomResourceDefinitionStore } from "../../renderer/components/custom-resource-definitions/store";
|
||||
import customResourceDefinitionStoreInjectable from "../../renderer/components/custom-resource-definitions/store.injectable";
|
||||
import type { ApplicationBuilder } from "../../renderer/components/test-utils/get-application-builder";
|
||||
import { getApplicationBuilder } from "../../renderer/components/test-utils/get-application-builder";
|
||||
|
||||
|
||||
+9
-117
@@ -77,7 +77,7 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
>
|
||||
<a
|
||||
class="navItem"
|
||||
data-testid="sidebar-item-link-for-workloads"
|
||||
data-testid="link-for-sidebar-item-workloads"
|
||||
href="/"
|
||||
>
|
||||
<i
|
||||
@@ -129,6 +129,7 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
</span>
|
||||
<i
|
||||
class="Icon expandIcon material focusable"
|
||||
data-testid="expand-icon-for-sidebar-item-workloads"
|
||||
>
|
||||
<span
|
||||
class="icon"
|
||||
@@ -139,31 +140,6 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
</i>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
class="SidebarItem"
|
||||
data-is-active-test="false"
|
||||
data-testid="sidebar-item-config"
|
||||
>
|
||||
<a
|
||||
class="navItem"
|
||||
data-testid="sidebar-item-link-for-config"
|
||||
href="/"
|
||||
>
|
||||
<i
|
||||
class="Icon material focusable"
|
||||
>
|
||||
<span
|
||||
class="icon"
|
||||
data-icon-name="list"
|
||||
>
|
||||
list
|
||||
</span>
|
||||
</i>
|
||||
<span>
|
||||
Config
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
class="SidebarItem"
|
||||
data-is-active-test="false"
|
||||
@@ -171,7 +147,7 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
>
|
||||
<a
|
||||
class="navItem"
|
||||
data-testid="sidebar-item-link-for-network"
|
||||
data-testid="link-for-sidebar-item-network"
|
||||
href="/"
|
||||
>
|
||||
<i
|
||||
@@ -189,6 +165,7 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
</span>
|
||||
<i
|
||||
class="Icon expandIcon material focusable"
|
||||
data-testid="expand-icon-for-sidebar-item-network"
|
||||
>
|
||||
<span
|
||||
class="icon"
|
||||
@@ -199,31 +176,6 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
</i>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
class="SidebarItem"
|
||||
data-is-active-test="false"
|
||||
data-testid="sidebar-item-storage"
|
||||
>
|
||||
<a
|
||||
class="navItem"
|
||||
data-testid="sidebar-item-link-for-storage"
|
||||
href="/"
|
||||
>
|
||||
<i
|
||||
class="Icon material focusable"
|
||||
>
|
||||
<span
|
||||
class="icon"
|
||||
data-icon-name="storage"
|
||||
>
|
||||
storage
|
||||
</span>
|
||||
</i>
|
||||
<span>
|
||||
Storage
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
class="SidebarItem"
|
||||
data-is-active-test="false"
|
||||
@@ -231,7 +183,7 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
>
|
||||
<a
|
||||
class="navItem"
|
||||
data-testid="sidebar-item-link-for-helm"
|
||||
data-testid="link-for-sidebar-item-helm"
|
||||
href="/"
|
||||
>
|
||||
<i
|
||||
@@ -283,67 +235,7 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
</span>
|
||||
<i
|
||||
class="Icon expandIcon material focusable"
|
||||
>
|
||||
<span
|
||||
class="icon"
|
||||
data-icon-name="keyboard_arrow_down"
|
||||
>
|
||||
keyboard_arrow_down
|
||||
</span>
|
||||
</i>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
class="SidebarItem"
|
||||
data-is-active-test="false"
|
||||
data-testid="sidebar-item-user-management"
|
||||
>
|
||||
<a
|
||||
class="navItem"
|
||||
data-testid="sidebar-item-link-for-user-management"
|
||||
href="/"
|
||||
>
|
||||
<i
|
||||
class="Icon material focusable"
|
||||
>
|
||||
<span
|
||||
class="icon"
|
||||
data-icon-name="security"
|
||||
>
|
||||
security
|
||||
</span>
|
||||
</i>
|
||||
<span>
|
||||
Access Control
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
class="SidebarItem"
|
||||
data-is-active-test="true"
|
||||
data-testid="sidebar-item-custom-resources"
|
||||
>
|
||||
<a
|
||||
aria-current="page"
|
||||
class="navItem active"
|
||||
data-testid="sidebar-item-link-for-custom-resources"
|
||||
href="/"
|
||||
>
|
||||
<i
|
||||
class="Icon material focusable"
|
||||
>
|
||||
<span
|
||||
class="icon"
|
||||
data-icon-name="extension"
|
||||
>
|
||||
extension
|
||||
</span>
|
||||
</i>
|
||||
<span>
|
||||
Custom Resources
|
||||
</span>
|
||||
<i
|
||||
class="Icon expandIcon material focusable"
|
||||
data-testid="expand-icon-for-sidebar-item-helm"
|
||||
>
|
||||
<span
|
||||
class="icon"
|
||||
@@ -371,7 +263,7 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
class=""
|
||||
>
|
||||
<div
|
||||
class="ItemListLayout flex column KubeObjectListLayout CrdResources"
|
||||
class="ItemListLayout flex column KubeObjectListLayout CustomResources"
|
||||
>
|
||||
<div
|
||||
class="header flex gaps align-center"
|
||||
@@ -419,7 +311,7 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
class="items box grow flex column"
|
||||
>
|
||||
<div
|
||||
class="Table flex column KubeObjectListLayout CrdResources box grow dark selectable scrollable sortable autoSize virtual"
|
||||
class="Table flex column KubeObjectListLayout CustomResources box grow dark selectable scrollable sortable autoSize virtual"
|
||||
>
|
||||
<div
|
||||
class="TableHead sticky nowrap topLine"
|
||||
@@ -521,7 +413,7 @@ exports[`Viewing Custom Resources with extra columns renders 1`] = `
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="VirtualList KubeObjectListLayout CrdResources box grow dark"
|
||||
class="VirtualList KubeObjectListLayout CustomResources box grow dark"
|
||||
>
|
||||
<div>
|
||||
<div
|
||||
|
||||
@@ -9,8 +9,8 @@ import type { RenderResult } from "@testing-library/react";
|
||||
import navigateToCustomResourcesInjectable from "../../common/front-end-routing/routes/cluster/custom-resources/navigate-to-custom-resources.injectable";
|
||||
import apiManagerInjectable from "../../common/k8s-api/api-manager/manager.injectable";
|
||||
import type { CustomResourceStore } from "../../common/k8s-api/api-manager/resource.store";
|
||||
import type { CustomResourceDefinitionStore } from "../../renderer/components/custom-resources/definition.store";
|
||||
import customResourceDefinitionStoreInjectable from "../../renderer/components/custom-resources/definition.store.injectable";
|
||||
import type { CustomResourceDefinitionStore } from "../../renderer/components/custom-resource-definitions/store";
|
||||
import customResourceDefinitionStoreInjectable from "../../renderer/components/custom-resource-definitions/store.injectable";
|
||||
import type { ApplicationBuilder } from "../../renderer/components/test-utils/get-application-builder";
|
||||
import { getApplicationBuilder } from "../../renderer/components/test-utils/get-application-builder";
|
||||
|
||||
|
||||
Reference in new issue
Block a user