@jfvilas/kwirth-common 0.4.40 → 0.4.41
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/Channel.d.ts +1 -0
- package/dist/InstanceConfig.d.ts +2 -2
- package/dist/InstanceConfig.js +0 -1
- package/dist/OpsMessage.d.ts +0 -5
- package/dist/OpsMessage.js +0 -5
- package/dist/index.d.ts +7 -7
- package/dist/index.js +7 -7
- package/package.json +1 -1
- /package/dist/{AlertConfig.d.ts → AlertInstanceConfig.d.ts} +0 -0
- /package/dist/{AlertConfig.js → AlertInstanceConfig.js} +0 -0
- /package/dist/{EchoConfig.d.ts → EchoInstanceConfig.d.ts} +0 -0
- /package/dist/{EchoConfig.js → EchoInstanceConfig.js} +0 -0
- /package/dist/{LogConfig.d.ts → LogInstanceConfig.d.ts} +0 -0
- /package/dist/{LogConfig.js → LogInstanceConfig.js} +0 -0
- /package/dist/{MetricsConfig.d.ts → MetricsInstanceConfig.d.ts} +0 -0
- /package/dist/{MetricsConfig.js → MetricsInstanceConfig.js} +0 -0
- /package/dist/{OpsConfig.d.ts → OpsInstanceConfig.d.ts} +0 -0
- /package/dist/{OpsConfig.js → OpsInstanceConfig.js} +0 -0
- /package/dist/{TrivyConfig.d.ts → TrivyInstanceConfig.d.ts} +0 -0
- /package/dist/{TrivyConfig.js → TrivyInstanceConfig.js} +0 -0
package/dist/Channel.d.ts
CHANGED
package/dist/InstanceConfig.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ export declare enum InstanceConfigScopeEnum {
|
|
|
23
23
|
SUBSCRIBE = "subscribe",
|
|
24
24
|
GET = "get",
|
|
25
25
|
EXECUTE = "execute",
|
|
26
|
-
SHELL = "shell",
|
|
27
26
|
RESTART = "restart",
|
|
28
27
|
WORKLOAD = "workload",
|
|
29
28
|
KUBERNETES = "kubernetes"
|
|
@@ -40,5 +39,6 @@ export interface IInstanceConfig extends IInstanceMessage {
|
|
|
40
39
|
data?: any;
|
|
41
40
|
}
|
|
42
41
|
export interface IInstanceConfigResponse extends IInstanceMessage {
|
|
43
|
-
text
|
|
42
|
+
text?: string;
|
|
43
|
+
data?: any;
|
|
44
44
|
}
|
package/dist/InstanceConfig.js
CHANGED
|
@@ -32,7 +32,6 @@ var InstanceConfigScopeEnum;
|
|
|
32
32
|
// OPS
|
|
33
33
|
InstanceConfigScopeEnum["GET"] = "get";
|
|
34
34
|
InstanceConfigScopeEnum["EXECUTE"] = "execute";
|
|
35
|
-
InstanceConfigScopeEnum["SHELL"] = "shell";
|
|
36
35
|
InstanceConfigScopeEnum["RESTART"] = "restart";
|
|
37
36
|
// TRIVY
|
|
38
37
|
InstanceConfigScopeEnum["WORKLOAD"] = "workload";
|
package/dist/OpsMessage.d.ts
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import { IInstanceMessage } from "./InstanceMessage";
|
|
2
2
|
export declare enum OpsCommandEnum {
|
|
3
|
-
GET = "get",
|
|
4
3
|
DESCRIBE = "describe",
|
|
5
|
-
LIST = "list",
|
|
6
4
|
EXECUTE = "execute",
|
|
7
|
-
SHELL = "shell",
|
|
8
|
-
XTERM = "xterm",
|
|
9
|
-
INPUT = "input",
|
|
10
5
|
RESTART = "restart",
|
|
11
6
|
RESTARTPOD = "restartpod",
|
|
12
7
|
RESTARTNS = "restartns"
|
package/dist/OpsMessage.js
CHANGED
|
@@ -3,13 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.OpsCommandEnum = void 0;
|
|
4
4
|
var OpsCommandEnum;
|
|
5
5
|
(function (OpsCommandEnum) {
|
|
6
|
-
OpsCommandEnum["GET"] = "get";
|
|
7
6
|
OpsCommandEnum["DESCRIBE"] = "describe";
|
|
8
|
-
OpsCommandEnum["LIST"] = "list";
|
|
9
7
|
OpsCommandEnum["EXECUTE"] = "execute";
|
|
10
|
-
OpsCommandEnum["SHELL"] = "shell";
|
|
11
|
-
OpsCommandEnum["XTERM"] = "xterm";
|
|
12
|
-
OpsCommandEnum["INPUT"] = "input";
|
|
13
8
|
OpsCommandEnum["RESTART"] = "restart";
|
|
14
9
|
OpsCommandEnum["RESTARTPOD"] = "restartpod";
|
|
15
10
|
OpsCommandEnum["RESTARTNS"] = "restartns";
|
package/dist/index.d.ts
CHANGED
|
@@ -2,21 +2,21 @@ export * from './Channel';
|
|
|
2
2
|
export * from './InstanceMessage';
|
|
3
3
|
export * from './InstanceConfig';
|
|
4
4
|
export * from './AlertMessage';
|
|
5
|
-
export * from './
|
|
5
|
+
export * from './AlertInstanceConfig';
|
|
6
6
|
export * from './EchoMessage';
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
7
|
+
export * from './EchoInstanceConfig';
|
|
8
|
+
export * from './LogInstanceConfig';
|
|
9
9
|
export * from './LogMessage';
|
|
10
10
|
export * from './MetricsMessage';
|
|
11
|
-
export * from './
|
|
11
|
+
export * from './MetricsInstanceConfig';
|
|
12
12
|
export * from './OpsMessage';
|
|
13
|
-
export * from './
|
|
13
|
+
export * from './OpsInstanceConfig';
|
|
14
14
|
export * from './TrivyMessage';
|
|
15
|
-
export * from './
|
|
15
|
+
export * from './TrivyInstanceConfig';
|
|
16
16
|
export * from './RouteMessage';
|
|
17
17
|
export * from './SignalMessage';
|
|
18
18
|
export * from './ApiKey';
|
|
19
19
|
export * from './AccessKey';
|
|
20
20
|
export * from './Global';
|
|
21
|
-
export * from './
|
|
21
|
+
export * from './LogInstanceConfig';
|
|
22
22
|
export * from './Version';
|
package/dist/index.js
CHANGED
|
@@ -33,22 +33,22 @@ __exportStar(require("./Channel"), exports);
|
|
|
33
33
|
__exportStar(require("./InstanceMessage"), exports);
|
|
34
34
|
__exportStar(require("./InstanceConfig"), exports);
|
|
35
35
|
__exportStar(require("./AlertMessage"), exports);
|
|
36
|
-
__exportStar(require("./
|
|
36
|
+
__exportStar(require("./AlertInstanceConfig"), exports);
|
|
37
37
|
__exportStar(require("./EchoMessage"), exports);
|
|
38
|
-
__exportStar(require("./
|
|
39
|
-
__exportStar(require("./
|
|
38
|
+
__exportStar(require("./EchoInstanceConfig"), exports);
|
|
39
|
+
__exportStar(require("./LogInstanceConfig"), exports);
|
|
40
40
|
__exportStar(require("./LogMessage"), exports);
|
|
41
41
|
__exportStar(require("./MetricsMessage"), exports);
|
|
42
|
-
__exportStar(require("./
|
|
42
|
+
__exportStar(require("./MetricsInstanceConfig"), exports);
|
|
43
43
|
__exportStar(require("./OpsMessage"), exports);
|
|
44
|
-
__exportStar(require("./
|
|
44
|
+
__exportStar(require("./OpsInstanceConfig"), exports);
|
|
45
45
|
__exportStar(require("./TrivyMessage"), exports);
|
|
46
|
-
__exportStar(require("./
|
|
46
|
+
__exportStar(require("./TrivyInstanceConfig"), exports);
|
|
47
47
|
__exportStar(require("./RouteMessage"), exports);
|
|
48
48
|
__exportStar(require("./SignalMessage"), exports);
|
|
49
49
|
__exportStar(require("./ApiKey"), exports);
|
|
50
50
|
__exportStar(require("./AccessKey"), exports);
|
|
51
51
|
__exportStar(require("./Global"), exports);
|
|
52
52
|
//export * from './KwirthData'
|
|
53
|
-
__exportStar(require("./
|
|
53
|
+
__exportStar(require("./LogInstanceConfig"), exports);
|
|
54
54
|
__exportStar(require("./Version"), exports);
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|