@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 +3 -1
- package/dist/KwirthData.d.ts +5 -0
- package/dist/KwirthData.js +6 -0
- package/package.json +1 -1
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'
|
|
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 {
|
package/dist/KwirthData.d.ts
CHANGED
|
@@ -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;
|
package/dist/KwirthData.js
CHANGED
|
@@ -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 = {}));
|