@backstage/plugin-kubernetes-react 0.1.0 → 0.1.1-next.1
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 +31 -0
- package/dist/index.d.ts +36 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +9 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @backstage/plugin-kubernetes-react
|
|
2
2
|
|
|
3
|
+
## 0.1.1-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0f4cad6da0: Internal refactor to avoid a null pointer problem
|
|
8
|
+
- b52f576f48: Make sure types exported by other `kubernetes` plugins in the past are exported again after the creation
|
|
9
|
+
of the react package.
|
|
10
|
+
|
|
11
|
+
Some types have been moved to this new package but the export was missing, so they were not available anymore for developers.
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
- @backstage/core-components@0.13.8-next.1
|
|
15
|
+
- @backstage/catalog-model@1.4.3
|
|
16
|
+
- @backstage/core-plugin-api@1.8.0-next.0
|
|
17
|
+
- @backstage/errors@1.2.3
|
|
18
|
+
- @backstage/types@1.1.1
|
|
19
|
+
- @backstage/plugin-kubernetes-common@0.7.1-next.0
|
|
20
|
+
|
|
21
|
+
## 0.1.1-next.0
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 6c2b872153: Add official support for React 18.
|
|
26
|
+
- Updated dependencies
|
|
27
|
+
- @backstage/core-components@0.13.7-next.0
|
|
28
|
+
- @backstage/core-plugin-api@1.8.0-next.0
|
|
29
|
+
- @backstage/catalog-model@1.4.3
|
|
30
|
+
- @backstage/errors@1.2.3
|
|
31
|
+
- @backstage/types@1.1.1
|
|
32
|
+
- @backstage/plugin-kubernetes-common@0.7.1-next.0
|
|
33
|
+
|
|
3
34
|
## 0.1.0
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { Event, Pod, IContainer, IContainerStatus } from 'kubernetes-models/v1';
|
|
|
11
11
|
import { V1HorizontalPodAutoscaler, V1Job, V1ObjectMeta, V1Pod } from '@kubernetes/client-node';
|
|
12
12
|
import * as react_use_lib_useAsyncFn from 'react-use/lib/useAsyncFn';
|
|
13
13
|
import { Pod as Pod$1 } from 'kubernetes-models/v1/Pod';
|
|
14
|
+
import { JsonObject } from '@backstage/types';
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -779,4 +780,38 @@ declare const PodExecTerminal: (props: PodExecTerminalProps) => React__default.J
|
|
|
779
780
|
*/
|
|
780
781
|
declare const PodExecTerminalDialog: (props: PodExecTerminalProps) => React__default.JSX.Element;
|
|
781
782
|
|
|
782
|
-
|
|
783
|
+
/**
|
|
784
|
+
* @public
|
|
785
|
+
*/
|
|
786
|
+
type FormatClusterLinkOptions = {
|
|
787
|
+
dashboardUrl?: string;
|
|
788
|
+
dashboardApp?: string;
|
|
789
|
+
dashboardParameters?: JsonObject;
|
|
790
|
+
object: any;
|
|
791
|
+
kind: string;
|
|
792
|
+
};
|
|
793
|
+
/**
|
|
794
|
+
* @public
|
|
795
|
+
*/
|
|
796
|
+
declare function formatClusterLink(options: FormatClusterLinkOptions): string | undefined;
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* @public
|
|
800
|
+
*/
|
|
801
|
+
interface ClusterLinksFormatterOptions {
|
|
802
|
+
dashboardUrl?: URL;
|
|
803
|
+
dashboardParameters?: JsonObject;
|
|
804
|
+
object: any;
|
|
805
|
+
kind: string;
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* @public
|
|
809
|
+
*/
|
|
810
|
+
type ClusterLinksFormatter = (options: ClusterLinksFormatterOptions) => URL;
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* @public
|
|
814
|
+
*/
|
|
815
|
+
declare const clusterLinksFormatters: Record<string, ClusterLinksFormatter>;
|
|
816
|
+
|
|
817
|
+
export { AksKubernetesAuthProvider, Cluster, ClusterContext, ClusterLinksFormatter, ClusterLinksFormatterOptions, ClusterProps, ContainerCard, ContainerCardProps, ContainerScope, CronJobsAccordions, CronJobsAccordionsProps, CustomResources, CustomResourcesProps, DetectedErrorsContext, ErrorList, ErrorListProps, ErrorMatcher, ErrorPanel, ErrorPanelProps, ErrorReporting, ErrorReportingProps, Events, EventsContent, EventsContentProps, EventsOptions, EventsProps, FixDialog, FixDialogProps, FormatClusterLinkOptions, GoogleKubernetesAuthProvider, GroupedResponsesContext, HorizontalPodAutoscalerDrawer, IngressesAccordions, IngressesAccordionsProps, JobsAccordions, JobsAccordionsProps, KubernetesApi, KubernetesAuthProvider, KubernetesAuthProviders, KubernetesAuthProvidersApi, KubernetesBackendClient, KubernetesDrawer, KubernetesDrawerProps, KubernetesDrawerable, KubernetesObject, KubernetesObjects, KubernetesProxyApi, KubernetesProxyClient, KubernetesStructuredMetadataTableDrawer, KubernetesStructuredMetadataTableDrawerProps, LinkErrorPanel, LinkErrorPanelProps, ManifestYaml, ManifestYamlProps, OidcKubernetesAuthProvider, 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, ResourceUtilization, ResourceUtilizationProps, ServerSideKubernetesAuthProvider, ServicesAccordions, ServicesAccordionsProps, clusterLinksFormatters, formatClusterLink, kubernetesApiRef, kubernetesAuthProvidersApiRef, kubernetesProxyApiRef, useCustomResources, useEvents, useKubernetesObjects, useMatchingErrors, usePodLogs, usePodMetrics };
|
package/dist/index.esm.js
CHANGED
|
@@ -3066,7 +3066,7 @@ const DefaultCustomResourceAccordion = ({
|
|
|
3066
3066
|
customResourceName
|
|
3067
3067
|
}
|
|
3068
3068
|
)),
|
|
3069
|
-
/* @__PURE__ */ React__default.createElement(AccordionDetails, null,
|
|
3069
|
+
/* @__PURE__ */ React__default.createElement(AccordionDetails, null, Object.prototype.hasOwnProperty.call(customResource, "status") && /* @__PURE__ */ React__default.createElement(StructuredMetadataTable, { metadata: customResource.status }))
|
|
3070
3070
|
);
|
|
3071
3071
|
};
|
|
3072
3072
|
const DefaultCustomResourceAccordions = ({
|
|
@@ -3251,5 +3251,5 @@ const ErrorReporting = ({ detectedErrors }) => {
|
|
|
3251
3251
|
));
|
|
3252
3252
|
};
|
|
3253
3253
|
|
|
3254
|
-
export { AksKubernetesAuthProvider, Cluster, ClusterContext, ContainerCard, CronJobsAccordions, CustomResources, DetectedErrorsContext, ErrorList, ErrorPanel, ErrorReporting, Events, EventsContent, FixDialog, GoogleKubernetesAuthProvider, GroupedResponsesContext, HorizontalPodAutoscalerDrawer, IngressesAccordions, JobsAccordions, KubernetesAuthProviders, KubernetesBackendClient, KubernetesDrawer, KubernetesProxyClient, KubernetesStructuredMetadataTableDrawer, LinkErrorPanel, ManifestYaml, OidcKubernetesAuthProvider, PendingPodContent, PodDrawer, PodExecTerminal, PodExecTerminalDialog, PodLogs, PodLogsDialog, PodMetricsContext, PodNamesWithErrorsContext, PodNamesWithMetricsContext, PodsTable, READY_COLUMNS, RESOURCE_COLUMNS, ResourceUtilization, ServerSideKubernetesAuthProvider, ServicesAccordions, kubernetesApiRef, kubernetesAuthProvidersApiRef, kubernetesProxyApiRef, useCustomResources, useEvents, useIsPodExecTerminalSupported, useKubernetesObjects, useMatchingErrors, usePodLogs, usePodMetrics };
|
|
3254
|
+
export { AksKubernetesAuthProvider, Cluster, ClusterContext, ContainerCard, CronJobsAccordions, CustomResources, DetectedErrorsContext, ErrorList, ErrorPanel, ErrorReporting, Events, EventsContent, FixDialog, GoogleKubernetesAuthProvider, GroupedResponsesContext, HorizontalPodAutoscalerDrawer, IngressesAccordions, JobsAccordions, KubernetesAuthProviders, KubernetesBackendClient, KubernetesDrawer, KubernetesProxyClient, KubernetesStructuredMetadataTableDrawer, LinkErrorPanel, ManifestYaml, OidcKubernetesAuthProvider, PendingPodContent, PodDrawer, PodExecTerminal, PodExecTerminalDialog, PodLogs, PodLogsDialog, PodMetricsContext, PodNamesWithErrorsContext, PodNamesWithMetricsContext, PodsTable, READY_COLUMNS, RESOURCE_COLUMNS, ResourceUtilization, ServerSideKubernetesAuthProvider, ServicesAccordions, clusterLinksFormatters, formatClusterLink, kubernetesApiRef, kubernetesAuthProvidersApiRef, kubernetesProxyApiRef, useCustomResources, useEvents, useIsPodExecTerminalSupported, useKubernetesObjects, useMatchingErrors, usePodLogs, usePodMetrics };
|
|
3255
3255
|
//# sourceMappingURL=index.esm.js.map
|