@backstage/plugin-kubernetes-react 0.5.20 → 0.5.21-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 +8 -0
- package/config.schema.json +39 -0
- package/package.json +12 -12
- package/config.d.ts +0 -46
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"kubernetes": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"podExecTerminal": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"enabled": {
|
|
12
|
+
"type": "boolean",
|
|
13
|
+
"description": "Enable `PodExecTerminal` UI feature",
|
|
14
|
+
"visibility": "frontend"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"description": "Pod Exec Terminal config"
|
|
18
|
+
},
|
|
19
|
+
"frontend": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {
|
|
22
|
+
"podDelete": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"enabled": {
|
|
26
|
+
"type": "boolean",
|
|
27
|
+
"description": "Enable `podDelete` UI feature",
|
|
28
|
+
"visibility": "frontend"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"description": "Pod Delete config"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"description": "Frontend config"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-kubernetes-react",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.21-next.0",
|
|
4
4
|
"description": "Web library for the kubernetes-react plugin",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "web-library",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
},
|
|
51
51
|
"files": [
|
|
52
52
|
"dist",
|
|
53
|
-
"config.
|
|
53
|
+
"config.schema.json"
|
|
54
54
|
],
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build": "backstage-cli package build",
|
|
@@ -62,12 +62,12 @@
|
|
|
62
62
|
"test": "backstage-cli package test"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@backstage/catalog-model": "
|
|
66
|
-
"@backstage/core-components": "
|
|
67
|
-
"@backstage/core-plugin-api": "
|
|
68
|
-
"@backstage/errors": "
|
|
69
|
-
"@backstage/plugin-kubernetes-common": "
|
|
70
|
-
"@backstage/types": "
|
|
65
|
+
"@backstage/catalog-model": "1.9.0",
|
|
66
|
+
"@backstage/core-components": "0.18.12-next.0",
|
|
67
|
+
"@backstage/core-plugin-api": "1.12.8-next.0",
|
|
68
|
+
"@backstage/errors": "1.3.1",
|
|
69
|
+
"@backstage/plugin-kubernetes-common": "0.9.12",
|
|
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,9 +85,9 @@
|
|
|
85
85
|
"react-use": "^17.4.0"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@backstage/cli": "
|
|
89
|
-
"@backstage/core-app-api": "
|
|
90
|
-
"@backstage/test-utils": "
|
|
88
|
+
"@backstage/cli": "0.36.4-next.0",
|
|
89
|
+
"@backstage/core-app-api": "1.20.3-next.0",
|
|
90
|
+
"@backstage/test-utils": "1.7.20-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",
|
|
@@ -108,6 +108,6 @@
|
|
|
108
108
|
"optional": true
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
|
-
"configSchema": "config.
|
|
111
|
+
"configSchema": "config.schema.json",
|
|
112
112
|
"module": "./dist/index.esm.js"
|
|
113
113
|
}
|
package/config.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { PodExecTerminal } from './src/components/PodExecTerminal/PodExecTerminal';
|
|
2
|
-
/*
|
|
3
|
-
* Copyright 2023 The Backstage Authors
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
export interface Config {
|
|
19
|
-
kubernetes?: {
|
|
20
|
-
/**
|
|
21
|
-
* Pod Exec Terminal config
|
|
22
|
-
*/
|
|
23
|
-
podExecTerminal?: {
|
|
24
|
-
/**
|
|
25
|
-
* Enable `PodExecTerminal` UI feature
|
|
26
|
-
* @visibility frontend
|
|
27
|
-
*/
|
|
28
|
-
enabled?: boolean;
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Frontend config
|
|
32
|
-
*/
|
|
33
|
-
frontend?: {
|
|
34
|
-
/**
|
|
35
|
-
* Pod Delete config
|
|
36
|
-
*/
|
|
37
|
-
podDelete?: {
|
|
38
|
-
/**
|
|
39
|
-
* Enable `podDelete` UI feature
|
|
40
|
-
* @visibility frontend
|
|
41
|
-
*/
|
|
42
|
-
enabled?: boolean;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
}
|