@itentialopensource/adapter-docker 0.6.0 → 0.7.1
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/AUTH.md +5 -9
- package/CALLS.md +623 -22
- package/CHANGELOG.md +16 -0
- package/CONTRIBUTING.md +1 -160
- package/ENHANCE.md +2 -2
- package/README.md +32 -23
- package/SYSTEMINFO.md +19 -5
- package/adapter.js +157 -329
- package/adapterBase.js +549 -879
- package/changelogs/CHANGELOG.md +103 -0
- package/metadata.json +57 -0
- package/package.json +25 -25
- package/pronghorn.json +980 -641
- package/propertiesSchema.json +431 -31
- package/refs?service=git-upload-pack +0 -0
- package/report/adapter-openapi.json +4034 -0
- package/report/adapter-openapi.yaml +3121 -0
- package/report/adapterInfo.json +8 -8
- package/report/updateReport1691507531387.json +120 -0
- package/report/updateReport1692202549558.json +120 -0
- package/report/updateReport1694461579341.json +120 -0
- package/report/updateReport1698420876380.json +120 -0
- package/sampleProperties.json +64 -3
- package/test/integration/adapterTestBasicGet.js +2 -4
- package/test/integration/adapterTestConnectivity.js +91 -42
- package/test/integration/adapterTestIntegration.js +130 -2
- package/test/unit/adapterBaseTestUnit.js +388 -313
- package/test/unit/adapterTestUnit.js +338 -112
- package/utils/adapterInfo.js +1 -1
- package/utils/addAuth.js +1 -1
- package/utils/artifactize.js +1 -1
- package/utils/checkMigrate.js +1 -1
- package/utils/entitiesToDB.js +2 -2
- package/utils/findPath.js +1 -1
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +13 -15
- package/utils/packModificationScript.js +1 -1
- package/utils/pre-commit.sh +2 -0
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +89 -34
- package/utils/tbUtils.js +41 -21
- package/utils/testRunner.js +1 -1
- package/utils/troubleshootingAdapter.js +9 -6
- package/workflows/README.md +0 -3
package/CALLS.md
CHANGED
|
@@ -19,7 +19,7 @@ These are adapter methods that IAP or you might use. There are some other method
|
|
|
19
19
|
</tr>
|
|
20
20
|
<tr>
|
|
21
21
|
<td style="padding:15px">healthCheck(callback)</td>
|
|
22
|
-
<td style="padding:15px">This call ensures that the adapter can communicate with Docker. The actual call that is used is defined in the adapter properties and .system entities action.json file.</td>
|
|
22
|
+
<td style="padding:15px">This call ensures that the adapter can communicate with Adapter for Docker. The actual call that is used is defined in the adapter properties and .system entities action.json file.</td>
|
|
23
23
|
<td style="padding:15px">No</td>
|
|
24
24
|
</tr>
|
|
25
25
|
<tr>
|
|
@@ -29,7 +29,7 @@ These are adapter methods that IAP or you might use. There are some other method
|
|
|
29
29
|
</tr>
|
|
30
30
|
<tr>
|
|
31
31
|
<td style="padding:15px">encryptProperty(property, technique, callback)</td>
|
|
32
|
-
<td style="padding:15px">This call will take the provided property and technique, and return the property encrypted with the technique. This allows the property to be used in the adapterProps section for the credential password so that the password does not have to be in clear text. The adapter will decrypt the property as needed for communications with Docker.</td>
|
|
32
|
+
<td style="padding:15px">This call will take the provided property and technique, and return the property encrypted with the technique. This allows the property to be used in the adapterProps section for the credential password so that the password does not have to be in clear text. The adapter will decrypt the property as needed for communications with Adapter for Docker.</td>
|
|
33
33
|
<td style="padding:15px">No</td>
|
|
34
34
|
</tr>
|
|
35
35
|
<tr>
|
|
@@ -37,11 +37,6 @@ These are adapter methods that IAP or you might use. There are some other method
|
|
|
37
37
|
<td style="padding:15px">This call provides the ability to update the adapter configuration from IAP - includes actions, schema, mockdata and other configurations.</td>
|
|
38
38
|
<td style="padding:15px">Yes</td>
|
|
39
39
|
</tr>
|
|
40
|
-
<tr>
|
|
41
|
-
<td style="padding:15px">iapFindAdapterPath(apiPath, callback)</td>
|
|
42
|
-
<td style="padding:15px">This call provides the ability to see if a particular API path is supported by the adapter.</td>
|
|
43
|
-
<td style="padding:15px">Yes</td>
|
|
44
|
-
</tr>
|
|
45
40
|
<tr>
|
|
46
41
|
<td style="padding:15px">iapSuspendAdapter(mode, callback)</td>
|
|
47
42
|
<td style="padding:15px">This call provides the ability to suspend the adapter and either have requests rejected or put into a queue to be processed after the adapter is resumed.</td>
|
|
@@ -57,12 +52,16 @@ These are adapter methods that IAP or you might use. There are some other method
|
|
|
57
52
|
<td style="padding:15px">This call will return the requests that are waiting in the queue if throttling is enabled.</td>
|
|
58
53
|
<td style="padding:15px">Yes</td>
|
|
59
54
|
</tr>
|
|
55
|
+
<tr>
|
|
56
|
+
<td style="padding:15px">iapFindAdapterPath(apiPath, callback)</td>
|
|
57
|
+
<td style="padding:15px">This call provides the ability to see if a particular API path is supported by the adapter.</td>
|
|
58
|
+
<td style="padding:15px">Yes</td>
|
|
59
|
+
</tr>
|
|
60
60
|
<tr>
|
|
61
61
|
<td style="padding:15px">iapTroubleshootAdapter(props, persistFlag, adapter, callback)</td>
|
|
62
62
|
<td style="padding:15px">This call can be used to check on the performance of the adapter - it checks connectivity, healthcheck and basic get calls.</td>
|
|
63
63
|
<td style="padding:15px">Yes</td>
|
|
64
64
|
</tr>
|
|
65
|
-
|
|
66
65
|
<tr>
|
|
67
66
|
<td style="padding:15px">iapRunAdapterHealthcheck(adapter, callback)</td>
|
|
68
67
|
<td style="padding:15px">This call will return the results of a healthcheck.</td>
|
|
@@ -83,6 +82,21 @@ These are adapter methods that IAP or you might use. There are some other method
|
|
|
83
82
|
<td style="padding:15px">This call will push the adapter configuration from the entities directory into the Adapter or IAP Database.</td>
|
|
84
83
|
<td style="padding:15px">Yes</td>
|
|
85
84
|
</tr>
|
|
85
|
+
<tr>
|
|
86
|
+
<td style="padding:15px">iapDeactivateTasks(tasks, callback)</td>
|
|
87
|
+
<td style="padding:15px">This call provides the ability to remove tasks from the adapter.</td>
|
|
88
|
+
<td style="padding:15px">Yes</td>
|
|
89
|
+
</tr>
|
|
90
|
+
<tr>
|
|
91
|
+
<td style="padding:15px">iapActivateTasks(tasks, callback)</td>
|
|
92
|
+
<td style="padding:15px">This call provides the ability to add deactivated tasks back into the adapter.</td>
|
|
93
|
+
<td style="padding:15px">Yes</td>
|
|
94
|
+
</tr>
|
|
95
|
+
<tr>
|
|
96
|
+
<td style="padding:15px">iapExpandedGenericAdapterRequest(metadata, uriPath, restMethod, pathVars, queryData, requestBody, addlHeaders, callback)</td>
|
|
97
|
+
<td style="padding:15px">This is an expanded Generic Call. The metadata object allows us to provide many new capabilities within the generic request.</td>
|
|
98
|
+
<td style="padding:15px">Yes</td>
|
|
99
|
+
</tr>
|
|
86
100
|
<tr>
|
|
87
101
|
<td style="padding:15px">genericAdapterRequest(uriPath, restMethod, queryData, requestBody, addlHeaders, callback)</td>
|
|
88
102
|
<td style="padding:15px">This call allows you to provide the path to have the adapter call. It is an easy way to incorporate paths that have not been built into the adapter yet.</td>
|
|
@@ -94,19 +108,42 @@ These are adapter methods that IAP or you might use. There are some other method
|
|
|
94
108
|
<td style="padding:15px">Yes</td>
|
|
95
109
|
</tr>
|
|
96
110
|
<tr>
|
|
97
|
-
<td style="padding:15px">
|
|
98
|
-
<td style="padding:15px">
|
|
99
|
-
<td style="padding:15px">
|
|
111
|
+
<td style="padding:15px">iapRunAdapterLint(callback)</td>
|
|
112
|
+
<td style="padding:15px">Runs lint on the addapter and provides the information back.</td>
|
|
113
|
+
<td style="padding:15px">Yes</td>
|
|
100
114
|
</tr>
|
|
101
115
|
<tr>
|
|
102
|
-
<td style="padding:15px">
|
|
103
|
-
<td style="padding:15px">
|
|
104
|
-
<td style="padding:15px">
|
|
116
|
+
<td style="padding:15px">iapRunAdapterTests(callback)</td>
|
|
117
|
+
<td style="padding:15px">Runs baseunit and unit tests on the adapter and provides the information back.</td>
|
|
118
|
+
<td style="padding:15px">Yes</td>
|
|
105
119
|
</tr>
|
|
106
120
|
<tr>
|
|
107
|
-
<td style="padding:15px">
|
|
108
|
-
<td style="padding:15px">This call
|
|
109
|
-
<td style="padding:15px">
|
|
121
|
+
<td style="padding:15px">iapGetAdapterInventory(callback)</td>
|
|
122
|
+
<td style="padding:15px">This call provides some inventory related information about the adapter.</td>
|
|
123
|
+
<td style="padding:15px">Yes</td>
|
|
124
|
+
</tr>
|
|
125
|
+
</table>
|
|
126
|
+
<br>
|
|
127
|
+
|
|
128
|
+
### Adapter Cache Calls
|
|
129
|
+
|
|
130
|
+
These are adapter methods that are used for adapter caching. If configured, the adapter will cache based on the interval provided. However, you can force a population of the cache manually as well.
|
|
131
|
+
|
|
132
|
+
<table border="1" class="bordered-table">
|
|
133
|
+
<tr>
|
|
134
|
+
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Method Signature</span></th>
|
|
135
|
+
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
|
|
136
|
+
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Workflow?</span></th>
|
|
137
|
+
</tr>
|
|
138
|
+
<tr>
|
|
139
|
+
<td style="padding:15px">iapPopulateEntityCache(entityTypes, callback)</td>
|
|
140
|
+
<td style="padding:15px">This call populates the adapter cache.</td>
|
|
141
|
+
<td style="padding:15px">Yes</td>
|
|
142
|
+
</tr>
|
|
143
|
+
<tr>
|
|
144
|
+
<td style="padding:15px">iapRetrieveEntitiesCache(entityType, options, callback)</td>
|
|
145
|
+
<td style="padding:15px">This call retrieves the specific items from the adapter cache.</td>
|
|
146
|
+
<td style="padding:15px">Yes</td>
|
|
110
147
|
</tr>
|
|
111
148
|
</table>
|
|
112
149
|
<br>
|
|
@@ -129,27 +166,27 @@ These are adapter methods that are used to integrate to IAP Brokers. This adapte
|
|
|
129
166
|
<tr>
|
|
130
167
|
<td style="padding:15px">getDevice(deviceName, callback)</td>
|
|
131
168
|
<td style="padding:15px">This call returns the details of the requested device.</td>
|
|
132
|
-
<td style="padding:15px">
|
|
169
|
+
<td style="padding:15px">No</td>
|
|
133
170
|
</tr>
|
|
134
171
|
<tr>
|
|
135
172
|
<td style="padding:15px">getDevicesFiltered(options, callback)</td>
|
|
136
173
|
<td style="padding:15px">This call returns the list of devices that match the criteria provided in the options filter.</td>
|
|
137
|
-
<td style="padding:15px">
|
|
174
|
+
<td style="padding:15px">No</td>
|
|
138
175
|
</tr>
|
|
139
176
|
<tr>
|
|
140
177
|
<td style="padding:15px">isAlive(deviceName, callback)</td>
|
|
141
178
|
<td style="padding:15px">This call returns whether the device status is active</td>
|
|
142
|
-
<td style="padding:15px">
|
|
179
|
+
<td style="padding:15px">No</td>
|
|
143
180
|
</tr>
|
|
144
181
|
<tr>
|
|
145
182
|
<td style="padding:15px">getConfig(deviceName, format, callback)</td>
|
|
146
183
|
<td style="padding:15px">This call returns the configuration for the selected device.</td>
|
|
147
|
-
<td style="padding:15px">
|
|
184
|
+
<td style="padding:15px">No</td>
|
|
148
185
|
</tr>
|
|
149
186
|
<tr>
|
|
150
187
|
<td style="padding:15px">iapGetDeviceCount(callback)</td>
|
|
151
188
|
<td style="padding:15px">This call returns the count of devices.</td>
|
|
152
|
-
<td style="padding:15px">
|
|
189
|
+
<td style="padding:15px">No</td>
|
|
153
190
|
</tr>
|
|
154
191
|
</table>
|
|
155
192
|
<br>
|
|
@@ -165,5 +202,569 @@ Specific adapter calls are built based on the API of the Docker. The Adapter Bui
|
|
|
165
202
|
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Path</span></th>
|
|
166
203
|
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Workflow?</span></th>
|
|
167
204
|
</tr>
|
|
205
|
+
<tr>
|
|
206
|
+
<td style="padding:15px">getContainersjson(all, limit, size, filters, callback)</td>
|
|
207
|
+
<td style="padding:15px">List containers</td>
|
|
208
|
+
<td style="padding:15px">{base_path}/{version}/containers/json?{query}</td>
|
|
209
|
+
<td style="padding:15px">Yes</td>
|
|
210
|
+
</tr>
|
|
211
|
+
<tr>
|
|
212
|
+
<td style="padding:15px">postContainerscreate(name, body, callback)</td>
|
|
213
|
+
<td style="padding:15px">Create a container</td>
|
|
214
|
+
<td style="padding:15px">{base_path}/{version}/containers/create?{query}</td>
|
|
215
|
+
<td style="padding:15px">Yes</td>
|
|
216
|
+
</tr>
|
|
217
|
+
<tr>
|
|
218
|
+
<td style="padding:15px">getContainersidjson(id, size, callback)</td>
|
|
219
|
+
<td style="padding:15px">Inspect a container</td>
|
|
220
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/json?{query}</td>
|
|
221
|
+
<td style="padding:15px">Yes</td>
|
|
222
|
+
</tr>
|
|
223
|
+
<tr>
|
|
224
|
+
<td style="padding:15px">getContainersidtop(id, psArgs, callback)</td>
|
|
225
|
+
<td style="padding:15px">List processes running inside a container</td>
|
|
226
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/top?{query}</td>
|
|
227
|
+
<td style="padding:15px">Yes</td>
|
|
228
|
+
</tr>
|
|
229
|
+
<tr>
|
|
230
|
+
<td style="padding:15px">getContainersidlogs(id, follow, stdout, stderr, since, timestamps, tail, callback)</td>
|
|
231
|
+
<td style="padding:15px">Get container logs</td>
|
|
232
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/logs?{query}</td>
|
|
233
|
+
<td style="padding:15px">Yes</td>
|
|
234
|
+
</tr>
|
|
235
|
+
<tr>
|
|
236
|
+
<td style="padding:15px">getContainersidchanges(id, callback)</td>
|
|
237
|
+
<td style="padding:15px">Get changes on a container’s filesystem</td>
|
|
238
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/changes?{query}</td>
|
|
239
|
+
<td style="padding:15px">Yes</td>
|
|
240
|
+
</tr>
|
|
241
|
+
<tr>
|
|
242
|
+
<td style="padding:15px">getContainersidexport(id, callback)</td>
|
|
243
|
+
<td style="padding:15px">Export a container</td>
|
|
244
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/export?{query}</td>
|
|
245
|
+
<td style="padding:15px">Yes</td>
|
|
246
|
+
</tr>
|
|
247
|
+
<tr>
|
|
248
|
+
<td style="padding:15px">getContainersidstats(id, stream, callback)</td>
|
|
249
|
+
<td style="padding:15px">Get container stats based on resource usage</td>
|
|
250
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/stats?{query}</td>
|
|
251
|
+
<td style="padding:15px">Yes</td>
|
|
252
|
+
</tr>
|
|
253
|
+
<tr>
|
|
254
|
+
<td style="padding:15px">postContainersidresize(id, h, w, callback)</td>
|
|
255
|
+
<td style="padding:15px">Resize a container TTY</td>
|
|
256
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/resize?{query}</td>
|
|
257
|
+
<td style="padding:15px">Yes</td>
|
|
258
|
+
</tr>
|
|
259
|
+
<tr>
|
|
260
|
+
<td style="padding:15px">postContainersidstart(id, detachKeys, callback)</td>
|
|
261
|
+
<td style="padding:15px">Start a container</td>
|
|
262
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/start?{query}</td>
|
|
263
|
+
<td style="padding:15px">Yes</td>
|
|
264
|
+
</tr>
|
|
265
|
+
<tr>
|
|
266
|
+
<td style="padding:15px">postContainersidstop(id, t, callback)</td>
|
|
267
|
+
<td style="padding:15px">Stop a container</td>
|
|
268
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/stop?{query}</td>
|
|
269
|
+
<td style="padding:15px">Yes</td>
|
|
270
|
+
</tr>
|
|
271
|
+
<tr>
|
|
272
|
+
<td style="padding:15px">postContainersidrestart(id, t, callback)</td>
|
|
273
|
+
<td style="padding:15px">Restart a container</td>
|
|
274
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/restart?{query}</td>
|
|
275
|
+
<td style="padding:15px">Yes</td>
|
|
276
|
+
</tr>
|
|
277
|
+
<tr>
|
|
278
|
+
<td style="padding:15px">postContainersidkill(id, signal, callback)</td>
|
|
279
|
+
<td style="padding:15px">Kill a container</td>
|
|
280
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/kill?{query}</td>
|
|
281
|
+
<td style="padding:15px">Yes</td>
|
|
282
|
+
</tr>
|
|
283
|
+
<tr>
|
|
284
|
+
<td style="padding:15px">postContainersidupdate(id, update, callback)</td>
|
|
285
|
+
<td style="padding:15px">Update a container</td>
|
|
286
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/update?{query}</td>
|
|
287
|
+
<td style="padding:15px">Yes</td>
|
|
288
|
+
</tr>
|
|
289
|
+
<tr>
|
|
290
|
+
<td style="padding:15px">postContainersidrename(id, name, callback)</td>
|
|
291
|
+
<td style="padding:15px">Rename a container</td>
|
|
292
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/rename?{query}</td>
|
|
293
|
+
<td style="padding:15px">Yes</td>
|
|
294
|
+
</tr>
|
|
295
|
+
<tr>
|
|
296
|
+
<td style="padding:15px">postContainersidpause(id, callback)</td>
|
|
297
|
+
<td style="padding:15px">Pause a container</td>
|
|
298
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/pause?{query}</td>
|
|
299
|
+
<td style="padding:15px">Yes</td>
|
|
300
|
+
</tr>
|
|
301
|
+
<tr>
|
|
302
|
+
<td style="padding:15px">postContainersidunpause(id, callback)</td>
|
|
303
|
+
<td style="padding:15px">Unpause a container</td>
|
|
304
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/unpause?{query}</td>
|
|
305
|
+
<td style="padding:15px">Yes</td>
|
|
306
|
+
</tr>
|
|
307
|
+
<tr>
|
|
308
|
+
<td style="padding:15px">postContainersidattach(id, detachKeys, logs, stream, stdin, stdout, stderr, callback)</td>
|
|
309
|
+
<td style="padding:15px">Attach to a container</td>
|
|
310
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/attach?{query}</td>
|
|
311
|
+
<td style="padding:15px">Yes</td>
|
|
312
|
+
</tr>
|
|
313
|
+
<tr>
|
|
314
|
+
<td style="padding:15px">getContainersidattachws(id, detachKeys, logs, stream, stdin, stdout, stderr, callback)</td>
|
|
315
|
+
<td style="padding:15px">Attach to a container via a websocket</td>
|
|
316
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/attach/ws?{query}</td>
|
|
317
|
+
<td style="padding:15px">Yes</td>
|
|
318
|
+
</tr>
|
|
319
|
+
<tr>
|
|
320
|
+
<td style="padding:15px">postContainersidwait(id, callback)</td>
|
|
321
|
+
<td style="padding:15px">Wait for a container</td>
|
|
322
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/wait?{query}</td>
|
|
323
|
+
<td style="padding:15px">Yes</td>
|
|
324
|
+
</tr>
|
|
325
|
+
<tr>
|
|
326
|
+
<td style="padding:15px">deleteContainersid(id, v, force, callback)</td>
|
|
327
|
+
<td style="padding:15px">Remove a container</td>
|
|
328
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}?{query}</td>
|
|
329
|
+
<td style="padding:15px">Yes</td>
|
|
330
|
+
</tr>
|
|
331
|
+
<tr>
|
|
332
|
+
<td style="padding:15px">headContainersidarchive(id, path_resource, callback)</td>
|
|
333
|
+
<td style="padding:15px">Get information about files in a container</td>
|
|
334
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/archive?{query}</td>
|
|
335
|
+
<td style="padding:15px">Yes</td>
|
|
336
|
+
</tr>
|
|
337
|
+
<tr>
|
|
338
|
+
<td style="padding:15px">getContainersidarchive(id, path_resource, callback)</td>
|
|
339
|
+
<td style="padding:15px">Get an archive of a filesystem resource in a container</td>
|
|
340
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/archive?{query}</td>
|
|
341
|
+
<td style="padding:15px">Yes</td>
|
|
342
|
+
</tr>
|
|
343
|
+
<tr>
|
|
344
|
+
<td style="padding:15px">putContainersidarchive(id, path_dir, noOverwriteDirNonDir, inputStream, callback)</td>
|
|
345
|
+
<td style="padding:15px">Extract an archive of files or folders to a directory in a container</td>
|
|
346
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/archive?{query}</td>
|
|
347
|
+
<td style="padding:15px">Yes</td>
|
|
348
|
+
</tr>
|
|
349
|
+
<tr>
|
|
350
|
+
<td style="padding:15px">postContainersprune(filters, callback)</td>
|
|
351
|
+
<td style="padding:15px">Delete stopped containers</td>
|
|
352
|
+
<td style="padding:15px">{base_path}/{version}/containers/prune?{query}</td>
|
|
353
|
+
<td style="padding:15px">Yes</td>
|
|
354
|
+
</tr>
|
|
355
|
+
<tr>
|
|
356
|
+
<td style="padding:15px">getImagesjson(all, filters, digests, callback)</td>
|
|
357
|
+
<td style="padding:15px">List Images</td>
|
|
358
|
+
<td style="padding:15px">{base_path}/{version}/images/json?{query}</td>
|
|
359
|
+
<td style="padding:15px">Yes</td>
|
|
360
|
+
</tr>
|
|
361
|
+
<tr>
|
|
362
|
+
<td style="padding:15px">postBuild(inputStream, dockerfile, t, remote, q, nocache, cachefrom, pull, rm, forcerm, memory, memswap, cpushares, cpusetcpus, cpuperiod, cpuquota, buildargs, shmsize, squash, labels, networkmode, Contenttype, XRegistryConfig, callback)</td>
|
|
363
|
+
<td style="padding:15px">Build an image</td>
|
|
364
|
+
<td style="padding:15px">{base_path}/{version}/build?{query}</td>
|
|
365
|
+
<td style="padding:15px">Yes</td>
|
|
366
|
+
</tr>
|
|
367
|
+
<tr>
|
|
368
|
+
<td style="padding:15px">postImagescreate(fromImage, fromSrc, repo, tag, inputImage, XRegistryAuth, callback)</td>
|
|
369
|
+
<td style="padding:15px">Create an image</td>
|
|
370
|
+
<td style="padding:15px">{base_path}/{version}/images/create?{query}</td>
|
|
371
|
+
<td style="padding:15px">Yes</td>
|
|
372
|
+
</tr>
|
|
373
|
+
<tr>
|
|
374
|
+
<td style="padding:15px">getImagesnamejson(name, callback)</td>
|
|
375
|
+
<td style="padding:15px">Inspect an image</td>
|
|
376
|
+
<td style="padding:15px">{base_path}/{version}/images/{pathv1}/json?{query}</td>
|
|
377
|
+
<td style="padding:15px">Yes</td>
|
|
378
|
+
</tr>
|
|
379
|
+
<tr>
|
|
380
|
+
<td style="padding:15px">getImagesnamehistory(name, callback)</td>
|
|
381
|
+
<td style="padding:15px">Get the history of an image</td>
|
|
382
|
+
<td style="padding:15px">{base_path}/{version}/images/{pathv1}/history?{query}</td>
|
|
383
|
+
<td style="padding:15px">Yes</td>
|
|
384
|
+
</tr>
|
|
385
|
+
<tr>
|
|
386
|
+
<td style="padding:15px">postImagesnamepush(name, tag, XRegistryAuth, callback)</td>
|
|
387
|
+
<td style="padding:15px">Push an image</td>
|
|
388
|
+
<td style="padding:15px">{base_path}/{version}/images/{pathv1}/push?{query}</td>
|
|
389
|
+
<td style="padding:15px">Yes</td>
|
|
390
|
+
</tr>
|
|
391
|
+
<tr>
|
|
392
|
+
<td style="padding:15px">postImagesnametag(name, repo, tag, callback)</td>
|
|
393
|
+
<td style="padding:15px">Tag an image</td>
|
|
394
|
+
<td style="padding:15px">{base_path}/{version}/images/{pathv1}/tag?{query}</td>
|
|
395
|
+
<td style="padding:15px">Yes</td>
|
|
396
|
+
</tr>
|
|
397
|
+
<tr>
|
|
398
|
+
<td style="padding:15px">deleteImagesname(name, force, noprune, callback)</td>
|
|
399
|
+
<td style="padding:15px">Remove an image</td>
|
|
400
|
+
<td style="padding:15px">{base_path}/{version}/images/{pathv1}?{query}</td>
|
|
401
|
+
<td style="padding:15px">Yes</td>
|
|
402
|
+
</tr>
|
|
403
|
+
<tr>
|
|
404
|
+
<td style="padding:15px">getImagessearch(term, limit, filters, callback)</td>
|
|
405
|
+
<td style="padding:15px">Search images</td>
|
|
406
|
+
<td style="padding:15px">{base_path}/{version}/images/search?{query}</td>
|
|
407
|
+
<td style="padding:15px">Yes</td>
|
|
408
|
+
</tr>
|
|
409
|
+
<tr>
|
|
410
|
+
<td style="padding:15px">postImagesprune(filters, callback)</td>
|
|
411
|
+
<td style="padding:15px">Delete unused images</td>
|
|
412
|
+
<td style="padding:15px">{base_path}/{version}/images/prune?{query}</td>
|
|
413
|
+
<td style="padding:15px">Yes</td>
|
|
414
|
+
</tr>
|
|
415
|
+
<tr>
|
|
416
|
+
<td style="padding:15px">postCommit(containerConfig, container, repo, tag, comment, author, pause, changes, callback)</td>
|
|
417
|
+
<td style="padding:15px">Create a new image from a container</td>
|
|
418
|
+
<td style="padding:15px">{base_path}/{version}/commit?{query}</td>
|
|
419
|
+
<td style="padding:15px">Yes</td>
|
|
420
|
+
</tr>
|
|
421
|
+
<tr>
|
|
422
|
+
<td style="padding:15px">getImagesnameget(name, callback)</td>
|
|
423
|
+
<td style="padding:15px">Export an image</td>
|
|
424
|
+
<td style="padding:15px">{base_path}/{version}/images/{pathv1}/get?{query}</td>
|
|
425
|
+
<td style="padding:15px">Yes</td>
|
|
426
|
+
</tr>
|
|
427
|
+
<tr>
|
|
428
|
+
<td style="padding:15px">getImagesget(names, callback)</td>
|
|
429
|
+
<td style="padding:15px">Export several images</td>
|
|
430
|
+
<td style="padding:15px">{base_path}/{version}/images/get?{query}</td>
|
|
431
|
+
<td style="padding:15px">Yes</td>
|
|
432
|
+
</tr>
|
|
433
|
+
<tr>
|
|
434
|
+
<td style="padding:15px">postImagesload(imagesTarball, quiet, callback)</td>
|
|
435
|
+
<td style="padding:15px">Import images</td>
|
|
436
|
+
<td style="padding:15px">{base_path}/{version}/images/load?{query}</td>
|
|
437
|
+
<td style="padding:15px">Yes</td>
|
|
438
|
+
</tr>
|
|
439
|
+
<tr>
|
|
440
|
+
<td style="padding:15px">postAuth(authConfig, callback)</td>
|
|
441
|
+
<td style="padding:15px">Check auth configuration</td>
|
|
442
|
+
<td style="padding:15px">{base_path}/{version}/auth?{query}</td>
|
|
443
|
+
<td style="padding:15px">Yes</td>
|
|
444
|
+
</tr>
|
|
445
|
+
<tr>
|
|
446
|
+
<td style="padding:15px">getInfo(callback)</td>
|
|
447
|
+
<td style="padding:15px">Get system information</td>
|
|
448
|
+
<td style="padding:15px">{base_path}/{version}/info?{query}</td>
|
|
449
|
+
<td style="padding:15px">Yes</td>
|
|
450
|
+
</tr>
|
|
451
|
+
<tr>
|
|
452
|
+
<td style="padding:15px">getVersion(callback)</td>
|
|
453
|
+
<td style="padding:15px">Get version</td>
|
|
454
|
+
<td style="padding:15px">{base_path}/{version}/version?{query}</td>
|
|
455
|
+
<td style="padding:15px">Yes</td>
|
|
456
|
+
</tr>
|
|
457
|
+
<tr>
|
|
458
|
+
<td style="padding:15px">getPing(callback)</td>
|
|
459
|
+
<td style="padding:15px">Ping</td>
|
|
460
|
+
<td style="padding:15px">{base_path}/{version}/_ping?{query}</td>
|
|
461
|
+
<td style="padding:15px">Yes</td>
|
|
462
|
+
</tr>
|
|
463
|
+
<tr>
|
|
464
|
+
<td style="padding:15px">getEvents(since, until, filters, callback)</td>
|
|
465
|
+
<td style="padding:15px">Monitor events</td>
|
|
466
|
+
<td style="padding:15px">{base_path}/{version}/events?{query}</td>
|
|
467
|
+
<td style="padding:15px">Yes</td>
|
|
468
|
+
</tr>
|
|
469
|
+
<tr>
|
|
470
|
+
<td style="padding:15px">getSystemdf(callback)</td>
|
|
471
|
+
<td style="padding:15px">Get data usage information</td>
|
|
472
|
+
<td style="padding:15px">{base_path}/{version}/system/df?{query}</td>
|
|
473
|
+
<td style="padding:15px">Yes</td>
|
|
474
|
+
</tr>
|
|
475
|
+
<tr>
|
|
476
|
+
<td style="padding:15px">postContainersidexec(execConfig, id, callback)</td>
|
|
477
|
+
<td style="padding:15px">Create an exec instance</td>
|
|
478
|
+
<td style="padding:15px">{base_path}/{version}/containers/{pathv1}/exec?{query}</td>
|
|
479
|
+
<td style="padding:15px">Yes</td>
|
|
480
|
+
</tr>
|
|
481
|
+
<tr>
|
|
482
|
+
<td style="padding:15px">postExecidstart(execStartConfig, id, callback)</td>
|
|
483
|
+
<td style="padding:15px">Start an exec instance</td>
|
|
484
|
+
<td style="padding:15px">{base_path}/{version}/exec/{pathv1}/start?{query}</td>
|
|
485
|
+
<td style="padding:15px">Yes</td>
|
|
486
|
+
</tr>
|
|
487
|
+
<tr>
|
|
488
|
+
<td style="padding:15px">postExecidresize(id, h, w, callback)</td>
|
|
489
|
+
<td style="padding:15px">Resize an exec instance</td>
|
|
490
|
+
<td style="padding:15px">{base_path}/{version}/exec/{pathv1}/resize?{query}</td>
|
|
491
|
+
<td style="padding:15px">Yes</td>
|
|
492
|
+
</tr>
|
|
493
|
+
<tr>
|
|
494
|
+
<td style="padding:15px">getExecidjson(id, callback)</td>
|
|
495
|
+
<td style="padding:15px">Inspect an exec instance</td>
|
|
496
|
+
<td style="padding:15px">{base_path}/{version}/exec/{pathv1}/json?{query}</td>
|
|
497
|
+
<td style="padding:15px">Yes</td>
|
|
498
|
+
</tr>
|
|
499
|
+
<tr>
|
|
500
|
+
<td style="padding:15px">getVolumes(filters, callback)</td>
|
|
501
|
+
<td style="padding:15px">List volumes</td>
|
|
502
|
+
<td style="padding:15px">{base_path}/{version}/volumes?{query}</td>
|
|
503
|
+
<td style="padding:15px">Yes</td>
|
|
504
|
+
</tr>
|
|
505
|
+
<tr>
|
|
506
|
+
<td style="padding:15px">postVolumescreate(volumeConfig, callback)</td>
|
|
507
|
+
<td style="padding:15px">Create a volume</td>
|
|
508
|
+
<td style="padding:15px">{base_path}/{version}/volumes/create?{query}</td>
|
|
509
|
+
<td style="padding:15px">Yes</td>
|
|
510
|
+
</tr>
|
|
511
|
+
<tr>
|
|
512
|
+
<td style="padding:15px">getVolumesname(name, callback)</td>
|
|
513
|
+
<td style="padding:15px">Inspect a volume</td>
|
|
514
|
+
<td style="padding:15px">{base_path}/{version}/volumes/{pathv1}?{query}</td>
|
|
515
|
+
<td style="padding:15px">Yes</td>
|
|
516
|
+
</tr>
|
|
517
|
+
<tr>
|
|
518
|
+
<td style="padding:15px">deleteVolumesname(name, force, callback)</td>
|
|
519
|
+
<td style="padding:15px">Remove a volume</td>
|
|
520
|
+
<td style="padding:15px">{base_path}/{version}/volumes/{pathv1}?{query}</td>
|
|
521
|
+
<td style="padding:15px">Yes</td>
|
|
522
|
+
</tr>
|
|
523
|
+
<tr>
|
|
524
|
+
<td style="padding:15px">postVolumesprune(filters, callback)</td>
|
|
525
|
+
<td style="padding:15px">Delete unused volumes</td>
|
|
526
|
+
<td style="padding:15px">{base_path}/{version}/volumes/prune?{query}</td>
|
|
527
|
+
<td style="padding:15px">Yes</td>
|
|
528
|
+
</tr>
|
|
529
|
+
<tr>
|
|
530
|
+
<td style="padding:15px">getNetworks(filters, callback)</td>
|
|
531
|
+
<td style="padding:15px">List networks</td>
|
|
532
|
+
<td style="padding:15px">{base_path}/{version}/networks?{query}</td>
|
|
533
|
+
<td style="padding:15px">Yes</td>
|
|
534
|
+
</tr>
|
|
535
|
+
<tr>
|
|
536
|
+
<td style="padding:15px">getNetworksid(id, callback)</td>
|
|
537
|
+
<td style="padding:15px">Inspect a network</td>
|
|
538
|
+
<td style="padding:15px">{base_path}/{version}/networks/{pathv1}?{query}</td>
|
|
539
|
+
<td style="padding:15px">Yes</td>
|
|
540
|
+
</tr>
|
|
541
|
+
<tr>
|
|
542
|
+
<td style="padding:15px">deleteNetworksid(id, callback)</td>
|
|
543
|
+
<td style="padding:15px">Remove a network</td>
|
|
544
|
+
<td style="padding:15px">{base_path}/{version}/networks/{pathv1}?{query}</td>
|
|
545
|
+
<td style="padding:15px">Yes</td>
|
|
546
|
+
</tr>
|
|
547
|
+
<tr>
|
|
548
|
+
<td style="padding:15px">postNetworkscreate(networkConfig, callback)</td>
|
|
549
|
+
<td style="padding:15px">Create a network</td>
|
|
550
|
+
<td style="padding:15px">{base_path}/{version}/networks/create?{query}</td>
|
|
551
|
+
<td style="padding:15px">Yes</td>
|
|
552
|
+
</tr>
|
|
553
|
+
<tr>
|
|
554
|
+
<td style="padding:15px">postNetworksidconnect(id, container, callback)</td>
|
|
555
|
+
<td style="padding:15px">Connect a container to a network</td>
|
|
556
|
+
<td style="padding:15px">{base_path}/{version}/networks/{pathv1}/connect?{query}</td>
|
|
557
|
+
<td style="padding:15px">Yes</td>
|
|
558
|
+
</tr>
|
|
559
|
+
<tr>
|
|
560
|
+
<td style="padding:15px">postNetworksiddisconnect(id, container, callback)</td>
|
|
561
|
+
<td style="padding:15px">Disconnect a container from a network</td>
|
|
562
|
+
<td style="padding:15px">{base_path}/{version}/networks/{pathv1}/disconnect?{query}</td>
|
|
563
|
+
<td style="padding:15px">Yes</td>
|
|
564
|
+
</tr>
|
|
565
|
+
<tr>
|
|
566
|
+
<td style="padding:15px">postNetworksprune(filters, callback)</td>
|
|
567
|
+
<td style="padding:15px">Delete unused networks</td>
|
|
568
|
+
<td style="padding:15px">{base_path}/{version}/networks/prune?{query}</td>
|
|
569
|
+
<td style="padding:15px">Yes</td>
|
|
570
|
+
</tr>
|
|
571
|
+
<tr>
|
|
572
|
+
<td style="padding:15px">getPlugins(callback)</td>
|
|
573
|
+
<td style="padding:15px">List plugins</td>
|
|
574
|
+
<td style="padding:15px">{base_path}/{version}/plugins?{query}</td>
|
|
575
|
+
<td style="padding:15px">Yes</td>
|
|
576
|
+
</tr>
|
|
577
|
+
<tr>
|
|
578
|
+
<td style="padding:15px">getPluginsprivileges(name, callback)</td>
|
|
579
|
+
<td style="padding:15px">Get plugin privileges</td>
|
|
580
|
+
<td style="padding:15px">{base_path}/{version}/plugins/privileges?{query}</td>
|
|
581
|
+
<td style="padding:15px">Yes</td>
|
|
582
|
+
</tr>
|
|
583
|
+
<tr>
|
|
584
|
+
<td style="padding:15px">postPluginspull(remote, name, XRegistryAuth, body, callback)</td>
|
|
585
|
+
<td style="padding:15px">Install a plugin</td>
|
|
586
|
+
<td style="padding:15px">{base_path}/{version}/plugins/pull?{query}</td>
|
|
587
|
+
<td style="padding:15px">Yes</td>
|
|
588
|
+
</tr>
|
|
589
|
+
<tr>
|
|
590
|
+
<td style="padding:15px">getPluginsnamejson(name, callback)</td>
|
|
591
|
+
<td style="padding:15px">Inspect a plugin</td>
|
|
592
|
+
<td style="padding:15px">{base_path}/{version}/plugins/{pathv1}/json?{query}</td>
|
|
593
|
+
<td style="padding:15px">Yes</td>
|
|
594
|
+
</tr>
|
|
595
|
+
<tr>
|
|
596
|
+
<td style="padding:15px">deletePluginsname(name, force, callback)</td>
|
|
597
|
+
<td style="padding:15px">Remove a plugin</td>
|
|
598
|
+
<td style="padding:15px">{base_path}/{version}/plugins/{pathv1}?{query}</td>
|
|
599
|
+
<td style="padding:15px">Yes</td>
|
|
600
|
+
</tr>
|
|
601
|
+
<tr>
|
|
602
|
+
<td style="padding:15px">postPluginsnameenable(name, timeout, callback)</td>
|
|
603
|
+
<td style="padding:15px">Enable a plugin</td>
|
|
604
|
+
<td style="padding:15px">{base_path}/{version}/plugins/{pathv1}/enable?{query}</td>
|
|
605
|
+
<td style="padding:15px">Yes</td>
|
|
606
|
+
</tr>
|
|
607
|
+
<tr>
|
|
608
|
+
<td style="padding:15px">postPluginsnamedisable(name, callback)</td>
|
|
609
|
+
<td style="padding:15px">Disable a plugin</td>
|
|
610
|
+
<td style="padding:15px">{base_path}/{version}/plugins/{pathv1}/disable?{query}</td>
|
|
611
|
+
<td style="padding:15px">Yes</td>
|
|
612
|
+
</tr>
|
|
613
|
+
<tr>
|
|
614
|
+
<td style="padding:15px">postPluginscreate(name, tarContext, callback)</td>
|
|
615
|
+
<td style="padding:15px">Create a plugin</td>
|
|
616
|
+
<td style="padding:15px">{base_path}/{version}/plugins/create?{query}</td>
|
|
617
|
+
<td style="padding:15px">Yes</td>
|
|
618
|
+
</tr>
|
|
619
|
+
<tr>
|
|
620
|
+
<td style="padding:15px">postPluginsnamepush(name, callback)</td>
|
|
621
|
+
<td style="padding:15px">Push a plugin</td>
|
|
622
|
+
<td style="padding:15px">{base_path}/{version}/plugins/{pathv1}/push?{query}</td>
|
|
623
|
+
<td style="padding:15px">Yes</td>
|
|
624
|
+
</tr>
|
|
625
|
+
<tr>
|
|
626
|
+
<td style="padding:15px">postPluginsnameset(name, body, callback)</td>
|
|
627
|
+
<td style="padding:15px">Configure a plugin</td>
|
|
628
|
+
<td style="padding:15px">{base_path}/{version}/plugins/{pathv1}/set?{query}</td>
|
|
629
|
+
<td style="padding:15px">Yes</td>
|
|
630
|
+
</tr>
|
|
631
|
+
<tr>
|
|
632
|
+
<td style="padding:15px">getNodes(filters, callback)</td>
|
|
633
|
+
<td style="padding:15px">List nodes</td>
|
|
634
|
+
<td style="padding:15px">{base_path}/{version}/nodes?{query}</td>
|
|
635
|
+
<td style="padding:15px">Yes</td>
|
|
636
|
+
</tr>
|
|
637
|
+
<tr>
|
|
638
|
+
<td style="padding:15px">getNodesid(id, callback)</td>
|
|
639
|
+
<td style="padding:15px">Inspect a node</td>
|
|
640
|
+
<td style="padding:15px">{base_path}/{version}/nodes/{pathv1}?{query}</td>
|
|
641
|
+
<td style="padding:15px">Yes</td>
|
|
642
|
+
</tr>
|
|
643
|
+
<tr>
|
|
644
|
+
<td style="padding:15px">deleteNodesid(id, force, callback)</td>
|
|
645
|
+
<td style="padding:15px">Delete a node</td>
|
|
646
|
+
<td style="padding:15px">{base_path}/{version}/nodes/{pathv1}?{query}</td>
|
|
647
|
+
<td style="padding:15px">Yes</td>
|
|
648
|
+
</tr>
|
|
649
|
+
<tr>
|
|
650
|
+
<td style="padding:15px">postNodesidupdate(id, body, version, callback)</td>
|
|
651
|
+
<td style="padding:15px">Update a node</td>
|
|
652
|
+
<td style="padding:15px">{base_path}/{version}/nodes/{pathv1}/update?{query}</td>
|
|
653
|
+
<td style="padding:15px">Yes</td>
|
|
654
|
+
</tr>
|
|
655
|
+
<tr>
|
|
656
|
+
<td style="padding:15px">getSwarm(callback)</td>
|
|
657
|
+
<td style="padding:15px">Inspect swarm</td>
|
|
658
|
+
<td style="padding:15px">{base_path}/{version}/swarm?{query}</td>
|
|
659
|
+
<td style="padding:15px">Yes</td>
|
|
660
|
+
</tr>
|
|
661
|
+
<tr>
|
|
662
|
+
<td style="padding:15px">postSwarminit(body, callback)</td>
|
|
663
|
+
<td style="padding:15px">Initialize a new swarm</td>
|
|
664
|
+
<td style="padding:15px">{base_path}/{version}/swarm/init?{query}</td>
|
|
665
|
+
<td style="padding:15px">Yes</td>
|
|
666
|
+
</tr>
|
|
667
|
+
<tr>
|
|
668
|
+
<td style="padding:15px">postSwarmjoin(body, callback)</td>
|
|
669
|
+
<td style="padding:15px">Join an existing swarm</td>
|
|
670
|
+
<td style="padding:15px">{base_path}/{version}/swarm/join?{query}</td>
|
|
671
|
+
<td style="padding:15px">Yes</td>
|
|
672
|
+
</tr>
|
|
673
|
+
<tr>
|
|
674
|
+
<td style="padding:15px">postSwarmleave(force, callback)</td>
|
|
675
|
+
<td style="padding:15px">Leave a swarm</td>
|
|
676
|
+
<td style="padding:15px">{base_path}/{version}/swarm/leave?{query}</td>
|
|
677
|
+
<td style="padding:15px">Yes</td>
|
|
678
|
+
</tr>
|
|
679
|
+
<tr>
|
|
680
|
+
<td style="padding:15px">postSwarmupdate(body, version, rotateWorkerToken, rotateManagerToken, rotateManagerUnlockKey, callback)</td>
|
|
681
|
+
<td style="padding:15px">Update a swarm</td>
|
|
682
|
+
<td style="padding:15px">{base_path}/{version}/swarm/update?{query}</td>
|
|
683
|
+
<td style="padding:15px">Yes</td>
|
|
684
|
+
</tr>
|
|
685
|
+
<tr>
|
|
686
|
+
<td style="padding:15px">getSwarmunlockkey(callback)</td>
|
|
687
|
+
<td style="padding:15px">Get the unlock key</td>
|
|
688
|
+
<td style="padding:15px">{base_path}/{version}/swarm/unlockkey?{query}</td>
|
|
689
|
+
<td style="padding:15px">Yes</td>
|
|
690
|
+
</tr>
|
|
691
|
+
<tr>
|
|
692
|
+
<td style="padding:15px">postSwarmunlock(body, callback)</td>
|
|
693
|
+
<td style="padding:15px">Unlock a locked manager</td>
|
|
694
|
+
<td style="padding:15px">{base_path}/{version}/swarm/unlock?{query}</td>
|
|
695
|
+
<td style="padding:15px">Yes</td>
|
|
696
|
+
</tr>
|
|
697
|
+
<tr>
|
|
698
|
+
<td style="padding:15px">getServices(filters, callback)</td>
|
|
699
|
+
<td style="padding:15px">List services</td>
|
|
700
|
+
<td style="padding:15px">{base_path}/{version}/services?{query}</td>
|
|
701
|
+
<td style="padding:15px">Yes</td>
|
|
702
|
+
</tr>
|
|
703
|
+
<tr>
|
|
704
|
+
<td style="padding:15px">postServicescreate(body, XRegistryAuth, callback)</td>
|
|
705
|
+
<td style="padding:15px">Create a service</td>
|
|
706
|
+
<td style="padding:15px">{base_path}/{version}/services/create?{query}</td>
|
|
707
|
+
<td style="padding:15px">Yes</td>
|
|
708
|
+
</tr>
|
|
709
|
+
<tr>
|
|
710
|
+
<td style="padding:15px">getServicesid(id, callback)</td>
|
|
711
|
+
<td style="padding:15px">Inspect a service</td>
|
|
712
|
+
<td style="padding:15px">{base_path}/{version}/services/{pathv1}?{query}</td>
|
|
713
|
+
<td style="padding:15px">Yes</td>
|
|
714
|
+
</tr>
|
|
715
|
+
<tr>
|
|
716
|
+
<td style="padding:15px">deleteServicesid(id, callback)</td>
|
|
717
|
+
<td style="padding:15px">Delete a service</td>
|
|
718
|
+
<td style="padding:15px">{base_path}/{version}/services/{pathv1}?{query}</td>
|
|
719
|
+
<td style="padding:15px">Yes</td>
|
|
720
|
+
</tr>
|
|
721
|
+
<tr>
|
|
722
|
+
<td style="padding:15px">postServicesidupdate(id, body, version, registryAuthFrom, XRegistryAuth, callback)</td>
|
|
723
|
+
<td style="padding:15px">Update a service</td>
|
|
724
|
+
<td style="padding:15px">{base_path}/{version}/services/{pathv1}/update?{query}</td>
|
|
725
|
+
<td style="padding:15px">Yes</td>
|
|
726
|
+
</tr>
|
|
727
|
+
<tr>
|
|
728
|
+
<td style="padding:15px">getServicesidlogs(id, details, follow, stdout, stderr, since, timestamps, tail, callback)</td>
|
|
729
|
+
<td style="padding:15px">Get service logs</td>
|
|
730
|
+
<td style="padding:15px">{base_path}/{version}/services/{pathv1}/logs?{query}</td>
|
|
731
|
+
<td style="padding:15px">Yes</td>
|
|
732
|
+
</tr>
|
|
733
|
+
<tr>
|
|
734
|
+
<td style="padding:15px">getTasks(filters, callback)</td>
|
|
735
|
+
<td style="padding:15px">List tasks</td>
|
|
736
|
+
<td style="padding:15px">{base_path}/{version}/tasks?{query}</td>
|
|
737
|
+
<td style="padding:15px">Yes</td>
|
|
738
|
+
</tr>
|
|
739
|
+
<tr>
|
|
740
|
+
<td style="padding:15px">getTasksid(id, callback)</td>
|
|
741
|
+
<td style="padding:15px">Inspect a task</td>
|
|
742
|
+
<td style="padding:15px">{base_path}/{version}/tasks/{pathv1}?{query}</td>
|
|
743
|
+
<td style="padding:15px">Yes</td>
|
|
744
|
+
</tr>
|
|
745
|
+
<tr>
|
|
746
|
+
<td style="padding:15px">getSecrets(filters, callback)</td>
|
|
747
|
+
<td style="padding:15px">List secrets</td>
|
|
748
|
+
<td style="padding:15px">{base_path}/{version}/secrets?{query}</td>
|
|
749
|
+
<td style="padding:15px">Yes</td>
|
|
750
|
+
</tr>
|
|
751
|
+
<tr>
|
|
752
|
+
<td style="padding:15px">postSecretscreate(body, callback)</td>
|
|
753
|
+
<td style="padding:15px">Create a secret</td>
|
|
754
|
+
<td style="padding:15px">{base_path}/{version}/secrets/create?{query}</td>
|
|
755
|
+
<td style="padding:15px">Yes</td>
|
|
756
|
+
</tr>
|
|
757
|
+
<tr>
|
|
758
|
+
<td style="padding:15px">getSecretsid(id, callback)</td>
|
|
759
|
+
<td style="padding:15px">Inspect a secret</td>
|
|
760
|
+
<td style="padding:15px">{base_path}/{version}/secrets/{pathv1}?{query}</td>
|
|
761
|
+
<td style="padding:15px">Yes</td>
|
|
762
|
+
</tr>
|
|
763
|
+
<tr>
|
|
764
|
+
<td style="padding:15px">deleteSecretsid(id, callback)</td>
|
|
765
|
+
<td style="padding:15px">Delete a secret</td>
|
|
766
|
+
<td style="padding:15px">{base_path}/{version}/secrets/{pathv1}?{query}</td>
|
|
767
|
+
<td style="padding:15px">Yes</td>
|
|
768
|
+
</tr>
|
|
168
769
|
</table>
|
|
169
770
|
<br>
|