@backstage/plugin-kubernetes-cluster 0.0.35-next.0 → 0.0.35
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/alpha.d.ts +4 -1
- package/dist/alpha.esm.js +5 -1
- package/dist/alpha.esm.js.map +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.esm.js +1 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/translation.esm.js.map +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @backstage/plugin-kubernetes-cluster
|
|
2
2
|
|
|
3
|
+
## 0.0.35
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0be2541: Promoted the plugin's translation ref to the stable package entry point. It was previously only available through the alpha entry point.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/plugin-catalog-react@2.1.0
|
|
10
|
+
- @backstage/core-plugin-api@1.12.4
|
|
11
|
+
- @backstage/core-components@0.18.8
|
|
12
|
+
- @backstage/plugin-permission-react@0.4.41
|
|
13
|
+
- @backstage/plugin-kubernetes-react@0.5.17
|
|
14
|
+
- @backstage/catalog-model@1.7.7
|
|
15
|
+
|
|
16
|
+
## 0.0.35-next.1
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
- @backstage/plugin-catalog-react@2.1.0-next.1
|
|
22
|
+
- @backstage/catalog-model@1.7.6
|
|
23
|
+
- @backstage/core-components@0.18.8-next.0
|
|
24
|
+
- @backstage/core-plugin-api@1.12.4-next.0
|
|
25
|
+
- @backstage/plugin-kubernetes-common@0.9.10
|
|
26
|
+
- @backstage/plugin-kubernetes-react@0.5.17-next.0
|
|
27
|
+
- @backstage/plugin-permission-react@0.4.41-next.0
|
|
28
|
+
|
|
3
29
|
## 0.0.35-next.0
|
|
4
30
|
|
|
5
31
|
### 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
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* @alpha
|
|
5
|
+
* @deprecated Import from `@backstage/plugin-kubernetes-cluster` instead.
|
|
6
|
+
*/
|
|
4
7
|
declare const kubernetesClusterTranslationRef: _backstage_frontend_plugin_api.TranslationRef<"kubernetes-cluster", {
|
|
5
8
|
readonly "kubernetesClusterContentPage.permissionAlert.message": "To view Kubernetes objects, contact your portal administrator to give you the 'kubernetes.clusters.read' permission.";
|
|
6
9
|
readonly "kubernetesClusterContentPage.permissionAlert.title": "Permission required";
|
package/dist/alpha.esm.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { kubernetesClusterTranslationRef as kubernetesClusterTranslationRef$1 } from './translation.esm.js';
|
|
2
|
+
|
|
3
|
+
const kubernetesClusterTranslationRef = kubernetesClusterTranslationRef$1;
|
|
4
|
+
|
|
5
|
+
export { kubernetesClusterTranslationRef };
|
|
2
6
|
//# sourceMappingURL=alpha.esm.js.map
|
package/dist/alpha.esm.js.map
CHANGED
|
@@ -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 2025 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 { kubernetesClusterTranslationRef as _kubernetesClusterTranslationRef } from './translation';\n\n/**\n * @alpha\n * @deprecated Import from `@backstage/plugin-kubernetes-cluster` instead.\n */\nexport const kubernetesClusterTranslationRef = _kubernetesClusterTranslationRef;\n"],"names":["_kubernetesClusterTranslationRef"],"mappings":";;AAsBO,MAAM,+BAAA,GAAkCA;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { Entity } from '@backstage/catalog-model';
|
|
3
|
+
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Props of EntityKubernetesContent
|
|
@@ -27,5 +28,11 @@ declare const isKubernetesClusterAvailable: (entity: Entity) => boolean;
|
|
|
27
28
|
*/
|
|
28
29
|
declare const Router: () => react_jsx_runtime.JSX.Element;
|
|
29
30
|
|
|
30
|
-
|
|
31
|
+
/** @public */
|
|
32
|
+
declare const kubernetesClusterTranslationRef: _backstage_frontend_plugin_api.TranslationRef<"kubernetes-cluster", {
|
|
33
|
+
readonly "kubernetesClusterContentPage.permissionAlert.message": "To view Kubernetes objects, contact your portal administrator to give you the 'kubernetes.clusters.read' permission.";
|
|
34
|
+
readonly "kubernetesClusterContentPage.permissionAlert.title": "Permission required";
|
|
35
|
+
}>;
|
|
36
|
+
|
|
37
|
+
export { EntityKubernetesClusterContent, Router, isKubernetesClusterAvailable, kubernetesClusterTranslationRef };
|
|
31
38
|
export type { EntityKubernetesClusterContentProps };
|
package/dist/index.esm.js
CHANGED
package/dist/index.esm.js.map
CHANGED
|
@@ -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 2025 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 */\nimport { createTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n/** @
|
|
1
|
+
{"version":3,"file":"translation.esm.js","sources":["../src/translation.ts"],"sourcesContent":["/*\n * Copyright 2025 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 */\nimport { createTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n/** @public */\nexport const kubernetesClusterTranslationRef = createTranslationRef({\n id: 'kubernetes-cluster',\n messages: {\n kubernetesClusterContentPage: {\n permissionAlert: {\n title: 'Permission required',\n message:\n \"To view Kubernetes objects, contact your portal administrator to give you the 'kubernetes.clusters.read' permission.\",\n },\n },\n },\n});\n"],"names":[],"mappings":";;AAkBO,MAAM,kCAAkC,oBAAA,CAAqB;AAAA,EAClE,EAAA,EAAI,oBAAA;AAAA,EACJ,QAAA,EAAU;AAAA,IACR,4BAAA,EAA8B;AAAA,MAC5B,eAAA,EAAiB;AAAA,QACf,KAAA,EAAO,qBAAA;AAAA,QACP,OAAA,EACE;AAAA;AACJ;AACF;AAEJ,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-kubernetes-cluster",
|
|
3
|
-
"version": "0.0.35
|
|
3
|
+
"version": "0.0.35",
|
|
4
4
|
"description": "A Backstage plugin that shows details of Kubernetes clusters",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -62,13 +62,13 @@
|
|
|
62
62
|
"test": "backstage-cli package test"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@backstage/catalog-model": "1.7.
|
|
66
|
-
"@backstage/core-components": "0.18.8
|
|
67
|
-
"@backstage/core-plugin-api": "1.12.4
|
|
68
|
-
"@backstage/plugin-catalog-react": "2.
|
|
69
|
-
"@backstage/plugin-kubernetes-common": "0.9.10",
|
|
70
|
-
"@backstage/plugin-kubernetes-react": "0.5.17
|
|
71
|
-
"@backstage/plugin-permission-react": "0.4.41
|
|
65
|
+
"@backstage/catalog-model": "^1.7.7",
|
|
66
|
+
"@backstage/core-components": "^0.18.8",
|
|
67
|
+
"@backstage/core-plugin-api": "^1.12.4",
|
|
68
|
+
"@backstage/plugin-catalog-react": "^2.1.0",
|
|
69
|
+
"@backstage/plugin-kubernetes-common": "^0.9.10",
|
|
70
|
+
"@backstage/plugin-kubernetes-react": "^0.5.17",
|
|
71
|
+
"@backstage/plugin-permission-react": "^0.4.41",
|
|
72
72
|
"@kubernetes-models/apimachinery": "^2.0.0",
|
|
73
73
|
"@material-ui/core": "^4.12.2",
|
|
74
74
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"react-use": "^17.2.4"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@backstage/cli": "0.
|
|
80
|
-
"@backstage/test-utils": "1.7.16
|
|
79
|
+
"@backstage/cli": "^0.36.0",
|
|
80
|
+
"@backstage/test-utils": "^1.7.16",
|
|
81
81
|
"@testing-library/jest-dom": "^6.0.0",
|
|
82
82
|
"@testing-library/react": "^16.0.0",
|
|
83
83
|
"@types/node": "^22.13.14",
|