docker-engine-ruby 0.2.2 → 0.3.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 (289) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/docker_engine_ruby/models/config.rb +6 -6
  5. data/lib/docker_engine_ruby/models/config_create_params.rb +1 -11
  6. data/lib/docker_engine_ruby/models/config_list_params.rb +1 -14
  7. data/lib/docker_engine_ruby/models/config_update_params.rb +1 -7
  8. data/lib/docker_engine_ruby/models/connect_request.rb +5 -5
  9. data/lib/docker_engine_ruby/models/container.rb +61 -143
  10. data/lib/docker_engine_ruby/models/container_archive_params.rb +1 -3
  11. data/lib/docker_engine_ruby/models/container_attach_params.rb +6 -29
  12. data/lib/docker_engine_ruby/models/container_create_params.rb +3 -1701
  13. data/lib/docker_engine_ruby/models/container_delete_params.rb +3 -9
  14. data/lib/docker_engine_ruby/models/container_exec_params.rb +11 -39
  15. data/lib/docker_engine_ruby/models/container_inspect_params.rb +1 -3
  16. data/lib/docker_engine_ruby/models/container_kill_params.rb +1 -6
  17. data/lib/docker_engine_ruby/models/container_list_params.rb +4 -36
  18. data/lib/docker_engine_ruby/models/container_logs_params.rb +7 -25
  19. data/lib/docker_engine_ruby/models/container_prune_params.rb +1 -16
  20. data/lib/docker_engine_ruby/models/container_prune_response.rb +2 -5
  21. data/lib/docker_engine_ruby/models/container_rename_params.rb +1 -3
  22. data/lib/docker_engine_ruby/models/container_resize_params.rb +2 -6
  23. data/lib/docker_engine_ruby/models/container_restart_params.rb +2 -9
  24. data/lib/docker_engine_ruby/models/container_start_params.rb +1 -8
  25. data/lib/docker_engine_ruby/models/container_stats_params.rb +2 -11
  26. data/lib/docker_engine_ruby/models/container_stop_params.rb +2 -9
  27. data/lib/docker_engine_ruby/models/container_top_params.rb +1 -3
  28. data/lib/docker_engine_ruby/models/container_update_params.rb +4 -80
  29. data/lib/docker_engine_ruby/models/container_wait_params.rb +1 -11
  30. data/lib/docker_engine_ruby/models/create_request.rb +17 -121
  31. data/lib/docker_engine_ruby/models/exec_inspect_response.rb +1 -12
  32. data/lib/docker_engine_ruby/models/exec_resize_params.rb +2 -6
  33. data/lib/docker_engine_ruby/models/exec_start_params.rb +3 -9
  34. data/lib/docker_engine_ruby/models/filesystem_change.rb +3 -3
  35. data/lib/docker_engine_ruby/models/image.rb +33 -66
  36. data/lib/docker_engine_ruby/models/image_build_params.rb +25 -122
  37. data/lib/docker_engine_ruby/models/image_build_prune_params.rb +5 -32
  38. data/lib/docker_engine_ruby/models/image_build_prune_response.rb +1 -3
  39. data/lib/docker_engine_ruby/models/image_commit_params.rb +7 -21
  40. data/lib/docker_engine_ruby/models/image_delete_params.rb +3 -14
  41. data/lib/docker_engine_ruby/models/image_get_all_params.rb +2 -13
  42. data/lib/docker_engine_ruby/models/image_get_params.rb +1 -10
  43. data/lib/docker_engine_ruby/models/image_history_params.rb +1 -15
  44. data/lib/docker_engine_ruby/models/image_inspect_params.rb +1 -3
  45. data/lib/docker_engine_ruby/models/image_list_params.rb +5 -29
  46. data/lib/docker_engine_ruby/models/image_load_params.rb +2 -14
  47. data/lib/docker_engine_ruby/models/image_prune_params.rb +1 -16
  48. data/lib/docker_engine_ruby/models/image_prune_response.rb +2 -5
  49. data/lib/docker_engine_ruby/models/image_pull_params.rb +13 -60
  50. data/lib/docker_engine_ruby/models/image_push_params.rb +2 -19
  51. data/lib/docker_engine_ruby/models/image_search_params.rb +3 -16
  52. data/lib/docker_engine_ruby/models/image_search_response.rb +1 -13
  53. data/lib/docker_engine_ruby/models/image_tag_params.rb +2 -6
  54. data/lib/docker_engine_ruby/models/info.rb +24 -53
  55. data/lib/docker_engine_ruby/models/inspect.rb +5 -7
  56. data/lib/docker_engine_ruby/models/list_response.rb +0 -3
  57. data/lib/docker_engine_ruby/models/network.rb +7 -4
  58. data/lib/docker_engine_ruby/models/network_create_params.rb +11 -26
  59. data/lib/docker_engine_ruby/models/network_inspect_params.rb +2 -6
  60. data/lib/docker_engine_ruby/models/network_inspect_response.rb +219 -89
  61. data/lib/docker_engine_ruby/models/network_list_params.rb +1 -21
  62. data/lib/docker_engine_ruby/models/network_prune_params.rb +1 -16
  63. data/lib/docker_engine_ruby/models/network_prune_response.rb +1 -2
  64. data/lib/docker_engine_ruby/models/node.rb +9 -22
  65. data/lib/docker_engine_ruby/models/node_delete_params.rb +1 -3
  66. data/lib/docker_engine_ruby/models/node_list_params.rb +1 -15
  67. data/lib/docker_engine_ruby/models/node_update_params.rb +1 -7
  68. data/lib/docker_engine_ruby/models/plugin.rb +2 -24
  69. data/lib/docker_engine_ruby/models/plugin_create_params.rb +1 -8
  70. data/lib/docker_engine_ruby/models/plugin_delete_params.rb +1 -7
  71. data/lib/docker_engine_ruby/models/plugin_disable_params.rb +1 -6
  72. data/lib/docker_engine_ruby/models/plugin_enable_params.rb +1 -3
  73. data/lib/docker_engine_ruby/models/plugin_list_params.rb +1 -12
  74. data/lib/docker_engine_ruby/models/plugin_privileges_params.rb +1 -7
  75. data/lib/docker_engine_ruby/models/plugin_pull_params.rb +8 -21
  76. data/lib/docker_engine_ruby/models/plugin_set_params.rb +3 -3
  77. data/lib/docker_engine_ruby/models/plugin_upgrade_params.rb +4 -13
  78. data/lib/docker_engine_ruby/models/secret.rb +6 -6
  79. data/lib/docker_engine_ruby/models/secret_create_params.rb +1 -11
  80. data/lib/docker_engine_ruby/models/secret_list_params.rb +1 -14
  81. data/lib/docker_engine_ruby/models/secret_update_params.rb +1 -7
  82. data/lib/docker_engine_ruby/models/service.rb +18 -33
  83. data/lib/docker_engine_ruby/models/service_create_params.rb +1 -15
  84. data/lib/docker_engine_ruby/models/service_inspect_params.rb +1 -3
  85. data/lib/docker_engine_ruby/models/service_list_params.rb +2 -17
  86. data/lib/docker_engine_ruby/models/service_logs_params.rb +7 -25
  87. data/lib/docker_engine_ruby/models/service_update_params.rb +4 -34
  88. data/lib/docker_engine_ruby/models/spec.rb +25 -96
  89. data/lib/docker_engine_ruby/models/stats_response.rb +143 -68
  90. data/lib/docker_engine_ruby/models/summary.rb +12 -32
  91. data/lib/docker_engine_ruby/models/swarm.rb +6 -9
  92. data/lib/docker_engine_ruby/models/swarm_init_params.rb +7 -35
  93. data/lib/docker_engine_ruby/models/swarm_join_params.rb +5 -31
  94. data/lib/docker_engine_ruby/models/swarm_leave_params.rb +1 -7
  95. data/lib/docker_engine_ruby/models/swarm_unlock_key_response.rb +1 -2
  96. data/lib/docker_engine_ruby/models/swarm_unlock_params.rb +1 -3
  97. data/lib/docker_engine_ruby/models/swarm_update_params.rb +4 -16
  98. data/lib/docker_engine_ruby/models/system_data_usage_params.rb +43 -16
  99. data/lib/docker_engine_ruby/models/system_data_usage_response.rb +0 -19
  100. data/lib/docker_engine_ruby/models/system_events_params.rb +3 -29
  101. data/lib/docker_engine_ruby/models/system_events_response.rb +0 -3
  102. data/lib/docker_engine_ruby/models/task.rb +10 -12
  103. data/lib/docker_engine_ruby/models/task_list_params.rb +1 -16
  104. data/lib/docker_engine_ruby/models/task_logs_params.rb +7 -25
  105. data/lib/docker_engine_ruby/models/version.rb +8 -17
  106. data/lib/docker_engine_ruby/models/volume.rb +38 -194
  107. data/lib/docker_engine_ruby/models/volume_delete_params.rb +1 -3
  108. data/lib/docker_engine_ruby/models/volume_list_params.rb +1 -15
  109. data/lib/docker_engine_ruby/models/volume_prune_params.rb +1 -14
  110. data/lib/docker_engine_ruby/models/volume_prune_response.rb +2 -5
  111. data/lib/docker_engine_ruby/models/volume_update_params.rb +18 -127
  112. data/lib/docker_engine_ruby/resources/auth.rb +1 -2
  113. data/lib/docker_engine_ruby/resources/configs.rb +9 -18
  114. data/lib/docker_engine_ruby/resources/containers.rb +88 -337
  115. data/lib/docker_engine_ruby/resources/distribution.rb +2 -3
  116. data/lib/docker_engine_ruby/resources/exec.rb +11 -22
  117. data/lib/docker_engine_ruby/resources/images.rb +98 -228
  118. data/lib/docker_engine_ruby/resources/networks.rb +22 -41
  119. data/lib/docker_engine_ruby/resources/nodes.rb +7 -17
  120. data/lib/docker_engine_ruby/resources/plugins.rb +27 -74
  121. data/lib/docker_engine_ruby/resources/secrets.rb +9 -18
  122. data/lib/docker_engine_ruby/resources/services.rb +23 -52
  123. data/lib/docker_engine_ruby/resources/swarm.rb +26 -38
  124. data/lib/docker_engine_ruby/resources/system.rb +8 -49
  125. data/lib/docker_engine_ruby/resources/tasks.rb +12 -32
  126. data/lib/docker_engine_ruby/resources/volumes.rb +8 -22
  127. data/lib/docker_engine_ruby/version.rb +1 -1
  128. data/rbi/docker_engine_ruby/models/config.rbi +9 -7
  129. data/rbi/docker_engine_ruby/models/config_create_params.rbi +2 -34
  130. data/rbi/docker_engine_ruby/models/config_list_params.rbi +1 -22
  131. data/rbi/docker_engine_ruby/models/config_update_params.rbi +1 -8
  132. data/rbi/docker_engine_ruby/models/connect_request.rbi +7 -12
  133. data/rbi/docker_engine_ruby/models/container.rbi +73 -194
  134. data/rbi/docker_engine_ruby/models/container_archive_params.rbi +1 -6
  135. data/rbi/docker_engine_ruby/models/container_attach_params.rbi +0 -28
  136. data/rbi/docker_engine_ruby/models/container_create_params.rbi +1 -3250
  137. data/rbi/docker_engine_ruby/models/container_delete_params.rbi +1 -12
  138. data/rbi/docker_engine_ruby/models/container_exec_params.rbi +0 -28
  139. data/rbi/docker_engine_ruby/models/container_inspect_params.rbi +1 -6
  140. data/rbi/docker_engine_ruby/models/container_kill_params.rbi +1 -6
  141. data/rbi/docker_engine_ruby/models/container_list_params.rbi +0 -50
  142. data/rbi/docker_engine_ruby/models/container_logs_params.rbi +0 -16
  143. data/rbi/docker_engine_ruby/models/container_prune_params.rbi +1 -26
  144. data/rbi/docker_engine_ruby/models/container_prune_response.rbi +1 -8
  145. data/rbi/docker_engine_ruby/models/container_rename_params.rbi +1 -6
  146. data/rbi/docker_engine_ruby/models/container_resize_params.rbi +1 -9
  147. data/rbi/docker_engine_ruby/models/container_restart_params.rbi +1 -9
  148. data/rbi/docker_engine_ruby/models/container_start_params.rbi +1 -10
  149. data/rbi/docker_engine_ruby/models/container_stats_params.rbi +1 -13
  150. data/rbi/docker_engine_ruby/models/container_stop_params.rbi +1 -9
  151. data/rbi/docker_engine_ruby/models/container_top_params.rbi +1 -6
  152. data/rbi/docker_engine_ruby/models/container_update_params.rbi +1 -170
  153. data/rbi/docker_engine_ruby/models/container_wait_params.rbi +1 -13
  154. data/rbi/docker_engine_ruby/models/create_request.rbi +7 -139
  155. data/rbi/docker_engine_ruby/models/exec_inspect_response.rbi +0 -2
  156. data/rbi/docker_engine_ruby/models/exec_resize_params.rbi +1 -9
  157. data/rbi/docker_engine_ruby/models/exec_start_params.rbi +0 -6
  158. data/rbi/docker_engine_ruby/models/filesystem_change.rbi +10 -13
  159. data/rbi/docker_engine_ruby/models/image.rbi +48 -106
  160. data/rbi/docker_engine_ruby/models/image_build_params.rbi +0 -127
  161. data/rbi/docker_engine_ruby/models/image_build_prune_params.rbi +0 -38
  162. data/rbi/docker_engine_ruby/models/image_build_prune_response.rbi +1 -6
  163. data/rbi/docker_engine_ruby/models/image_commit_params.rbi +0 -14
  164. data/rbi/docker_engine_ruby/models/image_delete_params.rbi +0 -10
  165. data/rbi/docker_engine_ruby/models/image_get_all_params.rbi +1 -17
  166. data/rbi/docker_engine_ruby/models/image_get_params.rbi +1 -14
  167. data/rbi/docker_engine_ruby/models/image_history_params.rbi +1 -24
  168. data/rbi/docker_engine_ruby/models/image_inspect_params.rbi +1 -6
  169. data/rbi/docker_engine_ruby/models/image_list_params.rbi +0 -32
  170. data/rbi/docker_engine_ruby/models/image_load_params.rbi +1 -18
  171. data/rbi/docker_engine_ruby/models/image_prune_params.rbi +1 -26
  172. data/rbi/docker_engine_ruby/models/image_prune_response.rbi +1 -8
  173. data/rbi/docker_engine_ruby/models/image_pull_params.rbi +6 -79
  174. data/rbi/docker_engine_ruby/models/image_push_params.rbi +0 -22
  175. data/rbi/docker_engine_ruby/models/image_search_params.rbi +1 -20
  176. data/rbi/docker_engine_ruby/models/image_search_response.rbi +0 -10
  177. data/rbi/docker_engine_ruby/models/image_tag_params.rbi +1 -9
  178. data/rbi/docker_engine_ruby/models/info.rbi +29 -76
  179. data/rbi/docker_engine_ruby/models/inspect.rbi +6 -12
  180. data/rbi/docker_engine_ruby/models/network.rbi +7 -4
  181. data/rbi/docker_engine_ruby/models/network_create_params.rbi +0 -30
  182. data/rbi/docker_engine_ruby/models/network_inspect_params.rbi +1 -9
  183. data/rbi/docker_engine_ruby/models/network_inspect_response.rbi +345 -198
  184. data/rbi/docker_engine_ruby/models/network_list_params.rbi +1 -36
  185. data/rbi/docker_engine_ruby/models/network_prune_params.rbi +1 -26
  186. data/rbi/docker_engine_ruby/models/network_prune_response.rbi +1 -5
  187. data/rbi/docker_engine_ruby/models/node.rbi +11 -17
  188. data/rbi/docker_engine_ruby/models/node_delete_params.rbi +1 -6
  189. data/rbi/docker_engine_ruby/models/node_list_params.rbi +1 -24
  190. data/rbi/docker_engine_ruby/models/node_update_params.rbi +1 -8
  191. data/rbi/docker_engine_ruby/models/plugin.rbi +1 -11
  192. data/rbi/docker_engine_ruby/models/plugin_create_params.rbi +1 -9
  193. data/rbi/docker_engine_ruby/models/plugin_delete_params.rbi +1 -8
  194. data/rbi/docker_engine_ruby/models/plugin_disable_params.rbi +1 -6
  195. data/rbi/docker_engine_ruby/models/plugin_enable_params.rbi +1 -6
  196. data/rbi/docker_engine_ruby/models/plugin_list_params.rbi +1 -18
  197. data/rbi/docker_engine_ruby/models/plugin_privileges_params.rbi +1 -8
  198. data/rbi/docker_engine_ruby/models/plugin_pull_params.rbi +6 -21
  199. data/rbi/docker_engine_ruby/models/plugin_set_params.rbi +3 -6
  200. data/rbi/docker_engine_ruby/models/plugin_upgrade_params.rbi +3 -17
  201. data/rbi/docker_engine_ruby/models/secret.rbi +8 -8
  202. data/rbi/docker_engine_ruby/models/secret_create_params.rbi +2 -34
  203. data/rbi/docker_engine_ruby/models/secret_list_params.rbi +1 -22
  204. data/rbi/docker_engine_ruby/models/secret_update_params.rbi +1 -8
  205. data/rbi/docker_engine_ruby/models/service.rbi +20 -40
  206. data/rbi/docker_engine_ruby/models/service_create_params.rbi +1 -36
  207. data/rbi/docker_engine_ruby/models/service_inspect_params.rbi +1 -6
  208. data/rbi/docker_engine_ruby/models/service_list_params.rbi +1 -25
  209. data/rbi/docker_engine_ruby/models/service_logs_params.rbi +0 -16
  210. data/rbi/docker_engine_ruby/models/service_update_params.rbi +0 -50
  211. data/rbi/docker_engine_ruby/models/spec.rbi +9 -82
  212. data/rbi/docker_engine_ruby/models/stats_response.rbi +213 -141
  213. data/rbi/docker_engine_ruby/models/summary.rbi +16 -53
  214. data/rbi/docker_engine_ruby/models/swarm.rbi +8 -8
  215. data/rbi/docker_engine_ruby/models/swarm_init_params.rbi +0 -50
  216. data/rbi/docker_engine_ruby/models/swarm_join_params.rbi +0 -36
  217. data/rbi/docker_engine_ruby/models/swarm_leave_params.rbi +1 -8
  218. data/rbi/docker_engine_ruby/models/swarm_unlock_key_response.rbi +1 -5
  219. data/rbi/docker_engine_ruby/models/swarm_unlock_params.rbi +1 -6
  220. data/rbi/docker_engine_ruby/models/swarm_update_params.rbi +0 -10
  221. data/rbi/docker_engine_ruby/models/system_data_usage_params.rbi +79 -27
  222. data/rbi/docker_engine_ruby/models/system_events_params.rbi +1 -46
  223. data/rbi/docker_engine_ruby/models/task.rbi +12 -16
  224. data/rbi/docker_engine_ruby/models/task_list_params.rbi +1 -26
  225. data/rbi/docker_engine_ruby/models/task_logs_params.rbi +0 -16
  226. data/rbi/docker_engine_ruby/models/version.rbi +8 -22
  227. data/rbi/docker_engine_ruby/models/volume.rbi +25 -225
  228. data/rbi/docker_engine_ruby/models/volume_delete_params.rbi +1 -6
  229. data/rbi/docker_engine_ruby/models/volume_list_params.rbi +1 -24
  230. data/rbi/docker_engine_ruby/models/volume_prune_params.rbi +1 -22
  231. data/rbi/docker_engine_ruby/models/volume_prune_response.rbi +1 -8
  232. data/rbi/docker_engine_ruby/models/volume_update_params.rbi +7 -143
  233. data/rbi/docker_engine_ruby/resources/auth.rbi +1 -2
  234. data/rbi/docker_engine_ruby/resources/configs.rbi +8 -29
  235. data/rbi/docker_engine_ruby/resources/containers.rbi +36 -388
  236. data/rbi/docker_engine_ruby/resources/distribution.rbi +2 -6
  237. data/rbi/docker_engine_ruby/resources/exec.rbi +5 -24
  238. data/rbi/docker_engine_ruby/resources/images.rbi +72 -365
  239. data/rbi/docker_engine_ruby/resources/networks.rbi +7 -76
  240. data/rbi/docker_engine_ruby/resources/nodes.rbi +6 -30
  241. data/rbi/docker_engine_ruby/resources/plugins.rbi +22 -91
  242. data/rbi/docker_engine_ruby/resources/secrets.rbi +8 -29
  243. data/rbi/docker_engine_ruby/resources/services.rbi +12 -60
  244. data/rbi/docker_engine_ruby/resources/swarm.rbi +6 -59
  245. data/rbi/docker_engine_ruby/resources/system.rbi +11 -66
  246. data/rbi/docker_engine_ruby/resources/tasks.rbi +3 -34
  247. data/rbi/docker_engine_ruby/resources/volumes.rbi +7 -43
  248. data/sig/docker_engine_ruby/models/config.rbs +11 -9
  249. data/sig/docker_engine_ruby/models/config_create_params.rbs +3 -24
  250. data/sig/docker_engine_ruby/models/connect_request.rbs +12 -12
  251. data/sig/docker_engine_ruby/models/container.rbs +62 -62
  252. data/sig/docker_engine_ruby/models/container_create_params.rbs +1 -1321
  253. data/sig/docker_engine_ruby/models/container_update_params.rbs +0 -51
  254. data/sig/docker_engine_ruby/models/create_request.rbs +5 -5
  255. data/sig/docker_engine_ruby/models/filesystem_change.rbs +1 -1
  256. data/sig/docker_engine_ruby/models/image.rbs +51 -53
  257. data/sig/docker_engine_ruby/models/image_pull_params.rbs +5 -7
  258. data/sig/docker_engine_ruby/models/info.rbs +54 -36
  259. data/sig/docker_engine_ruby/models/inspect.rbs +12 -8
  260. data/sig/docker_engine_ruby/models/network.rbs +5 -5
  261. data/sig/docker_engine_ruby/models/network_inspect_response.rbs +179 -90
  262. data/sig/docker_engine_ruby/models/node.rbs +18 -14
  263. data/sig/docker_engine_ruby/models/plugin_pull_params.rbs +5 -9
  264. data/sig/docker_engine_ruby/models/plugin_set_params.rbs +2 -4
  265. data/sig/docker_engine_ruby/models/plugin_upgrade_params.rbs +2 -6
  266. data/sig/docker_engine_ruby/models/secret.rbs +10 -10
  267. data/sig/docker_engine_ruby/models/secret_create_params.rbs +3 -24
  268. data/sig/docker_engine_ruby/models/service.rbs +25 -25
  269. data/sig/docker_engine_ruby/models/service_create_params.rbs +1 -16
  270. data/sig/docker_engine_ruby/models/service_update_params.rbs +0 -13
  271. data/sig/docker_engine_ruby/models/spec.rbs +10 -10
  272. data/sig/docker_engine_ruby/models/stats_response.rbs +188 -74
  273. data/sig/docker_engine_ruby/models/summary.rbs +20 -16
  274. data/sig/docker_engine_ruby/models/swarm.rbs +10 -10
  275. data/sig/docker_engine_ruby/models/system_data_usage_params.rbs +25 -10
  276. data/sig/docker_engine_ruby/models/task.rbs +15 -15
  277. data/sig/docker_engine_ruby/models/version.rbs +13 -4
  278. data/sig/docker_engine_ruby/models/volume.rbs +27 -25
  279. data/sig/docker_engine_ruby/models/volume_update_params.rbs +5 -5
  280. data/sig/docker_engine_ruby/resources/configs.rbs +2 -2
  281. data/sig/docker_engine_ruby/resources/containers.rbs +1 -2
  282. data/sig/docker_engine_ruby/resources/images.rbs +3 -3
  283. data/sig/docker_engine_ruby/resources/networks.rbs +1 -1
  284. data/sig/docker_engine_ruby/resources/nodes.rbs +1 -1
  285. data/sig/docker_engine_ruby/resources/plugins.rbs +3 -3
  286. data/sig/docker_engine_ruby/resources/secrets.rbs +2 -2
  287. data/sig/docker_engine_ruby/resources/services.rbs +2 -2
  288. data/sig/docker_engine_ruby/resources/system.rbs +1 -1
  289. metadata +1 -1
@@ -3,128 +3,258 @@
3
3
  module DockerEngineRuby
4
4
  module Models
5
5
  # @see DockerEngineRuby::Resources::Networks#inspect_
6
- class NetworkInspectResponse < DockerEngineRuby::Models::Network
7
- # @!attribute containers
8
- # Contains endpoints attached to the network.
6
+ class NetworkInspectResponse < DockerEngineRuby::Internal::Type::BaseModel
7
+ # @!attribute attachable
8
+ # Whether a global / swarm scope network is manually attachable by regular
9
+ # containers from workers in swarm mode.
9
10
  #
10
- # @return [Hash{Symbol=>DockerEngineRuby::Models::NetworkInspectResponse::Container}, nil]
11
- optional :containers,
12
- -> { DockerEngineRuby::Internal::Type::HashOf[DockerEngineRuby::Models::NetworkInspectResponse::Container] },
13
- api_name: :Containers
11
+ # @return [Boolean, nil]
12
+ optional :attachable, DockerEngineRuby::Internal::Type::Boolean, api_name: :Attachable
14
13
 
15
- # @!attribute services
16
- # List of services using the network. This field is only present for swarm scope
17
- # networks, and omitted for local scope networks.
14
+ # @!attribute config_from
15
+ # The config-only network source to provide the configuration for this network.
18
16
  #
19
- # @return [Hash{Symbol=>Object}, nil]
20
- optional :services,
21
- DockerEngineRuby::Internal::Type::HashOf[DockerEngineRuby::Internal::Type::Unknown],
22
- api_name: :Services
17
+ # @return [DockerEngineRuby::Models::NetworkInspectResponse::ConfigFrom, nil]
18
+ optional :config_from,
19
+ -> { DockerEngineRuby::Models::NetworkInspectResponse::ConfigFrom },
20
+ api_name: :ConfigFrom
23
21
 
24
- # @!attribute status
25
- # provides runtime information about the network such as the number of allocated
26
- # IPs.
22
+ # @!attribute config_only
23
+ # Whether the network is a config-only network. Config-only networks are
24
+ # placeholder networks for network configurations to be used by other networks.
25
+ # Config-only networks cannot be used directly to run containers or services.
27
26
  #
28
- # @return [DockerEngineRuby::Models::NetworkInspectResponse::Status, nil]
29
- optional :status, -> { DockerEngineRuby::Models::NetworkInspectResponse::Status }, api_name: :Status
27
+ # @return [Boolean, nil]
28
+ optional :config_only, DockerEngineRuby::Internal::Type::Boolean, api_name: :ConfigOnly
30
29
 
31
- # @!method initialize(containers: nil, services: nil, status: nil)
30
+ # @!attribute created
31
+ # Date and time at which the network was created in
32
+ # [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
33
+ #
34
+ # @return [Time, nil]
35
+ optional :created, Time, api_name: :Created
36
+
37
+ # @!attribute driver
38
+ # The name of the driver used to create the network (e.g. `bridge`, `overlay`).
39
+ #
40
+ # @return [String, nil]
41
+ optional :driver, String, api_name: :Driver
42
+
43
+ # @!attribute enable_i_pv4
44
+ # Whether the network was created with IPv4 enabled.
45
+ #
46
+ # @return [Boolean, nil]
47
+ optional :enable_i_pv4, DockerEngineRuby::Internal::Type::Boolean, api_name: :EnableIPv4
48
+
49
+ # @!attribute enable_i_pv6
50
+ # Whether the network was created with IPv6 enabled.
51
+ #
52
+ # @return [Boolean, nil]
53
+ optional :enable_i_pv6, DockerEngineRuby::Internal::Type::Boolean, api_name: :EnableIPv6
54
+
55
+ # @!attribute id
56
+ # ID that uniquely identifies a network on a single machine.
57
+ #
58
+ # @return [String, nil]
59
+ optional :id, String, api_name: :Id
60
+
61
+ # @!attribute ingress
62
+ # Whether the network is providing the routing-mesh for the swarm cluster.
63
+ #
64
+ # @return [Boolean, nil]
65
+ optional :ingress, DockerEngineRuby::Internal::Type::Boolean, api_name: :Ingress
66
+
67
+ # @!attribute internal
68
+ # Whether the network is created to only allow internal networking connectivity.
69
+ #
70
+ # @return [Boolean, nil]
71
+ optional :internal, DockerEngineRuby::Internal::Type::Boolean, api_name: :Internal
72
+
73
+ # @!attribute ipam
74
+ # The network's IP Address Management.
75
+ #
76
+ # @return [DockerEngineRuby::Models::NetworkInspectResponse::Ipam, nil]
77
+ optional :ipam, -> { DockerEngineRuby::Models::NetworkInspectResponse::Ipam }, api_name: :IPAM
78
+
79
+ # @!attribute labels
80
+ # Metadata specific to the network being created.
81
+ #
82
+ # @return [Hash{Symbol=>String}, nil]
83
+ optional :labels, DockerEngineRuby::Internal::Type::HashOf[String], api_name: :Labels
84
+
85
+ # @!attribute name
86
+ # Name of the network.
87
+ #
88
+ # @return [String, nil]
89
+ optional :name, String, api_name: :Name
90
+
91
+ # @!attribute options
92
+ # Network-specific options uses when creating the network.
93
+ #
94
+ # @return [Hash{Symbol=>String}, nil]
95
+ optional :options, DockerEngineRuby::Internal::Type::HashOf[String], api_name: :Options
96
+
97
+ # @!attribute peers
98
+ # List of peer nodes for an overlay network. This field is only present for
99
+ # overlay networks, and omitted for other network types.
100
+ #
101
+ # @return [Array<DockerEngineRuby::Models::NetworkInspectResponse::Peer>, nil]
102
+ optional :peers,
103
+ -> { DockerEngineRuby::Internal::Type::ArrayOf[DockerEngineRuby::Models::NetworkInspectResponse::Peer] },
104
+ api_name: :Peers
105
+
106
+ # @!attribute scope
107
+ # The level at which the network exists (e.g. `swarm` for cluster-wide or `local`
108
+ # for machine level)
109
+ #
110
+ # @return [String, nil]
111
+ optional :scope, String, api_name: :Scope
112
+
113
+ # @!method initialize(attachable: nil, config_from: nil, config_only: nil, created: nil, driver: nil, enable_i_pv4: nil, enable_i_pv6: nil, id: nil, ingress: nil, internal: nil, ipam: nil, labels: nil, name: nil, options: nil, peers: nil, scope: nil)
32
114
  # Some parameter documentations has been truncated, see
33
115
  # {DockerEngineRuby::Models::NetworkInspectResponse} for more details.
34
116
  #
35
117
  # The body of the "get network" http response message.
36
118
  #
37
- # @param containers [Hash{Symbol=>DockerEngineRuby::Models::NetworkInspectResponse::Container}] Contains endpoints attached to the network.
119
+ # @param attachable [Boolean] Whether a global / swarm scope network is manually attachable by regular
120
+ #
121
+ # @param config_from [DockerEngineRuby::Models::NetworkInspectResponse::ConfigFrom] The config-only network source to provide the configuration for
122
+ #
123
+ # @param config_only [Boolean] Whether the network is a config-only network. Config-only networks are
124
+ #
125
+ # @param created [Time] Date and time at which the network was created in
126
+ #
127
+ # @param driver [String] The name of the driver used to create the network (e.g. `bridge`,
128
+ #
129
+ # @param enable_i_pv4 [Boolean] Whether the network was created with IPv4 enabled.
130
+ #
131
+ # @param enable_i_pv6 [Boolean] Whether the network was created with IPv6 enabled.
132
+ #
133
+ # @param id [String] ID that uniquely identifies a network on a single machine.
134
+ #
135
+ # @param ingress [Boolean] Whether the network is providing the routing-mesh for the swarm cluster.
38
136
  #
39
- # @param services [Hash{Symbol=>Object}] List of services using the network. This field is only present for
137
+ # @param internal [Boolean] Whether the network is created to only allow internal networking
40
138
  #
41
- # @param status [DockerEngineRuby::Models::NetworkInspectResponse::Status] provides runtime information about the network such as the number of allocated I
139
+ # @param ipam [DockerEngineRuby::Models::NetworkInspectResponse::Ipam] The network's IP Address Management.
140
+ #
141
+ # @param labels [Hash{Symbol=>String}] Metadata specific to the network being created.
142
+ #
143
+ # @param name [String] Name of the network.
144
+ #
145
+ # @param options [Hash{Symbol=>String}] Network-specific options uses when creating the network.
146
+ #
147
+ # @param peers [Array<DockerEngineRuby::Models::NetworkInspectResponse::Peer>] List of peer nodes for an overlay network. This field is only present
148
+ #
149
+ # @param scope [String] The level at which the network exists (e.g. `swarm` for cluster-wide
42
150
 
43
- class Container < DockerEngineRuby::Internal::Type::BaseModel
44
- # @!attribute endpoint_id
151
+ # @see DockerEngineRuby::Models::NetworkInspectResponse#config_from
152
+ class ConfigFrom < DockerEngineRuby::Internal::Type::BaseModel
153
+ # @!attribute network
154
+ # The name of the config-only network that provides the network's configuration.
155
+ # The specified network must be an existing config-only network. Only network
156
+ # names are allowed, not network IDs.
45
157
  #
46
158
  # @return [String, nil]
47
- optional :endpoint_id, String, api_name: :EndpointID
159
+ optional :network, String, api_name: :Network
48
160
 
49
- # @!attribute i_pv4_address
161
+ # @!method initialize(network: nil)
162
+ # Some parameter documentations has been truncated, see
163
+ # {DockerEngineRuby::Models::NetworkInspectResponse::ConfigFrom} for more details.
50
164
  #
51
- # @return [String, nil]
52
- optional :i_pv4_address, String, api_name: :IPv4Address
165
+ # The config-only network source to provide the configuration for this network.
166
+ #
167
+ # @param network [String] The name of the config-only network that provides the network's
168
+ end
53
169
 
54
- # @!attribute i_pv6_address
170
+ # @see DockerEngineRuby::Models::NetworkInspectResponse#ipam
171
+ class Ipam < DockerEngineRuby::Internal::Type::BaseModel
172
+ # @!attribute config
173
+ # List of IPAM configuration options, specified as a map:
55
174
  #
56
- # @return [String, nil]
57
- optional :i_pv6_address, String, api_name: :IPv6Address
175
+ # ```
176
+ # {"Subnet": <CIDR>, "IPRange": <CIDR>, "Gateway": <IP address>, "AuxAddress": <device_name:IP address>}
177
+ # ```
178
+ #
179
+ # @return [Array<DockerEngineRuby::Models::NetworkInspectResponse::Ipam::Config>, nil]
180
+ optional :config,
181
+ -> { DockerEngineRuby::Internal::Type::ArrayOf[DockerEngineRuby::Models::NetworkInspectResponse::Ipam::Config] },
182
+ api_name: :Config
58
183
 
59
- # @!attribute mac_address
184
+ # @!attribute driver
185
+ # Name of the IPAM driver to use.
60
186
  #
61
187
  # @return [String, nil]
62
- optional :mac_address, String, api_name: :MacAddress
188
+ optional :driver, String, api_name: :Driver
63
189
 
64
- # @!attribute name
190
+ # @!attribute options
191
+ # Driver-specific options, specified as a map.
65
192
  #
66
- # @return [String, nil]
67
- optional :name, String, api_name: :Name
193
+ # @return [Hash{Symbol=>String}, nil]
194
+ optional :options, DockerEngineRuby::Internal::Type::HashOf[String], api_name: :Options
68
195
 
69
- # @!method initialize(endpoint_id: nil, i_pv4_address: nil, i_pv6_address: nil, mac_address: nil, name: nil)
70
- # contains network resources allocated and used for a container in a network.
196
+ # @!method initialize(config: nil, driver: nil, options: nil)
197
+ # Some parameter documentations has been truncated, see
198
+ # {DockerEngineRuby::Models::NetworkInspectResponse::Ipam} for more details.
71
199
  #
72
- # @param endpoint_id [String]
73
- # @param i_pv4_address [String]
74
- # @param i_pv6_address [String]
75
- # @param mac_address [String]
76
- # @param name [String]
200
+ # The network's IP Address Management.
201
+ #
202
+ # @param config [Array<DockerEngineRuby::Models::NetworkInspectResponse::Ipam::Config>] List of IPAM configuration options, specified as a map:
203
+ #
204
+ # @param driver [String] Name of the IPAM driver to use.
205
+ #
206
+ # @param options [Hash{Symbol=>String}] Driver-specific options, specified as a map.
207
+
208
+ class Config < DockerEngineRuby::Internal::Type::BaseModel
209
+ # @!attribute auxiliary_addresses
210
+ #
211
+ # @return [Hash{Symbol=>String}, nil]
212
+ optional :auxiliary_addresses,
213
+ DockerEngineRuby::Internal::Type::HashOf[String],
214
+ api_name: :AuxiliaryAddresses
215
+
216
+ # @!attribute gateway
217
+ #
218
+ # @return [String, nil]
219
+ optional :gateway, String, api_name: :Gateway
220
+
221
+ # @!attribute ip_range
222
+ #
223
+ # @return [String, nil]
224
+ optional :ip_range, String, api_name: :IPRange
225
+
226
+ # @!attribute subnet
227
+ #
228
+ # @return [String, nil]
229
+ optional :subnet, String, api_name: :Subnet
230
+
231
+ # @!method initialize(auxiliary_addresses: nil, gateway: nil, ip_range: nil, subnet: nil)
232
+ # @param auxiliary_addresses [Hash{Symbol=>String}]
233
+ # @param gateway [String]
234
+ # @param ip_range [String]
235
+ # @param subnet [String]
236
+ end
77
237
  end
78
238
 
79
- class Status < DockerEngineRuby::Internal::Type::BaseModel
80
- # @!attribute ipam
239
+ class Peer < DockerEngineRuby::Internal::Type::BaseModel
240
+ # @!attribute ip
241
+ # IP-address of the peer-node in the Swarm cluster.
81
242
  #
82
- # @return [DockerEngineRuby::Models::NetworkInspectResponse::Status::Ipam, nil]
83
- optional :ipam, -> { DockerEngineRuby::Models::NetworkInspectResponse::Status::Ipam }, api_name: :IPAM
243
+ # @return [String, nil]
244
+ optional :ip, String, api_name: :IP
84
245
 
85
- # @!method initialize(ipam: nil)
86
- # provides runtime information about the network such as the number of allocated
87
- # IPs.
246
+ # @!attribute name
247
+ # ID of the peer-node in the Swarm cluster.
88
248
  #
89
- # @param ipam [DockerEngineRuby::Models::NetworkInspectResponse::Status::Ipam]
249
+ # @return [String, nil]
250
+ optional :name, String, api_name: :Name
90
251
 
91
- # @see DockerEngineRuby::Models::NetworkInspectResponse::Status#ipam
92
- class Ipam < DockerEngineRuby::Internal::Type::BaseModel
93
- # @!attribute subnets
94
- #
95
- # @return [Hash{Symbol=>DockerEngineRuby::Models::NetworkInspectResponse::Status::Ipam::Subnet}, nil]
96
- optional :subnets,
97
- -> { DockerEngineRuby::Internal::Type::HashOf[DockerEngineRuby::Models::NetworkInspectResponse::Status::Ipam::Subnet] },
98
- api_name: :Subnets
99
-
100
- # @!method initialize(subnets: nil)
101
- # @param subnets [Hash{Symbol=>DockerEngineRuby::Models::NetworkInspectResponse::Status::Ipam::Subnet}]
102
-
103
- class Subnet < DockerEngineRuby::Internal::Type::BaseModel
104
- # @!attribute dynamic_ips_available
105
- # Number of IP addresses within the network's IPRange for the subnet that are
106
- # available for allocation, saturating at 2<sup>64</sup> - 1.
107
- #
108
- # @return [Integer, nil]
109
- optional :dynamic_ips_available, Integer, api_name: :DynamicIPsAvailable
110
-
111
- # @!attribute ips_in_use
112
- # Number of IP addresses in the subnet that are in use or reserved and are
113
- # therefore unavailable for allocation, saturating at 2<sup>64</sup> - 1.
114
- #
115
- # @return [Integer, nil]
116
- optional :ips_in_use, Integer, api_name: :IPsInUse
117
-
118
- # @!method initialize(dynamic_ips_available: nil, ips_in_use: nil)
119
- # Some parameter documentations has been truncated, see
120
- # {DockerEngineRuby::Models::NetworkInspectResponse::Status::Ipam::Subnet} for
121
- # more details.
122
- #
123
- # @param dynamic_ips_available [Integer] Number of IP addresses within the network's IPRange for the subnet that are avai
124
- #
125
- # @param ips_in_use [Integer] Number of IP addresses in the subnet that are in use or reserved and are therefo
126
- end
127
- end
252
+ # @!method initialize(ip: nil, name: nil)
253
+ # represents one peer of an overlay network.
254
+ #
255
+ # @param ip [String] IP-address of the peer-node in the Swarm cluster.
256
+ #
257
+ # @param name [String] ID of the peer-node in the Swarm cluster.
128
258
  end
129
259
  end
130
260
  end
@@ -8,32 +8,12 @@ module DockerEngineRuby
8
8
  include DockerEngineRuby::Internal::Type::RequestParameters
9
9
 
10
10
  # @!attribute filters
11
- # JSON encoded value of the filters (a `map[string][]string`) to process on the
12
- # networks list.
13
- #
14
- # Available filters:
15
- #
16
- # - `dangling=<boolean>` When set to `true` (or `1`), returns all networks that
17
- # are not in use by a container. When set to `false` (or `0`), only networks
18
- # that are in use by one or more containers are returned.
19
- # - `driver=<driver-name>` Matches a network's driver.
20
- # - `id=<network-id>` Matches all or part of a network ID.
21
- # - `label=<key>` or `label=<key>=<value>` of a network label.
22
- # - `name=<network-name>` Matches all or part of a network name.
23
- # - `scope=["swarm"|"global"|"local"]` Filters networks by scope (`swarm`,
24
- # `global`, or `local`).
25
- # - `type=["custom"|"builtin"]` Filters networks by type. The `custom` keyword
26
- # returns all user-defined networks.
27
11
  #
28
12
  # @return [String, nil]
29
13
  optional :filters, String
30
14
 
31
15
  # @!method initialize(filters: nil, request_options: {})
32
- # Some parameter documentations has been truncated, see
33
- # {DockerEngineRuby::Models::NetworkListParams} for more details.
34
- #
35
- # @param filters [String] JSON encoded value of the filters (a `map[string][]string`) to process
36
- #
16
+ # @param filters [String]
37
17
  # @param request_options [DockerEngineRuby::RequestOptions, Hash{Symbol=>Object}]
38
18
  end
39
19
  end
@@ -8,27 +8,12 @@ module DockerEngineRuby
8
8
  include DockerEngineRuby::Internal::Type::RequestParameters
9
9
 
10
10
  # @!attribute filters
11
- # Filters to process on the prune list, encoded as JSON (a `map[string][]string`).
12
- #
13
- # Available filters:
14
- #
15
- # - `until=<timestamp>` Prune networks created before this timestamp. The
16
- # `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go
17
- # duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon
18
- # machine’s time.
19
- # - `label` (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or
20
- # `label!=<key>=<value>`) Prune networks with (or without, in case `label!=...`
21
- # is used) the specified labels.
22
11
  #
23
12
  # @return [String, nil]
24
13
  optional :filters, String
25
14
 
26
15
  # @!method initialize(filters: nil, request_options: {})
27
- # Some parameter documentations has been truncated, see
28
- # {DockerEngineRuby::Models::NetworkPruneParams} for more details.
29
- #
30
- # @param filters [String] Filters to process on the prune list, encoded as JSON (a `map[string][]string`).
31
- #
16
+ # @param filters [String]
32
17
  # @param request_options [DockerEngineRuby::RequestOptions, Hash{Symbol=>Object}]
33
18
  end
34
19
  end
@@ -5,7 +5,6 @@ module DockerEngineRuby
5
5
  # @see DockerEngineRuby::Resources::Networks#prune
6
6
  class NetworkPruneResponse < DockerEngineRuby::Internal::Type::BaseModel
7
7
  # @!attribute networks_deleted
8
- # Networks that were deleted
9
8
  #
10
9
  # @return [Array<String>, nil]
11
10
  optional :networks_deleted,
@@ -13,7 +12,7 @@ module DockerEngineRuby
13
12
  api_name: :NetworksDeleted
14
13
 
15
14
  # @!method initialize(networks_deleted: nil)
16
- # @param networks_deleted [Array<String>] Networks that were deleted
15
+ # @param networks_deleted [Array<String>]
17
16
  end
18
17
  end
19
18
  end
@@ -8,8 +8,8 @@ module DockerEngineRuby
8
8
  # Date and time at which the node was added to the swarm in
9
9
  # [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
10
10
  #
11
- # @return [String, nil]
12
- optional :created_at, String, api_name: :CreatedAt
11
+ # @return [Time, nil]
12
+ optional :created_at, Time, api_name: :CreatedAt
13
13
 
14
14
  # @!attribute description
15
15
  # NodeDescription encapsulates the properties of the Node as reported by the
@@ -30,10 +30,7 @@ module DockerEngineRuby
30
30
  # manager.
31
31
  #
32
32
  # @return [DockerEngineRuby::Models::Node::ManagerStatus, nil]
33
- optional :manager_status,
34
- -> { DockerEngineRuby::Node::ManagerStatus },
35
- api_name: :ManagerStatus,
36
- nil?: true
33
+ optional :manager_status, -> { DockerEngineRuby::Node::ManagerStatus }, api_name: :ManagerStatus
37
34
 
38
35
  # @!attribute spec
39
36
  #
@@ -52,8 +49,8 @@ module DockerEngineRuby
52
49
  # Date and time at which the node was last updated in
53
50
  # [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
54
51
  #
55
- # @return [String, nil]
56
- optional :updated_at, String, api_name: :UpdatedAt
52
+ # @return [Time, nil]
53
+ optional :updated_at, Time, api_name: :UpdatedAt
57
54
 
58
55
  # @!attribute version
59
56
  # The version number of the object such as node, service, etc. This is needed to
@@ -73,19 +70,19 @@ module DockerEngineRuby
73
70
  # Some parameter documentations has been truncated, see
74
71
  # {DockerEngineRuby::Models::Node} for more details.
75
72
  #
76
- # @param created_at [String] Date and time at which the node was added to the swarm in
73
+ # @param created_at [Time] Date and time at which the node was added to the swarm in
77
74
  #
78
75
  # @param description [DockerEngineRuby::Models::Node::Description] NodeDescription encapsulates the properties of the Node as reported by the
79
76
  #
80
77
  # @param id [String]
81
78
  #
82
- # @param manager_status [DockerEngineRuby::Models::Node::ManagerStatus, nil] ManagerStatus represents the status of a manager.
79
+ # @param manager_status [DockerEngineRuby::Models::Node::ManagerStatus] ManagerStatus represents the status of a manager.
83
80
  #
84
81
  # @param spec [DockerEngineRuby::Models::Spec]
85
82
  #
86
83
  # @param status [DockerEngineRuby::Models::Node::Status] NodeStatus represents the status of a node.
87
84
  #
88
- # @param updated_at [String] Date and time at which the node was last updated in
85
+ # @param updated_at [Time] Date and time at which the node was last updated in
89
86
  #
90
87
  # @param version [DockerEngineRuby::Models::Node::Version] The version number of the object such as node, service, etc. This is needed
91
88
 
@@ -212,8 +209,6 @@ module DockerEngineRuby
212
209
  # @see DockerEngineRuby::Models::Node::Description#resources
213
210
  class Resources < DockerEngineRuby::Internal::Type::BaseModel
214
211
  # @!attribute generic_resources
215
- # User-defined resources can be either Integer resources (e.g, `SSD=3`) or String
216
- # resources (e.g, `GPU=UUID1`).
217
212
  #
218
213
  # @return [Array<DockerEngineRuby::Models::Node::Description::Resources::GenericResource>, nil]
219
214
  optional :generic_resources,
@@ -233,16 +228,11 @@ module DockerEngineRuby
233
228
  optional :nano_cpus, Integer, api_name: :NanoCPUs
234
229
 
235
230
  # @!method initialize(generic_resources: nil, memory_bytes: nil, nano_cpus: nil)
236
- # Some parameter documentations has been truncated, see
237
- # {DockerEngineRuby::Models::Node::Description::Resources} for more details.
238
- #
239
231
  # An object describing the resources which can be advertised by a node and
240
232
  # requested by a task.
241
233
  #
242
- # @param generic_resources [Array<DockerEngineRuby::Models::Node::Description::Resources::GenericResource>] User-defined resources can be either Integer resources (e.g, `SSD=3`) or
243
- #
234
+ # @param generic_resources [Array<DockerEngineRuby::Models::Node::Description::Resources::GenericResource>]
244
235
  # @param memory_bytes [Integer]
245
- #
246
236
  # @param nano_cpus [Integer]
247
237
 
248
238
  class GenericResource < DockerEngineRuby::Internal::Type::BaseModel
@@ -361,9 +351,6 @@ module DockerEngineRuby
361
351
  api_name: :Reachability
362
352
 
363
353
  # @!method initialize(addr: nil, leader: nil, reachability: nil)
364
- # Some parameter documentations has been truncated, see
365
- # {DockerEngineRuby::Models::Node::ManagerStatus} for more details.
366
- #
367
354
  # ManagerStatus represents the status of a manager.
368
355
  #
369
356
  # It provides the current status of a node's manager component, if the node is a
@@ -8,14 +8,12 @@ module DockerEngineRuby
8
8
  include DockerEngineRuby::Internal::Type::RequestParameters
9
9
 
10
10
  # @!attribute force
11
- # Force remove a node from the swarm
12
11
  #
13
12
  # @return [Boolean, nil]
14
13
  optional :force, DockerEngineRuby::Internal::Type::Boolean
15
14
 
16
15
  # @!method initialize(force: nil, request_options: {})
17
- # @param force [Boolean] Force remove a node from the swarm
18
- #
16
+ # @param force [Boolean]
19
17
  # @param request_options [DockerEngineRuby::RequestOptions, Hash{Symbol=>Object}]
20
18
  end
21
19
  end
@@ -8,26 +8,12 @@ module DockerEngineRuby
8
8
  include DockerEngineRuby::Internal::Type::RequestParameters
9
9
 
10
10
  # @!attribute filters
11
- # Filters to process on the nodes list, encoded as JSON (a `map[string][]string`).
12
- #
13
- # Available filters:
14
- #
15
- # - `id=<node id>`
16
- # - `label=<engine label>`
17
- # - `membership=`(`accepted`|`pending`)`
18
- # - `name=<node name>`
19
- # - `node.label=<node label>`
20
- # - `role=`(`manager`|`worker`)`
21
11
  #
22
12
  # @return [String, nil]
23
13
  optional :filters, String
24
14
 
25
15
  # @!method initialize(filters: nil, request_options: {})
26
- # Some parameter documentations has been truncated, see
27
- # {DockerEngineRuby::Models::NodeListParams} for more details.
28
- #
29
- # @param filters [String] Filters to process on the nodes list, encoded as JSON (a `map[string][]string`).
30
- #
16
+ # @param filters [String]
31
17
  # @param request_options [DockerEngineRuby::RequestOptions, Hash{Symbol=>Object}]
32
18
  end
33
19
  end
@@ -8,18 +8,12 @@ module DockerEngineRuby
8
8
  include DockerEngineRuby::Internal::Type::RequestParameters
9
9
 
10
10
  # @!attribute version
11
- # The version number of the node object being updated. This is required to avoid
12
- # conflicting writes.
13
11
  #
14
12
  # @return [Integer]
15
13
  required :version, Integer
16
14
 
17
15
  # @!method initialize(version:, request_options: {})
18
- # Some parameter documentations has been truncated, see
19
- # {DockerEngineRuby::Models::NodeUpdateParams} for more details.
20
- #
21
- # @param version [Integer] The version number of the node object being updated. This is required
22
- #
16
+ # @param version [Integer]
23
17
  # @param request_options [DockerEngineRuby::RequestOptions, Hash{Symbol=>Object}]
24
18
  end
25
19
  end
@@ -87,7 +87,6 @@ module DockerEngineRuby
87
87
  api_name: :Env
88
88
 
89
89
  # @!attribute interface
90
- # The interface between Docker and the plugin
91
90
  #
92
91
  # @return [DockerEngineRuby::Models::Plugin::Config::Interface]
93
92
  required :interface, -> { DockerEngineRuby::Plugin::Config::Interface }, api_name: :Interface
@@ -143,33 +142,19 @@ module DockerEngineRuby
143
142
  # The config of a plugin.
144
143
  #
145
144
  # @param args [DockerEngineRuby::Models::Plugin::Config::Args]
146
- #
147
145
  # @param description [String]
148
- #
149
146
  # @param documentation [String]
150
- #
151
147
  # @param entrypoint [Array<String>]
152
- #
153
148
  # @param env [Array<DockerEngineRuby::Models::Plugin::Config::Env>]
154
- #
155
- # @param interface [DockerEngineRuby::Models::Plugin::Config::Interface] The interface between Docker and the plugin
156
- #
149
+ # @param interface [DockerEngineRuby::Models::Plugin::Config::Interface]
157
150
  # @param ipc_host [Boolean]
158
- #
159
151
  # @param linux [DockerEngineRuby::Models::Plugin::Config::Linux]
160
- #
161
152
  # @param mounts [Array<DockerEngineRuby::Models::Plugin::Config::Mount>]
162
- #
163
153
  # @param network [DockerEngineRuby::Models::Plugin::Config::Network]
164
- #
165
154
  # @param pid_host [Boolean]
166
- #
167
155
  # @param propagated_mount [String]
168
- #
169
156
  # @param work_dir [String]
170
- #
171
157
  # @param rootfs [DockerEngineRuby::Models::Plugin::Config::Rootfs]
172
- #
173
158
  # @param user [DockerEngineRuby::Models::Plugin::Config::User]
174
159
 
175
160
  # @see DockerEngineRuby::Models::Plugin::Config#args
@@ -242,7 +227,6 @@ module DockerEngineRuby
242
227
  required :types, DockerEngineRuby::Internal::Type::ArrayOf[String], api_name: :Types
243
228
 
244
229
  # @!attribute protocol_scheme
245
- # Protocol to use for clients connecting to the plugin.
246
230
  #
247
231
  # @return [Symbol, DockerEngineRuby::Models::Plugin::Config::Interface::ProtocolScheme, nil]
248
232
  optional :protocol_scheme,
@@ -250,16 +234,10 @@ module DockerEngineRuby
250
234
  api_name: :ProtocolScheme
251
235
 
252
236
  # @!method initialize(socket:, types:, protocol_scheme: nil)
253
- # The interface between Docker and the plugin
254
- #
255
237
  # @param socket [String]
256
- #
257
238
  # @param types [Array<String>]
258
- #
259
- # @param protocol_scheme [Symbol, DockerEngineRuby::Models::Plugin::Config::Interface::ProtocolScheme] Protocol to use for clients connecting to the plugin.
239
+ # @param protocol_scheme [Symbol, DockerEngineRuby::Models::Plugin::Config::Interface::ProtocolScheme]
260
240
 
261
- # Protocol to use for clients connecting to the plugin.
262
- #
263
241
  # @see DockerEngineRuby::Models::Plugin::Config::Interface#protocol_scheme
264
242
  module ProtocolScheme
265
243
  extend DockerEngineRuby::Internal::Type::Enum