@underpostnet/underpost 2.98.0 → 2.98.3
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/.vscode/settings.json +7 -8
- package/README.md +2 -2
- package/bin/build.js +21 -5
- package/bin/deploy.js +10 -0
- package/bin/file.js +2 -1
- package/bin/util.js +0 -17
- package/cli.md +2 -2
- package/manifests/deployment/dd-default-development/deployment.yaml +2 -2
- package/manifests/deployment/dd-test-development/deployment.yaml +2 -2
- package/package.json +2 -4
- package/scripts/rocky-setup.sh +12 -39
- package/src/api/document/document.service.js +1 -1
- package/src/cli/cluster.js +5 -9
- package/src/cli/repository.js +9 -9
- package/src/cli/run.js +108 -106
- package/src/client/components/core/Content.js +54 -4
- package/src/client/components/core/FullScreen.js +202 -9
- package/src/client/components/core/Panel.js +91 -22
- package/src/client/components/core/PanelForm.js +5 -2
- package/src/client/components/core/Translate.js +8 -0
- package/src/client/components/core/VanillaJs.js +80 -29
- package/src/client/services/default/default.management.js +324 -136
- package/src/index.js +58 -20
- package/src/client/components/core/ObjectLayerEngine.js +0 -1520
- package/src/client/components/core/ObjectLayerEngineModal.js +0 -1245
- package/src/client/components/core/ObjectLayerEngineViewer.js +0 -880
- package/src/server/object-layer.js +0 -335
package/src/index.js
CHANGED
|
@@ -36,42 +36,52 @@ class Underpost {
|
|
|
36
36
|
* @type {String}
|
|
37
37
|
* @memberof Underpost
|
|
38
38
|
*/
|
|
39
|
-
static version = 'v2.98.
|
|
39
|
+
static version = 'v2.98.3';
|
|
40
40
|
/**
|
|
41
41
|
* Repository cli API
|
|
42
42
|
* @static
|
|
43
43
|
* @type {UnderpostRepository.API}
|
|
44
44
|
* @memberof Underpost
|
|
45
45
|
*/
|
|
46
|
-
static repo
|
|
46
|
+
static get repo() {
|
|
47
|
+
return UnderpostRepository.API;
|
|
48
|
+
}
|
|
47
49
|
/**
|
|
48
50
|
* Root Env cli API
|
|
49
51
|
* @static
|
|
50
52
|
* @type {UnderpostRootEnv.API}
|
|
51
53
|
* @memberof Underpost
|
|
52
54
|
*/
|
|
53
|
-
static env
|
|
55
|
+
static get env() {
|
|
56
|
+
return UnderpostRootEnv.API;
|
|
57
|
+
}
|
|
54
58
|
/**
|
|
55
59
|
* Test cli API
|
|
56
60
|
* @static
|
|
57
61
|
* @type {UnderpostTest.API}
|
|
58
62
|
* @memberof Underpost
|
|
59
63
|
*/
|
|
60
|
-
static test
|
|
64
|
+
static get test() {
|
|
65
|
+
return UnderpostTest.API;
|
|
66
|
+
}
|
|
61
67
|
/**
|
|
62
68
|
* Underpost Start Up cli API
|
|
63
69
|
* @static
|
|
64
70
|
* @type {UnderpostStartUp.API}
|
|
65
71
|
* @memberof Underpost
|
|
66
72
|
*/
|
|
67
|
-
static start
|
|
73
|
+
static get start() {
|
|
74
|
+
return UnderpostStartUp.API;
|
|
75
|
+
}
|
|
68
76
|
/**
|
|
69
77
|
* Static cli API
|
|
70
78
|
* @static
|
|
71
79
|
* @type {UnderpostStatic.API}
|
|
72
80
|
* @memberof Underpost
|
|
73
81
|
*/
|
|
74
|
-
static static
|
|
82
|
+
static get static() {
|
|
83
|
+
return UnderpostStatic.API;
|
|
84
|
+
}
|
|
75
85
|
|
|
76
86
|
/**
|
|
77
87
|
* Cluster cli API
|
|
@@ -79,77 +89,99 @@ class Underpost {
|
|
|
79
89
|
* @type {UnderpostCluster.API}
|
|
80
90
|
* @memberof Underpost
|
|
81
91
|
*/
|
|
82
|
-
static cluster
|
|
92
|
+
static get cluster() {
|
|
93
|
+
return UnderpostCluster.API;
|
|
94
|
+
}
|
|
83
95
|
/**
|
|
84
96
|
* Image cli API
|
|
85
97
|
* @static
|
|
86
98
|
* @type {UnderpostImage.API}
|
|
87
99
|
* @memberof Underpost
|
|
88
100
|
*/
|
|
89
|
-
static image
|
|
101
|
+
static get image() {
|
|
102
|
+
return UnderpostImage.API;
|
|
103
|
+
}
|
|
90
104
|
/**
|
|
91
105
|
* Secrets cli API
|
|
92
106
|
* @static
|
|
93
107
|
* @type {UnderpostSecret.API}
|
|
94
108
|
* @memberof Underpost
|
|
95
109
|
*/
|
|
96
|
-
static secret
|
|
110
|
+
static get secret() {
|
|
111
|
+
return UnderpostSecret.API;
|
|
112
|
+
}
|
|
97
113
|
/**
|
|
98
114
|
* Scripts cli API
|
|
99
115
|
* @static
|
|
100
116
|
* @type {UnderpostScript.API}
|
|
101
117
|
* @memberof Underpost
|
|
102
118
|
*/
|
|
103
|
-
static script
|
|
119
|
+
static get script() {
|
|
120
|
+
return UnderpostScript.API;
|
|
121
|
+
}
|
|
104
122
|
/**
|
|
105
123
|
* Database cli API
|
|
106
124
|
* @static
|
|
107
125
|
* @type {UnderpostDB.API}
|
|
108
126
|
* @memberof Underpost
|
|
109
127
|
*/
|
|
110
|
-
static db
|
|
128
|
+
static get db() {
|
|
129
|
+
return UnderpostDB.API;
|
|
130
|
+
}
|
|
111
131
|
/**
|
|
112
132
|
* Deployment cli API
|
|
113
133
|
* @static
|
|
114
134
|
* @type {UnderpostDeploy.API}
|
|
115
135
|
* @memberof Underpost
|
|
116
136
|
*/
|
|
117
|
-
static deploy
|
|
137
|
+
static get deploy() {
|
|
138
|
+
return UnderpostDeploy.API;
|
|
139
|
+
}
|
|
118
140
|
/**
|
|
119
141
|
* Cron cli API
|
|
120
142
|
* @static
|
|
121
143
|
* @type {UnderpostCron.API}
|
|
122
144
|
* @memberof Underpost
|
|
123
145
|
*/
|
|
124
|
-
static cron
|
|
146
|
+
static get cron() {
|
|
147
|
+
return UnderpostCron.API;
|
|
148
|
+
}
|
|
125
149
|
/**
|
|
126
150
|
* File Storage cli API
|
|
127
151
|
* @static
|
|
128
152
|
* @type {UnderpostFileStorage.API}
|
|
129
153
|
* @memberof Underpost
|
|
130
154
|
*/
|
|
131
|
-
static fs
|
|
155
|
+
static get fs() {
|
|
156
|
+
return UnderpostFileStorage.API;
|
|
157
|
+
}
|
|
132
158
|
/**
|
|
133
159
|
* Monitor cli API
|
|
134
160
|
* @static
|
|
135
161
|
* @type {UnderpostMonitor.API}
|
|
136
162
|
* @memberof Underpost
|
|
137
163
|
*/
|
|
138
|
-
static monitor
|
|
164
|
+
static get monitor() {
|
|
165
|
+
return UnderpostMonitor.API;
|
|
166
|
+
}
|
|
139
167
|
/**
|
|
140
168
|
* SSH cli API
|
|
141
169
|
* @static
|
|
142
170
|
* @type {UnderpostSSH.API}
|
|
143
171
|
* @memberof Underpost
|
|
144
172
|
*/
|
|
145
|
-
static ssh
|
|
173
|
+
static get ssh() {
|
|
174
|
+
return UnderpostSSH.API;
|
|
175
|
+
}
|
|
146
176
|
/**
|
|
147
177
|
* LXD cli API
|
|
148
178
|
* @static
|
|
149
179
|
* @type {UnderpostLxd.API}
|
|
150
180
|
* @memberof Underpost
|
|
151
181
|
*/
|
|
152
|
-
static lxd
|
|
182
|
+
static get lxd() {
|
|
183
|
+
return UnderpostLxd.API;
|
|
184
|
+
}
|
|
153
185
|
|
|
154
186
|
/**
|
|
155
187
|
* Cloud Init cli API
|
|
@@ -157,7 +189,9 @@ class Underpost {
|
|
|
157
189
|
* @type {UnderpostCloudInit.API}
|
|
158
190
|
* @memberof Underpost
|
|
159
191
|
*/
|
|
160
|
-
static cloudInit
|
|
192
|
+
static get cloudInit() {
|
|
193
|
+
return UnderpostCloudInit.API;
|
|
194
|
+
}
|
|
161
195
|
|
|
162
196
|
/**
|
|
163
197
|
* Run cli API
|
|
@@ -165,7 +199,9 @@ class Underpost {
|
|
|
165
199
|
* @type {UnderpostRun.API}
|
|
166
200
|
* @memberof Underpost
|
|
167
201
|
*/
|
|
168
|
-
static run
|
|
202
|
+
static get run() {
|
|
203
|
+
return UnderpostRun.API;
|
|
204
|
+
}
|
|
169
205
|
|
|
170
206
|
/**
|
|
171
207
|
* Baremetal cli API
|
|
@@ -173,7 +209,9 @@ class Underpost {
|
|
|
173
209
|
* @type {UnderpostBaremetal.API}
|
|
174
210
|
* @memberof Underpost
|
|
175
211
|
*/
|
|
176
|
-
static baremetal
|
|
212
|
+
static get baremetal() {
|
|
213
|
+
return UnderpostBaremetal.API;
|
|
214
|
+
}
|
|
177
215
|
}
|
|
178
216
|
|
|
179
217
|
const up = Underpost;
|