@backstage/plugin-kubernetes-react 0.3.1 → 0.3.3
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/CHANGELOG.md +26 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @backstage/plugin-kubernetes-react
|
|
2
2
|
|
|
3
|
+
## 0.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e8f026a: Use ESM exports of react-use library
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/core-components@0.14.3
|
|
10
|
+
- @backstage/core-plugin-api@1.9.1
|
|
11
|
+
- @backstage/catalog-model@1.4.5
|
|
12
|
+
- @backstage/errors@1.2.4
|
|
13
|
+
- @backstage/types@1.1.1
|
|
14
|
+
- @backstage/plugin-kubernetes-common@0.7.5
|
|
15
|
+
|
|
16
|
+
## 0.3.2
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- e8f026a: Use ESM exports of react-use library
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
- @backstage/core-components@0.14.2
|
|
23
|
+
- @backstage/core-plugin-api@1.9.1
|
|
24
|
+
- @backstage/catalog-model@1.4.5
|
|
25
|
+
- @backstage/errors@1.2.4
|
|
26
|
+
- @backstage/types@1.1.1
|
|
27
|
+
- @backstage/plugin-kubernetes-common@0.7.5
|
|
28
|
+
|
|
3
29
|
## 0.3.1
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import * as kubernetes_models_v1 from 'kubernetes-models/v1';
|
|
|
10
10
|
import { Event, Pod, IContainer, IContainerStatus } from 'kubernetes-models/v1';
|
|
11
11
|
import { JsonObject } from '@backstage/types';
|
|
12
12
|
import { V1HorizontalPodAutoscaler, V1Job, V1ObjectMeta, V1Pod } from '@kubernetes/client-node';
|
|
13
|
-
import * as
|
|
13
|
+
import * as react_use_esm_useAsyncFn from 'react-use/esm/useAsyncFn';
|
|
14
14
|
import { Pod as Pod$1 } from 'kubernetes-models/v1/Pod';
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -651,7 +651,7 @@ interface PodLogsOptions {
|
|
|
651
651
|
*
|
|
652
652
|
* @public
|
|
653
653
|
*/
|
|
654
|
-
declare const usePodLogs: ({ containerScope, previous }: PodLogsOptions) =>
|
|
654
|
+
declare const usePodLogs: ({ containerScope, previous }: PodLogsOptions) => react_use_esm_useAsyncFn.AsyncState<{
|
|
655
655
|
text: string;
|
|
656
656
|
}>;
|
|
657
657
|
|
|
@@ -754,7 +754,7 @@ interface EventsOptions {
|
|
|
754
754
|
*
|
|
755
755
|
* @public
|
|
756
756
|
*/
|
|
757
|
-
declare const useEvents: ({ involvedObjectName, namespace, clusterName, }: EventsOptions) =>
|
|
757
|
+
declare const useEvents: ({ involvedObjectName, namespace, clusterName, }: EventsOptions) => react_use_esm_useAsyncFn.AsyncState<kubernetes_models_v1.Event[]>;
|
|
758
758
|
|
|
759
759
|
/**
|
|
760
760
|
* Props for ErrorList
|
|
@@ -863,4 +863,4 @@ declare const PodExecTerminal: (props: PodExecTerminalProps) => React__default.J
|
|
|
863
863
|
*/
|
|
864
864
|
declare const PodExecTerminalDialog: (props: PodExecTerminalProps) => false | React__default.JSX.Element | undefined;
|
|
865
865
|
|
|
866
|
-
export { AksClusterLinksFormatter, AksKubernetesAuthProvider, Cluster, ClusterContext, ClusterLinksFormatter, ClusterLinksFormatterOptions, ClusterProps, ContainerCard, ContainerCardProps, ContainerScope, CronJobsAccordions, CronJobsAccordionsProps, CustomResources, CustomResourcesProps, DEFAULT_FORMATTER_NAME, DetectedErrorsContext, EksClusterLinksFormatter, ErrorList, ErrorListProps, ErrorMatcher, ErrorPanel, ErrorPanelProps, ErrorReporting, ErrorReportingProps, Events, EventsContent, EventsContentProps, EventsOptions, EventsProps, FixDialog, FixDialogProps, FormatClusterLinkOptions, GkeClusterLinksFormatter, GoogleKubernetesAuthProvider, GroupedResponsesContext, HorizontalPodAutoscalerDrawer, IngressesAccordions, IngressesAccordionsProps, JobsAccordions, JobsAccordionsProps, KubernetesApi, KubernetesAuthProvider, KubernetesAuthProviders, KubernetesAuthProvidersApi, KubernetesBackendClient, KubernetesClusterLinkFormatter, KubernetesClusterLinkFormatterApi, KubernetesDrawer, KubernetesDrawerProps, KubernetesDrawerable, KubernetesObject, KubernetesObjects, KubernetesProxyApi, KubernetesProxyClient, KubernetesStructuredMetadataTableDrawer, KubernetesStructuredMetadataTableDrawerProps, LinkErrorPanel, LinkErrorPanelProps, ManifestYaml, ManifestYamlProps, OidcKubernetesAuthProvider, OpenshiftClusterLinksFormatter, PendingPodContent, PendingPodContentProps, PodAndErrors, PodColumns, PodDrawer, PodDrawerProps, PodExecTerminal, PodExecTerminalDialog, PodExecTerminalProps, PodLogs, PodLogsDialog, PodLogsDialogProps, PodLogsOptions, PodLogsProps, PodMetricsContext, PodMetricsMatcher, PodNamesWithErrorsContext, PodNamesWithMetricsContext, PodScope, PodsTable, PodsTablesProps, READY_COLUMNS, RESOURCE_COLUMNS, RancherClusterLinksFormatter, ResourceUtilization, ResourceUtilizationProps, ServerSideKubernetesAuthProvider, ServicesAccordions, ServicesAccordionsProps, StandardClusterLinksFormatter, getDefaultFormatters, kubernetesApiRef, kubernetesAuthProvidersApiRef, kubernetesClusterLinkFormatterApiRef, kubernetesProxyApiRef, useCustomResources, useEvents, useKubernetesObjects, useMatchingErrors, usePodLogs, usePodMetrics };
|
|
866
|
+
export { AksClusterLinksFormatter, AksKubernetesAuthProvider, Cluster, ClusterContext, type ClusterLinksFormatter, type ClusterLinksFormatterOptions, type ClusterProps, ContainerCard, type ContainerCardProps, type ContainerScope, CronJobsAccordions, type CronJobsAccordionsProps, CustomResources, type CustomResourcesProps, DEFAULT_FORMATTER_NAME, DetectedErrorsContext, EksClusterLinksFormatter, ErrorList, type ErrorListProps, type ErrorMatcher, ErrorPanel, type ErrorPanelProps, ErrorReporting, type ErrorReportingProps, Events, EventsContent, type EventsContentProps, type EventsOptions, type EventsProps, FixDialog, type FixDialogProps, type FormatClusterLinkOptions, GkeClusterLinksFormatter, GoogleKubernetesAuthProvider, GroupedResponsesContext, HorizontalPodAutoscalerDrawer, IngressesAccordions, type IngressesAccordionsProps, JobsAccordions, type JobsAccordionsProps, type KubernetesApi, type KubernetesAuthProvider, KubernetesAuthProviders, type KubernetesAuthProvidersApi, KubernetesBackendClient, KubernetesClusterLinkFormatter, type KubernetesClusterLinkFormatterApi, KubernetesDrawer, type KubernetesDrawerProps, type KubernetesDrawerable, type KubernetesObject, type KubernetesObjects, type KubernetesProxyApi, KubernetesProxyClient, KubernetesStructuredMetadataTableDrawer, type KubernetesStructuredMetadataTableDrawerProps, LinkErrorPanel, type LinkErrorPanelProps, ManifestYaml, type ManifestYamlProps, OidcKubernetesAuthProvider, OpenshiftClusterLinksFormatter, PendingPodContent, type PendingPodContentProps, type PodAndErrors, type PodColumns, PodDrawer, type PodDrawerProps, PodExecTerminal, PodExecTerminalDialog, type PodExecTerminalProps, PodLogs, PodLogsDialog, type PodLogsDialogProps, type PodLogsOptions, type PodLogsProps, PodMetricsContext, type PodMetricsMatcher, PodNamesWithErrorsContext, PodNamesWithMetricsContext, type PodScope, PodsTable, type PodsTablesProps, READY_COLUMNS, RESOURCE_COLUMNS, RancherClusterLinksFormatter, ResourceUtilization, type ResourceUtilizationProps, ServerSideKubernetesAuthProvider, ServicesAccordions, type ServicesAccordionsProps, StandardClusterLinksFormatter, getDefaultFormatters, kubernetesApiRef, kubernetesAuthProvidersApiRef, kubernetesClusterLinkFormatterApiRef, kubernetesProxyApiRef, useCustomResources, useEvents, useKubernetesObjects, useMatchingErrors, usePodLogs, usePodMetrics };
|
package/dist/index.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useApi, configApiRef, createApiRef, discoveryApiRef } from '@backstage/core-plugin-api';
|
|
2
|
-
import useAsync from 'react-use/
|
|
2
|
+
import useAsync from 'react-use/esm/useAsync';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { useCallback, useContext, useState, useEffect, useMemo, Fragment } from 'react';
|
|
5
|
-
import useInterval from 'react-use/
|
|
6
|
-
import useAsyncRetry from 'react-use/
|
|
5
|
+
import useInterval from 'react-use/esm/useInterval';
|
|
6
|
+
import useAsyncRetry from 'react-use/esm/useAsyncRetry';
|
|
7
7
|
import { stringifyEntityRef } from '@backstage/catalog-model';
|
|
8
8
|
import { NotFoundError } from '@backstage/errors';
|
|
9
9
|
import { makeStyles, createStyles, Dialog, DialogTitle, IconButton, DialogContent, Button, Grid, Typography, Paper, Card, CardHeader, CardContent, CardActions, FormControlLabel, Switch, Drawer, withStyles as withStyles$1, List, ListItem, Container, Tooltip, ListItemText, ListItemAvatar, Avatar, Divider, Chip, Accordion, AccordionSummary, AccordionDetails, Stepper, Step, StepLabel } from '@material-ui/core';
|