@k8slens/extensions 5.4.0-git.ff14603be6.0 → 5.4.1-git.070ef31220.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/common/app-event-bus/event-bus.d.ts +2 -2
- package/dist/src/common/catalog-entities/web-link.d.ts +2 -2
- package/dist/src/common/ipc/native-theme.d.ts +6 -0
- package/dist/src/common/k8s-api/api-manager.d.ts +3 -3
- package/dist/src/common/k8s-api/endpoints/crd.api.d.ts +2 -2
- package/dist/src/common/k8s-api/kube-api.d.ts +2 -2
- package/dist/src/common/utils/index.d.ts +1 -1
- package/dist/src/common/utils/lazy-initialized.d.ts +17 -0
- package/dist/src/common/utils/singleton.d.ts +2 -2
- package/dist/src/common/utils/tuple.d.ts +2 -2
- package/dist/src/common/vars.d.ts +11 -0
- package/dist/src/extensions/common-api/registrations.d.ts +1 -1
- package/dist/src/extensions/extension-api.js +61 -162
- package/dist/src/extensions/lens-renderer-extension.d.ts +4 -2
- package/dist/src/extensions/registries/index.d.ts +0 -2
- package/dist/src/extensions/renderer-api/kube-object-status.d.ts +2 -2
- package/dist/src/main/cluster-detectors/base-cluster-detector.d.ts +2 -2
- package/dist/src/main/helm/exec.d.ts +12 -0
- package/dist/src/main/kube-auth-proxy/kube-auth-proxy.d.ts +2 -3
- package/dist/src/main/kubectl/kubectl.d.ts +0 -1
- package/dist/src/main/lens-proxy.d.ts +4 -4
- package/dist/src/{renderer/initializers/workloads-overview-detail-registry.d.ts → main/native-theme.d.ts} +2 -1
- package/dist/src/main/prometheus/provider-registry.d.ts +2 -2
- package/dist/src/main/router.d.ts +3 -0
- package/dist/src/renderer/components/+catalog/catalog-add-button.d.ts +2 -2
- package/dist/src/renderer/components/+catalog/catalog-entity-details.d.ts +2 -3
- package/dist/src/renderer/components/+catalog/catalog-menu.d.ts +3 -4
- package/dist/src/renderer/components/+catalog/catalog.d.ts +2 -3
- package/dist/src/renderer/components/+cluster/cluster-issues.d.ts +3 -3
- package/dist/src/renderer/components/+cluster/cluster-no-metrics.d.ts +2 -3
- package/dist/src/renderer/components/+config-autoscalers/hpa.d.ts +2 -3
- package/dist/src/renderer/components/+config-limit-ranges/limit-range-details.d.ts +2 -3
- package/dist/src/renderer/components/+config-limit-ranges/limit-ranges.d.ts +2 -3
- package/dist/src/renderer/components/+config-maps/config-map-details.d.ts +3 -4
- package/dist/src/renderer/components/+config-maps/config-maps.d.ts +2 -3
- package/dist/src/renderer/components/+config-pod-disruption-budgets/pod-disruption-budgets-details.d.ts +2 -3
- package/dist/src/renderer/components/+config-pod-disruption-budgets/pod-disruption-budgets.d.ts +2 -3
- package/dist/src/renderer/components/+config-resource-quotas/add-quota-dialog.d.ts +3 -4
- package/dist/src/renderer/components/+config-resource-quotas/resource-quota-details.d.ts +2 -3
- package/dist/src/renderer/components/+config-resource-quotas/resource-quotas.d.ts +2 -3
- package/dist/src/renderer/components/+config-secrets/add-secret-dialog.d.ts +3 -3
- package/dist/src/renderer/components/+config-secrets/secret-details.d.ts +3 -4
- package/dist/src/renderer/components/+config-secrets/secrets.d.ts +2 -3
- package/dist/src/renderer/components/+custom-resources/crd-details.d.ts +2 -3
- package/dist/src/renderer/components/+custom-resources/crd-list.d.ts +1 -1
- package/dist/src/renderer/components/+custom-resources/crd-resource-details.d.ts +2 -3
- package/dist/src/renderer/components/+custom-resources/crd-resources.d.ts +3 -4
- package/dist/src/renderer/components/+entity-settings/entity-settings.d.ts +3 -4
- package/dist/src/renderer/components/+events/event-details.d.ts +2 -3
- package/dist/src/renderer/components/+events/events.d.ts +3 -4
- package/dist/src/renderer/components/+events/kube-event-icon.d.ts +2 -3
- package/dist/src/renderer/components/+extensions/install.d.ts +2 -3
- package/dist/src/renderer/components/+extensions/installed-extensions.d.ts +2 -3
- package/dist/src/renderer/components/+extensions/notice.d.ts +2 -3
- package/dist/src/renderer/components/+helm-charts/helm-chart-details.d.ts +2 -3
- package/dist/src/renderer/components/+helm-charts/helm-charts.d.ts +2 -3
- package/dist/src/renderer/components/+helm-releases/release-details/release-details.d.ts +2 -3
- package/dist/src/renderer/components/+helm-releases/release-menu.d.ts +2 -3
- package/dist/src/renderer/components/+helm-releases/release-rollback-dialog.d.ts +2 -3
- package/dist/src/renderer/components/+helm-releases/releases.d.ts +2 -3
- package/dist/src/renderer/components/+namespaces/add-namespace-dialog.d.ts +2 -3
- package/dist/src/renderer/components/+namespaces/namespace-details.d.ts +2 -3
- package/dist/src/renderer/components/+namespaces/namespace-select-filter.d.ts +3 -0
- package/dist/src/renderer/components/+namespaces/namespace-select.d.ts +2 -3
- package/dist/src/renderer/components/+network-endpoints/endpoint-details.d.ts +2 -3
- package/dist/src/renderer/components/+network-endpoints/endpoint-subset-list.d.ts +2 -3
- package/dist/src/renderer/components/+network-endpoints/endpoints.d.ts +2 -3
- package/dist/src/renderer/components/+network-ingresses/ingress-details.d.ts +3 -4
- package/dist/src/renderer/components/+network-ingresses/ingresses.d.ts +2 -3
- package/dist/src/renderer/components/+network-policies/network-policies.d.ts +2 -3
- package/dist/src/renderer/components/+network-policies/network-policy-details.d.ts +2 -3
- package/dist/src/renderer/components/+network-port-forwards/port-forward-details.d.ts +2 -3
- package/dist/src/renderer/components/+network-port-forwards/port-forward-menu.d.ts +2 -3
- package/dist/src/renderer/components/+network-port-forwards/port-forwards.d.ts +2 -3
- package/dist/src/renderer/components/+network-services/service-details-endpoint.d.ts +2 -3
- package/dist/src/renderer/components/+network-services/service-details.d.ts +2 -3
- package/dist/src/renderer/components/+network-services/service-port-component.d.ts +2 -3
- package/dist/src/renderer/components/+network-services/services.d.ts +2 -3
- package/dist/src/renderer/components/+nodes/details-resources.d.ts +2 -3
- package/dist/src/renderer/components/+nodes/details.d.ts +2 -3
- package/dist/src/renderer/components/+nodes/route.d.ts +3 -4
- package/dist/src/renderer/components/+pod-security-policies/pod-security-policy-details.d.ts +2 -2
- package/dist/src/renderer/components/+preferences/add-helm-repo-dialog.d.ts +4 -4
- package/dist/src/renderer/components/+preferences/extension-settings.d.ts +1 -2
- package/dist/src/renderer/components/+preferences/removable-item.d.ts +2 -3
- package/dist/src/renderer/components/+storage-classes/storage-class-details.d.ts +2 -3
- package/dist/src/renderer/components/+storage-classes/storage-classes.d.ts +2 -3
- package/dist/src/renderer/components/+storage-volume-claims/volume-claim-details.d.ts +3 -4
- package/dist/src/renderer/components/+storage-volume-claims/volume-claims.d.ts +2 -3
- package/dist/src/renderer/components/+storage-volumes/volume-details-list.d.ts +2 -3
- package/dist/src/renderer/components/+storage-volumes/volume-details.d.ts +2 -3
- package/dist/src/renderer/components/+storage-volumes/volumes.d.ts +2 -3
- package/dist/src/renderer/components/+user-management/+cluster-role-bindings/details.d.ts +3 -4
- package/dist/src/renderer/components/+user-management/+cluster-role-bindings/dialog.d.ts +3 -3
- package/dist/src/renderer/components/+user-management/+cluster-role-bindings/view.d.ts +2 -3
- package/dist/src/renderer/components/+user-management/+cluster-roles/add-dialog.d.ts +3 -4
- package/dist/src/renderer/components/+user-management/+cluster-roles/details.d.ts +2 -3
- package/dist/src/renderer/components/+user-management/+cluster-roles/view.d.ts +2 -3
- package/dist/src/renderer/components/+user-management/+role-bindings/details.d.ts +2 -3
- package/dist/src/renderer/components/+user-management/+role-bindings/dialog.d.ts +3 -3
- package/dist/src/renderer/components/+user-management/+role-bindings/view.d.ts +2 -3
- package/dist/src/renderer/components/+user-management/+roles/add-dialog.d.ts +3 -4
- package/dist/src/renderer/components/+user-management/+roles/details.d.ts +2 -3
- package/dist/src/renderer/components/+user-management/+roles/view.d.ts +2 -3
- package/dist/src/renderer/components/+user-management/+service-accounts/create-dialog.d.ts +3 -4
- package/dist/src/renderer/components/+user-management/+service-accounts/details.d.ts +3 -4
- package/dist/src/renderer/components/+user-management/+service-accounts/secret.d.ts +2 -2
- package/dist/src/renderer/components/+user-management/+service-accounts/view.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-cronjobs/cronjob-details.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-cronjobs/cronjob-trigger-dialog.d.ts +3 -4
- package/dist/src/renderer/components/+workloads-cronjobs/cronjobs.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-daemonsets/daemonset-details.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-daemonsets/daemonsets.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-deployments/deployment-details.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-deployments/deployment-replicasets.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-deployments/deployment-scale-dialog.d.ts +3 -4
- package/dist/src/renderer/components/+workloads-deployments/deployments.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-jobs/job-details.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-jobs/jobs.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-overview/detail-components.injectable.d.ts +4 -0
- package/dist/src/renderer/components/+workloads-overview/overview-workload-status.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-overview/overview.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-overview/workloads-overview-detail-registration.d.ts +13 -0
- package/dist/src/renderer/components/+workloads-pods/pod-container-env.d.ts +9 -3
- package/dist/src/renderer/components/+workloads-pods/pod-container-port.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-pods/pod-details-affinities.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-pods/pod-details-container.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-pods/pod-details-list.d.ts +2 -5
- package/dist/src/renderer/components/+workloads-pods/pod-details-secrets.d.ts +3 -4
- package/dist/src/renderer/components/+workloads-pods/pod-details-statuses.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-pods/pod-details-tolerations.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-pods/pod-details.d.ts +3 -4
- package/dist/src/renderer/components/+workloads-pods/pod-tolerations.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-pods/pods.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-replicasets/replicaset-details.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-replicasets/replicaset-scale-dialog.d.ts +3 -4
- package/dist/src/renderer/components/+workloads-replicasets/replicasets.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-statefulsets/statefulset-details.d.ts +2 -3
- package/dist/src/renderer/components/+workloads-statefulsets/statefulset-scale-dialog.d.ts +3 -4
- package/dist/src/renderer/components/+workloads-statefulsets/statefulsets.d.ts +2 -3
- package/dist/src/renderer/components/chart/bar-chart.d.ts +2 -3
- package/dist/src/renderer/components/chart/pie-chart.d.ts +2 -3
- package/dist/src/renderer/components/cluster-manager/cluster-status.d.ts +3 -4
- package/dist/src/renderer/components/cluster-manager/cluster-view.d.ts +3 -4
- package/dist/src/renderer/components/cluster-settings/components/cluster-accessible-namespaces.d.ts +3 -4
- package/dist/src/renderer/components/cluster-settings/components/cluster-icon-settings.d.ts +2 -2
- package/dist/src/renderer/components/cluster-settings/components/cluster-kubeconfig.d.ts +2 -3
- package/dist/src/renderer/components/cluster-settings/components/cluster-local-terminal-settings.d.ts +2 -3
- package/dist/src/renderer/components/cluster-settings/components/cluster-metrics-setting.d.ts +3 -4
- package/dist/src/renderer/components/cluster-settings/components/cluster-name-setting.d.ts +3 -4
- package/dist/src/renderer/components/cluster-settings/components/cluster-node-shell-setting.d.ts +3 -4
- package/dist/src/renderer/components/cluster-settings/components/cluster-prometheus-setting.d.ts +3 -4
- package/dist/src/renderer/components/cluster-settings/components/cluster-proxy-setting.d.ts +3 -4
- package/dist/src/renderer/components/cluster-settings/components/cluster-show-metrics.d.ts +3 -4
- package/dist/src/renderer/components/delete-cluster-dialog/delete-cluster-dialog.d.ts +6 -5
- package/dist/src/renderer/components/dialog/logs-dialog.d.ts +2 -3
- package/dist/src/renderer/components/dock/create-resource/view.d.ts +2 -3
- package/dist/src/renderer/components/dock/dock-tabs.d.ts +2 -3
- package/dist/src/renderer/components/dock/dock.d.ts +2 -3
- package/dist/src/renderer/components/dock/edit-resource/view.d.ts +2 -3
- package/dist/src/renderer/components/dock/info-panel.d.ts +3 -4
- package/dist/src/renderer/components/dock/install-chart/view.d.ts +2 -3
- package/dist/src/renderer/components/dock/terminal/dock-tab.d.ts +2 -3
- package/dist/src/renderer/components/dock/terminal/view.d.ts +2 -3
- package/dist/src/renderer/components/dock/upgrade-chart/view.d.ts +4 -4
- package/dist/src/renderer/components/editable-list/editable-list.d.ts +3 -3
- package/dist/src/renderer/components/error-boundary/error-boundary.d.ts +2 -2
- package/dist/src/renderer/components/file-picker/file-picker.d.ts +3 -3
- package/dist/src/renderer/components/hotbar/hotbar-cell.d.ts +2 -3
- package/dist/src/renderer/components/hotbar/hotbar-entity-icon.d.ts +3 -4
- package/dist/src/renderer/components/hotbar/hotbar-icon.d.ts +2 -2
- package/dist/src/renderer/components/hotbar/hotbar-menu.d.ts +3 -4
- package/dist/src/renderer/components/input/file-input.d.ts +2 -3
- package/dist/src/renderer/components/input/input.d.ts +1 -1
- package/dist/src/renderer/components/input/search-input.d.ts +2 -3
- package/dist/src/renderer/components/item-object-list/content.d.ts +1 -2
- package/dist/src/renderer/components/item-object-list/filter-icon.d.ts +2 -3
- package/dist/src/renderer/components/item-object-list/page-filters-list.d.ts +3 -4
- package/dist/src/renderer/components/kube-object-status-icon/kube-object-status-icon.d.ts +5 -7
- package/dist/src/renderer/components/kube-object-status-icon/kube-object-status-icon.test.d.ts +1 -0
- package/dist/src/renderer/components/kube-object-status-icon/kube-object-status-registration.d.ts +11 -0
- package/dist/src/renderer/components/kube-object-status-icon/status-registrations.injectable.d.ts +3 -0
- package/dist/src/renderer/components/kube-object-status-icon/statuses-for-kube-object.injectable.d.ts +4 -0
- package/dist/src/renderer/components/kubeconfig-dialog/kubeconfig-dialog.d.ts +3 -3
- package/dist/src/renderer/components/layout/close-button.d.ts +2 -3
- package/dist/src/renderer/components/layout/main-layout.d.ts +2 -3
- package/dist/src/renderer/components/layout/sidebar-item.d.ts +1 -2
- package/dist/src/renderer/components/layout/sidebar.d.ts +1 -2
- package/dist/src/renderer/components/layout/sub-title.d.ts +2 -3
- package/dist/src/renderer/components/list/list.d.ts +2 -3
- package/dist/src/renderer/components/locale-date/locale-date.d.ts +2 -3
- package/dist/src/renderer/components/markdown-viewer/markdown-viewer.d.ts +3 -4
- package/dist/src/renderer/components/no-items/no-items.d.ts +2 -3
- package/dist/src/renderer/components/render-delay/render-delay.d.ts +3 -4
- package/dist/src/renderer/components/resizing-anchor/resizing-anchor.d.ts +3 -3
- package/dist/src/renderer/components/resource-metrics/resource-metrics-text.d.ts +3 -4
- package/dist/src/renderer/components/resource-metrics/resource-metrics.d.ts +4 -8
- package/dist/src/renderer/components/scroll-spy/scroll-spy.d.ts +2 -3
- package/dist/src/renderer/components/select/select.test.d.ts +1 -0
- package/dist/src/renderer/components/switch/switch.d.ts +2 -3
- package/dist/src/renderer/components/switch/switcher.d.ts +2 -2
- package/dist/src/renderer/components/table/react-table.d.ts +2 -3
- package/dist/src/renderer/components/table/table.d.ts +2 -2
- package/dist/src/renderer/components/tree-view/tree-view.d.ts +2 -3
- package/dist/src/renderer/components/virtual-list/virtual-list.d.ts +12 -4
- package/dist/src/renderer/components/wizard/wizard.d.ts +9 -8
- package/dist/src/renderer/initializers/index.d.ts +0 -1
- package/dist/src/renderer/port-forward/port-forward-dialog.d.ts +2 -3
- package/dist/src/renderer/theme.store.d.ts +5 -0
- package/dist/src/renderer/utils/cssNames.d.ts +1 -3
- package/package.json +1 -1
- package/dist/src/common/utils/types.d.ts +0 -10
- package/dist/src/extensions/registries/kube-object-status-registry.d.ts +0 -15
- package/dist/src/extensions/registries/workloads-overview-detail-registry.d.ts +0 -19
- package/dist/src/main/helm/helm-cli.d.ts +0 -13
- package/dist/src/main/lens-binary.d.ts +0 -42
- package/dist/webpack.dev-server.d.ts +0 -14
- package/dist/webpack.renderer.d.ts +0 -25
|
@@ -7,13 +7,12 @@ import React from "react";
|
|
|
7
7
|
import type { ClusterRoleBinding, ClusterRoleBindingSubject } from "../../../../common/k8s-api/endpoints";
|
|
8
8
|
import { ObservableHashSet } from "../../../utils";
|
|
9
9
|
import type { KubeObjectDetailsProps } from "../../kube-object-details";
|
|
10
|
-
interface
|
|
10
|
+
export interface ClusterRoleBindingDetailsProps extends KubeObjectDetailsProps<ClusterRoleBinding> {
|
|
11
11
|
}
|
|
12
|
-
export declare class ClusterRoleBindingDetails extends React.Component<
|
|
12
|
+
export declare class ClusterRoleBindingDetails extends React.Component<ClusterRoleBindingDetailsProps> {
|
|
13
13
|
selectedSubjects: ObservableHashSet<ClusterRoleBindingSubject>;
|
|
14
|
-
constructor(props:
|
|
14
|
+
constructor(props: ClusterRoleBindingDetailsProps);
|
|
15
15
|
componentDidMount(): Promise<void>;
|
|
16
16
|
removeSelectedSubjects(): void;
|
|
17
17
|
render(): JSX.Element;
|
|
18
18
|
}
|
|
19
|
-
export {};
|
|
@@ -8,15 +8,15 @@ import { ClusterRole, ClusterRoleBinding, ClusterRoleBindingSubject, ServiceAcco
|
|
|
8
8
|
import { DialogProps } from "../../dialog";
|
|
9
9
|
import { SelectOption } from "../../select";
|
|
10
10
|
import { ObservableHashSet } from "../../../utils";
|
|
11
|
-
interface
|
|
11
|
+
export interface ClusterRoleBindingDialogProps extends Partial<DialogProps> {
|
|
12
12
|
}
|
|
13
13
|
interface DialogState {
|
|
14
14
|
isOpen: boolean;
|
|
15
15
|
data?: ClusterRoleBinding;
|
|
16
16
|
}
|
|
17
|
-
export declare class ClusterRoleBindingDialog extends React.Component<
|
|
17
|
+
export declare class ClusterRoleBindingDialog extends React.Component<ClusterRoleBindingDialogProps> {
|
|
18
18
|
static state: DialogState;
|
|
19
|
-
constructor(props:
|
|
19
|
+
constructor(props: ClusterRoleBindingDialogProps);
|
|
20
20
|
componentDidMount(): void;
|
|
21
21
|
static open(roleBinding?: ClusterRoleBinding): void;
|
|
22
22
|
static close(): void;
|
|
@@ -6,9 +6,8 @@ import "./view.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { RouteComponentProps } from "react-router";
|
|
8
8
|
import type { ClusterRoleBindingsRouteParams } from "../../../../common/routes";
|
|
9
|
-
interface
|
|
9
|
+
export interface ClusterRoleBindingsProps extends RouteComponentProps<ClusterRoleBindingsRouteParams> {
|
|
10
10
|
}
|
|
11
|
-
export declare class ClusterRoleBindings extends React.Component<
|
|
11
|
+
export declare class ClusterRoleBindings extends React.Component<ClusterRoleBindingsProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -5,16 +5,15 @@
|
|
|
5
5
|
import "./add-dialog.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { DialogProps } from "../../dialog";
|
|
8
|
-
interface
|
|
8
|
+
export interface AddClusterRoleDialogProps extends Partial<DialogProps> {
|
|
9
9
|
}
|
|
10
|
-
export declare class AddClusterRoleDialog extends React.Component<
|
|
10
|
+
export declare class AddClusterRoleDialog extends React.Component<AddClusterRoleDialogProps> {
|
|
11
11
|
static isOpen: import("mobx").IObservableValue<boolean>;
|
|
12
12
|
clusterRoleName: string;
|
|
13
|
-
constructor(props:
|
|
13
|
+
constructor(props: AddClusterRoleDialogProps);
|
|
14
14
|
static open(): void;
|
|
15
15
|
static close(): void;
|
|
16
16
|
reset: () => void;
|
|
17
17
|
createRole: () => Promise<void>;
|
|
18
18
|
render(): JSX.Element;
|
|
19
19
|
}
|
|
20
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { KubeObjectDetailsProps } from "../../kube-object-details";
|
|
8
8
|
import type { ClusterRole } from "../../../../common/k8s-api/endpoints";
|
|
9
|
-
interface
|
|
9
|
+
export interface ClusterRoleDetailsProps extends KubeObjectDetailsProps<ClusterRole> {
|
|
10
10
|
}
|
|
11
|
-
export declare class ClusterRoleDetails extends React.Component<
|
|
11
|
+
export declare class ClusterRoleDetails extends React.Component<ClusterRoleDetailsProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./view.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { RouteComponentProps } from "react-router";
|
|
8
8
|
import type { ClusterRolesRouteParams } from "../../../../common/routes";
|
|
9
|
-
interface
|
|
9
|
+
export interface ClusterRolesProps extends RouteComponentProps<ClusterRolesRouteParams> {
|
|
10
10
|
}
|
|
11
|
-
export declare class ClusterRoles extends React.Component<
|
|
11
|
+
export declare class ClusterRoles extends React.Component<ClusterRolesProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -7,12 +7,11 @@ import React from "react";
|
|
|
7
7
|
import type { RoleBinding, RoleBindingSubject } from "../../../../common/k8s-api/endpoints";
|
|
8
8
|
import type { KubeObjectDetailsProps } from "../../kube-object-details";
|
|
9
9
|
import { ObservableHashSet } from "../../../../common/utils/hash-set";
|
|
10
|
-
interface
|
|
10
|
+
export interface RoleBindingDetailsProps extends KubeObjectDetailsProps<RoleBinding> {
|
|
11
11
|
}
|
|
12
|
-
export declare class RoleBindingDetails extends React.Component<
|
|
12
|
+
export declare class RoleBindingDetails extends React.Component<RoleBindingDetailsProps> {
|
|
13
13
|
selectedSubjects: ObservableHashSet<RoleBindingSubject>;
|
|
14
14
|
componentDidMount(): Promise<void>;
|
|
15
15
|
removeSelectedSubjects(): void;
|
|
16
16
|
render(): JSX.Element;
|
|
17
17
|
}
|
|
18
|
-
export {};
|
|
@@ -8,15 +8,15 @@ import { ClusterRole, Role, RoleBinding, RoleBindingSubject, ServiceAccount } fr
|
|
|
8
8
|
import { DialogProps } from "../../dialog";
|
|
9
9
|
import { SelectOption } from "../../select";
|
|
10
10
|
import { ObservableHashSet } from "../../../utils";
|
|
11
|
-
interface
|
|
11
|
+
export interface RoleBindingDialogProps extends Partial<DialogProps> {
|
|
12
12
|
}
|
|
13
13
|
interface DialogState {
|
|
14
14
|
isOpen: boolean;
|
|
15
15
|
data?: RoleBinding;
|
|
16
16
|
}
|
|
17
|
-
export declare class RoleBindingDialog extends React.Component<
|
|
17
|
+
export declare class RoleBindingDialog extends React.Component<RoleBindingDialogProps> {
|
|
18
18
|
static state: DialogState;
|
|
19
|
-
constructor(props:
|
|
19
|
+
constructor(props: RoleBindingDialogProps);
|
|
20
20
|
static open(roleBinding?: RoleBinding): void;
|
|
21
21
|
static close(): void;
|
|
22
22
|
get roleBinding(): RoleBinding;
|
|
@@ -6,9 +6,8 @@ import "./view.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { RouteComponentProps } from "react-router";
|
|
8
8
|
import type { RoleBindingsRouteParams } from "../../../../common/routes";
|
|
9
|
-
interface
|
|
9
|
+
export interface RoleBindingsProps extends RouteComponentProps<RoleBindingsRouteParams> {
|
|
10
10
|
}
|
|
11
|
-
export declare class RoleBindings extends React.Component<
|
|
11
|
+
export declare class RoleBindings extends React.Component<RoleBindingsProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -5,17 +5,16 @@
|
|
|
5
5
|
import "./add-dialog.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { DialogProps } from "../../dialog";
|
|
8
|
-
interface
|
|
8
|
+
export interface AddRoleDialogProps extends Partial<DialogProps> {
|
|
9
9
|
}
|
|
10
|
-
export declare class AddRoleDialog extends React.Component<
|
|
10
|
+
export declare class AddRoleDialog extends React.Component<AddRoleDialogProps> {
|
|
11
11
|
static isOpen: import("mobx").IObservableValue<boolean>;
|
|
12
12
|
roleName: string;
|
|
13
13
|
namespace: string;
|
|
14
|
-
constructor(props:
|
|
14
|
+
constructor(props: AddRoleDialogProps);
|
|
15
15
|
static open(): void;
|
|
16
16
|
static close(): void;
|
|
17
17
|
reset: () => void;
|
|
18
18
|
createRole: () => Promise<void>;
|
|
19
19
|
render(): JSX.Element;
|
|
20
20
|
}
|
|
21
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { Role } from "../../../../common/k8s-api/endpoints";
|
|
8
8
|
import type { KubeObjectDetailsProps } from "../../kube-object-details";
|
|
9
|
-
interface
|
|
9
|
+
export interface RoleDetailsProps extends KubeObjectDetailsProps<Role> {
|
|
10
10
|
}
|
|
11
|
-
export declare class RoleDetails extends React.Component<
|
|
11
|
+
export declare class RoleDetails extends React.Component<RoleDetailsProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./view.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { RouteComponentProps } from "react-router";
|
|
8
8
|
import type { RolesRouteParams } from "../../../../common/routes";
|
|
9
|
-
interface
|
|
9
|
+
export interface RolesProps extends RouteComponentProps<RolesRouteParams> {
|
|
10
10
|
}
|
|
11
|
-
export declare class Roles extends React.Component<
|
|
11
|
+
export declare class Roles extends React.Component<RolesProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -5,16 +5,15 @@
|
|
|
5
5
|
import "./create-dialog.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { DialogProps } from "../../dialog";
|
|
8
|
-
interface
|
|
8
|
+
export interface CreateServiceAccountDialogProps extends Partial<DialogProps> {
|
|
9
9
|
}
|
|
10
|
-
export declare class CreateServiceAccountDialog extends React.Component<
|
|
10
|
+
export declare class CreateServiceAccountDialog extends React.Component<CreateServiceAccountDialogProps> {
|
|
11
11
|
static isOpen: import("mobx").IObservableValue<boolean>;
|
|
12
12
|
name: string;
|
|
13
13
|
namespace: string;
|
|
14
|
-
constructor(props:
|
|
14
|
+
constructor(props: CreateServiceAccountDialogProps);
|
|
15
15
|
static open(): void;
|
|
16
16
|
static close(): void;
|
|
17
17
|
createAccount: () => Promise<void>;
|
|
18
18
|
render(): JSX.Element;
|
|
19
19
|
}
|
|
20
|
-
export {};
|
|
@@ -6,17 +6,16 @@ import "./details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { Secret, ServiceAccount } from "../../../../common/k8s-api/endpoints";
|
|
8
8
|
import type { KubeObjectDetailsProps } from "../../kube-object-details";
|
|
9
|
-
interface
|
|
9
|
+
export interface ServiceAccountsDetailsProps extends KubeObjectDetailsProps<ServiceAccount> {
|
|
10
10
|
}
|
|
11
|
-
export declare class ServiceAccountsDetails extends React.Component<
|
|
11
|
+
export declare class ServiceAccountsDetails extends React.Component<ServiceAccountsDetailsProps> {
|
|
12
12
|
secrets: Secret[];
|
|
13
13
|
imagePullSecrets: Secret[];
|
|
14
14
|
componentDidMount(): void;
|
|
15
|
-
constructor(props:
|
|
15
|
+
constructor(props: ServiceAccountsDetailsProps);
|
|
16
16
|
renderSecrets(): JSX.Element | JSX.Element[];
|
|
17
17
|
renderImagePullSecrets(): JSX.Element | JSX.Element[];
|
|
18
18
|
renderSecretLinks(secrets: Secret[]): JSX.Element[];
|
|
19
19
|
generateDummySecretObject(name: string): Secret;
|
|
20
20
|
render(): JSX.Element;
|
|
21
21
|
}
|
|
22
|
-
export {};
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
import "./secret.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { Secret } from "../../../../common/k8s-api/endpoints/secret.api";
|
|
8
|
-
interface
|
|
8
|
+
export interface ServiceAccountsSecretProps {
|
|
9
9
|
secret: Secret;
|
|
10
10
|
}
|
|
11
11
|
interface State {
|
|
12
12
|
showToken: boolean;
|
|
13
13
|
}
|
|
14
|
-
export declare class ServiceAccountsSecret extends React.Component<
|
|
14
|
+
export declare class ServiceAccountsSecret extends React.Component<ServiceAccountsSecretProps, State> {
|
|
15
15
|
state: State;
|
|
16
16
|
renderSecretValue(): JSX.Element;
|
|
17
17
|
render(): JSX.Element;
|
|
@@ -6,9 +6,8 @@ import "./view.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { RouteComponentProps } from "react-router";
|
|
8
8
|
import type { ServiceAccountsRouteParams } from "../../../../common/routes";
|
|
9
|
-
interface
|
|
9
|
+
export interface ServiceAccountsProps extends RouteComponentProps<ServiceAccountsRouteParams> {
|
|
10
10
|
}
|
|
11
|
-
export declare class ServiceAccounts extends React.Component<
|
|
11
|
+
export declare class ServiceAccounts extends React.Component<ServiceAccountsProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./cronjob-details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
8
8
|
import { CronJob } from "../../../common/k8s-api/endpoints";
|
|
9
|
-
interface
|
|
9
|
+
export interface CronJobDetailsProps extends KubeObjectDetailsProps<CronJob> {
|
|
10
10
|
}
|
|
11
|
-
export declare const CronJobDetails: React.ForwardRefExoticComponent<
|
|
11
|
+
export declare const CronJobDetails: React.ForwardRefExoticComponent<CronJobDetailsProps & React.RefAttributes<any> & {
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}>;
|
|
14
|
-
export {};
|
|
@@ -6,12 +6,12 @@ import "./cronjob-trigger-dialog.scss";
|
|
|
6
6
|
import { Component } from "react";
|
|
7
7
|
import { DialogProps } from "../dialog";
|
|
8
8
|
import { CronJob } from "../../../common/k8s-api/endpoints";
|
|
9
|
-
interface
|
|
9
|
+
export interface CronJobTriggerDialogProps extends Partial<DialogProps> {
|
|
10
10
|
}
|
|
11
|
-
export declare class CronJobTriggerDialog extends Component<
|
|
11
|
+
export declare class CronJobTriggerDialog extends Component<CronJobTriggerDialogProps> {
|
|
12
12
|
jobName: string;
|
|
13
13
|
ready: boolean;
|
|
14
|
-
constructor(props:
|
|
14
|
+
constructor(props: CronJobTriggerDialogProps);
|
|
15
15
|
static open(cronjob: CronJob): void;
|
|
16
16
|
static close(): void;
|
|
17
17
|
get cronjob(): CronJob;
|
|
@@ -22,4 +22,3 @@ export declare class CronJobTriggerDialog extends Component<Props> {
|
|
|
22
22
|
renderContents(): JSX.Element;
|
|
23
23
|
render(): JSX.Element;
|
|
24
24
|
}
|
|
25
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./cronjobs.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { RouteComponentProps } from "react-router";
|
|
8
8
|
import type { CronJobsRouteParams } from "../../../common/routes";
|
|
9
|
-
interface
|
|
9
|
+
export interface CronJobsProps extends RouteComponentProps<CronJobsRouteParams> {
|
|
10
10
|
}
|
|
11
|
-
export declare class CronJobs extends React.Component<
|
|
11
|
+
export declare class CronJobs extends React.Component<CronJobsProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./daemonset-details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
8
8
|
import { DaemonSet } from "../../../common/k8s-api/endpoints";
|
|
9
|
-
interface
|
|
9
|
+
export interface DaemonSetDetailsProps extends KubeObjectDetailsProps<DaemonSet> {
|
|
10
10
|
}
|
|
11
|
-
export declare const DaemonSetDetails: React.ForwardRefExoticComponent<
|
|
11
|
+
export declare const DaemonSetDetails: React.ForwardRefExoticComponent<DaemonSetDetailsProps & React.RefAttributes<any> & {
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}>;
|
|
14
|
-
export {};
|
|
@@ -7,10 +7,9 @@ import React from "react";
|
|
|
7
7
|
import type { RouteComponentProps } from "react-router";
|
|
8
8
|
import type { DaemonSet } from "../../../common/k8s-api/endpoints";
|
|
9
9
|
import type { DaemonSetsRouteParams } from "../../../common/routes";
|
|
10
|
-
interface
|
|
10
|
+
export interface DaemonSetsProps extends RouteComponentProps<DaemonSetsRouteParams> {
|
|
11
11
|
}
|
|
12
|
-
export declare class DaemonSets extends React.Component<
|
|
12
|
+
export declare class DaemonSets extends React.Component<DaemonSetsProps> {
|
|
13
13
|
getPodsLength(daemonSet: DaemonSet): number;
|
|
14
14
|
render(): JSX.Element;
|
|
15
15
|
}
|
|
16
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./deployment-details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { Deployment } from "../../../common/k8s-api/endpoints";
|
|
8
8
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
9
|
-
interface
|
|
9
|
+
export interface DeploymentDetailsProps extends KubeObjectDetailsProps<Deployment> {
|
|
10
10
|
}
|
|
11
|
-
export declare const DeploymentDetails: React.ForwardRefExoticComponent<
|
|
11
|
+
export declare const DeploymentDetails: React.ForwardRefExoticComponent<DeploymentDetailsProps & React.RefAttributes<any> & {
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}>;
|
|
14
|
-
export {};
|
|
@@ -6,13 +6,12 @@ import "./deployment-replicasets.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { ReplicaSet } from "../../../common/k8s-api/endpoints";
|
|
8
8
|
import { KubeObjectMenuProps } from "../kube-object-menu";
|
|
9
|
-
interface
|
|
9
|
+
export interface DeploymentReplicaSetsProps {
|
|
10
10
|
replicaSets: ReplicaSet[];
|
|
11
11
|
}
|
|
12
|
-
export declare class DeploymentReplicaSets extends React.Component<
|
|
12
|
+
export declare class DeploymentReplicaSets extends React.Component<DeploymentReplicaSetsProps> {
|
|
13
13
|
private sortingCallbacks;
|
|
14
14
|
getPodsLength(replicaSet: ReplicaSet): number;
|
|
15
15
|
render(): JSX.Element;
|
|
16
16
|
}
|
|
17
17
|
export declare function ReplicaSetMenu(props: KubeObjectMenuProps<ReplicaSet>): JSX.Element;
|
|
18
|
-
export {};
|
|
@@ -6,17 +6,17 @@ import "./deployment-scale-dialog.scss";
|
|
|
6
6
|
import React, { Component } from "react";
|
|
7
7
|
import { DialogProps } from "../dialog";
|
|
8
8
|
import { Deployment, DeploymentApi } from "../../../common/k8s-api/endpoints";
|
|
9
|
-
interface
|
|
9
|
+
export interface DeploymentScaleDialogProps extends Partial<DialogProps> {
|
|
10
10
|
deploymentApi: DeploymentApi;
|
|
11
11
|
}
|
|
12
|
-
export declare class DeploymentScaleDialog extends Component<
|
|
12
|
+
export declare class DeploymentScaleDialog extends Component<DeploymentScaleDialogProps> {
|
|
13
13
|
static defaultProps: {
|
|
14
14
|
deploymentApi: DeploymentApi;
|
|
15
15
|
};
|
|
16
16
|
ready: boolean;
|
|
17
17
|
currentReplicas: number;
|
|
18
18
|
desiredReplicas: number;
|
|
19
|
-
constructor(props:
|
|
19
|
+
constructor(props: DeploymentScaleDialogProps);
|
|
20
20
|
static open(deployment: Deployment): void;
|
|
21
21
|
static close(): void;
|
|
22
22
|
get deployment(): Deployment;
|
|
@@ -32,4 +32,3 @@ export declare class DeploymentScaleDialog extends Component<Props> {
|
|
|
32
32
|
renderContents(): JSX.Element;
|
|
33
33
|
render(): JSX.Element;
|
|
34
34
|
}
|
|
35
|
-
export {};
|
|
@@ -7,11 +7,10 @@ import React from "react";
|
|
|
7
7
|
import type { RouteComponentProps } from "react-router";
|
|
8
8
|
import type { Deployment } from "../../../common/k8s-api/endpoints";
|
|
9
9
|
import type { DeploymentsRouteParams } from "../../../common/routes";
|
|
10
|
-
interface
|
|
10
|
+
export interface DeploymentsProps extends RouteComponentProps<DeploymentsRouteParams> {
|
|
11
11
|
}
|
|
12
|
-
export declare class Deployments extends React.Component<
|
|
12
|
+
export declare class Deployments extends React.Component<DeploymentsProps> {
|
|
13
13
|
renderPods(deployment: Deployment): string;
|
|
14
14
|
renderConditions(deployment: Deployment): JSX.Element[];
|
|
15
15
|
render(): JSX.Element;
|
|
16
16
|
}
|
|
17
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./job-details.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
|
8
8
|
import { Job } from "../../../common/k8s-api/endpoints";
|
|
9
|
-
interface
|
|
9
|
+
export interface JobDetailsProps extends KubeObjectDetailsProps<Job> {
|
|
10
10
|
}
|
|
11
|
-
export declare const JobDetails: React.ForwardRefExoticComponent<
|
|
11
|
+
export declare const JobDetails: React.ForwardRefExoticComponent<JobDetailsProps & React.RefAttributes<any> & {
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}>;
|
|
14
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./jobs.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { RouteComponentProps } from "react-router";
|
|
8
8
|
import type { JobsRouteParams } from "../../../common/routes";
|
|
9
|
-
interface
|
|
9
|
+
export interface JobsProps extends RouteComponentProps<JobsRouteParams> {
|
|
10
10
|
}
|
|
11
|
-
export declare class Jobs extends React.Component<
|
|
11
|
+
export declare class Jobs extends React.Component<JobsProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="@ogre-tools/injectable" />
|
|
3
|
+
declare const detailComponentsInjectable: import("@ogre-tools/injectable").NormalInjectable<import("mobx").IComputedValue<import("react").ComponentType<{}>[]>, unknown>;
|
|
4
|
+
export default detailComponentsInjectable;
|
|
@@ -4,12 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import "./overview-workload-status.scss";
|
|
6
6
|
import React from "react";
|
|
7
|
-
interface
|
|
7
|
+
export interface OverviewWorkloadStatusProps {
|
|
8
8
|
status: Record<string, number>;
|
|
9
9
|
}
|
|
10
|
-
export declare class OverviewWorkloadStatus extends React.Component<
|
|
10
|
+
export declare class OverviewWorkloadStatus extends React.Component<OverviewWorkloadStatusProps> {
|
|
11
11
|
elem?: HTMLElement;
|
|
12
12
|
renderChart(): JSX.Element;
|
|
13
13
|
render(): JSX.Element;
|
|
14
14
|
}
|
|
15
|
-
export {};
|
|
@@ -6,9 +6,8 @@ import "./overview.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { RouteComponentProps } from "react-router";
|
|
8
8
|
import type { WorkloadsOverviewRouteParams } from "../../../common/routes";
|
|
9
|
-
interface
|
|
9
|
+
export interface WorkloadsOverviewProps extends RouteComponentProps<WorkloadsOverviewRouteParams> {
|
|
10
10
|
}
|
|
11
|
-
export declare const WorkloadsOverview: React.ForwardRefExoticComponent<
|
|
11
|
+
export declare const WorkloadsOverview: React.ForwardRefExoticComponent<WorkloadsOverviewProps & React.RefAttributes<any> & {
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}>;
|
|
14
|
-
export {};
|
package/dist/src/renderer/components/+workloads-overview/workloads-overview-detail-registration.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
4
|
+
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
5
|
+
*/
|
|
6
|
+
interface WorkloadsOverviewDetailComponents {
|
|
7
|
+
Details: React.ComponentType<{}>;
|
|
8
|
+
}
|
|
9
|
+
export interface WorkloadsOverviewDetailRegistration {
|
|
10
|
+
components: WorkloadsOverviewDetailComponents;
|
|
11
|
+
priority?: number;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -4,9 +4,15 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import "./pod-container-env.scss";
|
|
6
6
|
import type { IPodContainer } from "../../../common/k8s-api/endpoints";
|
|
7
|
-
interface
|
|
7
|
+
export interface ContainerEnvironmentProps {
|
|
8
8
|
container: IPodContainer;
|
|
9
9
|
namespace: string;
|
|
10
10
|
}
|
|
11
|
-
export declare const ContainerEnvironment: (props:
|
|
12
|
-
export {
|
|
11
|
+
export declare const ContainerEnvironment: (props: ContainerEnvironmentProps) => JSX.Element;
|
|
12
|
+
export interface SecretKeyProps {
|
|
13
|
+
reference: {
|
|
14
|
+
name: string;
|
|
15
|
+
key: string;
|
|
16
|
+
};
|
|
17
|
+
namespace: string;
|
|
18
|
+
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import "./pod-container-port.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { Pod } from "../../../common/k8s-api/endpoints";
|
|
8
|
-
interface
|
|
8
|
+
export interface PodContainerPortProps {
|
|
9
9
|
pod: Pod;
|
|
10
10
|
port: {
|
|
11
11
|
name?: string;
|
|
@@ -13,7 +13,6 @@ interface Props {
|
|
|
13
13
|
protocol: string;
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
export declare const PodContainerPort: React.ForwardRefExoticComponent<
|
|
16
|
+
export declare const PodContainerPort: React.ForwardRefExoticComponent<PodContainerPortProps & React.RefAttributes<any> & {
|
|
17
17
|
children?: React.ReactNode;
|
|
18
18
|
}>;
|
|
19
|
-
export {};
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from "react";
|
|
6
6
|
import type { DaemonSet, Deployment, Job, Pod, ReplicaSet, StatefulSet } from "../../../common/k8s-api/endpoints";
|
|
7
|
-
interface
|
|
7
|
+
export interface PodDetailsAffinitiesProps {
|
|
8
8
|
workload: Pod | Deployment | DaemonSet | StatefulSet | ReplicaSet | Job;
|
|
9
9
|
}
|
|
10
|
-
export declare class PodDetailsAffinities extends React.Component<
|
|
10
|
+
export declare class PodDetailsAffinities extends React.Component<PodDetailsAffinitiesProps> {
|
|
11
11
|
render(): JSX.Element;
|
|
12
12
|
}
|
|
13
|
-
export {};
|
|
@@ -6,14 +6,13 @@ import "./pod-details-container.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { IPodContainer, Pod } from "../../../common/k8s-api/endpoints";
|
|
8
8
|
import type { IMetrics } from "../../../common/k8s-api/endpoints/metrics.api";
|
|
9
|
-
interface
|
|
9
|
+
export interface PodDetailsContainerProps {
|
|
10
10
|
pod: Pod;
|
|
11
11
|
container: IPodContainer;
|
|
12
12
|
metrics?: {
|
|
13
13
|
[key: string]: IMetrics;
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
export declare const PodDetailsContainer: React.ForwardRefExoticComponent<
|
|
16
|
+
export declare const PodDetailsContainer: React.ForwardRefExoticComponent<PodDetailsContainerProps & React.RefAttributes<any> & {
|
|
17
17
|
children?: React.ReactNode;
|
|
18
18
|
}>;
|
|
19
|
-
export {};
|
|
@@ -6,15 +6,13 @@ import "./pod-details-list.scss";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { Pod } from "../../../common/k8s-api/endpoints";
|
|
8
8
|
import type { KubeObject } from "../../../common/k8s-api/kube-object";
|
|
9
|
-
interface
|
|
9
|
+
export interface PodDetailsListProps {
|
|
10
10
|
pods: Pod[];
|
|
11
11
|
owner: KubeObject;
|
|
12
|
-
}
|
|
13
|
-
interface OptionalProps {
|
|
14
12
|
maxCpu?: number;
|
|
15
13
|
maxMemory?: number;
|
|
16
14
|
}
|
|
17
|
-
export declare class PodDetailsList extends React.Component<
|
|
15
|
+
export declare class PodDetailsList extends React.Component<PodDetailsListProps> {
|
|
18
16
|
private metricsWatcher;
|
|
19
17
|
componentDidMount(): void;
|
|
20
18
|
componentWillUnmount(): void;
|
|
@@ -23,4 +21,3 @@ export declare class PodDetailsList extends React.Component<Props> {
|
|
|
23
21
|
getTableRow(uid: string): JSX.Element;
|
|
24
22
|
render(): JSX.Element;
|
|
25
23
|
}
|
|
26
|
-
export {};
|
|
@@ -5,14 +5,13 @@
|
|
|
5
5
|
import "./pod-details-secrets.scss";
|
|
6
6
|
import { Component } from "react";
|
|
7
7
|
import { Pod, Secret } from "../../../common/k8s-api/endpoints";
|
|
8
|
-
interface
|
|
8
|
+
export interface PodDetailsSecretsProps {
|
|
9
9
|
pod: Pod;
|
|
10
10
|
}
|
|
11
|
-
export declare class PodDetailsSecrets extends Component<
|
|
11
|
+
export declare class PodDetailsSecrets extends Component<PodDetailsSecretsProps> {
|
|
12
12
|
secrets: Map<string, Secret>;
|
|
13
13
|
componentDidMount(): void;
|
|
14
|
-
constructor(props:
|
|
14
|
+
constructor(props: PodDetailsSecretsProps);
|
|
15
15
|
render(): JSX.Element;
|
|
16
16
|
protected renderSecretLink(secret: Secret): JSX.Element;
|
|
17
17
|
}
|
|
18
|
-
export {};
|
|
@@ -5,10 +5,9 @@
|
|
|
5
5
|
import "./pod-details-statuses.scss";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import type { Pod } from "../../../common/k8s-api/endpoints";
|
|
8
|
-
interface
|
|
8
|
+
export interface PodDetailsStatusesProps {
|
|
9
9
|
pods: Pod[];
|
|
10
10
|
}
|
|
11
|
-
export declare class PodDetailsStatuses extends React.Component<
|
|
11
|
+
export declare class PodDetailsStatuses extends React.Component<PodDetailsStatusesProps> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
14
|
-
export {};
|