@backstage/plugin-kubernetes-common 0.6.2-next.1 → 0.6.2

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,22 @@
1
1
  # @backstage/plugin-kubernetes-common
2
2
 
3
+ ## 0.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 804f6d16b0c: Introduced proxy permission types to be used with the kubernetes proxy endpoint's permission framework integration.
8
+ - Updated dependencies
9
+ - @backstage/plugin-permission-common@0.7.5
10
+ - @backstage/catalog-model@1.3.0
11
+
12
+ ## 0.6.2-next.2
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+ - @backstage/catalog-model@1.3.0-next.0
18
+ - @backstage/plugin-permission-common@0.7.5-next.0
19
+
3
20
  ## 0.6.2-next.1
4
21
 
5
22
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -82,9 +82,9 @@ interface ObjectsByEntityResponse {
82
82
  items: ClusterObjects[];
83
83
  }
84
84
  /** @public */
85
- declare type AuthProviderType = 'google' | 'serviceAccount' | 'aws' | 'azure';
85
+ type AuthProviderType = 'google' | 'serviceAccount' | 'aws' | 'azure';
86
86
  /** @public */
87
- declare type FetchResponse = PodFetchResponse | ServiceFetchResponse | ConfigMapFetchResponse | DeploymentFetchResponse | LimitRangeFetchResponse | ReplicaSetsFetchResponse | HorizontalPodAutoscalersFetchResponse | JobsFetchResponse | CronJobsFetchResponse | IngressesFetchResponse | CustomResourceFetchResponse | StatefulSetsFetchResponse | DaemonSetsFetchResponse | PodStatusFetchResponse;
87
+ type FetchResponse = PodFetchResponse | ServiceFetchResponse | ConfigMapFetchResponse | DeploymentFetchResponse | LimitRangeFetchResponse | ReplicaSetsFetchResponse | HorizontalPodAutoscalersFetchResponse | JobsFetchResponse | CronJobsFetchResponse | IngressesFetchResponse | CustomResourceFetchResponse | StatefulSetsFetchResponse | DaemonSetsFetchResponse | PodStatusFetchResponse;
88
88
  /** @public */
89
89
  interface PodFetchResponse {
90
90
  type: 'pods';
@@ -156,7 +156,7 @@ interface PodStatusFetchResponse {
156
156
  resources: Array<PodStatus>;
157
157
  }
158
158
  /** @public */
159
- declare type KubernetesFetchError = StatusError | RawFetchError;
159
+ type KubernetesFetchError = StatusError | RawFetchError;
160
160
  /** @public */
161
161
  interface StatusError {
162
162
  errorType: KubernetesErrorTypes;
@@ -169,7 +169,7 @@ interface RawFetchError {
169
169
  message: string;
170
170
  }
171
171
  /** @public */
172
- declare type KubernetesErrorTypes = 'BAD_REQUEST' | 'UNAUTHORIZED_ERROR' | 'NOT_FOUND' | 'SYSTEM_ERROR' | 'UNKNOWN_ERROR';
172
+ type KubernetesErrorTypes = 'BAD_REQUEST' | 'UNAUTHORIZED_ERROR' | 'NOT_FOUND' | 'SYSTEM_ERROR' | 'UNKNOWN_ERROR';
173
173
  /** @public */
174
174
  interface ClientCurrentResourceUsage {
175
175
  currentUsage: number | string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-kubernetes-common",
3
3
  "description": "Common functionalities for kubernetes, to be shared between kubernetes and kubernetes-backend plugin",
4
- "version": "0.6.2-next.1",
4
+ "version": "0.6.2",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -38,12 +38,12 @@
38
38
  "url": "https://github.com/backstage/backstage/issues"
39
39
  },
40
40
  "dependencies": {
41
- "@backstage/catalog-model": "^1.2.1",
42
- "@backstage/plugin-permission-common": "^0.7.5-next.0",
41
+ "@backstage/catalog-model": "^1.3.0",
42
+ "@backstage/plugin-permission-common": "^0.7.5",
43
43
  "@kubernetes/client-node": "0.18.1"
44
44
  },
45
45
  "devDependencies": {
46
- "@backstage/cli": "^0.22.6-next.1"
46
+ "@backstage/cli": "^0.22.6"
47
47
  },
48
48
  "jest": {
49
49
  "roots": [