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
@@ -26,8 +26,8 @@ module DockerEngineRuby
26
26
  # Date and time at which the container was created, formatted in
27
27
  # [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
28
28
  #
29
- # @return [String, nil]
30
- optional :created, String, api_name: :Created, nil?: true
29
+ # @return [Time, nil]
30
+ optional :created, Time, api_name: :Created, nil?: true
31
31
 
32
32
  # @!attribute driver
33
33
  # The storage-driver used for the container's filesystem (graph-driver or
@@ -47,7 +47,10 @@ module DockerEngineRuby
47
47
  # filesystem.
48
48
  #
49
49
  # @return [DockerEngineRuby::Models::Container::GraphDriver, nil]
50
- optional :graph_driver, -> { DockerEngineRuby::Container::GraphDriver }, api_name: :GraphDriver
50
+ optional :graph_driver,
51
+ -> { DockerEngineRuby::Container::GraphDriver },
52
+ api_name: :GraphDriver,
53
+ nil?: true
51
54
 
52
55
  # @!attribute host_config
53
56
  # Container configuration that depends on the host we are running on
@@ -197,13 +200,13 @@ module DockerEngineRuby
197
200
  # and will be returned by the "inspect" command.
198
201
  #
199
202
  # @return [DockerEngineRuby::Models::Container::State, nil]
200
- optional :state, -> { DockerEngineRuby::Container::State }, api_name: :State, nil?: true
203
+ optional :state, -> { DockerEngineRuby::Container::State }, api_name: :State
201
204
 
202
205
  # @!attribute storage
203
206
  # Information about the storage used by the container.
204
207
  #
205
208
  # @return [DockerEngineRuby::Models::Container::Storage, nil]
206
- optional :storage, -> { DockerEngineRuby::Container::Storage }, api_name: :Storage
209
+ optional :storage, -> { DockerEngineRuby::Container::Storage }, api_name: :Storage, nil?: true
207
210
 
208
211
  # @!method initialize(app_armor_profile: nil, args: nil, config: nil, created: nil, driver: nil, exec_ids: nil, graph_driver: nil, host_config: nil, hostname_path: nil, hosts_path: nil, id: nil, image: nil, image_manifest_descriptor: nil, log_path: nil, mount_label: nil, mounts: nil, name: nil, network_settings: nil, path: nil, platform: nil, process_label: nil, resolv_conf_path: nil, restart_count: nil, size_root_fs: nil, size_rw: nil, state: nil, storage: nil)
209
212
  # Some parameter documentations has been truncated, see
@@ -215,13 +218,13 @@ module DockerEngineRuby
215
218
  #
216
219
  # @param config [DockerEngineRuby::Models::Config] Configuration for a container that is portable between hosts.
217
220
  #
218
- # @param created [String, nil] Date and time at which the container was created, formatted in
221
+ # @param created [Time, nil] Date and time at which the container was created, formatted in
219
222
  #
220
223
  # @param driver [String] The storage-driver used for the container's filesystem (graph-driver
221
224
  #
222
225
  # @param exec_ids [Array<String>, nil] IDs of exec instances that are running in the container.
223
226
  #
224
- # @param graph_driver [DockerEngineRuby::Models::Container::GraphDriver] Information about the storage driver used to store the container's and
227
+ # @param graph_driver [DockerEngineRuby::Models::Container::GraphDriver, nil] Information about the storage driver used to store the container's and
225
228
  #
226
229
  # @param host_config [DockerEngineRuby::Models::Container::HostConfig] Container configuration that depends on the host we are running on
227
230
  #
@@ -259,9 +262,9 @@ module DockerEngineRuby
259
262
  #
260
263
  # @param size_rw [Integer, nil] The size of files that have been created or changed by this container.
261
264
  #
262
- # @param state [DockerEngineRuby::Models::Container::State, nil] ContainerState stores container's running state. It's part of ContainerJSONBase
265
+ # @param state [DockerEngineRuby::Models::Container::State] ContainerState stores container's running state. It's part of ContainerJSONBase
263
266
  #
264
- # @param storage [DockerEngineRuby::Models::Container::Storage] Information about the storage used by the container.
267
+ # @param storage [DockerEngineRuby::Models::Container::Storage, nil] Information about the storage used by the container.
265
268
 
266
269
  # @see DockerEngineRuby::Models::Container#graph_driver
267
270
  class GraphDriver < DockerEngineRuby::Internal::Type::BaseModel
@@ -325,15 +328,15 @@ module DockerEngineRuby
325
328
  # set to `rw`, volumes are mounted read-write.
326
329
  # - `[z|Z]` applies SELinux labels to allow or deny multiple containers to read
327
330
  # and write to the same volume.
328
- # - `z`: a _shared_ content label is applied to the content. This label
329
- # indicates that multiple containers can share the volume content, for both
330
- # reading and writing.
331
- # - `Z`: a _private unshared_ label is applied to the content. This label
332
- # indicates that only the current container can use a private volume. Labeling
333
- # systems such as SELinux require proper labels to be placed on volume content
334
- # that is mounted into a container. Without a label, the security system can
335
- # prevent a container's processes from using the content. By default, the
336
- # labels set by the host operating system are not modified.
331
+ # - `z`: a _shared_ content label is applied to the content. This label indicates
332
+ # that multiple containers can share the volume content, for both reading and
333
+ # writing.
334
+ # - `Z`: a _private unshared_ label is applied to the content. This label
335
+ # indicates that only the current container can use a private volume. Labeling
336
+ # systems such as SELinux require proper labels to be placed on volume content
337
+ # that is mounted into a container. Without a label, the security system can
338
+ # prevent a container's processes from using the content. By default, the labels
339
+ # set by the host operating system are not modified.
337
340
  # - `[[r]shared|[r]slave|[r]private]` specifies mount
338
341
  # [propagation behavior](https://www.kernel.org/doc/Documentation/filesystems/sharedsubtree.txt).
339
342
  # This only applies to bind-mounted volumes, not internal volumes or named
@@ -748,12 +751,6 @@ module DockerEngineRuby
748
751
  optional :pids_limit, Integer, api_name: :PidsLimit, nil?: true
749
752
 
750
753
  # @!attribute port_bindings
751
- # PortMap describes the mapping of container ports to host ports, using the
752
- # container's port-number and protocol as key in the format `<port>/<protocol>`,
753
- # for example, `80/udp`.
754
- #
755
- # If a container's port is mapped for multiple protocols, separate entries are
756
- # added to the mapping table.
757
754
  #
758
755
  # @return [Hash{Symbol=>Array<DockerEngineRuby::Models::Container::HostConfig::PortBinding>}, nil]
759
756
  optional :port_bindings,
@@ -998,7 +995,7 @@ module DockerEngineRuby
998
995
  #
999
996
  # @param pids_limit [Integer, nil] Tune a container's PIDs limit. Set `0` or `-1` for unlimited, or `null`
1000
997
  #
1001
- # @param port_bindings [Hash{Symbol=>Array<DockerEngineRuby::Models::Container::HostConfig::PortBinding>}] PortMap describes the mapping of container ports to host ports, using the
998
+ # @param port_bindings [Hash{Symbol=>Array<DockerEngineRuby::Models::Container::HostConfig::PortBinding>}]
1002
999
  #
1003
1000
  # @param privileged [Boolean] Gives the container full access to the host.
1004
1001
  #
@@ -1244,14 +1241,11 @@ module DockerEngineRuby
1244
1241
  # @see DockerEngineRuby::Models::Container::HostConfig#log_config
1245
1242
  class LogConfig < DockerEngineRuby::Internal::Type::BaseModel
1246
1243
  # @!attribute config
1247
- # Driver-specific configuration options for the logging driver.
1248
1244
  #
1249
1245
  # @return [Hash{Symbol=>String}, nil]
1250
1246
  optional :config, DockerEngineRuby::Internal::Type::HashOf[String], api_name: :Config
1251
1247
 
1252
1248
  # @!attribute type
1253
- # Name of the logging driver used for the container or "none" if logging is
1254
- # disabled.
1255
1249
  #
1256
1250
  # @return [Symbol, DockerEngineRuby::Models::Container::HostConfig::LogConfig::Type, nil]
1257
1251
  optional :type,
@@ -1261,18 +1255,11 @@ module DockerEngineRuby
1261
1255
  api_name: :Type
1262
1256
 
1263
1257
  # @!method initialize(config: nil, type: nil)
1264
- # Some parameter documentations has been truncated, see
1265
- # {DockerEngineRuby::Models::Container::HostConfig::LogConfig} for more details.
1266
- #
1267
1258
  # The logging configuration for this container
1268
1259
  #
1269
- # @param config [Hash{Symbol=>String}] Driver-specific configuration options for the logging driver.
1270
- #
1271
- # @param type [Symbol, DockerEngineRuby::Models::Container::HostConfig::LogConfig::Type] Name of the logging driver used for the container or "none"
1260
+ # @param config [Hash{Symbol=>String}]
1261
+ # @param type [Symbol, DockerEngineRuby::Models::Container::HostConfig::LogConfig::Type]
1272
1262
 
1273
- # Name of the logging driver used for the container or "none" if logging is
1274
- # disabled.
1275
- #
1276
1263
  # @see DockerEngineRuby::Models::Container::HostConfig::LogConfig#type
1277
1264
  module Type
1278
1265
  extend DockerEngineRuby::Internal::Type::Enum
@@ -1394,7 +1381,6 @@ module DockerEngineRuby
1394
1381
  # @see DockerEngineRuby::Models::Container::HostConfig::Mount#bind_options
1395
1382
  class BindOptions < DockerEngineRuby::Internal::Type::BaseModel
1396
1383
  # @!attribute create_mountpoint
1397
- # Create mount point on host if missing
1398
1384
  #
1399
1385
  # @return [Boolean, nil]
1400
1386
  optional :create_mountpoint,
@@ -1402,13 +1388,11 @@ module DockerEngineRuby
1402
1388
  api_name: :CreateMountpoint
1403
1389
 
1404
1390
  # @!attribute non_recursive
1405
- # Disable recursive bind mount.
1406
1391
  #
1407
1392
  # @return [Boolean, nil]
1408
1393
  optional :non_recursive, DockerEngineRuby::Internal::Type::Boolean, api_name: :NonRecursive
1409
1394
 
1410
1395
  # @!attribute propagation
1411
- # A propagation mode with the value `[r]private`, `[r]shared`, or `[r]slave`.
1412
1396
  #
1413
1397
  # @return [Symbol, DockerEngineRuby::Models::Container::HostConfig::Mount::BindOptions::Propagation, nil]
1414
1398
  optional :propagation,
@@ -1416,7 +1400,6 @@ module DockerEngineRuby
1416
1400
  api_name: :Propagation
1417
1401
 
1418
1402
  # @!attribute read_only_force_recursive
1419
- # Raise an error if the mount cannot be made recursively read-only.
1420
1403
  #
1421
1404
  # @return [Boolean, nil]
1422
1405
  optional :read_only_force_recursive,
@@ -1424,12 +1407,6 @@ module DockerEngineRuby
1424
1407
  api_name: :ReadOnlyForceRecursive
1425
1408
 
1426
1409
  # @!attribute read_only_non_recursive
1427
- # Make the mount non-recursively read-only, but still leave the mount recursive
1428
- # (unless NonRecursive is set to `true` in conjunction).
1429
- #
1430
- # Added in v1.44, before that version all read-only mounts were non-recursive by
1431
- # default. To match the previous behaviour this will default to `true` for clients
1432
- # on versions prior to v1.44.
1433
1410
  #
1434
1411
  # @return [Boolean, nil]
1435
1412
  optional :read_only_non_recursive,
@@ -1437,24 +1414,14 @@ module DockerEngineRuby
1437
1414
  api_name: :ReadOnlyNonRecursive
1438
1415
 
1439
1416
  # @!method initialize(create_mountpoint: nil, non_recursive: nil, propagation: nil, read_only_force_recursive: nil, read_only_non_recursive: nil)
1440
- # Some parameter documentations has been truncated, see
1441
- # {DockerEngineRuby::Models::Container::HostConfig::Mount::BindOptions} for more
1442
- # details.
1443
- #
1444
1417
  # Optional configuration for the `bind` type.
1445
1418
  #
1446
- # @param create_mountpoint [Boolean] Create mount point on host if missing
1447
- #
1448
- # @param non_recursive [Boolean] Disable recursive bind mount.
1449
- #
1450
- # @param propagation [Symbol, DockerEngineRuby::Models::Container::HostConfig::Mount::BindOptions::Propagation] A propagation mode with the value `[r]private`, `[r]shared`, or `[r]slave`.
1451
- #
1452
- # @param read_only_force_recursive [Boolean] Raise an error if the mount cannot be made recursively read-only.
1453
- #
1454
- # @param read_only_non_recursive [Boolean] Make the mount non-recursively read-only, but still leave the mount recursive
1419
+ # @param create_mountpoint [Boolean]
1420
+ # @param non_recursive [Boolean]
1421
+ # @param propagation [Symbol, DockerEngineRuby::Models::Container::HostConfig::Mount::BindOptions::Propagation]
1422
+ # @param read_only_force_recursive [Boolean]
1423
+ # @param read_only_non_recursive [Boolean]
1455
1424
 
1456
- # A propagation mode with the value `[r]private`, `[r]shared`, or `[r]slave`.
1457
- #
1458
1425
  # @see DockerEngineRuby::Models::Container::HostConfig::Mount::BindOptions#propagation
1459
1426
  module Propagation
1460
1427
  extend DockerEngineRuby::Internal::Type::Enum
@@ -1474,7 +1441,6 @@ module DockerEngineRuby
1474
1441
  # @see DockerEngineRuby::Models::Container::HostConfig::Mount#image_options
1475
1442
  class ImageOptions < DockerEngineRuby::Internal::Type::BaseModel
1476
1443
  # @!attribute subpath
1477
- # Source path inside the image. Must be relative without any back traversals.
1478
1444
  #
1479
1445
  # @return [String, nil]
1480
1446
  optional :subpath, String, api_name: :Subpath
@@ -1482,23 +1448,17 @@ module DockerEngineRuby
1482
1448
  # @!method initialize(subpath: nil)
1483
1449
  # Optional configuration for the `image` type.
1484
1450
  #
1485
- # @param subpath [String] Source path inside the image. Must be relative without any back traversals.
1451
+ # @param subpath [String]
1486
1452
  end
1487
1453
 
1488
1454
  # @see DockerEngineRuby::Models::Container::HostConfig::Mount#tmpfs_options
1489
1455
  class TmpfsOptions < DockerEngineRuby::Internal::Type::BaseModel
1490
1456
  # @!attribute mode
1491
- # The permission mode for the tmpfs mount in an integer. The value must not be in
1492
- # octal format (e.g. 755) but rather the decimal representation of the octal value
1493
- # (e.g. 493).
1494
1457
  #
1495
1458
  # @return [Integer, nil]
1496
1459
  optional :mode, Integer, api_name: :Mode
1497
1460
 
1498
1461
  # @!attribute options
1499
- # The options to be passed to the tmpfs mount. An array of arrays. Flag options
1500
- # should be provided as 1-length arrays. Other types should be provided as as
1501
- # 2-length arrays, where the first item is the key and the second the value.
1502
1462
  #
1503
1463
  # @return [Array<Array<String>>, nil]
1504
1464
  optional :options,
@@ -1506,23 +1466,16 @@ module DockerEngineRuby
1506
1466
  api_name: :Options
1507
1467
 
1508
1468
  # @!attribute size_bytes
1509
- # The size for the tmpfs mount in bytes.
1510
1469
  #
1511
1470
  # @return [Integer, nil]
1512
1471
  optional :size_bytes, Integer, api_name: :SizeBytes
1513
1472
 
1514
1473
  # @!method initialize(mode: nil, options: nil, size_bytes: nil)
1515
- # Some parameter documentations has been truncated, see
1516
- # {DockerEngineRuby::Models::Container::HostConfig::Mount::TmpfsOptions} for more
1517
- # details.
1518
- #
1519
1474
  # Optional configuration for the `tmpfs` type.
1520
1475
  #
1521
- # @param mode [Integer] The permission mode for the tmpfs mount in an integer.
1522
- #
1523
- # @param options [Array<Array<String>>] The options to be passed to the tmpfs mount. An array of arrays.
1524
- #
1525
- # @param size_bytes [Integer] The size for the tmpfs mount in bytes.
1476
+ # @param mode [Integer]
1477
+ # @param options [Array<Array<String>>]
1478
+ # @param size_bytes [Integer]
1526
1479
  end
1527
1480
 
1528
1481
  # The mount type. Available types:
@@ -1552,7 +1505,6 @@ module DockerEngineRuby
1552
1505
  # @see DockerEngineRuby::Models::Container::HostConfig::Mount#volume_options
1553
1506
  class VolumeOptions < DockerEngineRuby::Internal::Type::BaseModel
1554
1507
  # @!attribute driver_config
1555
- # Map of driver specific options
1556
1508
  #
1557
1509
  # @return [DockerEngineRuby::Models::Container::HostConfig::Mount::VolumeOptions::DriverConfig, nil]
1558
1510
  optional :driver_config,
@@ -1560,19 +1512,16 @@ module DockerEngineRuby
1560
1512
  api_name: :DriverConfig
1561
1513
 
1562
1514
  # @!attribute labels
1563
- # User-defined key/value metadata.
1564
1515
  #
1565
1516
  # @return [Hash{Symbol=>String}, nil]
1566
1517
  optional :labels, DockerEngineRuby::Internal::Type::HashOf[String], api_name: :Labels
1567
1518
 
1568
1519
  # @!attribute no_copy
1569
- # Populate volume with data from the target.
1570
1520
  #
1571
1521
  # @return [Boolean, nil]
1572
1522
  optional :no_copy, DockerEngineRuby::Internal::Type::Boolean, api_name: :NoCopy
1573
1523
 
1574
1524
  # @!attribute subpath
1575
- # Source path inside the volume. Must be relative without any back traversals.
1576
1525
  #
1577
1526
  # @return [String, nil]
1578
1527
  optional :subpath, String, api_name: :Subpath
@@ -1580,34 +1529,26 @@ module DockerEngineRuby
1580
1529
  # @!method initialize(driver_config: nil, labels: nil, no_copy: nil, subpath: nil)
1581
1530
  # Optional configuration for the `volume` type.
1582
1531
  #
1583
- # @param driver_config [DockerEngineRuby::Models::Container::HostConfig::Mount::VolumeOptions::DriverConfig] Map of driver specific options
1584
- #
1585
- # @param labels [Hash{Symbol=>String}] User-defined key/value metadata.
1586
- #
1587
- # @param no_copy [Boolean] Populate volume with data from the target.
1588
- #
1589
- # @param subpath [String] Source path inside the volume. Must be relative without any back traversals.
1532
+ # @param driver_config [DockerEngineRuby::Models::Container::HostConfig::Mount::VolumeOptions::DriverConfig]
1533
+ # @param labels [Hash{Symbol=>String}]
1534
+ # @param no_copy [Boolean]
1535
+ # @param subpath [String]
1590
1536
 
1591
1537
  # @see DockerEngineRuby::Models::Container::HostConfig::Mount::VolumeOptions#driver_config
1592
1538
  class DriverConfig < DockerEngineRuby::Internal::Type::BaseModel
1593
1539
  # @!attribute name
1594
- # Name of the driver to use to create the volume.
1595
1540
  #
1596
1541
  # @return [String, nil]
1597
1542
  optional :name, String, api_name: :Name
1598
1543
 
1599
1544
  # @!attribute options
1600
- # key/value map of driver specific options.
1601
1545
  #
1602
1546
  # @return [Hash{Symbol=>String}, nil]
1603
1547
  optional :options, DockerEngineRuby::Internal::Type::HashOf[String], api_name: :Options
1604
1548
 
1605
1549
  # @!method initialize(name: nil, options: nil)
1606
- # Map of driver specific options
1607
- #
1608
- # @param name [String] Name of the driver to use to create the volume.
1609
- #
1610
- # @param options [Hash{Symbol=>String}] key/value map of driver specific options.
1550
+ # @param name [String]
1551
+ # @param options [Hash{Symbol=>String}]
1611
1552
  end
1612
1553
  end
1613
1554
  end
@@ -1694,29 +1635,24 @@ module DockerEngineRuby
1694
1635
 
1695
1636
  class Ulimit < DockerEngineRuby::Internal::Type::BaseModel
1696
1637
  # @!attribute hard
1697
- # Hard limit
1698
1638
  #
1699
1639
  # @return [Integer, nil]
1700
1640
  optional :hard, Integer, api_name: :Hard
1701
1641
 
1702
1642
  # @!attribute name
1703
- # Name of ulimit
1704
1643
  #
1705
1644
  # @return [String, nil]
1706
1645
  optional :name, String, api_name: :Name
1707
1646
 
1708
1647
  # @!attribute soft
1709
- # Soft limit
1710
1648
  #
1711
1649
  # @return [Integer, nil]
1712
1650
  optional :soft, Integer, api_name: :Soft
1713
1651
 
1714
1652
  # @!method initialize(hard: nil, name: nil, soft: nil)
1715
- # @param hard [Integer] Hard limit
1716
- #
1717
- # @param name [String] Name of ulimit
1718
- #
1719
- # @param soft [Integer] Soft limit
1653
+ # @param hard [Integer]
1654
+ # @param name [String]
1655
+ # @param soft [Integer]
1720
1656
  end
1721
1657
  end
1722
1658
 
@@ -1760,7 +1696,7 @@ module DockerEngineRuby
1760
1696
  # [OCI Image Index Specification](https://github.com/opencontainers/image-spec/blob/v1.0.1/image-index.md).
1761
1697
  #
1762
1698
  # @return [DockerEngineRuby::Models::Container::ImageManifestDescriptor::Platform, nil]
1763
- optional :platform, -> { DockerEngineRuby::Container::ImageManifestDescriptor::Platform }, nil?: true
1699
+ optional :platform, -> { DockerEngineRuby::Container::ImageManifestDescriptor::Platform }
1764
1700
 
1765
1701
  # @!attribute size
1766
1702
  # The size in bytes of the blob.
@@ -1791,7 +1727,7 @@ module DockerEngineRuby
1791
1727
  #
1792
1728
  # @param media_type [String] The media type of the object this schema refers to.
1793
1729
  #
1794
- # @param platform [DockerEngineRuby::Models::Container::ImageManifestDescriptor::Platform, nil] Describes the platform which the image in the manifest runs on, as defined
1730
+ # @param platform [DockerEngineRuby::Models::Container::ImageManifestDescriptor::Platform] Describes the platform which the image in the manifest runs on, as defined
1795
1731
  #
1796
1732
  # @param size [Integer] The size in bytes of the blob.
1797
1733
  #
@@ -1983,12 +1919,6 @@ module DockerEngineRuby
1983
1919
  api_name: :Networks
1984
1920
 
1985
1921
  # @!attribute ports
1986
- # PortMap describes the mapping of container ports to host ports, using the
1987
- # container's port-number and protocol as key in the format `<port>/<protocol>`,
1988
- # for example, `80/udp`.
1989
- #
1990
- # If a container's port is mapped for multiple protocols, separate entries are
1991
- # added to the mapping table.
1992
1922
  #
1993
1923
  # @return [Hash{Symbol=>Array<DockerEngineRuby::Models::Container::NetworkSettings::Port>}, nil]
1994
1924
  optional :ports,
@@ -2010,14 +1940,11 @@ module DockerEngineRuby
2010
1940
  optional :sandbox_key, String, api_name: :SandboxKey
2011
1941
 
2012
1942
  # @!method initialize(networks: nil, ports: nil, sandbox_id: nil, sandbox_key: nil)
2013
- # Some parameter documentations has been truncated, see
2014
- # {DockerEngineRuby::Models::Container::NetworkSettings} for more details.
2015
- #
2016
1943
  # NetworkSettings exposes the network settings in the API
2017
1944
  #
2018
1945
  # @param networks [Hash{Symbol=>DockerEngineRuby::Models::Container::NetworkSettings::Network}] Information about all networks that the container is connected to.
2019
1946
  #
2020
- # @param ports [Hash{Symbol=>Array<DockerEngineRuby::Models::Container::NetworkSettings::Port>}] PortMap describes the mapping of container ports to host ports, using the
1947
+ # @param ports [Hash{Symbol=>Array<DockerEngineRuby::Models::Container::NetworkSettings::Port>}]
2021
1948
  #
2022
1949
  # @param sandbox_id [String] SandboxID uniquely represents a container's network stack.
2023
1950
  #
@@ -2096,8 +2023,7 @@ module DockerEngineRuby
2096
2023
  # @return [DockerEngineRuby::Models::Container::NetworkSettings::Network::IpamConfig, nil]
2097
2024
  optional :ipam_config,
2098
2025
  -> { DockerEngineRuby::Container::NetworkSettings::Network::IpamConfig },
2099
- api_name: :IPAMConfig,
2100
- nil?: true
2026
+ api_name: :IPAMConfig
2101
2027
 
2102
2028
  # @!attribute ip_prefix_len
2103
2029
  # Mask length of the IPv4 address.
@@ -2154,7 +2080,7 @@ module DockerEngineRuby
2154
2080
  #
2155
2081
  # @param ip_address [String] IPv4 address.
2156
2082
  #
2157
- # @param ipam_config [DockerEngineRuby::Models::Container::NetworkSettings::Network::IpamConfig, nil] EndpointIPAMConfig represents an endpoint's IPAM configuration.
2083
+ # @param ipam_config [DockerEngineRuby::Models::Container::NetworkSettings::Network::IpamConfig] EndpointIPAMConfig represents an endpoint's IPAM configuration.
2158
2084
  #
2159
2085
  # @param ip_prefix_len [Integer] Mask length of the IPv4 address.
2160
2086
  #
@@ -2244,7 +2170,7 @@ module DockerEngineRuby
2244
2170
  # Health stores information about the container's healthcheck results.
2245
2171
  #
2246
2172
  # @return [DockerEngineRuby::Models::Container::State::Health, nil]
2247
- optional :health, -> { DockerEngineRuby::Container::State::Health }, api_name: :Health, nil?: true
2173
+ optional :health, -> { DockerEngineRuby::Container::State::Health }, api_name: :Health
2248
2174
 
2249
2175
  # @!attribute oom_killed
2250
2176
  # Whether a process within this container has been killed because it ran out of
@@ -2314,7 +2240,7 @@ module DockerEngineRuby
2314
2240
  #
2315
2241
  # @param finished_at [String] The time when this container last exited.
2316
2242
  #
2317
- # @param health [DockerEngineRuby::Models::Container::State::Health, nil] Health stores information about the container's healthcheck results.
2243
+ # @param health [DockerEngineRuby::Models::Container::State::Health] Health stores information about the container's healthcheck results.
2318
2244
  #
2319
2245
  # @param oom_killed [Boolean] Whether a process within this container has been killed because it ran
2320
2246
  #
@@ -2341,11 +2267,10 @@ module DockerEngineRuby
2341
2267
  # @!attribute log
2342
2268
  # Log contains the last few results (oldest first)
2343
2269
  #
2344
- # @return [Array<DockerEngineRuby::Models::Container::State::Health::Log, nil>, nil]
2270
+ # @return [Array<DockerEngineRuby::Models::Container::State::Health::Log>, nil]
2345
2271
  optional :log,
2346
2272
  -> {
2347
- DockerEngineRuby::Internal::Type::ArrayOf[DockerEngineRuby::Container::State::Health::Log,
2348
- nil?: true]
2273
+ DockerEngineRuby::Internal::Type::ArrayOf[DockerEngineRuby::Container::State::Health::Log]
2349
2274
  },
2350
2275
  api_name: :Log
2351
2276
 
@@ -2368,7 +2293,7 @@ module DockerEngineRuby
2368
2293
  #
2369
2294
  # @param failing_streak [Integer] FailingStreak is the number of consecutive failures
2370
2295
  #
2371
- # @param log [Array<DockerEngineRuby::Models::Container::State::Health::Log, nil>] Log contains the last few results (oldest first)
2296
+ # @param log [Array<DockerEngineRuby::Models::Container::State::Health::Log>] Log contains the last few results (oldest first)
2372
2297
  #
2373
2298
  # @param status [Symbol, DockerEngineRuby::Models::Container::State::Health::Status] Status is one of `none`, `starting`, `healthy` or `unhealthy`
2374
2299
 
@@ -2377,8 +2302,8 @@ module DockerEngineRuby
2377
2302
  # Date and time at which this check ended in
2378
2303
  # [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
2379
2304
  #
2380
- # @return [String, nil]
2381
- optional :end_, String, api_name: :End
2305
+ # @return [Time, nil]
2306
+ optional :end_, Time, api_name: :End
2382
2307
 
2383
2308
  # @!attribute exit_code
2384
2309
  # ExitCode meanings:
@@ -2410,7 +2335,7 @@ module DockerEngineRuby
2410
2335
  #
2411
2336
  # HealthcheckResult stores information about a single run of a healthcheck probe
2412
2337
  #
2413
- # @param end_ [String] Date and time at which this check ended in
2338
+ # @param end_ [Time] Date and time at which this check ended in
2414
2339
  #
2415
2340
  # @param exit_code [Integer] ExitCode meanings:
2416
2341
  #
@@ -2466,15 +2391,12 @@ module DockerEngineRuby
2466
2391
  # Information about the storage used for the container's root filesystem.
2467
2392
  #
2468
2393
  # @return [DockerEngineRuby::Models::Container::Storage::RootFs, nil]
2469
- optional :root_fs, -> { DockerEngineRuby::Container::Storage::RootFs }, api_name: :RootFS
2394
+ optional :root_fs, -> { DockerEngineRuby::Container::Storage::RootFs }, api_name: :RootFS, nil?: true
2470
2395
 
2471
2396
  # @!method initialize(root_fs: nil)
2472
- # Some parameter documentations has been truncated, see
2473
- # {DockerEngineRuby::Models::Container::Storage} for more details.
2474
- #
2475
2397
  # Information about the storage used by the container.
2476
2398
  #
2477
- # @param root_fs [DockerEngineRuby::Models::Container::Storage::RootFs] Information about the storage used for the container's root filesystem.
2399
+ # @param root_fs [DockerEngineRuby::Models::Container::Storage::RootFs, nil] Information about the storage used for the container's root filesystem.
2478
2400
 
2479
2401
  # @see DockerEngineRuby::Models::Container::Storage#root_fs
2480
2402
  class RootFs < DockerEngineRuby::Internal::Type::BaseModel
@@ -2483,18 +2405,14 @@ module DockerEngineRuby
2483
2405
  #
2484
2406
  # @return [DockerEngineRuby::Models::Container::Storage::RootFs::Snapshot, nil]
2485
2407
  optional :snapshot,
2486
- -> {
2487
- DockerEngineRuby::Container::Storage::RootFs::Snapshot
2488
- },
2489
- api_name: :Snapshot
2408
+ -> { DockerEngineRuby::Container::Storage::RootFs::Snapshot },
2409
+ api_name: :Snapshot,
2410
+ nil?: true
2490
2411
 
2491
2412
  # @!method initialize(snapshot: nil)
2492
- # Some parameter documentations has been truncated, see
2493
- # {DockerEngineRuby::Models::Container::Storage::RootFs} for more details.
2494
- #
2495
2413
  # Information about the storage used for the container's root filesystem.
2496
2414
  #
2497
- # @param snapshot [DockerEngineRuby::Models::Container::Storage::RootFs::Snapshot] Information about a snapshot backend of the container's root filesystem.
2415
+ # @param snapshot [DockerEngineRuby::Models::Container::Storage::RootFs::Snapshot, nil] Information about a snapshot backend of the container's root filesystem.
2498
2416
 
2499
2417
  # @see DockerEngineRuby::Models::Container::Storage::RootFs#snapshot
2500
2418
  class Snapshot < DockerEngineRuby::Internal::Type::BaseModel
@@ -8,14 +8,12 @@ module DockerEngineRuby
8
8
  include DockerEngineRuby::Internal::Type::RequestParameters
9
9
 
10
10
  # @!attribute path
11
- # Resource in the container’s filesystem to archive.
12
11
  #
13
12
  # @return [String]
14
13
  required :path, String
15
14
 
16
15
  # @!method initialize(path:, request_options: {})
17
- # @param path [String] Resource in the container’s filesystem to archive.
18
- #
16
+ # @param path [String]
19
17
  # @param request_options [DockerEngineRuby::RequestOptions, Hash{Symbol=>Object}]
20
18
  end
21
19
  end
@@ -8,65 +8,42 @@ module DockerEngineRuby
8
8
  include DockerEngineRuby::Internal::Type::RequestParameters
9
9
 
10
10
  # @!attribute detach_keys
11
- # Override the key sequence for detaching a container.Format is a single character
12
- # `[a-Z]` or `ctrl-<value>` where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,`
13
- # or `_`.
14
11
  #
15
12
  # @return [String, nil]
16
13
  optional :detach_keys, String
17
14
 
18
15
  # @!attribute logs
19
- # Replay previous logs from the container.
20
- #
21
- # This is useful for attaching to a container that has started and you want to
22
- # output everything since the container started.
23
- #
24
- # If `stream` is also enabled, once all the previous output has been returned, it
25
- # will seamlessly transition into streaming current output.
26
16
  #
27
17
  # @return [Boolean, nil]
28
18
  optional :logs, DockerEngineRuby::Internal::Type::Boolean
29
19
 
30
20
  # @!attribute stderr
31
- # Attach to `stderr`
32
21
  #
33
22
  # @return [Boolean, nil]
34
23
  optional :stderr, DockerEngineRuby::Internal::Type::Boolean
35
24
 
36
25
  # @!attribute stdin
37
- # Attach to `stdin`
38
26
  #
39
27
  # @return [Boolean, nil]
40
28
  optional :stdin, DockerEngineRuby::Internal::Type::Boolean
41
29
 
42
30
  # @!attribute stdout
43
- # Attach to `stdout`
44
31
  #
45
32
  # @return [Boolean, nil]
46
33
  optional :stdout, DockerEngineRuby::Internal::Type::Boolean
47
34
 
48
35
  # @!attribute stream
49
- # Stream attached streams from the time the request was made onwards.
50
36
  #
51
37
  # @return [Boolean, nil]
52
38
  optional :stream, DockerEngineRuby::Internal::Type::Boolean
53
39
 
54
40
  # @!method initialize(detach_keys: nil, logs: nil, stderr: nil, stdin: nil, stdout: nil, stream: nil, request_options: {})
55
- # Some parameter documentations has been truncated, see
56
- # {DockerEngineRuby::Models::ContainerAttachParams} for more details.
57
- #
58
- # @param detach_keys [String] Override the key sequence for detaching a container.Format is a single
59
- #
60
- # @param logs [Boolean] Replay previous logs from the container.
61
- #
62
- # @param stderr [Boolean] Attach to `stderr`
63
- #
64
- # @param stdin [Boolean] Attach to `stdin`
65
- #
66
- # @param stdout [Boolean] Attach to `stdout`
67
- #
68
- # @param stream [Boolean] Stream attached streams from the time the request was made onwards.
69
- #
41
+ # @param detach_keys [String]
42
+ # @param logs [Boolean]
43
+ # @param stderr [Boolean]
44
+ # @param stdin [Boolean]
45
+ # @param stdout [Boolean]
46
+ # @param stream [Boolean]
70
47
  # @param request_options [DockerEngineRuby::RequestOptions, Hash{Symbol=>Object}]
71
48
  end
72
49
  end