mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Rename imports
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
745b753d99
commit
b8b51139bf
@ -19,7 +19,7 @@
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
import { ingressStore } from "../../../renderer/components/+network-ingresses/ingress.store";
|
||||
import { ingressStore } from "../../../renderer/components/network-ingresses/ingress.store";
|
||||
import { apiManager } from "../api-manager";
|
||||
import { KubeApi } from "../kube-api";
|
||||
import { KubeObject } from "../kube-object";
|
||||
|
||||
@ -23,7 +23,7 @@ import jsYaml from "js-yaml";
|
||||
import { autoBind, formatDuration } from "../../utils";
|
||||
import capitalize from "lodash/capitalize";
|
||||
import { apiBase } from "../index";
|
||||
import { helmChartStore } from "../../../renderer/components/+apps-helm-charts/helm-chart.store";
|
||||
import { helmChartStore } from "../../../renderer/components/apps-helm-charts/helm-chart.store";
|
||||
import type { ItemObject } from "../../item.store";
|
||||
import { KubeObject } from "../kube-object";
|
||||
import type { JsonApiData } from "../json-api";
|
||||
|
||||
@ -29,7 +29,7 @@ import path from "path";
|
||||
import { broadcastMessage, ipcMainHandle, ipcRendererOn, requestMain } from "../common/ipc";
|
||||
import { Singleton, toJS } from "../common/utils";
|
||||
import logger from "../main/logger";
|
||||
import { ExtensionInstallationStateStore } from "../renderer/components/+extensions/extension-install.store";
|
||||
import { ExtensionInstallationStateStore } from "../renderer/components/extensions/extension-install.store";
|
||||
import { extensionInstaller } from "./extension-installer";
|
||||
import { ExtensionsStore } from "./extensions-store";
|
||||
import { ExtensionLoader } from "./extension-loader";
|
||||
|
||||
@ -53,9 +53,9 @@ export * from "../../renderer/components/notifications";
|
||||
export * from "../../renderer/components/spinner";
|
||||
export * from "../../renderer/components/stepper";
|
||||
export * from "../../renderer/components/wizard";
|
||||
export * from "../../renderer/components/+workloads-pods/pod-details-list";
|
||||
export * from "../../renderer/components/+namespaces/namespace-select";
|
||||
export * from "../../renderer/components/+namespaces/namespace-select-filter";
|
||||
export * from "../../renderer/components/workloads-pods/pod-details-list";
|
||||
export * from "../../renderer/components/namespaces/namespace-select";
|
||||
export * from "../../renderer/components/namespaces/namespace-select-filter";
|
||||
export * from "../../renderer/components/layout/sub-title";
|
||||
export * from "../../renderer/components/input/search-input";
|
||||
export * from "../../renderer/components/chart/bar-chart";
|
||||
@ -67,7 +67,7 @@ export * from "../../renderer/components/kube-object-details";
|
||||
export * from "../../renderer/components/kube-object-list-layout";
|
||||
export * from "../../renderer/components/kube-object-menu";
|
||||
export * from "../../renderer/components/kube-object-meta";
|
||||
export * from "../../renderer/components/+events/kube-event-details";
|
||||
export * from "../../renderer/components/events/kube-event-details";
|
||||
|
||||
// specific exports
|
||||
export * from "../../renderer/components/status-brick";
|
||||
|
||||
@ -63,31 +63,31 @@ export type { ISecretRef } from "../../common/k8s-api/endpoints";
|
||||
export type { KubeObjectStatus } from "./kube-object-status";
|
||||
|
||||
// stores
|
||||
export type { EventStore } from "../../renderer/components/+events/event.store";
|
||||
export type { PodsStore } from "../../renderer/components/+workloads-pods/pods.store";
|
||||
export type { NodesStore } from "../../renderer/components/+nodes/nodes.store";
|
||||
export type { DeploymentStore } from "../../renderer/components/+workloads-deployments/deployments.store";
|
||||
export type { DaemonSetStore } from "../../renderer/components/+workloads-daemonsets/daemonsets.store";
|
||||
export type { StatefulSetStore } from "../../renderer/components/+workloads-statefulsets/statefulset.store";
|
||||
export type { JobStore } from "../../renderer/components/+workloads-jobs/job.store";
|
||||
export type { CronJobStore } from "../../renderer/components/+workloads-cronjobs/cronjob.store";
|
||||
export type { ConfigMapsStore } from "../../renderer/components/+config-maps/config-maps.store";
|
||||
export type { SecretsStore } from "../../renderer/components/+config-secrets/secrets.store";
|
||||
export type { ReplicaSetStore } from "../../renderer/components/+workloads-replicasets/replicasets.store";
|
||||
export type { ResourceQuotasStore } from "../../renderer/components/+config-resource-quotas/resource-quotas.store";
|
||||
export type { LimitRangesStore } from "../../renderer/components/+config-limit-ranges/limit-ranges.store";
|
||||
export type { HPAStore } from "../../renderer/components/+config-autoscalers/hpa.store";
|
||||
export type { PodDisruptionBudgetsStore } from "../../renderer/components/+config-pod-disruption-budgets/pod-disruption-budgets.store";
|
||||
export type { ServiceStore } from "../../renderer/components/+network-services/services.store";
|
||||
export type { EndpointStore } from "../../renderer/components/+network-endpoints/endpoints.store";
|
||||
export type { IngressStore } from "../../renderer/components/+network-ingresses/ingress.store";
|
||||
export type { NetworkPolicyStore } from "../../renderer/components/+network-policies/network-policy.store";
|
||||
export type { PersistentVolumesStore } from "../../renderer/components/+storage-volumes/volumes.store";
|
||||
export type { VolumeClaimStore } from "../../renderer/components/+storage-volume-claims/volume-claim.store";
|
||||
export type { StorageClassStore } from "../../renderer/components/+storage-classes/storage-class.store";
|
||||
export type { NamespaceStore } from "../../renderer/components/+namespaces/namespace.store";
|
||||
export type { ServiceAccountsStore } from "../../renderer/components/+user-management/+service-accounts/store";
|
||||
export type { RolesStore } from "../../renderer/components/+user-management/+roles/store";
|
||||
export type { RoleBindingsStore } from "../../renderer/components/+user-management/+role-bindings/store";
|
||||
export type { CRDStore } from "../../renderer/components/+custom-resources/crd.store";
|
||||
export type { CRDResourceStore } from "../../renderer/components/+custom-resources/crd-resource.store";
|
||||
export type { EventStore } from "../../renderer/components/events/event.store";
|
||||
export type { PodsStore } from "../../renderer/components/workloads-pods/pods.store";
|
||||
export type { NodesStore } from "../../renderer/components/nodes/nodes.store";
|
||||
export type { DeploymentStore } from "../../renderer/components/workloads-deployments/deployments.store";
|
||||
export type { DaemonSetStore } from "../../renderer/components/workloads-daemonsets/daemonsets.store";
|
||||
export type { StatefulSetStore } from "../../renderer/components/workloads-statefulsets/statefulset.store";
|
||||
export type { JobStore } from "../../renderer/components/workloads-jobs/job.store";
|
||||
export type { CronJobStore } from "../../renderer/components/workloads-cronjobs/cronjob.store";
|
||||
export type { ConfigMapsStore } from "../../renderer/components/config-maps/config-maps.store";
|
||||
export type { SecretsStore } from "../../renderer/components/config-secrets/secrets.store";
|
||||
export type { ReplicaSetStore } from "../../renderer/components/workloads-replicasets/replicasets.store";
|
||||
export type { ResourceQuotasStore } from "../../renderer/components/config-resource-quotas/resource-quotas.store";
|
||||
export type { LimitRangesStore } from "../../renderer/components/config-limit-ranges/limit-ranges.store";
|
||||
export type { HPAStore } from "../../renderer/components/config-autoscalers/hpa.store";
|
||||
export type { PodDisruptionBudgetsStore } from "../../renderer/components/config-pod-disruption-budgets/pod-disruption-budgets.store";
|
||||
export type { ServiceStore } from "../../renderer/components/network-services/services.store";
|
||||
export type { EndpointStore } from "../../renderer/components/network-endpoints/endpoints.store";
|
||||
export type { IngressStore } from "../../renderer/components/network-ingresses/ingress.store";
|
||||
export type { NetworkPolicyStore } from "../../renderer/components/network-policies/network-policy.store";
|
||||
export type { PersistentVolumesStore } from "../../renderer/components/storage-volumes/volumes.store";
|
||||
export type { VolumeClaimStore } from "../../renderer/components/storage-volume-claims/volume-claim.store";
|
||||
export type { StorageClassStore } from "../../renderer/components/storage-classes/storage-class.store";
|
||||
export type { NamespaceStore } from "../../renderer/components/namespaces/namespace.store";
|
||||
export type { ServiceAccountsStore } from "../../renderer/components/user-management/service-accounts/store";
|
||||
export type { RolesStore } from "../../renderer/components/user-management/roles/store";
|
||||
export type { RoleBindingsStore } from "../../renderer/components/user-management/role-bindings/store";
|
||||
export type { CRDStore } from "../../renderer/components/custom-resources/crd.store";
|
||||
export type { CRDResourceStore } from "../../renderer/components/custom-resources/crd-resource.store";
|
||||
|
||||
@ -39,7 +39,7 @@ import { ExtensionLoader } from "../extensions/extension-loader";
|
||||
import { App } from "./components/app";
|
||||
import { LensApp } from "./lens-app";
|
||||
import { HelmRepoManager } from "../main/helm/helm-repo-manager";
|
||||
import { ExtensionInstallationStateStore } from "./components/+extensions/extension-install.store";
|
||||
import { ExtensionInstallationStateStore } from "./components/extensions/extension-install.store";
|
||||
import { DefaultProps } from "./mui-base-theme";
|
||||
import configurePackages from "../common/configure-packages";
|
||||
import * as initializers from "./initializers";
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
import { cronJobStore } from "../+workloads-cronjobs/cronjob.store";
|
||||
import { cronJobStore } from "../workloads-cronjobs/cronjob.store";
|
||||
import { CronJob } from "../../../common/k8s-api/endpoints";
|
||||
|
||||
const spec = {
|
||||
|
||||
@ -20,8 +20,8 @@
|
||||
*/
|
||||
|
||||
import { observable } from "mobx";
|
||||
import { daemonSetStore } from "../+workloads-daemonsets/daemonsets.store";
|
||||
import { podsStore } from "../+workloads-pods/pods.store";
|
||||
import { daemonSetStore } from "../workloads-daemonsets/daemonsets.store";
|
||||
import { podsStore } from "../workloads-pods/pods.store";
|
||||
import { DaemonSet, Pod } from "../../../common/k8s-api/endpoints";
|
||||
|
||||
const runningDaemonSet = new DaemonSet({
|
||||
|
||||
@ -20,8 +20,8 @@
|
||||
*/
|
||||
|
||||
import { observable } from "mobx";
|
||||
import { deploymentStore } from "../+workloads-deployments/deployments.store";
|
||||
import { podsStore } from "../+workloads-pods/pods.store";
|
||||
import { deploymentStore } from "../workloads-deployments/deployments.store";
|
||||
import { podsStore } from "../workloads-pods/pods.store";
|
||||
import { Deployment, Pod } from "../../../common/k8s-api/endpoints";
|
||||
|
||||
const spec = {
|
||||
|
||||
@ -20,8 +20,8 @@
|
||||
*/
|
||||
|
||||
import { observable } from "mobx";
|
||||
import { jobStore } from "../+workloads-jobs/job.store";
|
||||
import { podsStore } from "../+workloads-pods/pods.store";
|
||||
import { jobStore } from "../workloads-jobs/job.store";
|
||||
import { podsStore } from "../workloads-pods/pods.store";
|
||||
import { Job, Pod } from "../../../common/k8s-api/endpoints";
|
||||
|
||||
const runningJob = new Job({
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
*/
|
||||
|
||||
import { Pod } from "../../../common/k8s-api/endpoints";
|
||||
import { podsStore } from "../+workloads-pods/pods.store";
|
||||
import { podsStore } from "../workloads-pods/pods.store";
|
||||
|
||||
const runningPod = new Pod({
|
||||
apiVersion: "foo",
|
||||
|
||||
@ -20,8 +20,8 @@
|
||||
*/
|
||||
|
||||
import { observable } from "mobx";
|
||||
import { podsStore } from "../+workloads-pods/pods.store";
|
||||
import { replicaSetStore } from "../+workloads-replicasets/replicasets.store";
|
||||
import { podsStore } from "../workloads-pods/pods.store";
|
||||
import { replicaSetStore } from "../workloads-replicasets/replicasets.store";
|
||||
import { ReplicaSet, Pod } from "../../../common/k8s-api/endpoints";
|
||||
|
||||
const runningReplicaSet = new ReplicaSet({
|
||||
|
||||
@ -20,8 +20,8 @@
|
||||
*/
|
||||
|
||||
import { observable } from "mobx";
|
||||
import { podsStore } from "../+workloads-pods/pods.store";
|
||||
import { statefulSetStore } from "../+workloads-statefulsets/statefulset.store";
|
||||
import { podsStore } from "../workloads-pods/pods.store";
|
||||
import { statefulSetStore } from "../workloads-statefulsets/statefulset.store";
|
||||
import { StatefulSet, Pod } from "../../../common/k8s-api/endpoints";
|
||||
|
||||
const runningStatefulSet = new StatefulSet({
|
||||
|
||||
@ -23,14 +23,14 @@ import { observable, makeObservable, reaction } from "mobx";
|
||||
import { disposeOnUnmount, observer } from "mobx-react";
|
||||
import { Redirect, Route, Router, Switch } from "react-router";
|
||||
import { history } from "../navigation";
|
||||
import { NotFound } from "./+404";
|
||||
import { UserManagement } from "./+user-management/user-management";
|
||||
import { NotFound } from "./404";
|
||||
import { UserManagement } from "./user-management/user-management";
|
||||
import { ConfirmDialog } from "./confirm-dialog";
|
||||
import { ClusterOverview } from "./+cluster/cluster-overview";
|
||||
import { Events } from "./+events/events";
|
||||
import { DeploymentScaleDialog } from "./+workloads-deployments/deployment-scale-dialog";
|
||||
import { CronJobTriggerDialog } from "./+workloads-cronjobs/cronjob-trigger-dialog";
|
||||
import { CustomResources } from "./+custom-resources/custom-resources";
|
||||
import { ClusterOverview } from "./cluster/cluster-overview";
|
||||
import { Events } from "./events/events";
|
||||
import { DeploymentScaleDialog } from "./workloads-deployments/deployment-scale-dialog";
|
||||
import { CronJobTriggerDialog } from "./workloads-cronjobs/cronjob-trigger-dialog";
|
||||
import { CustomResources } from "./custom-resources/custom-resources";
|
||||
import { isAllowedResource } from "../../common/utils/allowed-resource";
|
||||
import logger from "../../main/logger";
|
||||
import { webFrame } from "electron";
|
||||
@ -41,12 +41,12 @@ import { requestMain } from "../../common/ipc";
|
||||
import whatInput from "what-input";
|
||||
import { clusterSetFrameIdHandler } from "../../common/cluster-ipc";
|
||||
import { ClusterPageMenuRegistration, ClusterPageMenuRegistry } from "../../extensions/registries";
|
||||
import { StatefulSetScaleDialog } from "./+workloads-statefulsets/statefulset-scale-dialog";
|
||||
import { eventStore } from "./+events/event.store";
|
||||
import { nodesStore } from "./+nodes/nodes.store";
|
||||
import { podsStore } from "./+workloads-pods/pods.store";
|
||||
import { StatefulSetScaleDialog } from "./workloads-statefulsets/statefulset-scale-dialog";
|
||||
import { eventStore } from "./events/event.store";
|
||||
import { nodesStore } from "./nodes/nodes.store";
|
||||
import { podsStore } from "./workloads-pods/pods.store";
|
||||
import { kubeWatchApi } from "../../common/k8s-api/kube-watch-api";
|
||||
import { ReplicaSetScaleDialog } from "./+workloads-replicasets/replicaset-scale-dialog";
|
||||
import { ReplicaSetScaleDialog } from "./workloads-replicasets/replicaset-scale-dialog";
|
||||
import { CommandContainer } from "./command-palette/command-container";
|
||||
import { KubeObjectStore } from "../../common/k8s-api/kube-object.store";
|
||||
import { clusterContext } from "./context";
|
||||
@ -58,16 +58,16 @@ import { Notifications } from "./notifications";
|
||||
import { KubeObjectDetails } from "./kube-object-details";
|
||||
import { KubeConfigDialog } from "./kubeconfig-dialog";
|
||||
import { Terminal } from "./dock/terminal";
|
||||
import { namespaceStore } from "./+namespaces/namespace.store";
|
||||
import { namespaceStore } from "./namespaces/namespace.store";
|
||||
import { Sidebar } from "./layout/sidebar";
|
||||
import { Dock } from "./dock";
|
||||
import { Apps } from "./+apps";
|
||||
import { Namespaces } from "./+namespaces";
|
||||
import { Network } from "./+network";
|
||||
import { Nodes } from "./+nodes";
|
||||
import { Workloads } from "./+workloads";
|
||||
import { Config } from "./+config";
|
||||
import { Storage } from "./+storage";
|
||||
import { Apps } from "./apps";
|
||||
import { Namespaces } from "./namespaces";
|
||||
import { Network } from "./network";
|
||||
import { Nodes } from "./nodes";
|
||||
import { Workloads } from "./workloads";
|
||||
import { Config } from "./config";
|
||||
import { Storage } from "./storage";
|
||||
import { catalogEntityRegistry } from "../api/catalog-entity-registry";
|
||||
import { getHostedClusterId } from "../utils";
|
||||
import { ClusterStore } from "../../common/cluster-store";
|
||||
|
||||
@ -42,7 +42,7 @@ import { createUpgradeChartTab } from "../dock/upgrade-chart.store";
|
||||
import { ThemeStore } from "../../theme.store";
|
||||
import { apiManager } from "../../../common/k8s-api/api-manager";
|
||||
import { SubTitle } from "../layout/sub-title";
|
||||
import { secretsStore } from "../+config-secrets/secrets.store";
|
||||
import { secretsStore } from "../config-secrets/secrets.store";
|
||||
import { Secret } from "../../../common/k8s-api/endpoints";
|
||||
import { getDetailsUrl } from "../kube-detail-params";
|
||||
import { Checkbox } from "../checkbox";
|
||||
|
||||
@ -25,8 +25,8 @@ import { autoBind } from "../../utils";
|
||||
import { createRelease, deleteRelease, HelmRelease, IReleaseCreatePayload, IReleaseUpdatePayload, listReleases, rollbackRelease, updateRelease } from "../../../common/k8s-api/endpoints/helm-releases.api";
|
||||
import { ItemStore } from "../../../common/item.store";
|
||||
import type { Secret } from "../../../common/k8s-api/endpoints";
|
||||
import { secretsStore } from "../+config-secrets/secrets.store";
|
||||
import { namespaceStore } from "../+namespaces/namespace.store";
|
||||
import { secretsStore } from "../config-secrets/secrets.store";
|
||||
import { namespaceStore } from "../namespaces/namespace.store";
|
||||
import { Notifications } from "../notifications";
|
||||
|
||||
export class ReleaseStore extends ItemStore<HelmRelease> {
|
||||
|
||||
@ -32,11 +32,11 @@ import { ReleaseRollbackDialog } from "./release-rollback-dialog";
|
||||
import { navigation } from "../../navigation";
|
||||
import { ItemListLayout } from "../item-object-list/item-list-layout";
|
||||
import { HelmReleaseMenu } from "./release-menu";
|
||||
import { secretsStore } from "../+config-secrets/secrets.store";
|
||||
import { NamespaceSelectFilter } from "../+namespaces/namespace-select-filter";
|
||||
import { secretsStore } from "../config-secrets/secrets.store";
|
||||
import { NamespaceSelectFilter } from "../namespaces/namespace-select-filter";
|
||||
import type { ReleaseRouteParams } from "../../../common/routes";
|
||||
import { releaseURL } from "../../../common/routes";
|
||||
import { namespaceStore } from "../+namespaces/namespace.store";
|
||||
import { namespaceStore } from "../namespaces/namespace.store";
|
||||
|
||||
enum columnId {
|
||||
name = "name",
|
||||
|
||||
@ -22,8 +22,8 @@
|
||||
import React from "react";
|
||||
import { observer } from "mobx-react";
|
||||
import { TabLayout, TabLayoutRoute } from "../layout/tab-layout";
|
||||
import { HelmCharts } from "../+apps-helm-charts";
|
||||
import { HelmReleases } from "../+apps-releases";
|
||||
import { HelmCharts } from "../apps-helm-charts";
|
||||
import { HelmReleases } from "../apps-releases";
|
||||
import { helmChartsURL, helmChartsRoute, releaseURL, releaseRoute } from "../../../common/routes";
|
||||
|
||||
@observer
|
||||
|
||||
@ -25,15 +25,15 @@ import React from "react";
|
||||
import { Redirect, Route, Switch } from "react-router";
|
||||
import { observer } from "mobx-react";
|
||||
import { BottomBar } from "./bottom-bar";
|
||||
import { Catalog } from "../+catalog";
|
||||
import { Preferences } from "../+preferences";
|
||||
import { AddCluster } from "../+add-cluster";
|
||||
import { Catalog } from "../catalog";
|
||||
import { Preferences } from "../preferences";
|
||||
import { AddCluster } from "../add-cluster";
|
||||
import { ClusterView } from "./cluster-view";
|
||||
import { GlobalPageRegistry } from "../../../extensions/registries/page-registry";
|
||||
import { Extensions } from "../+extensions";
|
||||
import { Extensions } from "../extensions";
|
||||
import { HotbarMenu } from "../hotbar/hotbar-menu";
|
||||
import { EntitySettings } from "../+entity-settings";
|
||||
import { Welcome } from "../+welcome";
|
||||
import { EntitySettings } from "../entity-settings";
|
||||
import { Welcome } from "../welcome";
|
||||
import * as routes from "../../../common/routes";
|
||||
|
||||
@observer
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
import { observer } from "mobx-react";
|
||||
import React from "react";
|
||||
|
||||
import { previousActiveTab } from "../+catalog";
|
||||
import { previousActiveTab } from "../catalog";
|
||||
import { ClusterStore } from "../../../common/cluster-store";
|
||||
import { catalogURL } from "../../../common/routes";
|
||||
import { navigate } from "../../navigation";
|
||||
|
||||
@ -33,7 +33,7 @@ import { clusterActivateHandler } from "../../../common/cluster-ipc";
|
||||
import { catalogEntityRegistry } from "../../api/catalog-entity-registry";
|
||||
import { navigate } from "../../navigation";
|
||||
import { catalogURL, ClusterViewRouteParams } from "../../../common/routes";
|
||||
import { previousActiveTab } from "../+catalog";
|
||||
import { previousActiveTab } from "../catalog";
|
||||
import { ClusterTopbar } from "./cluster-topbar";
|
||||
|
||||
interface Props extends RouteComponentProps<ClusterViewRouteParams> {
|
||||
|
||||
@ -25,7 +25,7 @@ import { observer } from "mobx-react";
|
||||
import { SubTitle } from "../../layout/sub-title";
|
||||
import { boundMethod } from "../../../../common/utils";
|
||||
import { shell } from "electron";
|
||||
import { Notice } from "../../+extensions/notice";
|
||||
import { Notice } from "../../extensions/notice";
|
||||
|
||||
interface Props {
|
||||
cluster: Cluster;
|
||||
|
||||
@ -25,7 +25,7 @@ import type { Cluster } from "../../../../main/cluster";
|
||||
import { observable, reaction, makeObservable } from "mobx";
|
||||
import { Badge } from "../../badge/badge";
|
||||
import { Icon } from "../../icon/icon";
|
||||
import { Notice } from "../../+extensions/notice";
|
||||
import { Notice } from "../../extensions/notice";
|
||||
|
||||
interface Props {
|
||||
cluster: Cluster;
|
||||
|
||||
@ -27,8 +27,8 @@ import { computed, makeObservable } from "mobx";
|
||||
import { Icon } from "../icon";
|
||||
import { SubHeader } from "../layout/sub-header";
|
||||
import { Table, TableCell, TableHead, TableRow } from "../table";
|
||||
import { nodesStore } from "../+nodes/nodes.store";
|
||||
import { eventStore } from "../+events/event.store";
|
||||
import { nodesStore } from "../nodes/nodes.store";
|
||||
import { eventStore } from "../events/event.store";
|
||||
import { boundMethod, cssNames, prevDefault } from "../../utils";
|
||||
import type { ItemObject } from "../../../common/item.store";
|
||||
import { Spinner } from "../spinner";
|
||||
|
||||
@ -23,7 +23,7 @@ import "./cluster-metric-switchers.scss";
|
||||
|
||||
import React from "react";
|
||||
import { observer } from "mobx-react";
|
||||
import { nodesStore } from "../+nodes/nodes.store";
|
||||
import { nodesStore } from "../nodes/nodes.store";
|
||||
import { cssNames } from "../../utils";
|
||||
import { Radio, RadioGroup } from "../radio";
|
||||
import { clusterOverviewStore, MetricNodeRole, MetricType } from "./cluster-overview.store";
|
||||
|
||||
@ -24,7 +24,7 @@ import { KubeObjectStore } from "../../../common/k8s-api/kube-object.store";
|
||||
import { Cluster, clusterApi, getMetricsByNodeNames, IClusterMetrics } from "../../../common/k8s-api/endpoints";
|
||||
import { autoBind, createStorage } from "../../utils";
|
||||
import { IMetricsReqParams, normalizeMetrics } from "../../../common/k8s-api/endpoints/metrics.api";
|
||||
import { nodesStore } from "../+nodes/nodes.store";
|
||||
import { nodesStore } from "../nodes/nodes.store";
|
||||
import { apiManager } from "../../../common/k8s-api/api-manager";
|
||||
|
||||
export enum MetricType {
|
||||
|
||||
@ -24,8 +24,8 @@ import "./cluster-overview.scss";
|
||||
import React from "react";
|
||||
import { reaction } from "mobx";
|
||||
import { disposeOnUnmount, observer } from "mobx-react";
|
||||
import { nodesStore } from "../+nodes/nodes.store";
|
||||
import { podsStore } from "../+workloads-pods/pods.store";
|
||||
import { nodesStore } from "../nodes/nodes.store";
|
||||
import { podsStore } from "../workloads-pods/pods.store";
|
||||
import { getHostedClusterId, interval } from "../../utils";
|
||||
import { TabLayout } from "../layout/tab-layout";
|
||||
import { Spinner } from "../spinner";
|
||||
|
||||
@ -26,7 +26,7 @@ import { observer } from "mobx-react";
|
||||
import { clusterOverviewStore, MetricNodeRole } from "./cluster-overview.store";
|
||||
import { Spinner } from "../spinner";
|
||||
import { Icon } from "../icon";
|
||||
import { nodesStore } from "../+nodes/nodes.store";
|
||||
import { nodesStore } from "../nodes/nodes.store";
|
||||
import { ChartData, PieChart } from "../chart";
|
||||
import { ClusterNoMetrics } from "./cluster-no-metrics";
|
||||
import { bytesToUnits } from "../../utils";
|
||||
|
||||
@ -33,7 +33,7 @@ import { Select } from "../select";
|
||||
import { Icon } from "../icon";
|
||||
import { Button } from "../button";
|
||||
import { Notifications } from "../notifications";
|
||||
import { NamespaceSelect } from "../+namespaces/namespace-select";
|
||||
import { NamespaceSelect } from "../namespaces/namespace-select";
|
||||
import { SubTitle } from "../layout/sub-title";
|
||||
|
||||
interface Props extends DialogProps {
|
||||
|
||||
@ -30,7 +30,7 @@ import { Input } from "../input";
|
||||
import { systemName } from "../input/input_validators";
|
||||
import { Secret, secretsApi, SecretType } from "../../../common/k8s-api/endpoints";
|
||||
import { SubTitle } from "../layout/sub-title";
|
||||
import { NamespaceSelect } from "../+namespaces/namespace-select";
|
||||
import { NamespaceSelect } from "../namespaces/namespace-select";
|
||||
import { Select, SelectOption } from "../select";
|
||||
import { Icon } from "../icon";
|
||||
import type { KubeObjectMetadata } from "../../../common/k8s-api/kube-object";
|
||||
|
||||
@ -22,13 +22,13 @@
|
||||
import React from "react";
|
||||
import { observer } from "mobx-react";
|
||||
import { TabLayout, TabLayoutRoute } from "../layout/tab-layout";
|
||||
import { ConfigMaps } from "../+config-maps";
|
||||
import { Secrets } from "../+config-secrets";
|
||||
import { ResourceQuotas } from "../+config-resource-quotas";
|
||||
import { PodDisruptionBudgets } from "../+config-pod-disruption-budgets";
|
||||
import { HorizontalPodAutoscalers } from "../+config-autoscalers";
|
||||
import { ConfigMaps } from "../config-maps";
|
||||
import { Secrets } from "../config-secrets";
|
||||
import { ResourceQuotas } from "../config-resource-quotas";
|
||||
import { PodDisruptionBudgets } from "../config-pod-disruption-budgets";
|
||||
import { HorizontalPodAutoscalers } from "../config-autoscalers";
|
||||
import { isAllowedResource } from "../../../common/utils/allowed-resource";
|
||||
import { LimitRanges } from "../+config-limit-ranges";
|
||||
import { LimitRanges } from "../config-limit-ranges";
|
||||
import * as routes from "../../../common/routes";
|
||||
|
||||
@observer
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
import { ClusterStore } from "../../common/cluster-store";
|
||||
import type { Cluster } from "../../main/cluster";
|
||||
import { getHostedClusterId } from "../utils";
|
||||
import { namespaceStore } from "./+namespaces/namespace.store";
|
||||
import { namespaceStore } from "./namespaces/namespace.store";
|
||||
import type { ClusterContext } from "../../common/k8s-api/cluster-context";
|
||||
|
||||
export const clusterContext: ClusterContext = {
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
import { podsStore } from "../../+workloads-pods/pods.store";
|
||||
import { podsStore } from "../../workloads-pods/pods.store";
|
||||
import { UserStore } from "../../../../common/user-store";
|
||||
import { Pod } from "../../../../common/k8s-api/endpoints";
|
||||
import { ThemeStore } from "../../../theme.store";
|
||||
|
||||
@ -27,13 +27,13 @@ import { observer } from "mobx-react";
|
||||
import { dockStore, DockTab } from "./dock.store";
|
||||
import { InfoPanel } from "./info-panel";
|
||||
import { Badge } from "../badge";
|
||||
import { NamespaceSelect } from "../+namespaces/namespace-select";
|
||||
import { NamespaceSelect } from "../namespaces/namespace-select";
|
||||
import { boundMethod, prevDefault } from "../../utils";
|
||||
import { IChartInstallData, installChartStore } from "./install-chart.store";
|
||||
import { Spinner } from "../spinner";
|
||||
import { Icon } from "../icon";
|
||||
import { Button } from "../button";
|
||||
import { releaseStore } from "../+apps-releases/release.store";
|
||||
import { releaseStore } from "../apps-releases/release.store";
|
||||
import { LogsDialog } from "../dialog/logs-dialog";
|
||||
import { Select, SelectOption } from "../select";
|
||||
import { Input } from "../input";
|
||||
|
||||
@ -28,7 +28,7 @@ import { Pod } from "../../../common/k8s-api/endpoints";
|
||||
import { Badge } from "../badge";
|
||||
import { Select, SelectOption } from "../select";
|
||||
import { LogTabData, logTabStore } from "./log-tab.store";
|
||||
import { podsStore } from "../+workloads-pods/pods.store";
|
||||
import { podsStore } from "../workloads-pods/pods.store";
|
||||
import type { TabId } from "./dock.store";
|
||||
|
||||
interface Props {
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
|
||||
import uniqueId from "lodash/uniqueId";
|
||||
import { reaction } from "mobx";
|
||||
import { podsStore } from "../+workloads-pods/pods.store";
|
||||
import { podsStore } from "../workloads-pods/pods.store";
|
||||
|
||||
import { IPodContainer, Pod } from "../../../common/k8s-api/endpoints";
|
||||
import type { WorkloadKubeObject } from "../../../common/k8s-api/workload-kube-object";
|
||||
|
||||
@ -23,7 +23,7 @@ import { action, autorun, computed, IReactionDisposer, reaction, makeObservable
|
||||
import { dockStore, DockTab, DockTabCreateSpecific, TabId, TabKind } from "./dock.store";
|
||||
import { DockTabStore } from "./dock-tab.store";
|
||||
import { getReleaseValues, HelmRelease } from "../../../common/k8s-api/endpoints/helm-releases.api";
|
||||
import { releaseStore } from "../+apps-releases/release.store";
|
||||
import { releaseStore } from "../apps-releases/release.store";
|
||||
import { iter } from "../../utils";
|
||||
import { monacoModelsManager } from "./monaco-model-manager";
|
||||
|
||||
|
||||
@ -29,10 +29,10 @@ import type { DockTab } from "./dock.store";
|
||||
import { InfoPanel } from "./info-panel";
|
||||
import { upgradeChartStore } from "./upgrade-chart.store";
|
||||
import { Spinner } from "../spinner";
|
||||
import { releaseStore } from "../+apps-releases/release.store";
|
||||
import { releaseStore } from "../apps-releases/release.store";
|
||||
import { Badge } from "../badge";
|
||||
import { EditorPanel } from "./editor-panel";
|
||||
import { helmChartStore, IChartVersion } from "../+apps-helm-charts/helm-chart.store";
|
||||
import { helmChartStore, IChartVersion } from "../apps-helm-charts/helm-chart.store";
|
||||
import type { HelmRelease } from "../../../common/k8s-api/endpoints/helm-releases.api";
|
||||
import { Select, SelectOption } from "../select";
|
||||
|
||||
|
||||
@ -26,7 +26,7 @@ import { autoBind } from "../../utils";
|
||||
import { eventApi, KubeEvent } from "../../../common/k8s-api/endpoints/events.api";
|
||||
import type { KubeObject } from "../../../common/k8s-api/kube-object";
|
||||
import { Pod } from "../../../common/k8s-api/endpoints/pods.api";
|
||||
import { podsStore } from "../+workloads-pods/pods.store";
|
||||
import { podsStore } from "../workloads-pods/pods.store";
|
||||
import { apiManager } from "../../../common/k8s-api/api-manager";
|
||||
|
||||
export class EventStore extends KubeObjectStore<KubeEvent> {
|
||||
|
||||
@ -40,7 +40,7 @@ import { MenuActions } from "../menu/menu-actions";
|
||||
import { MenuItem } from "../menu";
|
||||
import { Checkbox } from "../checkbox";
|
||||
import { UserStore } from "../../../common/user-store";
|
||||
import { namespaceStore } from "../+namespaces/namespace.store";
|
||||
import { namespaceStore } from "../namespaces/namespace.store";
|
||||
|
||||
|
||||
|
||||
|
||||
@ -28,11 +28,11 @@ import { Drawer } from "../drawer";
|
||||
import type { KubeObject } from "../../../common/k8s-api/kube-object";
|
||||
import { Spinner } from "../spinner";
|
||||
import { apiManager } from "../../../common/k8s-api/api-manager";
|
||||
import { crdStore } from "../+custom-resources/crd.store";
|
||||
import { crdStore } from "../custom-resources/crd.store";
|
||||
import { KubeObjectMenu } from "../kube-object-menu";
|
||||
import { KubeObjectDetailRegistry } from "../../api/kube-object-detail-registry";
|
||||
import logger from "../../../main/logger";
|
||||
import { CrdResourceDetails } from "../+custom-resources";
|
||||
import { CrdResourceDetails } from "../custom-resources";
|
||||
import { KubeObjectMeta } from "../kube-object-meta";
|
||||
import { hideDetails, kubeDetailsUrlParam } from "../kube-detail-params";
|
||||
|
||||
|
||||
@ -29,7 +29,7 @@ import type { KubeObjectStore } from "../../../common/k8s-api/kube-object.store"
|
||||
import { KubeObjectMenu } from "../kube-object-menu";
|
||||
import { kubeWatchApi } from "../../../common/k8s-api/kube-watch-api";
|
||||
import { clusterContext } from "../context";
|
||||
import { NamespaceSelectFilter } from "../+namespaces/namespace-select-filter";
|
||||
import { NamespaceSelectFilter } from "../namespaces/namespace-select-filter";
|
||||
import { ResourceKindMap, ResourceNames } from "../../utils/rbac";
|
||||
import { kubeSelectedUrlParam, showDetails } from "../kube-detail-params";
|
||||
|
||||
|
||||
@ -26,20 +26,20 @@ import React from "react";
|
||||
import { observer } from "mobx-react";
|
||||
import { cssNames } from "../../utils";
|
||||
import { Icon } from "../icon";
|
||||
import { Workloads } from "../+workloads";
|
||||
import { UserManagement } from "../+user-management";
|
||||
import { Storage } from "../+storage";
|
||||
import { Network } from "../+network";
|
||||
import { crdStore } from "../+custom-resources/crd.store";
|
||||
import { CustomResources } from "../+custom-resources/custom-resources";
|
||||
import { Workloads } from "../workloads";
|
||||
import { UserManagement } from "../user-management";
|
||||
import { Storage } from "../storage";
|
||||
import { Network } from "../network";
|
||||
import { crdStore } from "../custom-resources/crd.store";
|
||||
import { CustomResources } from "../custom-resources/custom-resources";
|
||||
import { isActiveRoute } from "../../navigation";
|
||||
import { isAllowedResource } from "../../../common/utils/allowed-resource";
|
||||
import { Spinner } from "../spinner";
|
||||
import { ClusterPageMenuRegistration, ClusterPageMenuRegistry, ClusterPageRegistry, getExtensionPageUrl } from "../../../extensions/registries";
|
||||
import { SidebarItem } from "./sidebar-item";
|
||||
import { Apps } from "../+apps";
|
||||
import { Apps } from "../apps";
|
||||
import * as routes from "../../../common/routes";
|
||||
import { Config } from "../+config";
|
||||
import { Config } from "../config";
|
||||
|
||||
interface Props {
|
||||
className?: string;
|
||||
|
||||
@ -30,11 +30,11 @@ import { getMetricsForNamespace, IPodMetrics, Namespace } from "../../../common/
|
||||
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
||||
import { Link } from "react-router-dom";
|
||||
import { Spinner } from "../spinner";
|
||||
import { resourceQuotaStore } from "../+config-resource-quotas/resource-quotas.store";
|
||||
import { resourceQuotaStore } from "../config-resource-quotas/resource-quotas.store";
|
||||
import { KubeObjectMeta } from "../kube-object-meta";
|
||||
import { limitRangeStore } from "../+config-limit-ranges/limit-ranges.store";
|
||||
import { limitRangeStore } from "../config-limit-ranges/limit-ranges.store";
|
||||
import { ResourceMetrics } from "../resource-metrics";
|
||||
import { PodCharts, podMetricTabs } from "../+workloads-pods/pod-charts";
|
||||
import { PodCharts, podMetricTabs } from "../workloads-pods/pod-charts";
|
||||
import { ClusterMetricsResourceType } from "../../../common/cluster-types";
|
||||
import { getActiveClusterEntity } from "../../api/catalog-entity-registry";
|
||||
import { getDetailsUrl } from "../kube-detail-params";
|
||||
|
||||
@ -24,7 +24,7 @@ import { observer } from "mobx-react";
|
||||
import React from "react";
|
||||
import { Table, TableHead, TableCell, TableRow } from "../table";
|
||||
import { prevDefault } from "../../utils";
|
||||
import { endpointStore } from "../+network-endpoints/endpoints.store";
|
||||
import { endpointStore } from "../network-endpoints/endpoints.store";
|
||||
import { Spinner } from "../spinner";
|
||||
import { showDetails } from "../kube-detail-params";
|
||||
|
||||
|
||||
@ -29,7 +29,7 @@ import type { KubeObjectDetailsProps } from "../kube-object-details";
|
||||
import type { Service } from "../../../common/k8s-api/endpoints";
|
||||
import { KubeObjectMeta } from "../kube-object-meta";
|
||||
import { ServicePortComponent } from "./service-port-component";
|
||||
import { endpointStore } from "../+network-endpoints/endpoints.store";
|
||||
import { endpointStore } from "../network-endpoints/endpoints.store";
|
||||
import { ServiceDetailsEndpoint } from "./service-details-endpoint";
|
||||
import { kubeWatchApi } from "../../../common/k8s-api/kube-watch-api";
|
||||
|
||||
|
||||
@ -24,10 +24,10 @@ import "./network.scss";
|
||||
import React from "react";
|
||||
import { observer } from "mobx-react";
|
||||
import { TabLayout, TabLayoutRoute } from "../layout/tab-layout";
|
||||
import { Services } from "../+network-services";
|
||||
import { Endpoints } from "../+network-endpoints";
|
||||
import { Ingresses } from "../+network-ingresses";
|
||||
import { NetworkPolicies } from "../+network-policies";
|
||||
import { Services } from "../network-services";
|
||||
import { Endpoints } from "../network-endpoints";
|
||||
import { Ingresses } from "../network-ingresses";
|
||||
import { NetworkPolicies } from "../network-policies";
|
||||
import { isAllowedResource } from "../../../common/utils/allowed-resource";
|
||||
import * as routes from "../../../common/routes";
|
||||
|
||||
|
||||
@ -28,12 +28,12 @@ import { disposeOnUnmount, observer } from "mobx-react";
|
||||
import { DrawerItem, DrawerItemLabels } from "../drawer";
|
||||
import { Badge } from "../badge";
|
||||
import { ResourceMetrics } from "../resource-metrics";
|
||||
import { podsStore } from "../+workloads-pods/pods.store";
|
||||
import { podsStore } from "../workloads-pods/pods.store";
|
||||
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
||||
import { getMetricsByNodeNames, IClusterMetrics, Node } from "../../../common/k8s-api/endpoints";
|
||||
import { NodeCharts } from "./node-charts";
|
||||
import { makeObservable, observable, reaction } from "mobx";
|
||||
import { PodDetailsList } from "../+workloads-pods/pod-details-list";
|
||||
import { PodDetailsList } from "../workloads-pods/pod-details-list";
|
||||
import { KubeObjectMeta } from "../kube-object-meta";
|
||||
import { getActiveClusterEntity } from "../../api/catalog-entity-registry";
|
||||
import { ClusterMetricsResourceType } from "../../../common/cluster-types";
|
||||
|
||||
@ -35,7 +35,7 @@ import kebabCase from "lodash/kebabCase";
|
||||
import upperFirst from "lodash/upperFirst";
|
||||
import { KubeObjectStatusIcon } from "../kube-object-status-icon";
|
||||
import { Badge } from "../badge/badge";
|
||||
import { eventStore } from "../+events/event.store";
|
||||
import { eventStore } from "../events/event.store";
|
||||
import type { NodesRouteParams } from "../../../common/routes";
|
||||
import { makeObservable, observable } from "mobx";
|
||||
import isEmpty from "lodash/isEmpty";
|
||||
|
||||
@ -32,7 +32,7 @@ import { Select, SelectOption } from "../select";
|
||||
import { AddHelmRepoDialog } from "./add-helm-repo-dialog";
|
||||
import { observer } from "mobx-react";
|
||||
import { RemovableItem } from "./removable-item";
|
||||
import { Notice } from "../+extensions/notice";
|
||||
import { Notice } from "../extensions/notice";
|
||||
import { Spinner } from "../spinner";
|
||||
|
||||
@observer
|
||||
|
||||
@ -22,7 +22,7 @@ import fse from "fs-extra";
|
||||
import { action, computed, makeObservable, observable, reaction } from "mobx";
|
||||
import { disposeOnUnmount, observer } from "mobx-react";
|
||||
import React from "react";
|
||||
import { Notice } from "../+extensions/notice";
|
||||
import { Notice } from "../extensions/notice";
|
||||
|
||||
import { KubeconfigSyncEntry, KubeconfigSyncValue, UserStore } from "../../../common/user-store";
|
||||
import { isWindows } from "../../../common/vars";
|
||||
|
||||
@ -30,8 +30,8 @@ import type { KubeObjectDetailsProps } from "../kube-object-details";
|
||||
import type { StorageClass } from "../../../common/k8s-api/endpoints";
|
||||
import { KubeObjectMeta } from "../kube-object-meta";
|
||||
import { storageClassStore } from "./storage-class.store";
|
||||
import { VolumeDetailsList } from "../+storage-volumes/volume-details-list";
|
||||
import { volumesStore } from "../+storage-volumes/volumes.store";
|
||||
import { VolumeDetailsList } from "../storage-volumes/volume-details-list";
|
||||
import { volumesStore } from "../storage-volumes/volumes.store";
|
||||
|
||||
interface Props extends KubeObjectDetailsProps<StorageClass> {
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ import { KubeObjectStore } from "../../../common/k8s-api/kube-object.store";
|
||||
import { autoBind } from "../../utils";
|
||||
import { StorageClass, storageClassApi } from "../../../common/k8s-api/endpoints/storage-class.api";
|
||||
import { apiManager } from "../../../common/k8s-api/api-manager";
|
||||
import { volumesStore } from "../+storage-volumes/volumes.store";
|
||||
import { volumesStore } from "../storage-volumes/volumes.store";
|
||||
|
||||
export class StorageClassStore extends KubeObjectStore<StorageClass> {
|
||||
api = storageClassApi;
|
||||
|
||||
@ -26,7 +26,7 @@ import { makeObservable, observable, reaction } from "mobx";
|
||||
import { disposeOnUnmount, observer } from "mobx-react";
|
||||
import { DrawerItem, DrawerTitle } from "../drawer";
|
||||
import { Badge } from "../badge";
|
||||
import { podsStore } from "../+workloads-pods/pods.store";
|
||||
import { podsStore } from "../workloads-pods/pods.store";
|
||||
import { Link } from "react-router-dom";
|
||||
import { ResourceMetrics } from "../resource-metrics";
|
||||
import { VolumeClaimDiskChart } from "./volume-claim-disk-chart";
|
||||
|
||||
@ -25,7 +25,7 @@ import React from "react";
|
||||
import { observer } from "mobx-react";
|
||||
import { Link, RouteComponentProps } from "react-router-dom";
|
||||
import { volumeClaimStore } from "./volume-claim.store";
|
||||
import { podsStore } from "../+workloads-pods/pods.store";
|
||||
import { podsStore } from "../workloads-pods/pods.store";
|
||||
import { KubeObjectListLayout } from "../kube-object-list-layout";
|
||||
import { unitsToBytes } from "../../../common/utils/convertMemory";
|
||||
import { stopPropagation } from "../../utils";
|
||||
|
||||
@ -24,9 +24,9 @@ import "./storage.scss";
|
||||
import React from "react";
|
||||
import { observer } from "mobx-react";
|
||||
import { TabLayout, TabLayoutRoute } from "../layout/tab-layout";
|
||||
import { PersistentVolumes } from "../+storage-volumes";
|
||||
import { StorageClasses } from "../+storage-classes";
|
||||
import { PersistentVolumeClaims } from "../+storage-volume-claims";
|
||||
import { PersistentVolumes } from "../storage-volumes";
|
||||
import { StorageClasses } from "../storage-classes";
|
||||
import { PersistentVolumeClaims } from "../storage-volume-claims";
|
||||
import { isAllowedResource } from "../../../common/utils/allowed-resource";
|
||||
import * as routes from "../../../common/routes";
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@ import { action, computed, makeObservable, observable, reaction } from "mobx";
|
||||
import { disposeOnUnmount, observer } from "mobx-react";
|
||||
import React from "react";
|
||||
|
||||
import { serviceAccountsStore } from "../+service-accounts/store";
|
||||
import { serviceAccountsStore } from "../service-accounts/store";
|
||||
import { ClusterRole, ClusterRoleBinding, ClusterRoleBindingSubject, ServiceAccount } from "../../../../common/k8s-api/endpoints";
|
||||
import { Dialog, DialogProps } from "../../dialog";
|
||||
import { EditableList } from "../../editable-list";
|
||||
@ -36,7 +36,7 @@ import { Notifications } from "../../notifications";
|
||||
import { Select, SelectOption } from "../../select";
|
||||
import { Wizard, WizardStep } from "../../wizard";
|
||||
import { clusterRoleBindingsStore } from "./store";
|
||||
import { clusterRolesStore } from "../+cluster-roles/store";
|
||||
import { clusterRolesStore } from "../cluster-roles/store";
|
||||
import { getRoleRefSelectOption, ServiceAccountOption } from "../select-options";
|
||||
import { ObservableHashSet, nFircate } from "../../../utils";
|
||||
import { Input } from "../../input";
|
||||
@ -28,8 +28,8 @@ import { KubeObjectListLayout } from "../../kube-object-list-layout";
|
||||
import { KubeObjectStatusIcon } from "../../kube-object-status-icon";
|
||||
import { ClusterRoleBindingDialog } from "./dialog";
|
||||
import { clusterRoleBindingsStore } from "./store";
|
||||
import { clusterRolesStore } from "../+cluster-roles/store";
|
||||
import { serviceAccountsStore } from "../+service-accounts/store";
|
||||
import { clusterRolesStore } from "../cluster-roles/store";
|
||||
import { serviceAccountsStore } from "../service-accounts/store";
|
||||
import type { ClusterRoleBindingsRouteParams } from "../../../../common/routes";
|
||||
|
||||
enum columnId {
|
||||
@ -25,9 +25,9 @@ import { computed, observable, makeObservable, action } from "mobx";
|
||||
import { observer } from "mobx-react";
|
||||
import React from "react";
|
||||
|
||||
import { rolesStore } from "../+roles/store";
|
||||
import { serviceAccountsStore } from "../+service-accounts/store";
|
||||
import { NamespaceSelect } from "../../+namespaces/namespace-select";
|
||||
import { rolesStore } from "../roles/store";
|
||||
import { serviceAccountsStore } from "../service-accounts/store";
|
||||
import { NamespaceSelect } from "../../namespaces/namespace-select";
|
||||
import { ClusterRole, Role, roleApi, RoleBinding, RoleBindingSubject, ServiceAccount } from "../../../../common/k8s-api/endpoints";
|
||||
import { Dialog, DialogProps } from "../../dialog";
|
||||
import { EditableList } from "../../editable-list";
|
||||
@ -38,7 +38,7 @@ import { Notifications } from "../../notifications";
|
||||
import { Select, SelectOption } from "../../select";
|
||||
import { Wizard, WizardStep } from "../../wizard";
|
||||
import { roleBindingsStore } from "./store";
|
||||
import { clusterRolesStore } from "../+cluster-roles/store";
|
||||
import { clusterRolesStore } from "../cluster-roles/store";
|
||||
import { Input } from "../../input";
|
||||
import { getRoleRefSelectOption, ServiceAccountOption } from "../select-options";
|
||||
import { ObservableHashSet, nFircate } from "../../../utils";
|
||||
@ -27,9 +27,9 @@ import { KubeObjectListLayout } from "../../kube-object-list-layout";
|
||||
import { KubeObjectStatusIcon } from "../../kube-object-status-icon";
|
||||
import { RoleBindingDialog } from "./dialog";
|
||||
import { roleBindingsStore } from "./store";
|
||||
import { rolesStore } from "../+roles/store";
|
||||
import { clusterRolesStore } from "../+cluster-roles/store";
|
||||
import { serviceAccountsStore } from "../+service-accounts/store";
|
||||
import { rolesStore } from "../roles/store";
|
||||
import { clusterRolesStore } from "../cluster-roles/store";
|
||||
import { serviceAccountsStore } from "../service-accounts/store";
|
||||
import type { RoleBindingsRouteParams } from "../../../../common/routes";
|
||||
|
||||
enum columnId {
|
||||
@ -25,7 +25,7 @@ import React from "react";
|
||||
import { observable, makeObservable } from "mobx";
|
||||
import { observer } from "mobx-react";
|
||||
|
||||
import { NamespaceSelect } from "../../+namespaces/namespace-select";
|
||||
import { NamespaceSelect } from "../../namespaces/namespace-select";
|
||||
import { Dialog, DialogProps } from "../../dialog";
|
||||
import { Input } from "../../input";
|
||||
import { showDetails } from "../../kube-detail-params";
|
||||
@ -25,7 +25,7 @@ import React from "react";
|
||||
import { makeObservable, observable } from "mobx";
|
||||
import { observer } from "mobx-react";
|
||||
|
||||
import { NamespaceSelect } from "../../+namespaces/namespace-select";
|
||||
import { NamespaceSelect } from "../../namespaces/namespace-select";
|
||||
import { Dialog, DialogProps } from "../../dialog";
|
||||
import { Input } from "../../input";
|
||||
import { systemName } from "../../input/input_validators";
|
||||
@ -26,7 +26,7 @@ import { disposeOnUnmount, observer } from "mobx-react";
|
||||
import React from "react";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
import { secretsStore } from "../../+config-secrets/secrets.store";
|
||||
import { secretsStore } from "../../config-secrets/secrets.store";
|
||||
import { Secret, ServiceAccount } from "../../../../common/k8s-api/endpoints";
|
||||
import { DrawerItem, DrawerTitle } from "../../drawer";
|
||||
import { Icon } from "../../icon";
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user