@backstage/plugin-kubernetes-react 0.5.14-next.1 → 0.5.14

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @backstage/plugin-kubernetes-react
2
2
 
3
+ ## 0.5.14
4
+
5
+ ### Patch Changes
6
+
7
+ - f966a85: Enabled a pod terminal at GKE
8
+ - 8fa8d87: Add Kubernetes Plugin Secrets Accordion with masked secret datas
9
+ - f15d5f1: add missing i18n support for kubernetes and kubernetes-react
10
+ - Updated dependencies
11
+ - @backstage/core-components@0.18.4
12
+ - @backstage/plugin-kubernetes-common@0.9.9
13
+ - @backstage/core-plugin-api@1.12.1
14
+
3
15
  ## 0.5.14-next.1
4
16
 
5
17
  ### Patch Changes
package/dist/alpha.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import * as _backstage_core_plugin_api_alpha from '@backstage/core-plugin-api/alpha';
1
+ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
2
2
 
3
3
  /** @alpha */
4
- declare const kubernetesReactTranslationRef: _backstage_core_plugin_api_alpha.TranslationRef<"kubernetes-react", {
4
+ declare const kubernetesReactTranslationRef: _backstage_frontend_plugin_api.TranslationRef<"kubernetes-react", {
5
5
  readonly "namespace.label": "namespace:";
6
6
  readonly "namespace.labelWithValue": "namespace: {{namespace}}";
7
7
  readonly "events.noEventsFound": "No events found";
package/dist/index.d.ts CHANGED
@@ -4,11 +4,11 @@ import * as react from 'react';
4
4
  import { ReactNode, FC } from 'react';
5
5
  import { IObjectMeta, IIoK8sApimachineryPkgApisMetaV1ObjectMeta } from '@kubernetes-models/apimachinery/apis/meta/v1/ObjectMeta';
6
6
  import { TypeMeta } from '@kubernetes-models/base';
7
- import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
8
- import { OAuthApi, OpenIdConnectApi, DiscoveryApi, FetchApi, ProfileInfoApi } from '@backstage/core-plugin-api';
7
+ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
9
8
  import * as kubernetes_models_v1 from 'kubernetes-models/v1';
10
9
  import { Event, Pod, IContainer, IContainerStatus } from 'kubernetes-models/v1';
11
10
  import { JsonObject } from '@backstage/types';
11
+ import { OAuthApi, OpenIdConnectApi, DiscoveryApi, FetchApi, ProfileInfoApi } from '@backstage/core-plugin-api';
12
12
  import * as react_jsx_runtime from 'react/jsx-runtime';
13
13
  import { V2HorizontalPodAutoscaler, V1Job, V1ObjectMeta, V1Pod } from '@kubernetes/client-node';
14
14
  import * as react_use_esm_useAsyncFn from 'react-use/esm/useAsyncFn';
@@ -98,11 +98,11 @@ type ErrorMatcher = {
98
98
  declare const useMatchingErrors: (matcher: ErrorMatcher) => DetectedError[];
99
99
 
100
100
  /** @public */
101
- declare const kubernetesApiRef: _backstage_core_plugin_api.ApiRef<KubernetesApi>;
101
+ declare const kubernetesApiRef: _backstage_frontend_plugin_api.ApiRef<KubernetesApi>;
102
102
  /** @public */
103
- declare const kubernetesProxyApiRef: _backstage_core_plugin_api.ApiRef<KubernetesProxyApi>;
103
+ declare const kubernetesProxyApiRef: _backstage_frontend_plugin_api.ApiRef<KubernetesProxyApi>;
104
104
  /** @public */
105
- declare const kubernetesClusterLinkFormatterApiRef: _backstage_core_plugin_api.ApiRef<KubernetesClusterLinkFormatterApi>;
105
+ declare const kubernetesClusterLinkFormatterApiRef: _backstage_frontend_plugin_api.ApiRef<KubernetesClusterLinkFormatterApi>;
106
106
  /** @public */
107
107
  interface KubernetesApi {
108
108
  getObjectsByEntity(requestBody: KubernetesRequestBody): Promise<ObjectsByEntityResponse>;
@@ -172,7 +172,7 @@ interface KubernetesAuthProvider {
172
172
  }>;
173
173
  }
174
174
  /** @public */
175
- declare const kubernetesAuthProvidersApiRef: _backstage_core_plugin_api.ApiRef<KubernetesAuthProvidersApi>;
175
+ declare const kubernetesAuthProvidersApiRef: _backstage_frontend_plugin_api.ApiRef<KubernetesAuthProvidersApi>;
176
176
  /** @public */
177
177
  interface KubernetesAuthProvidersApi {
178
178
  decorateRequestBodyForAuth(authProvider: string, requestBody: KubernetesRequestBody): Promise<KubernetesRequestBody>;
@@ -885,4 +885,5 @@ declare const PodExecTerminal: (props: PodExecTerminalProps) => react_jsx_runtim
885
885
  */
886
886
  declare const PodExecTerminalDialog: (props: PodExecTerminalProps) => false | react_jsx_runtime.JSX.Element | undefined;
887
887
 
888
- 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, HeadlampClusterLinksFormatter, 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 };
888
+ export { AksClusterLinksFormatter, AksKubernetesAuthProvider, Cluster, ClusterContext, ContainerCard, CronJobsAccordions, CustomResources, DEFAULT_FORMATTER_NAME, DetectedErrorsContext, EksClusterLinksFormatter, ErrorList, ErrorPanel, ErrorReporting, Events, EventsContent, FixDialog, GkeClusterLinksFormatter, GoogleKubernetesAuthProvider, GroupedResponsesContext, HeadlampClusterLinksFormatter, HorizontalPodAutoscalerDrawer, IngressesAccordions, JobsAccordions, KubernetesAuthProviders, KubernetesBackendClient, KubernetesClusterLinkFormatter, KubernetesDrawer, KubernetesProxyClient, KubernetesStructuredMetadataTableDrawer, LinkErrorPanel, ManifestYaml, OidcKubernetesAuthProvider, OpenshiftClusterLinksFormatter, PendingPodContent, PodDrawer, PodExecTerminal, PodExecTerminalDialog, PodLogs, PodLogsDialog, PodMetricsContext, PodNamesWithErrorsContext, PodNamesWithMetricsContext, PodsTable, READY_COLUMNS, RESOURCE_COLUMNS, RancherClusterLinksFormatter, ResourceUtilization, ServerSideKubernetesAuthProvider, ServicesAccordions, StandardClusterLinksFormatter, getDefaultFormatters, kubernetesApiRef, kubernetesAuthProvidersApiRef, kubernetesClusterLinkFormatterApiRef, kubernetesProxyApiRef, useCustomResources, useEvents, useKubernetesObjects, useMatchingErrors, usePodLogs, usePodMetrics };
889
+ export type { ClusterLinksFormatter, ClusterLinksFormatterOptions, ClusterProps, ContainerCardProps, ContainerScope, CronJobsAccordionsProps, CustomResourcesProps, ErrorListProps, ErrorMatcher, ErrorPanelProps, ErrorReportingProps, EventsContentProps, EventsOptions, EventsProps, FixDialogProps, FormatClusterLinkOptions, IngressesAccordionsProps, JobsAccordionsProps, KubernetesApi, KubernetesAuthProvider, KubernetesAuthProvidersApi, KubernetesClusterLinkFormatterApi, KubernetesDrawerProps, KubernetesDrawerable, KubernetesObject, KubernetesObjects, KubernetesProxyApi, KubernetesStructuredMetadataTableDrawerProps, LinkErrorPanelProps, ManifestYamlProps, PendingPodContentProps, PodAndErrors, PodColumns, PodDrawerProps, PodExecTerminalProps, PodLogsDialogProps, PodLogsOptions, PodLogsProps, PodMetricsMatcher, PodScope, PodsTablesProps, ResourceUtilizationProps, ServicesAccordionsProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-kubernetes-react",
3
- "version": "0.5.14-next.1",
3
+ "version": "0.5.14",
4
4
  "description": "Web library for the kubernetes-react plugin",
5
5
  "backstage": {
6
6
  "role": "web-library",
@@ -62,12 +62,12 @@
62
62
  "test": "backstage-cli package test"
63
63
  },
64
64
  "dependencies": {
65
- "@backstage/catalog-model": "1.7.6",
66
- "@backstage/core-components": "0.18.4-next.1",
67
- "@backstage/core-plugin-api": "1.12.1-next.0",
68
- "@backstage/errors": "1.2.7",
69
- "@backstage/plugin-kubernetes-common": "0.9.9-next.0",
70
- "@backstage/types": "1.2.2",
65
+ "@backstage/catalog-model": "^1.7.6",
66
+ "@backstage/core-components": "^0.18.4",
67
+ "@backstage/core-plugin-api": "^1.12.1",
68
+ "@backstage/errors": "^1.2.7",
69
+ "@backstage/plugin-kubernetes-common": "^0.9.9",
70
+ "@backstage/types": "^1.2.2",
71
71
  "@kubernetes-models/apimachinery": "^2.0.0",
72
72
  "@kubernetes-models/base": "^5.0.0",
73
73
  "@kubernetes/client-node": "1.4.0",
@@ -85,14 +85,14 @@
85
85
  "react-use": "^17.4.0"
86
86
  },
87
87
  "devDependencies": {
88
- "@backstage/cli": "0.34.6-next.1",
89
- "@backstage/core-app-api": "1.19.3-next.0",
90
- "@backstage/test-utils": "1.7.14-next.0",
88
+ "@backstage/cli": "^0.35.0",
89
+ "@backstage/core-app-api": "^1.19.3",
90
+ "@backstage/test-utils": "^1.7.14",
91
91
  "@testing-library/jest-dom": "^6.0.0",
92
92
  "@testing-library/react": "^16.0.0",
93
93
  "@types/react": "^18.0.0",
94
94
  "jest-websocket-mock": "^2.5.0",
95
- "msw": "^1.3.1",
95
+ "msw": "^2.0.0",
96
96
  "react": "^18.0.2",
97
97
  "react-dom": "^18.0.2",
98
98
  "react-router-dom": "^6.3.0"