@jfvilas/kwirth-common 0.3.55 → 0.3.56

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/AccessKey.js CHANGED
@@ -12,7 +12,9 @@ const guid_1 = __importDefault(require("guid"));
12
12
 
13
13
  where:
14
14
  id: is a GUID
15
- type: is volatile' or 'permanent' (the second type is persisted when created)
15
+ type: is 'volatile', 'permanent' (it is persisted when created) or 'bearer:....'
16
+ in case of a bearer accessKey, the type contains the expire for the key, that is, for example:
17
+ bearer:
16
18
  resource: is a stringified ResourceIdentifier
17
19
  */
18
20
  class AccessKey {
@@ -1,7 +1,12 @@
1
+ export declare enum ClusterTypeEnum {
2
+ KUBERNETES = "kubernetes",
3
+ DOCKER = "docker"
4
+ }
1
5
  export interface KwirthData {
2
6
  version: string;
3
7
  lastVersion: string;
4
8
  clusterName: string;
9
+ clusterType: ClusterTypeEnum;
5
10
  inCluster: boolean;
6
11
  namespace: string;
7
12
  deployment: string;
@@ -1,2 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ClusterTypeEnum = void 0;
4
+ var ClusterTypeEnum;
5
+ (function (ClusterTypeEnum) {
6
+ ClusterTypeEnum["KUBERNETES"] = "kubernetes";
7
+ ClusterTypeEnum["DOCKER"] = "docker";
8
+ })(ClusterTypeEnum || (exports.ClusterTypeEnum = ClusterTypeEnum = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jfvilas/kwirth-common",
3
- "version": "0.3.55",
3
+ "version": "0.3.56",
4
4
  "description": "Common interfaces for integrating applications with Kwirth",
5
5
  "scripts": {
6
6
  "build": "del .\\dist\\* /s /q && tsc"