@k8slens/extensions 6.3.0-git.e5f8951553.0 → 6.3.0-git.fe0c13424a.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/common/k8s-api/endpoints/events.api.d.ts +3 -3
- package/dist/src/common/k8s-api/endpoints/persistent-volume.api.d.ts +1 -1
- package/dist/src/{extensions/registries/protocol-handler.d.ts → common/protocol-handler/registration.d.ts} +0 -0
- package/dist/src/common/protocol-handler/router.d.ts +1 -1
- package/dist/src/extensions/common-api/registrations.d.ts +3 -3
- package/dist/src/extensions/extension-api.js +63 -30
- package/dist/src/extensions/extension-loader/extension-loader.d.ts +2 -9
- package/dist/src/extensions/lens-extension-set-dependencies.d.ts +2 -0
- package/dist/src/extensions/lens-extension.d.ts +2 -3
- package/dist/src/extensions/lens-renderer-extension.d.ts +6 -5
- package/dist/src/{renderer/initializers/registries.d.ts → features/catalog/opening-entity-details.test.d.ts} +1 -1
- package/dist/src/main/start-main-application/lens-window/application-window/create-lens-window.injectable.d.ts +4 -0
- package/dist/src/renderer/components/+catalog/entity-details/detail-items.injectable.d.ts +3 -0
- package/dist/src/renderer/components/+catalog/entity-details/internal/kubernetes-cluster-details.injectable.d.ts +10 -0
- package/dist/src/renderer/components/+catalog/entity-details/internal/weblink-details.injectable.d.ts +10 -0
- package/dist/src/renderer/components/+catalog/entity-details/registrator.injectable.d.ts +8 -0
- package/dist/src/renderer/components/+catalog/entity-details/token.d.ts +26 -0
- package/dist/src/renderer/components/+catalog/{catalog-entity-details.d.ts → entity-details/view.d.ts} +2 -2
- package/dist/src/renderer/components/+config-autoscalers/horizontal-pod-autoscalers-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+config-autoscalers/hpa.d.ts +1 -5
- package/dist/src/renderer/components/+config-limit-ranges/limit-ranges-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+config-limit-ranges/limit-ranges.d.ts +1 -3
- package/dist/src/renderer/components/+config-maps/config-map-details.d.ts +1 -8
- package/dist/src/renderer/components/+config-maps/config-maps-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+config-maps/config-maps.d.ts +1 -3
- package/dist/src/renderer/components/+config-pod-disruption-budgets/pod-disruption-budgets-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+config-pod-disruption-budgets/pod-disruption-budgets.d.ts +1 -3
- package/dist/src/renderer/components/+config-resource-quotas/resource-quotas-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+config-resource-quotas/resource-quotas.d.ts +1 -3
- package/dist/src/renderer/components/+config-secrets/secret-details.d.ts +1 -12
- package/dist/src/renderer/components/+config-secrets/secrets-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+config-secrets/secrets.d.ts +1 -3
- package/dist/src/renderer/components/+namespaces/namespace-select-filter-model/filter-by-namespace.injectable.d.ts +3 -0
- package/dist/src/renderer/components/+network-endpoints/endpoints-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+network-endpoints/endpoints.d.ts +1 -3
- package/dist/src/renderer/components/+network-ingresses/ingresses-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+network-ingresses/ingresses.d.ts +1 -3
- package/dist/src/renderer/components/+network-policies/network-policies-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+network-policies/network-policies.d.ts +1 -3
- package/dist/src/renderer/components/+network-services/service-details-endpoint.d.ts +1 -3
- package/dist/src/renderer/components/+network-services/services-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+network-services/services.d.ts +1 -3
- package/dist/src/renderer/components/+storage-volume-claims/persistent-volume-claims-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+storage-volume-claims/volume-claims.d.ts +1 -3
- package/dist/src/renderer/components/+user-management/+cluster-roles/legacy-store.d.ts +1 -1
- package/dist/src/renderer/components/+user-management/+cluster-roles/store.d.ts +1 -1
- package/dist/src/renderer/components/+user-management/+cluster-roles/store.injectable.d.ts +2 -2
- package/dist/src/renderer/components/+user-management/+role-bindings/role-bindings-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+user-management/+role-bindings/view.d.ts +1 -3
- package/dist/src/renderer/components/+user-management/+roles/roles-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+user-management/+roles/view.d.ts +1 -3
- package/dist/src/renderer/components/+user-management/+service-accounts/details.d.ts +2 -10
- package/dist/src/renderer/components/+user-management/+service-accounts/service-accounts-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+user-management/+service-accounts/view.d.ts +1 -3
- package/dist/src/renderer/components/+workloads-daemonsets/daemonsets-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+workloads-daemonsets/daemonsets.d.ts +1 -5
- package/dist/src/renderer/components/+workloads-deployments/deployment-replicasets.d.ts +1 -4
- package/dist/src/renderer/components/+workloads-deployments/deployments-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+workloads-deployments/deployments.d.ts +1 -6
- package/dist/src/renderer/components/+workloads-jobs/jobs-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+workloads-jobs/jobs.d.ts +1 -3
- package/dist/src/renderer/components/+workloads-replicasets/replicasets-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+workloads-replicasets/replicasets.d.ts +1 -3
- package/dist/src/renderer/components/+workloads-statefulsets/statefulsets-route-component.injectable.d.ts +1 -2
- package/dist/src/renderer/components/+workloads-statefulsets/statefulsets.d.ts +1 -5
- package/dist/src/renderer/components/icon/icon.d.ts +1 -0
- package/dist/src/renderer/components/item-object-list/list-layout.d.ts +2 -0
- package/dist/src/renderer/components/kube-object-details/kube-object-detail-items/implementations/config-map-detail-item.injectable.d.ts +2 -2
- package/dist/src/renderer/components/kube-object-details/kube-object-detail-items/implementations/secrets-detail-item.injectable.d.ts +2 -2
- package/dist/src/renderer/components/kube-object-details/kube-object-detail-items/implementations/service-account-detail-item.injectable.d.ts +2 -2
- package/dist/src/{extensions/registries/page-menu-registry.d.ts → renderer/components/layout/cluster-page-menu.d.ts} +2 -2
- package/dist/src/renderer/components/layout/siblings-in-tab-layout.d.ts +1 -0
- package/dist/src/renderer/components/layout/tab-layout-2.d.ts +2 -1
- package/dist/src/renderer/components/layout/tab-layout.d.ts +2 -1
- package/dist/src/renderer/components/menu/menu.d.ts +1 -0
- package/dist/src/renderer/frames/cluster-frame/init-cluster-frame/init-cluster-frame.d.ts +1 -2
- package/dist/src/renderer/frames/load-extensions.injectable.d.ts +5 -0
- package/dist/src/renderer/initializers/index.d.ts +0 -2
- package/dist/src/renderer/routes/extension-page-parameters.injectable.d.ts +1 -1
- package/dist/src/{extensions/registries/page-registry.d.ts → renderer/routes/page-registration.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/src/extensions/registries/base-registry.d.ts +0 -15
- package/dist/src/extensions/registries/catalog-entity-detail-registry.d.ts +0 -24
- package/dist/src/extensions/registries/index.d.ts +0 -8
- package/dist/src/renderer/components/+config-autoscalers/legacy-store.d.ts +0 -8
- package/dist/src/renderer/components/+config-limit-ranges/legacy-store.d.ts +0 -8
- package/dist/src/renderer/components/+config-maps/legacy-store.d.ts +0 -8
- package/dist/src/renderer/components/+config-pod-disruption-budgets/legacy-store.d.ts +0 -8
- package/dist/src/renderer/components/+config-resource-quotas/legacy-store.d.ts +0 -8
- package/dist/src/renderer/components/+config-secrets/legacy-store.d.ts +0 -8
- package/dist/src/renderer/components/+network-endpoints/legacy-store.d.ts +0 -8
- package/dist/src/renderer/components/+network-ingresses/legacy-store.d.ts +0 -8
- package/dist/src/renderer/components/+network-policies/legacy-store.d.ts +0 -8
- package/dist/src/renderer/components/+network-services/legacy-store.d.ts +0 -8
- package/dist/src/renderer/components/+storage-volume-claims/legacy-store.d.ts +0 -8
- package/dist/src/renderer/components/+workloads-daemonsets/legacy-store.d.ts +0 -8
- package/dist/src/renderer/components/+workloads-deployments/legacy-store.d.ts +0 -8
- package/dist/src/renderer/components/+workloads-jobs/legacy-store.d.ts +0 -8
- package/dist/src/renderer/components/+workloads-replicasets/legacy-store.d.ts +0 -8
- package/dist/src/renderer/components/+workloads-statefulsets/legacy-store.d.ts +0 -8
- package/dist/src/renderer/initializers/catalog-entity-detail-registry.d.ts +0 -5
@@ -3,7 +3,6 @@
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
4
|
*/
|
5
5
|
import type { ObservableMap } from "mobx";
|
6
|
-
import type { Disposer } from "../../common/utils";
|
7
6
|
import type { InstalledExtension } from "../extension-discovery/extension-discovery";
|
8
7
|
import type { LensExtension, LensExtensionConstructor, LensExtensionId } from "../lens-extension";
|
9
8
|
import type { LensExtensionState } from "../extensions-store/extensions-store";
|
@@ -74,17 +73,11 @@ export declare class ExtensionLoader {
|
|
74
73
|
protected initRenderer(): Promise<void>;
|
75
74
|
broadcastExtensions(): void;
|
76
75
|
syncExtensions(extensions: [LensExtensionId, InstalledExtension][]): void;
|
77
|
-
|
78
|
-
loadOnClusterManagerRenderer: () => Promise<{
|
76
|
+
protected loadExtensions(installedExtensions: Map<string, InstalledExtension>): Promise<{
|
79
77
|
isBundled: boolean;
|
80
78
|
loaded: Promise<void>;
|
81
79
|
}[]>;
|
82
|
-
|
83
|
-
protected loadExtensions(installedExtensions: Map<string, InstalledExtension>, register: (ext: LensExtension) => Promise<Disposer[]>): Promise<{
|
84
|
-
isBundled: boolean;
|
85
|
-
loaded: Promise<void>;
|
86
|
-
}[]>;
|
87
|
-
protected autoInitExtensions(register: (ext: LensExtension) => Promise<Disposer[]>): Promise<{
|
80
|
+
autoInitExtensions(): Promise<{
|
88
81
|
isBundled: boolean;
|
89
82
|
loaded: Promise<void>;
|
90
83
|
}[]>;
|
@@ -11,8 +11,10 @@ import type { CatalogEntityRegistry as RendererCatalogEntityRegistry } from "../
|
|
11
11
|
import type { GetExtensionPageParameters } from "../renderer/routes/get-extension-page-parameters.injectable";
|
12
12
|
import type { FileSystemProvisionerStore } from "./extension-loader/file-system-provisioner-store/file-system-provisioner-store";
|
13
13
|
import type { NavigateForExtension } from "../main/start-main-application/lens-window/navigate-for-extension.injectable";
|
14
|
+
import type { Logger } from "../common/logger";
|
14
15
|
export interface LensExtensionDependencies {
|
15
16
|
readonly fileSystemProvisionerStore: FileSystemProvisionerStore;
|
17
|
+
readonly logger: Logger;
|
16
18
|
}
|
17
19
|
export interface LensMainExtensionDependencies extends LensExtensionDependencies {
|
18
20
|
readonly entityRegistry: MainCatalogEntityRegistry;
|
@@ -3,10 +3,9 @@
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
4
|
*/
|
5
5
|
import type { InstalledExtension } from "./extension-discovery/extension-discovery";
|
6
|
-
import type { ProtocolHandlerRegistration } from "./registries";
|
7
6
|
import type { PackageJson } from "type-fest";
|
8
|
-
import type { Disposer } from "../common/utils";
|
9
7
|
import type { LensExtensionDependencies } from "./lens-extension-set-dependencies";
|
8
|
+
import type { ProtocolHandlerRegistration } from "./common-api/registrations";
|
10
9
|
export type LensExtensionId = string;
|
11
10
|
export type LensExtensionConstructor = new (...args: ConstructorParameters<typeof LensExtension>) => LensExtension;
|
12
11
|
export interface LensExtensionManifest extends PackageJson {
|
@@ -49,7 +48,7 @@ export declare class LensExtension<Dependencies extends LensExtensionDependencie
|
|
49
48
|
* folder name.
|
50
49
|
*/
|
51
50
|
getExtensionFileFolder(): Promise<string>;
|
52
|
-
enable(
|
51
|
+
enable(): Promise<void>;
|
53
52
|
disable(): Promise<void>;
|
54
53
|
activate(): Promise<void>;
|
55
54
|
protected onActivate(): Promise<void> | void;
|
@@ -2,7 +2,6 @@
|
|
2
2
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
4
|
*/
|
5
|
-
import type * as registries from "./registries";
|
6
5
|
import { LensExtension } from "./lens-extension";
|
7
6
|
import type { CatalogEntity } from "../common/catalog";
|
8
7
|
import type { Disposer } from "../common/utils";
|
@@ -26,10 +25,12 @@ import type { AppPreferenceTabRegistration } from "../features/preferences/rende
|
|
26
25
|
import type { KubeObjectDetailRegistration } from "../renderer/components/kube-object-details/kube-object-detail-registration";
|
27
26
|
import type { ClusterFrameChildComponent } from "../renderer/frames/cluster-frame/cluster-frame-child-component-injection-token";
|
28
27
|
import type { EntitySettingRegistration } from "../renderer/components/+entity-settings/extension-registrator.injectable";
|
28
|
+
import type { CatalogEntityDetailRegistration } from "../renderer/components/+catalog/entity-details/token";
|
29
|
+
import type { ClusterPageMenuRegistration, PageRegistration } from "./common-api/registrations";
|
29
30
|
export declare class LensRendererExtension extends LensExtension<LensRendererExtensionDependencies> {
|
30
|
-
globalPages:
|
31
|
-
clusterPages:
|
32
|
-
clusterPageMenus:
|
31
|
+
globalPages: PageRegistration[];
|
32
|
+
clusterPages: PageRegistration[];
|
33
|
+
clusterPageMenus: ClusterPageMenuRegistration[];
|
33
34
|
clusterFrameComponents: ClusterFrameChildComponent[];
|
34
35
|
kubeObjectStatusTexts: KubeObjectStatusRegistration[];
|
35
36
|
appPreferences: AppPreferenceRegistration[];
|
@@ -42,7 +43,7 @@ export declare class LensRendererExtension extends LensExtension<LensRendererExt
|
|
42
43
|
commands: CommandRegistration[];
|
43
44
|
welcomeMenus: WelcomeMenuRegistration[];
|
44
45
|
welcomeBanners: WelcomeBannerRegistration[];
|
45
|
-
catalogEntityDetailItems:
|
46
|
+
catalogEntityDetailItems: CatalogEntityDetailRegistration<CatalogEntity>[];
|
46
47
|
topBarItems: TopBarRegistration[];
|
47
48
|
additionalCategoryColumns: AdditionalCategoryColumnRegistration[];
|
48
49
|
customCategoryViews: CustomCategoryViewRegistration[];
|
@@ -33,6 +33,10 @@ export interface LensWindowConfiguration {
|
|
33
33
|
windowFrameUtilitiesAreShown: boolean;
|
34
34
|
centered: boolean;
|
35
35
|
titleBarStyle?: ElectronWindowTitleBarStyle;
|
36
|
+
/**
|
37
|
+
* This function is called before the ContentSource is used and then awaited after
|
38
|
+
* the open call resolves
|
39
|
+
*/
|
36
40
|
beforeOpen?: () => Promise<void>;
|
37
41
|
onFocus?: () => void;
|
38
42
|
onBlur?: () => void;
|
@@ -0,0 +1,3 @@
|
|
1
|
+
import type { CatalogEntity } from "../../../api/catalog-entity";
|
2
|
+
declare const catalogEntityDetailItemsInjectable: import("@ogre-tools/injectable").Injectable<import("mobx").IComputedValue<import("./token").CatalogEntityDetailsComponent<CatalogEntity<import("../../../../common/catalog").CatalogEntityMetadata, import("../../../../common/catalog").CatalogEntityStatus, import("../../../../common/catalog").CatalogEntitySpec>>[]>, unknown, CatalogEntity<import("../../../../common/catalog").CatalogEntityMetadata, import("../../../../common/catalog").CatalogEntityStatus, import("../../../../common/catalog").CatalogEntitySpec>>;
|
3
|
+
export default catalogEntityDetailItemsInjectable;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import React from "react";
|
2
|
+
declare const kubernetesClusterDetailsItemInjectable: import("@ogre-tools/injectable").Injectable<{
|
3
|
+
apiVersions: Set<string>;
|
4
|
+
kind: string;
|
5
|
+
orderNumber: number;
|
6
|
+
components: {
|
7
|
+
Details: ({ entity }: React.PropsWithChildren<import("../token").CatalogEntityDetailsProps<import("../../../../api/catalog-entity").CatalogEntity<import("../../../../../common/catalog").CatalogEntityMetadata, import("../../../../../common/catalog").CatalogEntityStatus, import("../../../../../common/catalog").CatalogEntitySpec>>>) => JSX.Element;
|
8
|
+
};
|
9
|
+
}, import("../token").CatalogEntityDetailItem, void>;
|
10
|
+
export default kubernetesClusterDetailsItemInjectable;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import React from "react";
|
2
|
+
declare const weblinkDetailsItemInjectable: import("@ogre-tools/injectable").Injectable<{
|
3
|
+
apiVersions: Set<string>;
|
4
|
+
kind: string;
|
5
|
+
components: {
|
6
|
+
Details: ({ entity }: React.PropsWithChildren<import("../token").CatalogEntityDetailsProps<import("../../../../api/catalog-entity").CatalogEntity<import("../../../../../common/catalog").CatalogEntityMetadata, import("../../../../../common/catalog").CatalogEntityStatus, import("../../../../../common/catalog").CatalogEntitySpec>>>) => JSX.Element;
|
7
|
+
};
|
8
|
+
orderNumber: number;
|
9
|
+
}, import("../token").CatalogEntityDetailItem, void>;
|
10
|
+
export default weblinkDetailsItemInjectable;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { CatalogEntity } from "../../../api/catalog-entity";
|
2
|
+
declare const catalogEntityDetailItemsRegistratorInjectable: import("@ogre-tools/injectable").Injectable<(ext: import("../../../../extensions/lens-extension").LensExtension<import("../../../../extensions/lens-extension-set-dependencies").LensExtensionDependencies>) => import("@ogre-tools/injectable").Injectable<{
|
3
|
+
apiVersions: Set<string>;
|
4
|
+
components: import("./token").CatalogEntityDetailComponents<CatalogEntity<import("../../../../common/catalog").CatalogEntityMetadata, import("../../../../common/catalog").CatalogEntityStatus, import("../../../../common/catalog").CatalogEntitySpec>>;
|
5
|
+
kind: string;
|
6
|
+
orderNumber: number;
|
7
|
+
}, import("./token").CatalogEntityDetailItem, void>[], import("../../../../extensions/extension-loader/extension-registrator-injection-token").ExtensionRegistrator, void>;
|
8
|
+
export default catalogEntityDetailItemsRegistratorInjectable;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) OpenLens Authors. All rights reserved.
|
3
|
+
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
|
+
*/
|
5
|
+
/// <reference types="react" />
|
6
|
+
import type { CatalogEntity } from "../../../api/catalog-entity";
|
7
|
+
export interface CatalogEntityDetailsProps<T extends CatalogEntity> {
|
8
|
+
entity: T;
|
9
|
+
}
|
10
|
+
export type CatalogEntityDetailsComponent<T extends CatalogEntity> = React.ComponentType<CatalogEntityDetailsProps<T>>;
|
11
|
+
export interface CatalogEntityDetailComponents<T extends CatalogEntity> {
|
12
|
+
Details: CatalogEntityDetailsComponent<T>;
|
13
|
+
}
|
14
|
+
export interface CatalogEntityDetailRegistration<T extends CatalogEntity> {
|
15
|
+
kind: string;
|
16
|
+
apiVersions: string[];
|
17
|
+
components: CatalogEntityDetailComponents<T>;
|
18
|
+
priority?: number;
|
19
|
+
}
|
20
|
+
export interface CatalogEntityDetailItem {
|
21
|
+
kind: string;
|
22
|
+
apiVersions: Set<string>;
|
23
|
+
components: CatalogEntityDetailComponents<CatalogEntity>;
|
24
|
+
orderNumber: number;
|
25
|
+
}
|
26
|
+
export declare const catalogEntityDetailItemInjectionToken: import("@ogre-tools/injectable").InjectionToken<CatalogEntityDetailItem, void>;
|
@@ -3,10 +3,10 @@
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
4
|
*/
|
5
5
|
import React from "react";
|
6
|
-
import type { CatalogEntity } from "
|
6
|
+
import type { CatalogEntity } from "../../../../common/catalog";
|
7
7
|
export interface CatalogEntityDetailsProps<Entity extends CatalogEntity> {
|
8
8
|
entity: Entity;
|
9
9
|
hideDetails(): void;
|
10
10
|
onRun: () => void;
|
11
11
|
}
|
12
|
-
export declare const CatalogEntityDetails: <Entity extends CatalogEntity<import("
|
12
|
+
export declare const CatalogEntityDetails: <Entity extends CatalogEntity<import("../../../../common/catalog").CatalogEntityMetadata, import("../../../../common/catalog").CatalogEntityStatus, import("../../../../common/catalog").CatalogEntitySpec>>(props: CatalogEntityDetailsProps<Entity>) => React.ReactElement;
|
@@ -1,12 +1,11 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { HorizontalPodAutoscalers } from "./hpa";
|
3
2
|
declare const horizontalPodAutoscalersRouteComponentInjectable: import("@ogre-tools/injectable").Injectable<{
|
4
3
|
route: {
|
5
4
|
path: string;
|
6
5
|
clusterFrame: boolean;
|
7
6
|
isEnabled: import("mobx").IComputedValue<boolean>;
|
8
7
|
};
|
9
|
-
Component:
|
8
|
+
Component: import("react").FunctionComponent<{}>;
|
10
9
|
}, {
|
11
10
|
route: import("../../../common/front-end-routing/front-end-route-injection-token").Route<unknown>;
|
12
11
|
Component: import("react").ElementType<any>;
|
@@ -4,8 +4,4 @@
|
|
4
4
|
*/
|
5
5
|
import "./hpa.scss";
|
6
6
|
import React from "react";
|
7
|
-
|
8
|
-
export declare class HorizontalPodAutoscalers extends React.Component {
|
9
|
-
getTargets(hpa: HorizontalPodAutoscaler): JSX.Element;
|
10
|
-
render(): JSX.Element;
|
11
|
-
}
|
7
|
+
export declare const HorizontalPodAutoscalers: React.FunctionComponent<{}>;
|
@@ -1,12 +1,11 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { LimitRanges } from "./limit-ranges";
|
3
2
|
declare const limitRangesRouteComponentInjectable: import("@ogre-tools/injectable").Injectable<{
|
4
3
|
route: {
|
5
4
|
path: string;
|
6
5
|
clusterFrame: boolean;
|
7
6
|
isEnabled: import("mobx").IComputedValue<boolean>;
|
8
7
|
};
|
9
|
-
Component:
|
8
|
+
Component: import("react").FunctionComponent<{}>;
|
10
9
|
}, {
|
11
10
|
route: import("../../../common/front-end-routing/front-end-route-injection-token").Route<unknown>;
|
12
11
|
Component: import("react").ElementType<any>;
|
@@ -8,11 +8,4 @@ import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
8
8
|
import { ConfigMap } from "../../../common/k8s-api/endpoints";
|
9
9
|
export interface ConfigMapDetailsProps extends KubeObjectDetailsProps<ConfigMap> {
|
10
10
|
}
|
11
|
-
export declare
|
12
|
-
isSaving: boolean;
|
13
|
-
data: import("mobx").ObservableMap<string, string | undefined>;
|
14
|
-
constructor(props: ConfigMapDetailsProps);
|
15
|
-
componentDidMount(): Promise<void>;
|
16
|
-
save: () => Promise<void>;
|
17
|
-
render(): JSX.Element | null;
|
18
|
-
}
|
11
|
+
export declare const ConfigMapDetails: React.FunctionComponent<ConfigMapDetailsProps>;
|
package/dist/src/renderer/components/+config-maps/config-maps-route-component.injectable.d.ts
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { ConfigMaps } from "./config-maps";
|
3
2
|
declare const configMapsRouteComponentInjectable: import("@ogre-tools/injectable").Injectable<{
|
4
3
|
route: {
|
5
4
|
path: string;
|
6
5
|
clusterFrame: boolean;
|
7
6
|
isEnabled: import("mobx").IComputedValue<boolean>;
|
8
7
|
};
|
9
|
-
Component:
|
8
|
+
Component: import("react").FunctionComponent<{}>;
|
10
9
|
}, {
|
11
10
|
route: import("../../../common/front-end-routing/front-end-route-injection-token").Route<unknown>;
|
12
11
|
Component: import("react").ElementType<any>;
|
@@ -1,12 +1,11 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { PodDisruptionBudgets } from "./pod-disruption-budgets";
|
3
2
|
declare const podDisruptionBudgetsRouteComponentInjectable: import("@ogre-tools/injectable").Injectable<{
|
4
3
|
route: {
|
5
4
|
path: string;
|
6
5
|
clusterFrame: boolean;
|
7
6
|
isEnabled: import("mobx").IComputedValue<boolean>;
|
8
7
|
};
|
9
|
-
Component:
|
8
|
+
Component: import("react").FunctionComponent<import("./pod-disruption-budgets").PodDisruptionBudgetsProps>;
|
10
9
|
}, {
|
11
10
|
route: import("../../../common/front-end-routing/front-end-route-injection-token").Route<unknown>;
|
12
11
|
Component: import("react").ElementType<any>;
|
package/dist/src/renderer/components/+config-pod-disruption-budgets/pod-disruption-budgets.d.ts
CHANGED
@@ -8,6 +8,4 @@ import type { PodDisruptionBudget } from "../../../common/k8s-api/endpoints/pod-
|
|
8
8
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
9
9
|
export interface PodDisruptionBudgetsProps extends KubeObjectDetailsProps<PodDisruptionBudget> {
|
10
10
|
}
|
11
|
-
export declare
|
12
|
-
render(): JSX.Element;
|
13
|
-
}
|
11
|
+
export declare const PodDisruptionBudgets: React.FunctionComponent<PodDisruptionBudgetsProps>;
|
@@ -1,12 +1,11 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { ResourceQuotas } from "./resource-quotas";
|
3
2
|
declare const resourceQuotasRouteComponentInjectable: import("@ogre-tools/injectable").Injectable<{
|
4
3
|
route: {
|
5
4
|
path: string;
|
6
5
|
clusterFrame: boolean;
|
7
6
|
isEnabled: import("mobx").IComputedValue<boolean>;
|
8
7
|
};
|
9
|
-
Component:
|
8
|
+
Component: import("react").FunctionComponent<{}>;
|
10
9
|
}, {
|
11
10
|
route: import("../../../common/front-end-routing/front-end-route-injection-token").Route<unknown>;
|
12
11
|
Component: import("react").ElementType<any>;
|
@@ -8,15 +8,4 @@ import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
8
8
|
import { Secret } from "../../../common/k8s-api/endpoints";
|
9
9
|
export interface SecretDetailsProps extends KubeObjectDetailsProps<Secret> {
|
10
10
|
}
|
11
|
-
export declare
|
12
|
-
isSaving: boolean;
|
13
|
-
data: Partial<Record<string, string>>;
|
14
|
-
revealSecret: import("mobx").ObservableSet<string>;
|
15
|
-
constructor(props: SecretDetailsProps);
|
16
|
-
componentDidMount(): Promise<void>;
|
17
|
-
saveSecret: () => Promise<void>;
|
18
|
-
editData: (name: string, value: string, encoded: boolean) => void;
|
19
|
-
renderSecret: ([name, value]: [string, string | undefined]) => JSX.Element;
|
20
|
-
renderData(): JSX.Element | null;
|
21
|
-
render(): JSX.Element | null;
|
22
|
-
}
|
11
|
+
export declare const SecretDetails: React.FunctionComponent<SecretDetailsProps>;
|
package/dist/src/renderer/components/+config-secrets/secrets-route-component.injectable.d.ts
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { Secrets } from "./secrets";
|
3
2
|
declare const secretsRouteComponentInjectable: import("@ogre-tools/injectable").Injectable<{
|
4
3
|
route: {
|
5
4
|
path: string;
|
6
5
|
clusterFrame: boolean;
|
7
6
|
isEnabled: import("mobx").IComputedValue<boolean>;
|
8
7
|
};
|
9
|
-
Component:
|
8
|
+
Component: import("react").FunctionComponent<{}>;
|
10
9
|
}, {
|
11
10
|
route: import("../../../common/front-end-routing/front-end-route-injection-token").Route<unknown>;
|
12
11
|
Component: import("react").ElementType<any>;
|
package/dist/src/renderer/components/+network-endpoints/endpoints-route-component.injectable.d.ts
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { Endpoints } from "./endpoints";
|
3
2
|
declare const endpointsRouteComponentInjectable: import("@ogre-tools/injectable").Injectable<{
|
4
3
|
route: {
|
5
4
|
path: string;
|
6
5
|
clusterFrame: boolean;
|
7
6
|
isEnabled: import("mobx").IComputedValue<boolean>;
|
8
7
|
};
|
9
|
-
Component:
|
8
|
+
Component: import("react").FunctionComponent<{}>;
|
10
9
|
}, {
|
11
10
|
route: import("../../../common/front-end-routing/front-end-route-injection-token").Route<unknown>;
|
12
11
|
Component: import("react").ElementType<any>;
|
package/dist/src/renderer/components/+network-ingresses/ingresses-route-component.injectable.d.ts
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { Ingresses } from "./ingresses";
|
3
2
|
declare const ingressesRouteComponentInjectable: import("@ogre-tools/injectable").Injectable<{
|
4
3
|
route: {
|
5
4
|
path: string;
|
6
5
|
clusterFrame: boolean;
|
7
6
|
isEnabled: import("mobx").IComputedValue<boolean>;
|
8
7
|
};
|
9
|
-
Component:
|
8
|
+
Component: import("react").FunctionComponent<{}>;
|
10
9
|
}, {
|
11
10
|
route: import("../../../common/front-end-routing/front-end-route-injection-token").Route<unknown>;
|
12
11
|
Component: import("react").ElementType<any>;
|
@@ -1,12 +1,11 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { NetworkPolicies } from "./network-policies";
|
3
2
|
declare const networkPoliciesRouteComponentInjectable: import("@ogre-tools/injectable").Injectable<{
|
4
3
|
route: {
|
5
4
|
path: string;
|
6
5
|
clusterFrame: boolean;
|
7
6
|
isEnabled: import("mobx").IComputedValue<boolean>;
|
8
7
|
};
|
9
|
-
Component:
|
8
|
+
Component: import("react").FunctionComponent<{}>;
|
10
9
|
}, {
|
11
10
|
route: import("../../../common/front-end-routing/front-end-route-injection-token").Route<unknown>;
|
12
11
|
Component: import("react").ElementType<any>;
|
@@ -7,6 +7,4 @@ import { Endpoints } from "../../../common/k8s-api/endpoints";
|
|
7
7
|
export interface ServiceDetailsEndpointProps {
|
8
8
|
endpoints: Endpoints;
|
9
9
|
}
|
10
|
-
export declare
|
11
|
-
render(): JSX.Element | null;
|
12
|
-
}
|
10
|
+
export declare const ServiceDetailsEndpoint: React.FunctionComponent<ServiceDetailsEndpointProps>;
|
package/dist/src/renderer/components/+network-services/services-route-component.injectable.d.ts
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { Services } from "./services";
|
3
2
|
declare const servicesRouteComponentInjectable: import("@ogre-tools/injectable").Injectable<{
|
4
3
|
route: {
|
5
4
|
path: string;
|
6
5
|
clusterFrame: boolean;
|
7
6
|
isEnabled: import("mobx").IComputedValue<boolean>;
|
8
7
|
};
|
9
|
-
Component:
|
8
|
+
Component: import("react").FunctionComponent<{}>;
|
10
9
|
}, {
|
11
10
|
route: import("../../../common/front-end-routing/front-end-route-injection-token").Route<unknown>;
|
12
11
|
Component: import("react").ElementType<any>;
|
@@ -1,12 +1,11 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { PersistentVolumeClaims } from "./volume-claims";
|
3
2
|
declare const persistentVolumeClaimsRouteComponentInjectable: import("@ogre-tools/injectable").Injectable<{
|
4
3
|
route: {
|
5
4
|
path: string;
|
6
5
|
clusterFrame: boolean;
|
7
6
|
isEnabled: import("mobx").IComputedValue<boolean>;
|
8
7
|
};
|
9
|
-
Component:
|
8
|
+
Component: import("react").FunctionComponent<{}>;
|
10
9
|
}, {
|
11
10
|
route: import("../../../common/front-end-routing/front-end-route-injection-token").Route<unknown>;
|
12
11
|
Component: import("react").ElementType<any>;
|
@@ -4,6 +4,6 @@
|
|
4
4
|
*/
|
5
5
|
import type { ClusterRole, ClusterRoleApi, ClusterRoleData } from "../../../../common/k8s-api/endpoints";
|
6
6
|
import { KubeObjectStore } from "../../../../common/k8s-api/kube-object.store";
|
7
|
-
export declare class
|
7
|
+
export declare class ClusterRoleStore extends KubeObjectStore<ClusterRole, ClusterRoleApi, ClusterRoleData> {
|
8
8
|
protected sortItems(items: ClusterRole[]): ClusterRole[];
|
9
9
|
}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
declare const clusterRoleStoreInjectable: import("@ogre-tools/injectable").Injectable<
|
1
|
+
import { ClusterRoleStore } from "./store";
|
2
|
+
declare const clusterRoleStoreInjectable: import("@ogre-tools/injectable").Injectable<ClusterRoleStore, import("../../../../common/k8s-api/kube-object.store").KubeObjectStore<any, any, any>, void>;
|
3
3
|
export default clusterRoleStoreInjectable;
|
@@ -1,12 +1,11 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { RoleBindings } from "./view";
|
3
2
|
declare const roleBindingsRouteComponentInjectable: import("@ogre-tools/injectable").Injectable<{
|
4
3
|
route: {
|
5
4
|
path: string;
|
6
5
|
clusterFrame: boolean;
|
7
6
|
isEnabled: import("mobx").IComputedValue<boolean>;
|
8
7
|
};
|
9
|
-
Component:
|
8
|
+
Component: import("react").FunctionComponent<{}>;
|
10
9
|
}, {
|
11
10
|
route: import("../../../../common/front-end-routing/front-end-route-injection-token").Route<unknown>;
|
12
11
|
Component: import("react").ElementType<any>;
|
package/dist/src/renderer/components/+user-management/+roles/roles-route-component.injectable.d.ts
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { Roles } from "./view";
|
3
2
|
declare const rolesRouteComponentInjectable: import("@ogre-tools/injectable").Injectable<{
|
4
3
|
route: {
|
5
4
|
path: string;
|
6
5
|
clusterFrame: boolean;
|
7
6
|
isEnabled: import("mobx").IComputedValue<boolean>;
|
8
7
|
};
|
9
|
-
Component:
|
8
|
+
Component: import("react").FunctionComponent<{}>;
|
10
9
|
}, {
|
11
10
|
route: import("../../../../common/front-end-routing/front-end-route-injection-token").Route<unknown>;
|
12
11
|
Component: import("react").ElementType<any>;
|
@@ -4,16 +4,8 @@
|
|
4
4
|
*/
|
5
5
|
import "./details.scss";
|
6
6
|
import React from "react";
|
7
|
-
import type {
|
7
|
+
import type { ServiceAccount } from "../../../../common/k8s-api/endpoints";
|
8
8
|
import type { KubeObjectDetailsProps } from "../../kube-object-details";
|
9
9
|
export interface ServiceAccountsDetailsProps extends KubeObjectDetailsProps<ServiceAccount> {
|
10
10
|
}
|
11
|
-
export declare
|
12
|
-
readonly secrets: import("mobx").IObservableArray<string | Secret>;
|
13
|
-
readonly imagePullSecrets: import("mobx").IObservableArray<string | Secret>;
|
14
|
-
componentDidMount(): void;
|
15
|
-
renderSecrets(): JSX.Element | JSX.Element[];
|
16
|
-
renderImagePullSecrets(): JSX.Element | JSX.Element[];
|
17
|
-
renderSecretLinks(secrets: (Secret | string)[]): JSX.Element[];
|
18
|
-
render(): JSX.Element | null;
|
19
|
-
}
|
11
|
+
export declare const ServiceAccountsDetails: React.FunctionComponent<ServiceAccountsDetailsProps>;
|