@backstage/plugin-kubernetes-backend 0.16.0-next.2 → 0.16.1

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/dist/index.d.ts CHANGED
@@ -8,8 +8,8 @@ import { CatalogApi } from '@backstage/catalog-client';
8
8
  import { PermissionEvaluator } from '@backstage/plugin-permission-common';
9
9
  import express from 'express';
10
10
  import { Duration } from 'luxon';
11
- import { RequestHandler } from 'http-proxy-middleware';
12
11
  import { DiscoveryService, AuthService, HttpAuthService, BackstageCredentials } from '@backstage/backend-plugin-api';
12
+ import { RequestHandler } from 'http-proxy-middleware';
13
13
  import { PluginEndpointDiscovery } from '@backstage/backend-common';
14
14
 
15
15
  /**
@@ -148,7 +148,7 @@ type KubernetesCredential = k8sTypes.KubernetesCredential;
148
148
  *
149
149
  * @public
150
150
  */
151
- type ServiceLocatorMethod = 'multiTenant' | 'singleTenant' | 'http';
151
+ type ServiceLocatorMethod = 'multiTenant' | 'singleTenant' | 'catalogRelation' | 'http';
152
152
  /**
153
153
  *
154
154
  * @public
@@ -334,6 +334,7 @@ declare class KubernetesBuilder {
334
334
  protected buildServiceLocator(method: ServiceLocatorMethod, clusterSupplier: KubernetesClustersSupplier$1): KubernetesServiceLocator$1;
335
335
  protected buildMultiTenantServiceLocator(clusterSupplier: KubernetesClustersSupplier$1): KubernetesServiceLocator$1;
336
336
  protected buildSingleTenantServiceLocator(clusterSupplier: KubernetesClustersSupplier$1): KubernetesServiceLocator$1;
337
+ protected buildCatalogRelationServiceLocator(clusterSupplier: KubernetesClustersSupplier$1): KubernetesServiceLocator$1;
337
338
  protected buildHttpServiceLocator(_clusterSupplier: KubernetesClustersSupplier$1): KubernetesServiceLocator$1;
338
339
  protected buildProxy(logger: Logger, clusterSupplier: KubernetesClustersSupplier$1): KubernetesProxy;
339
340
  protected buildRouter(objectsProvider: KubernetesObjectsProvider$1, clusterSupplier: KubernetesClustersSupplier$1, catalogApi: CatalogApi, proxy: KubernetesProxy, permissionApi: PermissionEvaluator, authService: AuthService, httpAuth: HttpAuthService): express.Router;
@@ -390,4 +391,4 @@ interface RouterOptions {
390
391
  */
391
392
  declare function createRouter(options: RouterOptions): Promise<express.Router>;
392
393
 
393
- export { AksStrategy, AnonymousStrategy, AuthMetadata, AuthenticationStrategy, AwsIamStrategy, AzureIdentityStrategy, ClusterDetails, CustomResource, CustomResourcesByEntity, DEFAULT_OBJECTS, DispatchStrategy, DispatchStrategyOptions, FetchResponseWrapper, GoogleServiceAccountStrategy, GoogleStrategy, HEADER_KUBERNETES_AUTH, HEADER_KUBERNETES_CLUSTER, KubernetesBuilder, KubernetesBuilderReturn, KubernetesClustersSupplier, KubernetesCredential, KubernetesEnvironment, KubernetesFetcher, KubernetesObjectTypes, KubernetesObjectsProvider, KubernetesObjectsProviderOptions, KubernetesProxy, KubernetesProxyCreateRequestHandlerOptions, KubernetesProxyOptions, KubernetesServiceLocator, ObjectFetchParams, ObjectToFetch, ObjectsByEntityRequest, OidcStrategy, RouterOptions, ServiceAccountStrategy, ServiceLocatorMethod, ServiceLocatorRequestContext, SigningCreds, createRouter };
394
+ export { AksStrategy, AnonymousStrategy, type AuthMetadata, type AuthenticationStrategy, AwsIamStrategy, AzureIdentityStrategy, type ClusterDetails, type CustomResource, type CustomResourcesByEntity, DEFAULT_OBJECTS, DispatchStrategy, type DispatchStrategyOptions, type FetchResponseWrapper, GoogleServiceAccountStrategy, GoogleStrategy, HEADER_KUBERNETES_AUTH, HEADER_KUBERNETES_CLUSTER, KubernetesBuilder, type KubernetesBuilderReturn, type KubernetesClustersSupplier, type KubernetesCredential, type KubernetesEnvironment, type KubernetesFetcher, type KubernetesObjectTypes, type KubernetesObjectsProvider, type KubernetesObjectsProviderOptions, KubernetesProxy, type KubernetesProxyCreateRequestHandlerOptions, type KubernetesProxyOptions, type KubernetesServiceLocator, type ObjectFetchParams, type ObjectToFetch, type ObjectsByEntityRequest, OidcStrategy, type RouterOptions, ServiceAccountStrategy, type ServiceLocatorMethod, type ServiceLocatorRequestContext, type SigningCreds, createRouter };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-kubernetes-backend",
3
3
  "description": "A Backstage backend plugin that integrates towards Kubernetes",
4
- "version": "0.16.0-next.2",
4
+ "version": "0.16.1",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -49,19 +49,19 @@
49
49
  "@aws-sdk/credential-providers": "^3.350.0",
50
50
  "@aws-sdk/signature-v4": "^3.347.0",
51
51
  "@azure/identity": "^4.0.0",
52
- "@backstage/backend-common": "^0.21.4-next.2",
53
- "@backstage/backend-plugin-api": "^0.6.14-next.2",
54
- "@backstage/catalog-client": "^1.6.1-next.1",
55
- "@backstage/catalog-model": "^1.4.5-next.0",
56
- "@backstage/config": "^1.2.0-next.1",
57
- "@backstage/errors": "^1.2.4-next.0",
58
- "@backstage/integration-aws-node": "^0.1.10-next.1",
59
- "@backstage/plugin-auth-node": "^0.4.9-next.2",
60
- "@backstage/plugin-catalog-node": "^1.8.0-next.2",
61
- "@backstage/plugin-kubernetes-common": "^0.7.5-next.1",
62
- "@backstage/plugin-kubernetes-node": "^0.1.8-next.2",
63
- "@backstage/plugin-permission-common": "^0.7.13-next.1",
64
- "@backstage/plugin-permission-node": "^0.7.25-next.2",
52
+ "@backstage/backend-common": "^0.21.4",
53
+ "@backstage/backend-plugin-api": "^0.6.14",
54
+ "@backstage/catalog-client": "^1.6.1",
55
+ "@backstage/catalog-model": "^1.4.5",
56
+ "@backstage/config": "^1.2.0",
57
+ "@backstage/errors": "^1.2.4",
58
+ "@backstage/integration-aws-node": "^0.1.10",
59
+ "@backstage/plugin-auth-node": "^0.4.9",
60
+ "@backstage/plugin-catalog-node": "^1.9.0",
61
+ "@backstage/plugin-kubernetes-common": "^0.7.5",
62
+ "@backstage/plugin-kubernetes-node": "^0.1.8",
63
+ "@backstage/plugin-permission-common": "^0.7.13",
64
+ "@backstage/plugin-permission-node": "^0.7.25",
65
65
  "@backstage/types": "^1.1.1",
66
66
  "@google-cloud/container": "^5.0.0",
67
67
  "@jest-mock/express": "^2.0.1",
@@ -85,11 +85,11 @@
85
85
  "yn": "^4.0.0"
86
86
  },
87
87
  "devDependencies": {
88
- "@backstage/backend-app-api": "^0.6.0-next.2",
89
- "@backstage/backend-test-utils": "^0.3.4-next.2",
90
- "@backstage/cli": "^0.25.3-next.2",
91
- "@backstage/plugin-permission-backend": "^0.5.37-next.2",
92
- "@backstage/plugin-permission-backend-module-allow-all-policy": "^0.1.11-next.2",
88
+ "@backstage/backend-app-api": "^0.6.0",
89
+ "@backstage/backend-test-utils": "^0.3.4",
90
+ "@backstage/cli": "^0.26.0",
91
+ "@backstage/plugin-permission-backend": "^0.5.38",
92
+ "@backstage/plugin-permission-backend-module-allow-all-policy": "^0.1.11",
93
93
  "@types/aws4": "^1.5.1",
94
94
  "msw": "^1.0.0",
95
95
  "supertest": "^6.1.3",