deploy.sh 1.0.0 → 3.0.0

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.
Files changed (161) hide show
  1. package/.claude/settings.local.json +36 -0
  2. package/.github/ISSUE_TEMPLATE/bug_report.yml +105 -0
  3. package/.github/ISSUE_TEMPLATE/config.yml +5 -0
  4. package/.github/ISSUE_TEMPLATE/feature_request.yml +56 -0
  5. package/.github/workflows/ci.yml +29 -0
  6. package/.github/workflows/pages.yml +48 -0
  7. package/.oxfmtrc.json +7 -0
  8. package/.oxlintrc.json +11 -0
  9. package/LICENSE +183 -183
  10. package/README.md +99 -11
  11. package/app/actions/deployments.ts +82 -0
  12. package/app/actions/metrics.ts +13 -0
  13. package/app/root.tsx +60 -0
  14. package/app/routes/dashboard/detail/history.tsx +73 -0
  15. package/app/routes/dashboard/detail/layout.tsx +125 -0
  16. package/app/routes/dashboard/detail/logs.tsx +85 -0
  17. package/app/routes/dashboard/detail/overview.tsx +119 -0
  18. package/app/routes/dashboard/detail/requests.tsx +163 -0
  19. package/app/routes/dashboard/detail/resources.tsx +268 -0
  20. package/app/routes/dashboard/detail/shared.tsx +59 -0
  21. package/app/routes/dashboard/index.tsx +360 -0
  22. package/app/routes/dashboard/layout.tsx +30 -0
  23. package/app/routes/docs/architecture.tsx +155 -0
  24. package/app/routes/docs/cli.tsx +122 -0
  25. package/app/routes/docs/deploying.tsx +105 -0
  26. package/app/routes/docs/index.tsx +104 -0
  27. package/app/routes/docs/layout.tsx +58 -0
  28. package/app/routes/home.tsx +134 -0
  29. package/app/routes/root.client.tsx +46 -0
  30. package/app/routes.ts +21 -0
  31. package/app/styles.css +15 -0
  32. package/app/theme.css +134 -0
  33. package/bin/deploy.js +360 -110
  34. package/docs-site/404.html +33 -0
  35. package/docs-site/home.tsx +130 -0
  36. package/docs-site/index.html +35 -0
  37. package/docs-site/layout.tsx +57 -0
  38. package/docs-site/main.tsx +41 -0
  39. package/docs-site/shell.tsx +34 -0
  40. package/docs-site/styles.css +4 -0
  41. package/drizzle.config.js +8 -0
  42. package/examples/docker/Dockerfile +5 -0
  43. package/examples/docker/server.js +18 -0
  44. package/examples/node/package.json +7 -0
  45. package/examples/node/pnpm-lock.yaml +9 -0
  46. package/examples/node/server.js +12 -0
  47. package/examples/static/index.html +48 -0
  48. package/package.json +41 -55
  49. package/public/favicon.ico +0 -0
  50. package/react-router-vite/entry.browser.tsx +49 -0
  51. package/react-router-vite/entry.rsc.single.tsx +7 -0
  52. package/react-router-vite/entry.rsc.tsx +36 -0
  53. package/react-router-vite/entry.ssr.tsx +29 -0
  54. package/react-router-vite/plugin.ts +114 -0
  55. package/react-router-vite/types.d.ts +11 -0
  56. package/react-router.config.ts +5 -0
  57. package/server/api.test.ts +344 -0
  58. package/server/api.ts +445 -0
  59. package/server/docker.ts +268 -0
  60. package/server/index.ts +17 -0
  61. package/server/metrics-collector.ts +29 -0
  62. package/server/schema.ts +56 -0
  63. package/server/store.test.ts +278 -0
  64. package/server/store.ts +398 -0
  65. package/tsconfig.json +21 -0
  66. package/vite.config.ts +45 -0
  67. package/vite.docs.config.ts +31 -0
  68. package/.eslintignore +0 -5
  69. package/.eslintrc +0 -23
  70. package/.travis.yml +0 -9
  71. package/.tryitout +0 -48
  72. package/CHANGELOG.md +0 -56
  73. package/bin/deploy-delete.js +0 -11
  74. package/bin/deploy-deploy.js +0 -31
  75. package/bin/deploy-list.js +0 -32
  76. package/bin/deploy-login.js +0 -39
  77. package/bin/deploy-logout.js +0 -12
  78. package/bin/deploy-logs.js +0 -19
  79. package/bin/deploy-open.js +0 -19
  80. package/bin/deploy-register.js +0 -40
  81. package/bin/deploy-server.js +0 -5
  82. package/bin/deploy-whoami.js +0 -12
  83. package/docs/code/CLI.html +0 -2901
  84. package/docs/code/Deployment.html +0 -2469
  85. package/docs/code/Request.html +0 -906
  86. package/docs/code/User.html +0 -1219
  87. package/docs/code/classifier.js.html +0 -121
  88. package/docs/code/deploy.js.html +0 -122
  89. package/docs/code/fonts/OpenSans-Bold-webfont.eot +0 -0
  90. package/docs/code/fonts/OpenSans-Bold-webfont.svg +0 -1830
  91. package/docs/code/fonts/OpenSans-Bold-webfont.woff +0 -0
  92. package/docs/code/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  93. package/docs/code/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
  94. package/docs/code/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  95. package/docs/code/fonts/OpenSans-Italic-webfont.eot +0 -0
  96. package/docs/code/fonts/OpenSans-Italic-webfont.svg +0 -1830
  97. package/docs/code/fonts/OpenSans-Italic-webfont.woff +0 -0
  98. package/docs/code/fonts/OpenSans-Light-webfont.eot +0 -0
  99. package/docs/code/fonts/OpenSans-Light-webfont.svg +0 -1831
  100. package/docs/code/fonts/OpenSans-Light-webfont.woff +0 -0
  101. package/docs/code/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  102. package/docs/code/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
  103. package/docs/code/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  104. package/docs/code/fonts/OpenSans-Regular-webfont.eot +0 -0
  105. package/docs/code/fonts/OpenSans-Regular-webfont.svg +0 -1831
  106. package/docs/code/fonts/OpenSans-Regular-webfont.woff +0 -0
  107. package/docs/code/fonts/OpenSans-Semibold-webfont.eot +0 -0
  108. package/docs/code/fonts/OpenSans-Semibold-webfont.svg +0 -1830
  109. package/docs/code/fonts/OpenSans-Semibold-webfont.ttf +0 -0
  110. package/docs/code/fonts/OpenSans-Semibold-webfont.woff +0 -0
  111. package/docs/code/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
  112. package/docs/code/fonts/OpenSans-SemiboldItalic-webfont.svg +0 -1830
  113. package/docs/code/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  114. package/docs/code/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
  115. package/docs/code/helpers_cli.js.html +0 -315
  116. package/docs/code/helpers_util.js.html +0 -194
  117. package/docs/code/index.html +0 -66
  118. package/docs/code/models_deployment.js.html +0 -515
  119. package/docs/code/models_request.js.html +0 -158
  120. package/docs/code/models_user.js.html +0 -198
  121. package/docs/code/module-lib_classifier.html +0 -246
  122. package/docs/code/module-lib_deploy.html +0 -350
  123. package/docs/code/module-lib_helpers_util.html +0 -707
  124. package/docs/code/scripts/linenumber.js +0 -25
  125. package/docs/code/scripts/prettify/Apache-License-2.0.txt +0 -202
  126. package/docs/code/scripts/prettify/lang-css.js +0 -2
  127. package/docs/code/scripts/prettify/prettify.js +0 -28
  128. package/docs/code/styles/jsdoc-default.css +0 -692
  129. package/docs/code/styles/prettify-jsdoc.css +0 -111
  130. package/docs/code/styles/prettify-tomorrow.css +0 -132
  131. package/docs/example.gif +0 -0
  132. package/docs/example.mov +0 -0
  133. package/docs/index.html +0 -4463
  134. package/docs/logo.png +0 -0
  135. package/docs/logo.pxm +0 -0
  136. package/docs/logo@2x.png +0 -0
  137. package/docs/main.css +0 -162
  138. package/docs/main.js +0 -53
  139. package/index.js +0 -55
  140. package/jsdoc.json +0 -27
  141. package/lib/classifier.js +0 -61
  142. package/lib/deploy.js +0 -62
  143. package/lib/helpers/cli.js +0 -255
  144. package/lib/helpers/util.js +0 -134
  145. package/lib/models/deployment.js +0 -455
  146. package/lib/models/request.js +0 -98
  147. package/lib/models/user.js +0 -138
  148. package/lib/server.js +0 -165
  149. package/lib/static/not-found.html +0 -30
  150. package/lib/static/page-could-not-load.html +0 -30
  151. package/lib/static/static-server.js +0 -69
  152. package/test/fixtures/docker/Dockerfile +0 -5
  153. package/test/fixtures/docker/index.js +0 -12
  154. package/test/fixtures/node/index.js +0 -8
  155. package/test/fixtures/node/package.json +0 -15
  156. package/test/fixtures/static/index.html +0 -14
  157. package/test/fixtures/static/main.css +0 -7
  158. package/test/fixtures/static/out.gifcd +0 -0
  159. package/test/fixtures/unknown/.gitkeep +0 -0
  160. package/test/lib/classifier.js +0 -51
  161. package/test/lib/helpers/util.js +0 -47
@@ -1,2469 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <title>Deployment - Documentation</title>
7
-
8
- <script src="scripts/prettify/prettify.js"></script>
9
- <script src="scripts/prettify/lang-css.js"></script>
10
- <!--[if lt IE 9]>
11
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
12
- <![endif]-->
13
- <link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
14
- <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
15
- <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
16
- </head>
17
- <body>
18
-
19
- <input type="checkbox" id="nav-trigger" class="nav-trigger" />
20
- <label for="nav-trigger" class="navicon-button x">
21
- <div class="navicon"></div>
22
- </label>
23
-
24
- <label for="nav-trigger" class="overlay"></label>
25
-
26
- <nav>
27
- <li class="nav-link nav-home-link"><a href="index.html">Home</a></li><li class="nav-heading">Classes</li><li class="nav-heading"><span class="nav-item-type type-class">C</span><span class="nav-item-name"><a href="CLI.html">CLI</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.cacheCredentials">cacheCredentials</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.createBundle">createBundle</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.deleteDeployment">deleteDeployment</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.getCredentials">getCredentials</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.getDeployments">getDeployments</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.getLogs">getLogs</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.getUserDetails">getUserDetails</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.login">login</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.logout">logout</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.register">register</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.removeBundle">removeBundle</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.uploadBundle">uploadBundle</a></span></li><li class="nav-heading"><span class="nav-item-type type-class">C</span><span class="nav-item-name"><a href="Deployment.html">Deployment</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.decorate">decorate</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.del">del</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.get">get</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.getAll">getAll</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.logs">logs</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.proxy">proxy</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.remove">remove</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.start">start</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.stop">stop</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.update">update</a></span></li><li class="nav-heading"><span class="nav-item-type type-class">C</span><span class="nav-item-name"><a href="Request.html">Request</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Request.html#.count">count</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Request.html#.del">del</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Request.html#.log">log</a></span></li><li class="nav-heading"><span class="nav-item-type type-class">C</span><span class="nav-item-name"><a href="User.html">User</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="User.html#.authenticate">authenticate</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="User.html#.authenticateMiddleware">authenticateMiddleware</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="User.html#.login">login</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="User.html#.logout">logout</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="User.html#.register">register</a></span></li><li class="nav-heading">Modules</li><li class="nav-heading"><span class="nav-item-type type-module">M</span><span class="nav-item-name"><a href="module-lib_classifier.html">lib/classifier</a></span></li><li class="nav-heading"><span class="nav-item-type type-module">M</span><span class="nav-item-name"><a href="module-lib_deploy.html">lib/deploy</a></span></li><li class="nav-heading"><span class="nav-item-type type-module">M</span><span class="nav-item-name"><a href="module-lib_helpers_util.html">lib/helpers/util</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="module-lib_helpers_util.html#.mk">mk</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="module-lib_helpers_util.html#~contains">contains</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="module-lib_helpers_util.html#~getPort">getPort</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="module-lib_helpers_util.html#~hash">hash</a></span></li>
28
- </nav>
29
-
30
- <div id="main">
31
-
32
- <h1 class="page-title">Deployment</h1>
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
- <section>
41
-
42
- <header>
43
-
44
- <h2>
45
- Deployment
46
- </h2>
47
-
48
-
49
- </header>
50
-
51
- <article>
52
- <div class="container-overview">
53
-
54
-
55
- <div class="section-method">
56
-
57
-
58
-
59
- <h4 class="name" id="Deployment"><span class="type-signature"></span>new Deployment<span class="signature">()</span><span class="type-signature"></span></h4>
60
-
61
-
62
-
63
-
64
-
65
- <div class="description">
66
- <p>Deployment definition</p>
67
- </div>
68
-
69
-
70
-
71
-
72
-
73
- <h5 class="subsection-title">Properties:</h5>
74
-
75
-
76
-
77
- <table class="props">
78
- <thead>
79
- <tr>
80
-
81
- <th>Name</th>
82
-
83
-
84
- <th>Type</th>
85
-
86
-
87
-
88
-
89
-
90
- <th class="last">Description</th>
91
- </tr>
92
- </thead>
93
-
94
- <tbody>
95
-
96
-
97
- <tr>
98
-
99
- <td class="name"><code>id</code></td>
100
-
101
-
102
- <td class="type">
103
-
104
-
105
- <span class="param-type"><code>String</code></span>
106
-
107
-
108
-
109
- </td>
110
-
111
-
112
-
113
-
114
-
115
- <td class="description last"><p>the container id</p></td>
116
- </tr>
117
-
118
-
119
-
120
-
121
-
122
- <tr>
123
-
124
- <td class="name"><code>name</code></td>
125
-
126
-
127
- <td class="type">
128
-
129
-
130
- <span class="param-type"><code>String</code></span>
131
-
132
-
133
-
134
- </td>
135
-
136
-
137
-
138
-
139
-
140
- <td class="description last"><p>the name of the deployment</p></td>
141
- </tr>
142
-
143
-
144
-
145
-
146
-
147
- <tr>
148
-
149
- <td class="name"><code>port</code></td>
150
-
151
-
152
- <td class="type">
153
-
154
-
155
- <span class="param-type"><code>Number</code></span>
156
-
157
-
158
-
159
- </td>
160
-
161
-
162
-
163
-
164
-
165
- <td class="description last"><p>the port that the container has exposed</p></td>
166
- </tr>
167
-
168
-
169
-
170
-
171
-
172
- <tr>
173
-
174
- <td class="name"><code>subdomain</code></td>
175
-
176
-
177
- <td class="type">
178
-
179
-
180
- <span class="param-type"><code>String</code></span>
181
-
182
-
183
-
184
- </td>
185
-
186
-
187
-
188
-
189
-
190
- <td class="description last"><p>the subdomain of the application</p></td>
191
- </tr>
192
-
193
-
194
-
195
-
196
-
197
- <tr>
198
-
199
- <td class="name"><code>directory</code></td>
200
-
201
-
202
- <td class="type">
203
-
204
-
205
- <span class="param-type"><code>String</code></span>
206
-
207
-
208
-
209
- </td>
210
-
211
-
212
-
213
-
214
-
215
- <td class="description last"><p>the directory of tared application</p></td>
216
- </tr>
217
-
218
-
219
-
220
-
221
-
222
- <tr>
223
-
224
- <td class="name"><code>username</code></td>
225
-
226
-
227
- <td class="type">
228
-
229
-
230
- <span class="param-type"><code>String</code></span>
231
-
232
-
233
-
234
- </td>
235
-
236
-
237
-
238
-
239
-
240
- <td class="description last"><p>the username who owns the deployment</p></td>
241
- </tr>
242
-
243
-
244
-
245
-
246
- </tbody>
247
- </table>
248
-
249
-
250
-
251
-
252
- <dl class="details">
253
-
254
-
255
-
256
-
257
-
258
-
259
-
260
-
261
-
262
-
263
-
264
-
265
-
266
-
267
-
268
-
269
-
270
-
271
-
272
-
273
-
274
-
275
-
276
-
277
-
278
-
279
- <dt class="tag-source">Source:</dt>
280
- <dd class="tag-source"><ul class="dummy"><li>
281
- <a href="models_deployment.js.html">models/deployment.js</a>, <a href="models_deployment.js.html#line35">line 35</a>
282
- </li></ul></dd>
283
-
284
-
285
-
286
-
287
-
288
-
289
-
290
- </dl>
291
-
292
-
293
-
294
-
295
-
296
-
297
-
298
-
299
-
300
-
301
-
302
-
303
-
304
-
305
-
306
-
307
-
308
-
309
-
310
-
311
-
312
-
313
-
314
- </div>
315
-
316
- </div>
317
-
318
-
319
-
320
-
321
-
322
-
323
-
324
-
325
-
326
-
327
-
328
-
329
-
330
-
331
- <h3 class="subsection-title">Methods</h3>
332
-
333
-
334
-
335
- <div class="section-method">
336
-
337
-
338
-
339
- <h4 class="name" id=".decorate"><span class="type-signature">(static) </span>decorate<span class="signature">(deployment)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
340
-
341
-
342
-
343
-
344
-
345
- <div class="description">
346
- <p>decorates a deployment with the correct data on get</p>
347
- </div>
348
-
349
-
350
-
351
-
352
-
353
- <dl class="details">
354
-
355
-
356
-
357
-
358
-
359
-
360
-
361
-
362
-
363
-
364
-
365
-
366
-
367
-
368
-
369
-
370
-
371
-
372
-
373
-
374
-
375
-
376
-
377
-
378
-
379
-
380
- <dt class="tag-source">Source:</dt>
381
- <dd class="tag-source"><ul class="dummy"><li>
382
- <a href="models_deployment.js.html">models/deployment.js</a>, <a href="models_deployment.js.html#line158">line 158</a>
383
- </li></ul></dd>
384
-
385
-
386
-
387
-
388
-
389
-
390
-
391
- </dl>
392
-
393
-
394
-
395
-
396
-
397
-
398
-
399
-
400
-
401
- <h5>Parameters:</h5>
402
-
403
-
404
- <table class="params">
405
- <thead>
406
- <tr>
407
-
408
- <th>Name</th>
409
-
410
-
411
- <th>Type</th>
412
-
413
-
414
-
415
-
416
-
417
- <th class="last">Description</th>
418
- </tr>
419
- </thead>
420
-
421
- <tbody>
422
-
423
-
424
- <tr>
425
-
426
- <td class="name"><code>deployment</code></td>
427
-
428
-
429
- <td class="type">
430
-
431
-
432
- <span class="param-type"><code><a href="Deployment.html">Deployment</a></code></span>
433
-
434
-
435
-
436
- </td>
437
-
438
-
439
-
440
-
441
-
442
- <td class="description last">
443
- <p>a deployment instance</p>
444
-
445
- </td>
446
- </tr>
447
-
448
-
449
- </tbody>
450
- </table>
451
-
452
-
453
-
454
-
455
-
456
-
457
-
458
-
459
-
460
-
461
-
462
-
463
-
464
-
465
- <div class="section-returns">
466
- <h5>Returns:</h5>
467
-
468
-
469
-
470
- <dl class="param-type">
471
- <dt>
472
- Type:
473
- </dt>
474
- <dd>
475
-
476
- <span class="param-type"><code>Promise</code></span>
477
-
478
-
479
- </dd>
480
- </dl>
481
-
482
-
483
-
484
- </div>
485
-
486
-
487
-
488
- </div>
489
-
490
-
491
- <div class="section-method">
492
-
493
-
494
-
495
- <h4 class="name" id=".del"><span class="type-signature">(static) </span>del<span class="signature">(name)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
496
-
497
-
498
-
499
-
500
-
501
- <div class="description">
502
- <p>deletes the specified deployment from the user</p>
503
- </div>
504
-
505
-
506
-
507
-
508
-
509
- <dl class="details">
510
-
511
-
512
-
513
-
514
-
515
-
516
-
517
-
518
-
519
-
520
-
521
-
522
-
523
-
524
-
525
-
526
-
527
-
528
-
529
-
530
-
531
-
532
-
533
-
534
-
535
-
536
- <dt class="tag-source">Source:</dt>
537
- <dd class="tag-source"><ul class="dummy"><li>
538
- <a href="models_deployment.js.html">models/deployment.js</a>, <a href="models_deployment.js.html#line84">line 84</a>
539
- </li></ul></dd>
540
-
541
-
542
-
543
-
544
-
545
-
546
-
547
- </dl>
548
-
549
-
550
-
551
-
552
-
553
-
554
-
555
-
556
-
557
- <h5>Parameters:</h5>
558
-
559
-
560
- <table class="params">
561
- <thead>
562
- <tr>
563
-
564
- <th>Name</th>
565
-
566
-
567
- <th>Type</th>
568
-
569
-
570
-
571
-
572
-
573
- <th class="last">Description</th>
574
- </tr>
575
- </thead>
576
-
577
- <tbody>
578
-
579
-
580
- <tr>
581
-
582
- <td class="name"><code>name</code></td>
583
-
584
-
585
- <td class="type">
586
-
587
-
588
- <span class="param-type"><code>String</code></span>
589
-
590
-
591
-
592
- </td>
593
-
594
-
595
-
596
-
597
-
598
- <td class="description last">
599
- <p>the name of the deployment</p>
600
-
601
- </td>
602
- </tr>
603
-
604
-
605
-
606
- <tr>
607
-
608
- <td class="name"><code>options.token</code></td>
609
-
610
-
611
- <td class="type">
612
-
613
-
614
- <span class="param-type"><code>String</code></span>
615
-
616
-
617
-
618
- </td>
619
-
620
-
621
-
622
-
623
-
624
- <td class="description last">
625
- <p>the token for the user who owns the deployment</p>
626
-
627
- </td>
628
- </tr>
629
-
630
-
631
-
632
- <tr>
633
-
634
- <td class="name"><code>options.username</code></td>
635
-
636
-
637
- <td class="type">
638
-
639
-
640
- <span class="param-type"><code>String</code></span>
641
-
642
-
643
-
644
- </td>
645
-
646
-
647
-
648
-
649
-
650
- <td class="description last">
651
- <p>the username associated with this deployment</p>
652
-
653
- </td>
654
- </tr>
655
-
656
-
657
- </tbody>
658
- </table>
659
-
660
-
661
-
662
-
663
-
664
-
665
-
666
-
667
-
668
-
669
-
670
-
671
-
672
-
673
- <div class="section-returns">
674
- <h5>Returns:</h5>
675
-
676
-
677
-
678
- <dl class="param-type">
679
- <dt>
680
- Type:
681
- </dt>
682
- <dd>
683
-
684
- <span class="param-type"><code>Promise</code></span>
685
-
686
-
687
- </dd>
688
- </dl>
689
-
690
-
691
-
692
- </div>
693
-
694
-
695
-
696
- </div>
697
-
698
-
699
- <div class="section-method">
700
-
701
-
702
-
703
- <h4 class="name" id=".get"><span class="type-signature">(static) </span>get<span class="signature">(options)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
704
-
705
-
706
-
707
-
708
-
709
- <div class="description">
710
- <p>gets a specific deployment for the specified user</p>
711
- </div>
712
-
713
-
714
-
715
-
716
-
717
- <dl class="details">
718
-
719
-
720
-
721
-
722
-
723
-
724
-
725
-
726
-
727
-
728
-
729
-
730
-
731
-
732
-
733
-
734
-
735
-
736
-
737
-
738
-
739
-
740
-
741
-
742
-
743
-
744
- <dt class="tag-source">Source:</dt>
745
- <dd class="tag-source"><ul class="dummy"><li>
746
- <a href="models_deployment.js.html">models/deployment.js</a>, <a href="models_deployment.js.html#line182">line 182</a>
747
- </li></ul></dd>
748
-
749
-
750
-
751
-
752
-
753
-
754
-
755
- </dl>
756
-
757
-
758
-
759
-
760
-
761
-
762
-
763
-
764
-
765
- <h5>Parameters:</h5>
766
-
767
-
768
- <table class="params">
769
- <thead>
770
- <tr>
771
-
772
- <th>Name</th>
773
-
774
-
775
- <th>Type</th>
776
-
777
-
778
-
779
-
780
-
781
- <th class="last">Description</th>
782
- </tr>
783
- </thead>
784
-
785
- <tbody>
786
-
787
-
788
- <tr>
789
-
790
- <td class="name"><code>options</code></td>
791
-
792
-
793
- <td class="type">
794
-
795
-
796
- <span class="param-type"><code>Object</code></span>
797
-
798
-
799
-
800
- </td>
801
-
802
-
803
-
804
-
805
-
806
- <td class="description last">
807
-
808
-
809
-
810
-
811
- <table class="params">
812
- <thead>
813
- <tr>
814
-
815
- <th>Name</th>
816
-
817
-
818
- <th>Type</th>
819
-
820
-
821
-
822
-
823
-
824
- <th class="last">Description</th>
825
- </tr>
826
- </thead>
827
-
828
- <tbody>
829
-
830
-
831
- <tr>
832
-
833
- <td class="name"><code>name</code></td>
834
-
835
-
836
- <td class="type">
837
-
838
-
839
- <span class="param-type"><code>String</code></span>
840
-
841
-
842
-
843
- </td>
844
-
845
-
846
-
847
-
848
-
849
- <td class="description last">
850
- <p>the name of the deployment</p>
851
-
852
- </td>
853
- </tr>
854
-
855
-
856
-
857
- <tr>
858
-
859
- <td class="name"><code>token</code></td>
860
-
861
-
862
- <td class="type">
863
-
864
-
865
- <span class="param-type"><code>String</code></span>
866
-
867
-
868
-
869
- </td>
870
-
871
-
872
-
873
-
874
-
875
- <td class="description last">
876
- <p>the token for the user who owns the deployment</p>
877
-
878
- </td>
879
- </tr>
880
-
881
-
882
-
883
- <tr>
884
-
885
- <td class="name"><code>username</code></td>
886
-
887
-
888
- <td class="type">
889
-
890
-
891
- <span class="param-type"><code>String</code></span>
892
-
893
-
894
-
895
- </td>
896
-
897
-
898
-
899
-
900
-
901
- <td class="description last">
902
- <p>the username associated with this deployment</p>
903
-
904
- </td>
905
- </tr>
906
-
907
-
908
- </tbody>
909
- </table>
910
-
911
-
912
- </td>
913
- </tr>
914
-
915
-
916
-
917
- <tr>
918
-
919
- <td class="name"><code>option.create</code></td>
920
-
921
-
922
- <td class="type">
923
-
924
-
925
- <span class="param-type"><code>Boolean</code></span>
926
-
927
-
928
-
929
- </td>
930
-
931
-
932
-
933
-
934
-
935
- <td class="description last">
936
- <p>create a deployment if not found</p>
937
-
938
- </td>
939
- </tr>
940
-
941
-
942
- </tbody>
943
- </table>
944
-
945
-
946
-
947
-
948
-
949
-
950
-
951
-
952
-
953
-
954
-
955
-
956
-
957
-
958
- <div class="section-returns">
959
- <h5>Returns:</h5>
960
-
961
-
962
-
963
- <dl class="param-type">
964
- <dt>
965
- Type:
966
- </dt>
967
- <dd>
968
-
969
- <span class="param-type"><code>Promise</code></span>
970
-
971
-
972
- </dd>
973
- </dl>
974
-
975
-
976
-
977
- </div>
978
-
979
-
980
-
981
- </div>
982
-
983
-
984
- <div class="section-method">
985
-
986
-
987
-
988
- <h4 class="name" id=".getAll"><span class="type-signature">(static) </span>getAll<span class="signature">()</span><span class="type-signature"> &rarr; {Promise}</span></h4>
989
-
990
-
991
-
992
-
993
-
994
- <div class="description">
995
- <p>gets all deployments for the specified user</p>
996
- </div>
997
-
998
-
999
-
1000
-
1001
-
1002
- <dl class="details">
1003
-
1004
-
1005
-
1006
-
1007
-
1008
-
1009
-
1010
-
1011
-
1012
-
1013
-
1014
-
1015
-
1016
-
1017
-
1018
-
1019
-
1020
-
1021
-
1022
-
1023
-
1024
-
1025
-
1026
-
1027
-
1028
-
1029
- <dt class="tag-source">Source:</dt>
1030
- <dd class="tag-source"><ul class="dummy"><li>
1031
- <a href="models_deployment.js.html">models/deployment.js</a>, <a href="models_deployment.js.html#line215">line 215</a>
1032
- </li></ul></dd>
1033
-
1034
-
1035
-
1036
-
1037
-
1038
-
1039
-
1040
- </dl>
1041
-
1042
-
1043
-
1044
-
1045
-
1046
-
1047
-
1048
-
1049
-
1050
- <h5>Parameters:</h5>
1051
-
1052
-
1053
- <table class="params">
1054
- <thead>
1055
- <tr>
1056
-
1057
- <th>Name</th>
1058
-
1059
-
1060
- <th>Type</th>
1061
-
1062
-
1063
-
1064
-
1065
-
1066
- <th class="last">Description</th>
1067
- </tr>
1068
- </thead>
1069
-
1070
- <tbody>
1071
-
1072
-
1073
- <tr>
1074
-
1075
- <td class="name"><code>options.token</code></td>
1076
-
1077
-
1078
- <td class="type">
1079
-
1080
-
1081
- <span class="param-type"><code>String</code></span>
1082
-
1083
-
1084
-
1085
- </td>
1086
-
1087
-
1088
-
1089
-
1090
-
1091
- <td class="description last">
1092
- <p>the token for the user who owns the deployment</p>
1093
-
1094
- </td>
1095
- </tr>
1096
-
1097
-
1098
-
1099
- <tr>
1100
-
1101
- <td class="name"><code>options.username</code></td>
1102
-
1103
-
1104
- <td class="type">
1105
-
1106
-
1107
- <span class="param-type"><code>String</code></span>
1108
-
1109
-
1110
-
1111
- </td>
1112
-
1113
-
1114
-
1115
-
1116
-
1117
- <td class="description last">
1118
- <p>the username associated with this deployment</p>
1119
-
1120
- </td>
1121
- </tr>
1122
-
1123
-
1124
- </tbody>
1125
- </table>
1126
-
1127
-
1128
-
1129
-
1130
-
1131
-
1132
-
1133
-
1134
-
1135
-
1136
-
1137
-
1138
-
1139
-
1140
- <div class="section-returns">
1141
- <h5>Returns:</h5>
1142
-
1143
-
1144
-
1145
- <dl class="param-type">
1146
- <dt>
1147
- Type:
1148
- </dt>
1149
- <dd>
1150
-
1151
- <span class="param-type"><code>Promise</code></span>
1152
-
1153
-
1154
- </dd>
1155
- </dl>
1156
-
1157
-
1158
-
1159
- </div>
1160
-
1161
-
1162
-
1163
- </div>
1164
-
1165
-
1166
- <div class="section-method">
1167
-
1168
-
1169
-
1170
- <h4 class="name" id=".logs"><span class="type-signature">(static) </span>logs<span class="signature">(name, token, username)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
1171
-
1172
-
1173
-
1174
-
1175
-
1176
- <div class="description">
1177
- <p>retrieves from a given instance</p>
1178
- </div>
1179
-
1180
-
1181
-
1182
-
1183
-
1184
- <dl class="details">
1185
-
1186
-
1187
-
1188
-
1189
-
1190
-
1191
-
1192
-
1193
-
1194
-
1195
-
1196
-
1197
-
1198
-
1199
-
1200
-
1201
-
1202
-
1203
-
1204
-
1205
-
1206
-
1207
-
1208
-
1209
-
1210
-
1211
- <dt class="tag-source">Source:</dt>
1212
- <dd class="tag-source"><ul class="dummy"><li>
1213
- <a href="models_deployment.js.html">models/deployment.js</a>, <a href="models_deployment.js.html#line372">line 372</a>
1214
- </li></ul></dd>
1215
-
1216
-
1217
-
1218
-
1219
-
1220
-
1221
-
1222
- </dl>
1223
-
1224
-
1225
-
1226
-
1227
-
1228
-
1229
-
1230
-
1231
-
1232
- <h5>Parameters:</h5>
1233
-
1234
-
1235
- <table class="params">
1236
- <thead>
1237
- <tr>
1238
-
1239
- <th>Name</th>
1240
-
1241
-
1242
- <th>Type</th>
1243
-
1244
-
1245
-
1246
-
1247
-
1248
- <th class="last">Description</th>
1249
- </tr>
1250
- </thead>
1251
-
1252
- <tbody>
1253
-
1254
-
1255
- <tr>
1256
-
1257
- <td class="name"><code>name</code></td>
1258
-
1259
-
1260
- <td class="type">
1261
-
1262
-
1263
- <span class="param-type"><code>String</code></span>
1264
-
1265
-
1266
-
1267
- </td>
1268
-
1269
-
1270
-
1271
-
1272
-
1273
- <td class="description last">
1274
- <p>instance name</p>
1275
-
1276
- </td>
1277
- </tr>
1278
-
1279
-
1280
-
1281
- <tr>
1282
-
1283
- <td class="name"><code>token</code></td>
1284
-
1285
-
1286
- <td class="type">
1287
-
1288
-
1289
- <span class="param-type"><code>String</code></span>
1290
-
1291
-
1292
-
1293
- </td>
1294
-
1295
-
1296
-
1297
-
1298
-
1299
- <td class="description last">
1300
- <p>the token for the user who owns the deployment</p>
1301
-
1302
- </td>
1303
- </tr>
1304
-
1305
-
1306
-
1307
- <tr>
1308
-
1309
- <td class="name"><code>username</code></td>
1310
-
1311
-
1312
- <td class="type">
1313
-
1314
-
1315
- <span class="param-type"><code>String</code></span>
1316
-
1317
-
1318
-
1319
- </td>
1320
-
1321
-
1322
-
1323
-
1324
-
1325
- <td class="description last">
1326
- <p>the username associated with this deployment</p>
1327
-
1328
- </td>
1329
- </tr>
1330
-
1331
-
1332
- </tbody>
1333
- </table>
1334
-
1335
-
1336
-
1337
-
1338
-
1339
-
1340
-
1341
-
1342
-
1343
-
1344
-
1345
-
1346
-
1347
-
1348
- <div class="section-returns">
1349
- <h5>Returns:</h5>
1350
-
1351
-
1352
-
1353
- <dl class="param-type">
1354
- <dt>
1355
- Type:
1356
- </dt>
1357
- <dd>
1358
-
1359
- <span class="param-type"><code>Promise</code></span>
1360
-
1361
-
1362
- </dd>
1363
- </dl>
1364
-
1365
-
1366
-
1367
- </div>
1368
-
1369
-
1370
-
1371
- </div>
1372
-
1373
-
1374
- <div class="section-method">
1375
-
1376
-
1377
-
1378
- <h4 class="name" id=".proxy"><span class="type-signature">(static) </span>proxy<span class="signature">(subdomain)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
1379
-
1380
-
1381
-
1382
-
1383
-
1384
- <div class="description">
1385
- <p>express middleware to proxy to correct container</p>
1386
- </div>
1387
-
1388
-
1389
-
1390
-
1391
-
1392
- <dl class="details">
1393
-
1394
-
1395
-
1396
-
1397
-
1398
-
1399
-
1400
-
1401
-
1402
-
1403
-
1404
-
1405
-
1406
-
1407
-
1408
-
1409
-
1410
-
1411
-
1412
-
1413
-
1414
-
1415
-
1416
-
1417
-
1418
-
1419
- <dt class="tag-source">Source:</dt>
1420
- <dd class="tag-source"><ul class="dummy"><li>
1421
- <a href="models_deployment.js.html">models/deployment.js</a>, <a href="models_deployment.js.html#line115">line 115</a>
1422
- </li></ul></dd>
1423
-
1424
-
1425
-
1426
-
1427
-
1428
-
1429
-
1430
- </dl>
1431
-
1432
-
1433
-
1434
-
1435
-
1436
-
1437
-
1438
-
1439
-
1440
- <h5>Parameters:</h5>
1441
-
1442
-
1443
- <table class="params">
1444
- <thead>
1445
- <tr>
1446
-
1447
- <th>Name</th>
1448
-
1449
-
1450
- <th>Type</th>
1451
-
1452
-
1453
-
1454
-
1455
-
1456
- <th class="last">Description</th>
1457
- </tr>
1458
- </thead>
1459
-
1460
- <tbody>
1461
-
1462
-
1463
- <tr>
1464
-
1465
- <td class="name"><code>subdomain</code></td>
1466
-
1467
-
1468
- <td class="type">
1469
-
1470
-
1471
- <span class="param-type"><code>String</code></span>
1472
-
1473
-
1474
-
1475
- </td>
1476
-
1477
-
1478
-
1479
-
1480
-
1481
- <td class="description last">
1482
- <p>the subdomain for the application being requested</p>
1483
-
1484
- </td>
1485
- </tr>
1486
-
1487
-
1488
- </tbody>
1489
- </table>
1490
-
1491
-
1492
-
1493
-
1494
-
1495
-
1496
-
1497
-
1498
-
1499
-
1500
-
1501
-
1502
-
1503
-
1504
- <div class="section-returns">
1505
- <h5>Returns:</h5>
1506
-
1507
-
1508
-
1509
- <dl class="param-type">
1510
- <dt>
1511
- Type:
1512
- </dt>
1513
- <dd>
1514
-
1515
- <span class="param-type"><code>Promise</code></span>
1516
-
1517
-
1518
- </dd>
1519
- </dl>
1520
-
1521
-
1522
-
1523
- </div>
1524
-
1525
-
1526
-
1527
- </div>
1528
-
1529
-
1530
- <div class="section-method">
1531
-
1532
-
1533
-
1534
- <h4 class="name" id=".remove"><span class="type-signature">(static) </span>remove<span class="signature">(name)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
1535
-
1536
-
1537
-
1538
-
1539
-
1540
- <div class="description">
1541
- <p>removes a specific container, will stop and cleanup all necessary files</p>
1542
- </div>
1543
-
1544
-
1545
-
1546
-
1547
-
1548
- <dl class="details">
1549
-
1550
-
1551
-
1552
-
1553
-
1554
-
1555
-
1556
-
1557
-
1558
-
1559
-
1560
-
1561
-
1562
-
1563
-
1564
-
1565
-
1566
-
1567
-
1568
-
1569
-
1570
-
1571
-
1572
-
1573
-
1574
-
1575
- <dt class="tag-source">Source:</dt>
1576
- <dd class="tag-source"><ul class="dummy"><li>
1577
- <a href="models_deployment.js.html">models/deployment.js</a>, <a href="models_deployment.js.html#line417">line 417</a>
1578
- </li></ul></dd>
1579
-
1580
-
1581
-
1582
-
1583
-
1584
-
1585
-
1586
- </dl>
1587
-
1588
-
1589
-
1590
-
1591
-
1592
-
1593
-
1594
-
1595
-
1596
- <h5>Parameters:</h5>
1597
-
1598
-
1599
- <table class="params">
1600
- <thead>
1601
- <tr>
1602
-
1603
- <th>Name</th>
1604
-
1605
-
1606
- <th>Type</th>
1607
-
1608
-
1609
-
1610
-
1611
-
1612
- <th class="last">Description</th>
1613
- </tr>
1614
- </thead>
1615
-
1616
- <tbody>
1617
-
1618
-
1619
- <tr>
1620
-
1621
- <td class="name"><code>name</code></td>
1622
-
1623
-
1624
- <td class="type">
1625
-
1626
-
1627
- <span class="param-type"><code>String</code></span>
1628
-
1629
-
1630
-
1631
- </td>
1632
-
1633
-
1634
-
1635
-
1636
-
1637
- <td class="description last">
1638
- <p>the name of the container</p>
1639
-
1640
- </td>
1641
- </tr>
1642
-
1643
-
1644
-
1645
- <tr>
1646
-
1647
- <td class="name"><code>options.token</code></td>
1648
-
1649
-
1650
- <td class="type">
1651
-
1652
-
1653
- <span class="param-type"><code>String</code></span>
1654
-
1655
-
1656
-
1657
- </td>
1658
-
1659
-
1660
-
1661
-
1662
-
1663
- <td class="description last">
1664
- <p>the token for the user who owns the deployment</p>
1665
-
1666
- </td>
1667
- </tr>
1668
-
1669
-
1670
-
1671
- <tr>
1672
-
1673
- <td class="name"><code>options.username</code></td>
1674
-
1675
-
1676
- <td class="type">
1677
-
1678
-
1679
- <span class="param-type"><code>String</code></span>
1680
-
1681
-
1682
-
1683
- </td>
1684
-
1685
-
1686
-
1687
-
1688
-
1689
- <td class="description last">
1690
- <p>the username associated with this deployment</p>
1691
-
1692
- </td>
1693
- </tr>
1694
-
1695
-
1696
- </tbody>
1697
- </table>
1698
-
1699
-
1700
-
1701
-
1702
-
1703
-
1704
-
1705
-
1706
-
1707
-
1708
-
1709
-
1710
-
1711
-
1712
- <div class="section-returns">
1713
- <h5>Returns:</h5>
1714
-
1715
-
1716
-
1717
- <dl class="param-type">
1718
- <dt>
1719
- Type:
1720
- </dt>
1721
- <dd>
1722
-
1723
- <span class="param-type"><code>Promise</code></span>
1724
-
1725
-
1726
- </dd>
1727
- </dl>
1728
-
1729
-
1730
-
1731
- </div>
1732
-
1733
-
1734
-
1735
- </div>
1736
-
1737
-
1738
- <div class="section-method">
1739
-
1740
-
1741
-
1742
- <h4 class="name" id=".start"><span class="type-signature">(static) </span>start<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
1743
-
1744
-
1745
-
1746
-
1747
-
1748
- <div class="description">
1749
- <p>starts a container or all containers</p>
1750
- </div>
1751
-
1752
-
1753
-
1754
-
1755
-
1756
- <dl class="details">
1757
-
1758
-
1759
-
1760
-
1761
-
1762
-
1763
-
1764
-
1765
-
1766
-
1767
-
1768
-
1769
-
1770
-
1771
-
1772
-
1773
-
1774
-
1775
-
1776
-
1777
-
1778
-
1779
-
1780
-
1781
-
1782
-
1783
- <dt class="tag-source">Source:</dt>
1784
- <dd class="tag-source"><ul class="dummy"><li>
1785
- <a href="models_deployment.js.html">models/deployment.js</a>, <a href="models_deployment.js.html#line307">line 307</a>
1786
- </li></ul></dd>
1787
-
1788
-
1789
-
1790
-
1791
-
1792
-
1793
-
1794
- </dl>
1795
-
1796
-
1797
-
1798
-
1799
-
1800
-
1801
-
1802
-
1803
-
1804
- <h5>Parameters:</h5>
1805
-
1806
-
1807
- <table class="params">
1808
- <thead>
1809
- <tr>
1810
-
1811
- <th>Name</th>
1812
-
1813
-
1814
- <th>Type</th>
1815
-
1816
-
1817
- <th>Attributes</th>
1818
-
1819
-
1820
-
1821
-
1822
- <th class="last">Description</th>
1823
- </tr>
1824
- </thead>
1825
-
1826
- <tbody>
1827
-
1828
-
1829
- <tr>
1830
-
1831
- <td class="name"><code>name</code></td>
1832
-
1833
-
1834
- <td class="type">
1835
-
1836
-
1837
- <span class="param-type"><code>String</code></span>
1838
-
1839
-
1840
-
1841
- </td>
1842
-
1843
-
1844
- <td class="attributes">
1845
-
1846
- &lt;optional><br>
1847
-
1848
-
1849
-
1850
-
1851
-
1852
- </td>
1853
-
1854
-
1855
-
1856
-
1857
- <td class="description last">
1858
- <p>to start a specific container a name property is needed</p>
1859
-
1860
- </td>
1861
- </tr>
1862
-
1863
-
1864
-
1865
- <tr>
1866
-
1867
- <td class="name"><code>options.token</code></td>
1868
-
1869
-
1870
- <td class="type">
1871
-
1872
-
1873
- <span class="param-type"><code>String</code></span>
1874
-
1875
-
1876
-
1877
- </td>
1878
-
1879
-
1880
- <td class="attributes">
1881
-
1882
-
1883
-
1884
-
1885
-
1886
- </td>
1887
-
1888
-
1889
-
1890
-
1891
- <td class="description last">
1892
- <p>the token for the user who owns the deployment</p>
1893
-
1894
- </td>
1895
- </tr>
1896
-
1897
-
1898
-
1899
- <tr>
1900
-
1901
- <td class="name"><code>options.username</code></td>
1902
-
1903
-
1904
- <td class="type">
1905
-
1906
-
1907
- <span class="param-type"><code>String</code></span>
1908
-
1909
-
1910
-
1911
- </td>
1912
-
1913
-
1914
- <td class="attributes">
1915
-
1916
-
1917
-
1918
-
1919
-
1920
- </td>
1921
-
1922
-
1923
-
1924
-
1925
- <td class="description last">
1926
- <p>the username associated with this deployment</p>
1927
-
1928
- </td>
1929
- </tr>
1930
-
1931
-
1932
- </tbody>
1933
- </table>
1934
-
1935
-
1936
-
1937
-
1938
-
1939
-
1940
-
1941
-
1942
-
1943
-
1944
-
1945
-
1946
-
1947
-
1948
- <div class="section-returns">
1949
- <h5>Returns:</h5>
1950
-
1951
-
1952
-
1953
- <dl class="param-type">
1954
- <dt>
1955
- Type:
1956
- </dt>
1957
- <dd>
1958
-
1959
- <span class="param-type"><code>Promise</code></span>
1960
-
1961
-
1962
- </dd>
1963
- </dl>
1964
-
1965
-
1966
-
1967
- </div>
1968
-
1969
-
1970
-
1971
- </div>
1972
-
1973
-
1974
- <div class="section-method">
1975
-
1976
-
1977
-
1978
- <h4 class="name" id=".stop"><span class="type-signature">(static) </span>stop<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
1979
-
1980
-
1981
-
1982
-
1983
-
1984
- <div class="description">
1985
- <p>stops a container or all containers</p>
1986
- </div>
1987
-
1988
-
1989
-
1990
-
1991
-
1992
- <dl class="details">
1993
-
1994
-
1995
-
1996
-
1997
-
1998
-
1999
-
2000
-
2001
-
2002
-
2003
-
2004
-
2005
-
2006
-
2007
-
2008
-
2009
-
2010
-
2011
-
2012
-
2013
-
2014
-
2015
-
2016
-
2017
-
2018
-
2019
- <dt class="tag-source">Source:</dt>
2020
- <dd class="tag-source"><ul class="dummy"><li>
2021
- <a href="models_deployment.js.html">models/deployment.js</a>, <a href="models_deployment.js.html#line339">line 339</a>
2022
- </li></ul></dd>
2023
-
2024
-
2025
-
2026
-
2027
-
2028
-
2029
-
2030
- </dl>
2031
-
2032
-
2033
-
2034
-
2035
-
2036
-
2037
-
2038
-
2039
-
2040
- <h5>Parameters:</h5>
2041
-
2042
-
2043
- <table class="params">
2044
- <thead>
2045
- <tr>
2046
-
2047
- <th>Name</th>
2048
-
2049
-
2050
- <th>Type</th>
2051
-
2052
-
2053
- <th>Attributes</th>
2054
-
2055
-
2056
-
2057
-
2058
- <th class="last">Description</th>
2059
- </tr>
2060
- </thead>
2061
-
2062
- <tbody>
2063
-
2064
-
2065
- <tr>
2066
-
2067
- <td class="name"><code>name</code></td>
2068
-
2069
-
2070
- <td class="type">
2071
-
2072
-
2073
- <span class="param-type"><code>String</code></span>
2074
-
2075
-
2076
-
2077
- </td>
2078
-
2079
-
2080
- <td class="attributes">
2081
-
2082
- &lt;optional><br>
2083
-
2084
-
2085
-
2086
-
2087
-
2088
- </td>
2089
-
2090
-
2091
-
2092
-
2093
- <td class="description last">
2094
- <p>to stop a specific container a name property is needed</p>
2095
-
2096
- </td>
2097
- </tr>
2098
-
2099
-
2100
-
2101
- <tr>
2102
-
2103
- <td class="name"><code>options.token</code></td>
2104
-
2105
-
2106
- <td class="type">
2107
-
2108
-
2109
- <span class="param-type"><code>String</code></span>
2110
-
2111
-
2112
-
2113
- </td>
2114
-
2115
-
2116
- <td class="attributes">
2117
-
2118
- &lt;optional><br>
2119
-
2120
-
2121
-
2122
-
2123
-
2124
- </td>
2125
-
2126
-
2127
-
2128
-
2129
- <td class="description last">
2130
- <p>the token for the user who owns the deployment</p>
2131
-
2132
- </td>
2133
- </tr>
2134
-
2135
-
2136
-
2137
- <tr>
2138
-
2139
- <td class="name"><code>options.username</code></td>
2140
-
2141
-
2142
- <td class="type">
2143
-
2144
-
2145
- <span class="param-type"><code>String</code></span>
2146
-
2147
-
2148
-
2149
- </td>
2150
-
2151
-
2152
- <td class="attributes">
2153
-
2154
- &lt;optional><br>
2155
-
2156
-
2157
-
2158
-
2159
-
2160
- </td>
2161
-
2162
-
2163
-
2164
-
2165
- <td class="description last">
2166
- <p>the username associated with this deployment</p>
2167
-
2168
- </td>
2169
- </tr>
2170
-
2171
-
2172
- </tbody>
2173
- </table>
2174
-
2175
-
2176
-
2177
-
2178
-
2179
-
2180
-
2181
-
2182
-
2183
-
2184
-
2185
-
2186
-
2187
-
2188
- <div class="section-returns">
2189
- <h5>Returns:</h5>
2190
-
2191
-
2192
-
2193
- <dl class="param-type">
2194
- <dt>
2195
- Type:
2196
- </dt>
2197
- <dd>
2198
-
2199
- <span class="param-type"><code>Promise</code></span>
2200
-
2201
-
2202
- </dd>
2203
- </dl>
2204
-
2205
-
2206
-
2207
- </div>
2208
-
2209
-
2210
-
2211
- </div>
2212
-
2213
-
2214
- <div class="section-method">
2215
-
2216
-
2217
-
2218
- <h4 class="name" id=".update"><span class="type-signature">(static) </span>update<span class="signature">(options)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
2219
-
2220
-
2221
-
2222
-
2223
-
2224
- <div class="description">
2225
- <p>updates a deployment</p>
2226
- </div>
2227
-
2228
-
2229
-
2230
-
2231
-
2232
- <dl class="details">
2233
-
2234
-
2235
-
2236
-
2237
-
2238
-
2239
-
2240
-
2241
-
2242
-
2243
-
2244
-
2245
-
2246
-
2247
-
2248
-
2249
-
2250
-
2251
-
2252
-
2253
-
2254
-
2255
-
2256
-
2257
-
2258
-
2259
- <dt class="tag-source">Source:</dt>
2260
- <dd class="tag-source"><ul class="dummy"><li>
2261
- <a href="models_deployment.js.html">models/deployment.js</a>, <a href="models_deployment.js.html#line46">line 46</a>
2262
- </li></ul></dd>
2263
-
2264
-
2265
-
2266
-
2267
-
2268
-
2269
-
2270
- </dl>
2271
-
2272
-
2273
-
2274
-
2275
-
2276
-
2277
-
2278
-
2279
-
2280
- <h5>Parameters:</h5>
2281
-
2282
-
2283
- <table class="params">
2284
- <thead>
2285
- <tr>
2286
-
2287
- <th>Name</th>
2288
-
2289
-
2290
- <th>Type</th>
2291
-
2292
-
2293
-
2294
-
2295
-
2296
- <th class="last">Description</th>
2297
- </tr>
2298
- </thead>
2299
-
2300
- <tbody>
2301
-
2302
-
2303
- <tr>
2304
-
2305
- <td class="name"><code>options</code></td>
2306
-
2307
-
2308
- <td class="type">
2309
-
2310
-
2311
- <span class="param-type"><code>Object</code></span>
2312
-
2313
-
2314
-
2315
- </td>
2316
-
2317
-
2318
-
2319
-
2320
-
2321
- <td class="description last">
2322
-
2323
-
2324
-
2325
-
2326
- <table class="params">
2327
- <thead>
2328
- <tr>
2329
-
2330
- <th>Name</th>
2331
-
2332
-
2333
- <th>Type</th>
2334
-
2335
-
2336
-
2337
-
2338
-
2339
- <th class="last">Description</th>
2340
- </tr>
2341
- </thead>
2342
-
2343
- <tbody>
2344
-
2345
-
2346
- <tr>
2347
-
2348
- <td class="name"><code>name</code></td>
2349
-
2350
-
2351
- <td class="type">
2352
-
2353
-
2354
- <span class="param-type"><code>String</code></span>
2355
-
2356
-
2357
-
2358
- </td>
2359
-
2360
-
2361
-
2362
-
2363
-
2364
- <td class="description last">
2365
- <p>the name of the deployment</p>
2366
-
2367
- </td>
2368
- </tr>
2369
-
2370
-
2371
-
2372
- <tr>
2373
-
2374
- <td class="name"><code>username</code></td>
2375
-
2376
-
2377
- <td class="type">
2378
-
2379
-
2380
- <span class="param-type"><code>String</code></span>
2381
-
2382
-
2383
-
2384
- </td>
2385
-
2386
-
2387
-
2388
-
2389
-
2390
- <td class="description last">
2391
- <p>the username associated with this deployment</p>
2392
-
2393
- </td>
2394
- </tr>
2395
-
2396
-
2397
- </tbody>
2398
- </table>
2399
-
2400
-
2401
- </td>
2402
- </tr>
2403
-
2404
-
2405
- </tbody>
2406
- </table>
2407
-
2408
-
2409
-
2410
-
2411
-
2412
-
2413
-
2414
-
2415
-
2416
-
2417
-
2418
-
2419
-
2420
-
2421
- <div class="section-returns">
2422
- <h5>Returns:</h5>
2423
-
2424
-
2425
-
2426
- <dl class="param-type">
2427
- <dt>
2428
- Type:
2429
- </dt>
2430
- <dd>
2431
-
2432
- <span class="param-type"><code>Promise</code></span>
2433
-
2434
-
2435
- </dd>
2436
- </dl>
2437
-
2438
-
2439
-
2440
- </div>
2441
-
2442
-
2443
-
2444
- </div>
2445
-
2446
-
2447
-
2448
-
2449
-
2450
-
2451
- </article>
2452
-
2453
- </section>
2454
-
2455
-
2456
-
2457
-
2458
- </div>
2459
-
2460
- <br class="clear">
2461
-
2462
- <footer>
2463
- Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> using the Minami theme.
2464
- </footer>
2465
-
2466
- <script>prettyPrint();</script>
2467
- <script src="scripts/linenumber.js"></script>
2468
- </body>
2469
- </html>