@backstage/plugin-kubernetes-react 0.5.17-next.0 → 0.5.18-next.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/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @backstage/plugin-kubernetes-react
2
2
 
3
+ ## 0.5.18-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/core-components@0.18.9-next.0
9
+ - @backstage/core-plugin-api@1.12.5-next.0
10
+ - @backstage/catalog-model@1.7.7
11
+ - @backstage/errors@1.2.7
12
+ - @backstage/types@1.2.2
13
+ - @backstage/plugin-kubernetes-common@0.9.10
14
+
15
+ ## 0.5.17
16
+
17
+ ### Patch Changes
18
+
19
+ - 0be2541: Promoted the plugin's translation ref to the stable package entry point. It was previously only available through the alpha entry point.
20
+ - Updated dependencies
21
+ - @backstage/core-plugin-api@1.12.4
22
+ - @backstage/core-components@0.18.8
23
+ - @backstage/catalog-model@1.7.7
24
+
3
25
  ## 0.5.17-next.0
4
26
 
5
27
  ### Patch Changes
package/dist/alpha.d.ts CHANGED
@@ -1,6 +1,9 @@
1
1
  import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
2
2
 
3
- /** @alpha */
3
+ /**
4
+ * @alpha
5
+ * @deprecated Import from `@backstage/plugin-kubernetes-react` instead.
6
+ */
4
7
  declare const kubernetesReactTranslationRef: _backstage_frontend_plugin_api.TranslationRef<"kubernetes-react", {
5
8
  readonly "namespace.label": "namespace:";
6
9
  readonly "namespace.labelWithValue": "namespace: {{namespace}}";
package/dist/alpha.esm.js CHANGED
@@ -1,2 +1,6 @@
1
- export { kubernetesReactTranslationRef } from './translation.esm.js';
1
+ import { kubernetesReactTranslationRef as kubernetesReactTranslationRef$1 } from './translation.esm.js';
2
+
3
+ const kubernetesReactTranslationRef = kubernetesReactTranslationRef$1;
4
+
5
+ export { kubernetesReactTranslationRef };
2
6
  //# sourceMappingURL=alpha.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alpha.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"alpha.esm.js","sources":["../src/alpha.ts"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { kubernetesReactTranslationRef as _kubernetesReactTranslationRef } from './translation';\n\n/**\n * @alpha\n * @deprecated Import from `@backstage/plugin-kubernetes-react` instead.\n */\nexport const kubernetesReactTranslationRef = _kubernetesReactTranslationRef;\n"],"names":["_kubernetesReactTranslationRef"],"mappings":";;AAsBO,MAAM,6BAAA,GAAgCA;;;;"}
package/dist/index.d.ts CHANGED
@@ -885,5 +885,87 @@ 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, 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 };
888
+ /** @public */
889
+ declare const kubernetesReactTranslationRef: _backstage_frontend_plugin_api.TranslationRef<"kubernetes-react", {
890
+ readonly "namespace.label": "namespace:";
891
+ readonly "namespace.labelWithValue": "namespace: {{namespace}}";
892
+ readonly "events.noEventsFound": "No events found";
893
+ readonly "events.eventTooltip": "{{eventType}} event";
894
+ readonly "events.firstEvent": "First event {{timeAgo}} (count: {{count}})";
895
+ readonly "cluster.label": "Cluster";
896
+ readonly "cluster.pods": "pods";
897
+ readonly "cluster.pods_one": "{{count}} pod";
898
+ readonly "cluster.pods_other": "{{count}} pods";
899
+ readonly "cluster.podsWithErrors": "pods with errors";
900
+ readonly "cluster.podsWithErrors_one": "{{count}} pod with errors";
901
+ readonly "cluster.podsWithErrors_other": "{{count}} pods with errors";
902
+ readonly "cluster.noPodsWithErrors": "No pods with errors";
903
+ readonly "pods.pods_one": "{{count}} pod";
904
+ readonly "pods.pods_other": "{{count}} pods";
905
+ readonly "podsTable.columns.name": "name";
906
+ readonly "podsTable.columns.id": "ID";
907
+ readonly "podsTable.columns.status": "status";
908
+ readonly "podsTable.columns.phase": "phase";
909
+ readonly "podsTable.columns.containersReady": "containers ready";
910
+ readonly "podsTable.columns.totalRestarts": "total restarts";
911
+ readonly "podsTable.columns.cpuUsage": "CPU usage %";
912
+ readonly "podsTable.columns.memoryUsage": "Memory usage %";
913
+ readonly "podsTable.unknown": "unknown";
914
+ readonly "podsTable.status.running": "Running";
915
+ readonly "podsTable.status.ok": "OK";
916
+ readonly "errorPanel.message": "There was a problem retrieving some Kubernetes resources for the entity: {{entityName}}. This could mean that the Error Reporting card is not completely accurate.";
917
+ readonly "errorPanel.title": "There was a problem retrieving Kubernetes objects";
918
+ readonly "errorPanel.errorsLabel": "Errors";
919
+ readonly "errorPanel.clusterLabel": "Cluster";
920
+ readonly "errorPanel.clusterLabelValue": "Cluster: {{cluster}}";
921
+ readonly "errorPanel.fetchError": "Error communicating with Kubernetes: {{errorType}}, message: {{message}}";
922
+ readonly "errorPanel.resourceError": "Error fetching Kubernetes resource: '{{resourcePath}}', error: {{errorType}}, status code: {{statusCode}}";
923
+ readonly "fixDialog.title": "{{podName}} - {{errorType}}";
924
+ readonly "fixDialog.events": "Events:";
925
+ readonly "fixDialog.helpButton": "Help";
926
+ readonly "fixDialog.detectedError": "Detected error:";
927
+ readonly "fixDialog.causeExplanation": "Cause explanation:";
928
+ readonly "fixDialog.fix": "Fix:";
929
+ readonly "fixDialog.crashLogs": "Crash logs:";
930
+ readonly "fixDialog.openDocs": "Open docs";
931
+ readonly "fixDialog.ariaLabels.close": "close";
932
+ readonly "fixDialog.ariaLabels.fixIssue": "fix issue";
933
+ readonly "podDrawer.buttons.delete": "Delete Pod";
934
+ readonly "podDrawer.cpuRequests": "CPU requests";
935
+ readonly "podDrawer.cpuLimits": "CPU limits";
936
+ readonly "podDrawer.memoryRequests": "Memory requests";
937
+ readonly "podDrawer.memoryLimits": "Memory limits";
938
+ readonly "podDrawer.resourceUtilization": "Resource utilization";
939
+ readonly "hpa.minReplicas": "min replicas";
940
+ readonly "hpa.maxReplicas": "max replicas";
941
+ readonly "hpa.replicasSummary": "min replicas {{min}} / max replicas {{max}}";
942
+ readonly "hpa.currentCpuUsage": "current CPU usage:";
943
+ readonly "hpa.currentCpuUsageLabel": "current CPU usage: {{value}}%";
944
+ readonly "hpa.targetCpuUsage": "target CPU usage:";
945
+ readonly "hpa.targetCpuUsageLabel": "target CPU usage: {{value}}%";
946
+ readonly "errorReporting.columns.name": "name";
947
+ readonly "errorReporting.columns.kind": "kind";
948
+ readonly "errorReporting.columns.namespace": "namespace";
949
+ readonly "errorReporting.columns.messages": "messages";
950
+ readonly "errorReporting.columns.cluster": "cluster";
951
+ readonly "errorReporting.title": "Error Reporting";
952
+ readonly "podLogs.title": "No logs emitted";
953
+ readonly "podLogs.description": "No logs were emitted by the container";
954
+ readonly "podLogs.buttonText": "Logs";
955
+ readonly "podLogs.titleTemplate": "{{podName}} - {{containerName}} logs on cluster {{clusterName}}";
956
+ readonly "podLogs.buttonAriaLabel": "get logs";
957
+ readonly "podExecTerminal.buttonText": "Terminal";
958
+ readonly "podExecTerminal.titleTemplate": "{{podName}} - {{containerName}} terminal shell on cluster {{clusterName}}";
959
+ readonly "podExecTerminal.buttonAriaLabel": "open terminal";
960
+ readonly "kubernetesDrawer.yaml": "YAML";
961
+ readonly "kubernetesDrawer.closeDrawer": "Close the drawer";
962
+ readonly "kubernetesDrawer.managedFields": "Managed Fields";
963
+ readonly "kubernetesDrawer.unknownName": "unknown name";
964
+ readonly "linkErrorPanel.message": "Could not format the link to the dashboard of your cluster named '{{clusterName}}'. Its dashboardApp property has been set to '{{dashboardApp}}.'";
965
+ readonly "linkErrorPanel.title": "There was a problem formatting the link to the Kubernetes dashboard";
966
+ readonly "linkErrorPanel.errorsLabel": "Errors:";
967
+ readonly "kubernetesDialog.closeAriaLabel": "close";
968
+ }>;
969
+
970
+ 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, kubernetesReactTranslationRef, useCustomResources, useEvents, useKubernetesObjects, useMatchingErrors, usePodLogs, usePodMetrics };
889
971
  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/dist/index.esm.js CHANGED
@@ -46,6 +46,7 @@ export { ServicesAccordions } from './components/ServicesAccordions/ServicesAcco
46
46
  export { ResourceUtilization } from './components/ResourceUtilization/ResourceUtilization.esm.js';
47
47
  export { PodExecTerminal } from './components/PodExecTerminal/PodExecTerminal.esm.js';
48
48
  export { PodExecTerminalDialog } from './components/PodExecTerminal/PodExecTerminalDialog.esm.js';
49
+ export { kubernetesReactTranslationRef } from './translation.esm.js';
49
50
  export { StandardClusterLinksFormatter } from './api/formatters/StandardClusterLinksFormatter.esm.js';
50
51
  export { AksClusterLinksFormatter } from './api/formatters/AksClusterLinksFormatter.esm.js';
51
52
  export { EksClusterLinksFormatter } from './api/formatters/EksClusterLinksFormatter.esm.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"translation.esm.js","sources":["../src/translation.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n/** @alpha */\nexport const kubernetesReactTranslationRef = createTranslationRef({\n id: 'kubernetes-react',\n messages: {\n cluster: {\n label: 'Cluster',\n pods: 'pods',\n pods_one: '{{count}} pod',\n pods_other: '{{count}} pods',\n podsWithErrors: 'pods with errors',\n podsWithErrors_one: '{{count}} pod with errors',\n podsWithErrors_other: '{{count}} pods with errors',\n noPodsWithErrors: 'No pods with errors',\n },\n podsTable: {\n columns: {\n id: 'ID',\n name: 'name',\n phase: 'phase',\n status: 'status',\n containersReady: 'containers ready',\n totalRestarts: 'total restarts',\n cpuUsage: 'CPU usage %',\n memoryUsage: 'Memory usage %',\n },\n unknown: 'unknown',\n status: {\n running: 'Running',\n ok: 'OK',\n },\n },\n errorPanel: {\n title: 'There was a problem retrieving Kubernetes objects',\n message:\n 'There was a problem retrieving some Kubernetes resources for the entity: {{entityName}}. This could mean that the Error Reporting card is not completely accurate.',\n errorsLabel: 'Errors',\n clusterLabel: 'Cluster',\n clusterLabelValue: 'Cluster: {{cluster}}',\n fetchError:\n 'Error communicating with Kubernetes: {{errorType}}, message: {{message}}',\n resourceError:\n \"Error fetching Kubernetes resource: '{{resourcePath}}', error: {{errorType}}, status code: {{statusCode}}\",\n },\n fixDialog: {\n helpButton: 'Help',\n title: '{{podName}} - {{errorType}}',\n detectedError: 'Detected error:',\n causeExplanation: 'Cause explanation:',\n fix: 'Fix:',\n crashLogs: 'Crash logs:',\n events: 'Events:',\n openDocs: 'Open docs',\n ariaLabels: {\n fixIssue: 'fix issue',\n close: 'close',\n },\n },\n podDrawer: {\n buttons: {\n delete: 'Delete Pod',\n },\n cpuRequests: 'CPU requests',\n cpuLimits: 'CPU limits',\n memoryRequests: 'Memory requests',\n memoryLimits: 'Memory limits',\n resourceUtilization: 'Resource utilization',\n },\n hpa: {\n minReplicas: 'min replicas',\n maxReplicas: 'max replicas',\n replicasSummary: 'min replicas {{min}} / max replicas {{max}}',\n currentCpuUsage: 'current CPU usage:',\n currentCpuUsageLabel: 'current CPU usage: {{value}}%',\n targetCpuUsage: 'target CPU usage:',\n targetCpuUsageLabel: 'target CPU usage: {{value}}%',\n },\n pods: {\n pods_one: '{{count}} pod',\n pods_other: '{{count}} pods',\n },\n errorReporting: {\n title: 'Error Reporting',\n columns: {\n cluster: 'cluster',\n namespace: 'namespace',\n kind: 'kind',\n name: 'name',\n messages: 'messages',\n },\n },\n podLogs: {\n title: 'No logs emitted',\n description: 'No logs were emitted by the container',\n buttonText: 'Logs',\n buttonAriaLabel: 'get logs',\n titleTemplate:\n '{{podName}} - {{containerName}} logs on cluster {{clusterName}}',\n },\n podExecTerminal: {\n buttonText: 'Terminal',\n buttonAriaLabel: 'open terminal',\n titleTemplate:\n '{{podName}} - {{containerName}} terminal shell on cluster {{clusterName}}',\n },\n events: {\n noEventsFound: 'No events found',\n eventTooltip: '{{eventType}} event',\n firstEvent: 'First event {{timeAgo}} (count: {{count}})',\n },\n kubernetesDrawer: {\n closeDrawer: 'Close the drawer',\n yaml: 'YAML',\n managedFields: 'Managed Fields',\n unknownName: 'unknown name',\n },\n linkErrorPanel: {\n title:\n 'There was a problem formatting the link to the Kubernetes dashboard',\n message:\n \"Could not format the link to the dashboard of your cluster named '{{clusterName}}'. Its dashboardApp property has been set to '{{dashboardApp}}.'\",\n errorsLabel: 'Errors:',\n },\n namespace: {\n label: 'namespace:',\n labelWithValue: 'namespace: {{namespace}}',\n },\n kubernetesDialog: {\n closeAriaLabel: 'close',\n },\n },\n});\n"],"names":[],"mappings":";;AAmBO,MAAM,gCAAgC,oBAAA,CAAqB;AAAA,EAChE,EAAA,EAAI,kBAAA;AAAA,EACJ,QAAA,EAAU;AAAA,IACR,OAAA,EAAS;AAAA,MACP,KAAA,EAAO,SAAA;AAAA,MACP,IAAA,EAAM,MAAA;AAAA,MACN,QAAA,EAAU,eAAA;AAAA,MACV,UAAA,EAAY,gBAAA;AAAA,MACZ,cAAA,EAAgB,kBAAA;AAAA,MAChB,kBAAA,EAAoB,2BAAA;AAAA,MACpB,oBAAA,EAAsB,4BAAA;AAAA,MACtB,gBAAA,EAAkB;AAAA,KACpB;AAAA,IACA,SAAA,EAAW;AAAA,MACT,OAAA,EAAS;AAAA,QACP,EAAA,EAAI,IAAA;AAAA,QACJ,IAAA,EAAM,MAAA;AAAA,QACN,KAAA,EAAO,OAAA;AAAA,QACP,MAAA,EAAQ,QAAA;AAAA,QACR,eAAA,EAAiB,kBAAA;AAAA,QACjB,aAAA,EAAe,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":["../src/translation.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n/** @public */\nexport const kubernetesReactTranslationRef = createTranslationRef({\n id: 'kubernetes-react',\n messages: {\n cluster: {\n label: 'Cluster',\n pods: 'pods',\n pods_one: '{{count}} pod',\n pods_other: '{{count}} pods',\n podsWithErrors: 'pods with errors',\n podsWithErrors_one: '{{count}} pod with errors',\n podsWithErrors_other: '{{count}} pods with errors',\n noPodsWithErrors: 'No pods with errors',\n },\n podsTable: {\n columns: {\n id: 'ID',\n name: 'name',\n phase: 'phase',\n status: 'status',\n containersReady: 'containers ready',\n totalRestarts: 'total restarts',\n cpuUsage: 'CPU usage %',\n memoryUsage: 'Memory usage %',\n },\n unknown: 'unknown',\n status: {\n running: 'Running',\n ok: 'OK',\n },\n },\n errorPanel: {\n title: 'There was a problem retrieving Kubernetes objects',\n message:\n 'There was a problem retrieving some Kubernetes resources for the entity: {{entityName}}. This could mean that the Error Reporting card is not completely accurate.',\n errorsLabel: 'Errors',\n clusterLabel: 'Cluster',\n clusterLabelValue: 'Cluster: {{cluster}}',\n fetchError:\n 'Error communicating with Kubernetes: {{errorType}}, message: {{message}}',\n resourceError:\n \"Error fetching Kubernetes resource: '{{resourcePath}}', error: {{errorType}}, status code: {{statusCode}}\",\n },\n fixDialog: {\n helpButton: 'Help',\n title: '{{podName}} - {{errorType}}',\n detectedError: 'Detected error:',\n causeExplanation: 'Cause explanation:',\n fix: 'Fix:',\n crashLogs: 'Crash logs:',\n events: 'Events:',\n openDocs: 'Open docs',\n ariaLabels: {\n fixIssue: 'fix issue',\n close: 'close',\n },\n },\n podDrawer: {\n buttons: {\n delete: 'Delete Pod',\n },\n cpuRequests: 'CPU requests',\n cpuLimits: 'CPU limits',\n memoryRequests: 'Memory requests',\n memoryLimits: 'Memory limits',\n resourceUtilization: 'Resource utilization',\n },\n hpa: {\n minReplicas: 'min replicas',\n maxReplicas: 'max replicas',\n replicasSummary: 'min replicas {{min}} / max replicas {{max}}',\n currentCpuUsage: 'current CPU usage:',\n currentCpuUsageLabel: 'current CPU usage: {{value}}%',\n targetCpuUsage: 'target CPU usage:',\n targetCpuUsageLabel: 'target CPU usage: {{value}}%',\n },\n pods: {\n pods_one: '{{count}} pod',\n pods_other: '{{count}} pods',\n },\n errorReporting: {\n title: 'Error Reporting',\n columns: {\n cluster: 'cluster',\n namespace: 'namespace',\n kind: 'kind',\n name: 'name',\n messages: 'messages',\n },\n },\n podLogs: {\n title: 'No logs emitted',\n description: 'No logs were emitted by the container',\n buttonText: 'Logs',\n buttonAriaLabel: 'get logs',\n titleTemplate:\n '{{podName}} - {{containerName}} logs on cluster {{clusterName}}',\n },\n podExecTerminal: {\n buttonText: 'Terminal',\n buttonAriaLabel: 'open terminal',\n titleTemplate:\n '{{podName}} - {{containerName}} terminal shell on cluster {{clusterName}}',\n },\n events: {\n noEventsFound: 'No events found',\n eventTooltip: '{{eventType}} event',\n firstEvent: 'First event {{timeAgo}} (count: {{count}})',\n },\n kubernetesDrawer: {\n closeDrawer: 'Close the drawer',\n yaml: 'YAML',\n managedFields: 'Managed Fields',\n unknownName: 'unknown name',\n },\n linkErrorPanel: {\n title:\n 'There was a problem formatting the link to the Kubernetes dashboard',\n message:\n \"Could not format the link to the dashboard of your cluster named '{{clusterName}}'. Its dashboardApp property has been set to '{{dashboardApp}}.'\",\n errorsLabel: 'Errors:',\n },\n namespace: {\n label: 'namespace:',\n labelWithValue: 'namespace: {{namespace}}',\n },\n kubernetesDialog: {\n closeAriaLabel: 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AAA;AAAA,MACjB,aAAA,EACE;AAAA,KACJ;AAAA,IACA,MAAA,EAAQ;AAAA,MACN,aAAA,EAAe,iBAAA;AAAA,MACf,YAAA,EAAc,qBAAA;AAAA,MACd,UAAA,EAAY;AAAA,KACd;AAAA,IACA,gBAAA,EAAkB;AAAA,MAChB,WAAA,EAAa,kBAAA;AAAA,MACb,IAAA,EAAM,MAAA;AAAA,MACN,aAAA,EAAe,gBAAA;AAAA,MACf,WAAA,EAAa;AAAA,KACf;AAAA,IACA,cAAA,EAAgB;AAAA,MACd,KAAA,EACE,qEAAA;AAAA,MACF,OAAA,EACE,mJAAA;AAAA,MACF,WAAA,EAAa;AAAA,KACf;AAAA,IACA,SAAA,EAAW;AAAA,MACT,KAAA,EAAO,YAAA;AAAA,MACP,cAAA,EAAgB;AAAA,KAClB;AAAA,IACA,gBAAA,EAAkB;AAAA,MAChB,cAAA,EAAgB;AAAA;AAClB;AAEJ,CAAC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-kubernetes-react",
3
- "version": "0.5.17-next.0",
3
+ "version": "0.5.18-next.0",
4
4
  "description": "Web library for the kubernetes-react plugin",
5
5
  "backstage": {
6
6
  "role": "web-library",
@@ -62,9 +62,9 @@
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.8-next.0",
67
- "@backstage/core-plugin-api": "1.12.4-next.0",
65
+ "@backstage/catalog-model": "1.7.7",
66
+ "@backstage/core-components": "0.18.9-next.0",
67
+ "@backstage/core-plugin-api": "1.12.5-next.0",
68
68
  "@backstage/errors": "1.2.7",
69
69
  "@backstage/plugin-kubernetes-common": "0.9.10",
70
70
  "@backstage/types": "1.2.2",
@@ -85,9 +85,9 @@
85
85
  "react-use": "^17.4.0"
86
86
  },
87
87
  "devDependencies": {
88
- "@backstage/cli": "0.35.5-next.0",
89
- "@backstage/core-app-api": "1.19.6-next.0",
90
- "@backstage/test-utils": "1.7.16-next.0",
88
+ "@backstage/cli": "0.36.1-next.0",
89
+ "@backstage/core-app-api": "1.19.7-next.0",
90
+ "@backstage/test-utils": "1.7.17-next.0",
91
91
  "@testing-library/jest-dom": "^6.0.0",
92
92
  "@testing-library/react": "^16.0.0",
93
93
  "@types/react": "^18.0.0",