docker-engine-api 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.ignore +2 -0
- data/CHANGELOG.md +33 -0
- data/README.md +232 -0
- data/SECURITY.md +27 -0
- data/lib/docker_engine_api/client.rb +109 -0
- data/lib/docker_engine_api/errors.rb +228 -0
- data/lib/docker_engine_api/file_part.rb +58 -0
- data/lib/docker_engine_api/internal/transport/base_client.rb +571 -0
- data/lib/docker_engine_api/internal/transport/pooled_net_requester.rb +210 -0
- data/lib/docker_engine_api/internal/type/array_of.rb +168 -0
- data/lib/docker_engine_api/internal/type/base_model.rb +534 -0
- data/lib/docker_engine_api/internal/type/base_page.rb +55 -0
- data/lib/docker_engine_api/internal/type/boolean.rb +77 -0
- data/lib/docker_engine_api/internal/type/converter.rb +327 -0
- data/lib/docker_engine_api/internal/type/enum.rb +131 -0
- data/lib/docker_engine_api/internal/type/file_input.rb +111 -0
- data/lib/docker_engine_api/internal/type/hash_of.rb +188 -0
- data/lib/docker_engine_api/internal/type/request_parameters.rb +42 -0
- data/lib/docker_engine_api/internal/type/union.rb +245 -0
- data/lib/docker_engine_api/internal/type/unknown.rb +81 -0
- data/lib/docker_engine_api/internal/util.rb +920 -0
- data/lib/docker_engine_api/internal.rb +20 -0
- data/lib/docker_engine_api/models/auth_login_params.rb +32 -0
- data/lib/docker_engine_api/models/auth_response.rb +27 -0
- data/lib/docker_engine_api/models/config.rb +307 -0
- data/lib/docker_engine_api/models/config_create_params.rb +24 -0
- data/lib/docker_engine_api/models/config_create_response.rb +19 -0
- data/lib/docker_engine_api/models/config_delete_params.rb +14 -0
- data/lib/docker_engine_api/models/config_inspect_params.rb +14 -0
- data/lib/docker_engine_api/models/config_list_params.rb +33 -0
- data/lib/docker_engine_api/models/config_list_response.rb +8 -0
- data/lib/docker_engine_api/models/config_update_params.rb +26 -0
- data/lib/docker_engine_api/models/connect_request.rb +198 -0
- data/lib/docker_engine_api/models/container.rb +2515 -0
- data/lib/docker_engine_api/models/container_archive_params.rb +22 -0
- data/lib/docker_engine_api/models/container_attach_params.rb +73 -0
- data/lib/docker_engine_api/models/container_changes_params.rb +14 -0
- data/lib/docker_engine_api/models/container_changes_response.rb +9 -0
- data/lib/docker_engine_api/models/container_create_params.rb +1720 -0
- data/lib/docker_engine_api/models/container_delete_params.rb +38 -0
- data/lib/docker_engine_api/models/container_exec_params.rb +111 -0
- data/lib/docker_engine_api/models/container_exec_response.rb +19 -0
- data/lib/docker_engine_api/models/container_export_params.rb +14 -0
- data/lib/docker_engine_api/models/container_inspect_params.rb +22 -0
- data/lib/docker_engine_api/models/container_kill_params.rb +25 -0
- data/lib/docker_engine_api/models/container_list_params.rb +70 -0
- data/lib/docker_engine_api/models/container_list_response.rb +8 -0
- data/lib/docker_engine_api/models/container_logs_params.rb +74 -0
- data/lib/docker_engine_api/models/container_pause_params.rb +14 -0
- data/lib/docker_engine_api/models/container_prune_params.rb +35 -0
- data/lib/docker_engine_api/models/container_prune_response.rb +27 -0
- data/lib/docker_engine_api/models/container_rename_params.rb +22 -0
- data/lib/docker_engine_api/models/container_resize_params.rb +30 -0
- data/lib/docker_engine_api/models/container_restart_params.rb +33 -0
- data/lib/docker_engine_api/models/container_start_params.rb +27 -0
- data/lib/docker_engine_api/models/container_stats_params.rb +35 -0
- data/lib/docker_engine_api/models/container_stop_params.rb +33 -0
- data/lib/docker_engine_api/models/container_top_params.rb +22 -0
- data/lib/docker_engine_api/models/container_unpause_params.rb +14 -0
- data/lib/docker_engine_api/models/container_update_params.rb +606 -0
- data/lib/docker_engine_api/models/container_wait_params.rb +41 -0
- data/lib/docker_engine_api/models/create_request.rb +348 -0
- data/lib/docker_engine_api/models/create_response.rb +27 -0
- data/lib/docker_engine_api/models/delete_item.rb +24 -0
- data/lib/docker_engine_api/models/disconnect_request.rb +27 -0
- data/lib/docker_engine_api/models/distribution_inspect_params.rb +14 -0
- data/lib/docker_engine_api/models/error.rb +18 -0
- data/lib/docker_engine_api/models/exec_inspect_params.rb +14 -0
- data/lib/docker_engine_api/models/exec_inspect_response.rb +87 -0
- data/lib/docker_engine_api/models/exec_resize_params.rb +30 -0
- data/lib/docker_engine_api/models/exec_start_params.rb +41 -0
- data/lib/docker_engine_api/models/filesystem_change.rb +55 -0
- data/lib/docker_engine_api/models/history_item.rb +47 -0
- data/lib/docker_engine_api/models/image.rb +1395 -0
- data/lib/docker_engine_api/models/image_build_params.rb +283 -0
- data/lib/docker_engine_api/models/image_build_prune_params.rb +71 -0
- data/lib/docker_engine_api/models/image_build_prune_response.rb +24 -0
- data/lib/docker_engine_api/models/image_commit_params.rb +70 -0
- data/lib/docker_engine_api/models/image_commit_response.rb +19 -0
- data/lib/docker_engine_api/models/image_delete_params.rb +43 -0
- data/lib/docker_engine_api/models/image_delete_response.rb +8 -0
- data/lib/docker_engine_api/models/image_get_all_params.rb +37 -0
- data/lib/docker_engine_api/models/image_get_params.rb +29 -0
- data/lib/docker_engine_api/models/image_history_params.rb +34 -0
- data/lib/docker_engine_api/models/image_history_response.rb +8 -0
- data/lib/docker_engine_api/models/image_inspect_params.rb +22 -0
- data/lib/docker_engine_api/models/image_list_params.rb +68 -0
- data/lib/docker_engine_api/models/image_list_response.rb +8 -0
- data/lib/docker_engine_api/models/image_load_params.rb +44 -0
- data/lib/docker_engine_api/models/image_prune_params.rb +35 -0
- data/lib/docker_engine_api/models/image_prune_response.rb +27 -0
- data/lib/docker_engine_api/models/image_pull_params.rb +115 -0
- data/lib/docker_engine_api/models/image_push_params.rb +49 -0
- data/lib/docker_engine_api/models/image_search_params.rb +45 -0
- data/lib/docker_engine_api/models/image_search_response.rb +55 -0
- data/lib/docker_engine_api/models/image_tag_params.rb +30 -0
- data/lib/docker_engine_api/models/info.rb +1488 -0
- data/lib/docker_engine_api/models/inspect.rb +221 -0
- data/lib/docker_engine_api/models/inspect_response.rb +39 -0
- data/lib/docker_engine_api/models/list_response.rb +32 -0
- data/lib/docker_engine_api/models/network.rb +253 -0
- data/lib/docker_engine_api/models/network_connect_params.rb +14 -0
- data/lib/docker_engine_api/models/network_create_params.rb +210 -0
- data/lib/docker_engine_api/models/network_delete_params.rb +14 -0
- data/lib/docker_engine_api/models/network_disconnect_params.rb +14 -0
- data/lib/docker_engine_api/models/network_inspect_params.rb +30 -0
- data/lib/docker_engine_api/models/network_inspect_response.rb +131 -0
- data/lib/docker_engine_api/models/network_list_params.rb +40 -0
- data/lib/docker_engine_api/models/network_list_response.rb +8 -0
- data/lib/docker_engine_api/models/network_prune_params.rb +35 -0
- data/lib/docker_engine_api/models/network_prune_response.rb +17 -0
- data/lib/docker_engine_api/models/node.rb +459 -0
- data/lib/docker_engine_api/models/node_delete_params.rb +22 -0
- data/lib/docker_engine_api/models/node_inspect_params.rb +14 -0
- data/lib/docker_engine_api/models/node_list_params.rb +34 -0
- data/lib/docker_engine_api/models/node_list_response.rb +8 -0
- data/lib/docker_engine_api/models/node_update_params.rb +26 -0
- data/lib/docker_engine_api/models/plugin.rb +532 -0
- data/lib/docker_engine_api/models/plugin_create_params.rb +33 -0
- data/lib/docker_engine_api/models/plugin_delete_params.rb +26 -0
- data/lib/docker_engine_api/models/plugin_disable_params.rb +25 -0
- data/lib/docker_engine_api/models/plugin_enable_params.rb +22 -0
- data/lib/docker_engine_api/models/plugin_inspect_params.rb +14 -0
- data/lib/docker_engine_api/models/plugin_list_params.rb +31 -0
- data/lib/docker_engine_api/models/plugin_list_response.rb +8 -0
- data/lib/docker_engine_api/models/plugin_privileges_params.rb +26 -0
- data/lib/docker_engine_api/models/plugin_privileges_response.rb +8 -0
- data/lib/docker_engine_api/models/plugin_pull_params.rb +51 -0
- data/lib/docker_engine_api/models/plugin_push_params.rb +14 -0
- data/lib/docker_engine_api/models/plugin_set_params.rb +20 -0
- data/lib/docker_engine_api/models/plugin_upgrade_params.rb +41 -0
- data/lib/docker_engine_api/models/privilege.rb +29 -0
- data/lib/docker_engine_api/models/secret.rb +77 -0
- data/lib/docker_engine_api/models/secret_create_params.rb +24 -0
- data/lib/docker_engine_api/models/secret_create_response.rb +19 -0
- data/lib/docker_engine_api/models/secret_delete_params.rb +14 -0
- data/lib/docker_engine_api/models/secret_inspect_params.rb +14 -0
- data/lib/docker_engine_api/models/secret_list_params.rb +33 -0
- data/lib/docker_engine_api/models/secret_list_response.rb +8 -0
- data/lib/docker_engine_api/models/secret_update_params.rb +26 -0
- data/lib/docker_engine_api/models/service.rb +524 -0
- data/lib/docker_engine_api/models/service_create_params.rb +34 -0
- data/lib/docker_engine_api/models/service_delete_params.rb +14 -0
- data/lib/docker_engine_api/models/service_inspect_params.rb +22 -0
- data/lib/docker_engine_api/models/service_list_params.rb +41 -0
- data/lib/docker_engine_api/models/service_list_response.rb +8 -0
- data/lib/docker_engine_api/models/service_logs_params.rb +74 -0
- data/lib/docker_engine_api/models/service_update_params.rb +78 -0
- data/lib/docker_engine_api/models/spec.rb +510 -0
- data/lib/docker_engine_api/models/stats_response.rb +950 -0
- data/lib/docker_engine_api/models/summary.rb +767 -0
- data/lib/docker_engine_api/models/swarm.rb +198 -0
- data/lib/docker_engine_api/models/swarm_init_params.rb +101 -0
- data/lib/docker_engine_api/models/swarm_init_response.rb +7 -0
- data/lib/docker_engine_api/models/swarm_inspect_params.rb +14 -0
- data/lib/docker_engine_api/models/swarm_join_params.rb +70 -0
- data/lib/docker_engine_api/models/swarm_leave_params.rb +26 -0
- data/lib/docker_engine_api/models/swarm_unlock_key_params.rb +14 -0
- data/lib/docker_engine_api/models/swarm_unlock_key_response.rb +17 -0
- data/lib/docker_engine_api/models/swarm_unlock_params.rb +22 -0
- data/lib/docker_engine_api/models/swarm_update_params.rb +50 -0
- data/lib/docker_engine_api/models/system_data_usage_params.rb +46 -0
- data/lib/docker_engine_api/models/system_data_usage_response.rb +260 -0
- data/lib/docker_engine_api/models/system_events_params.rb +58 -0
- data/lib/docker_engine_api/models/system_events_response.rb +126 -0
- data/lib/docker_engine_api/models/system_info_params.rb +14 -0
- data/lib/docker_engine_api/models/system_ping_params.rb +14 -0
- data/lib/docker_engine_api/models/system_ping_response.rb +7 -0
- data/lib/docker_engine_api/models/system_version_params.rb +14 -0
- data/lib/docker_engine_api/models/task.rb +471 -0
- data/lib/docker_engine_api/models/task_inspect_params.rb +14 -0
- data/lib/docker_engine_api/models/task_list_params.rb +35 -0
- data/lib/docker_engine_api/models/task_list_response.rb +8 -0
- data/lib/docker_engine_api/models/task_logs_params.rb +74 -0
- data/lib/docker_engine_api/models/top_response.rb +33 -0
- data/lib/docker_engine_api/models/update_response.rb +19 -0
- data/lib/docker_engine_api/models/version.rb +164 -0
- data/lib/docker_engine_api/models/volume.rb +651 -0
- data/lib/docker_engine_api/models/volume_create_params.rb +14 -0
- data/lib/docker_engine_api/models/volume_delete_params.rb +22 -0
- data/lib/docker_engine_api/models/volume_inspect_params.rb +14 -0
- data/lib/docker_engine_api/models/volume_list_params.rb +34 -0
- data/lib/docker_engine_api/models/volume_prune_params.rb +33 -0
- data/lib/docker_engine_api/models/volume_prune_response.rb +25 -0
- data/lib/docker_engine_api/models/volume_update_params.rb +325 -0
- data/lib/docker_engine_api/models/wait_response.rb +41 -0
- data/lib/docker_engine_api/models.rb +312 -0
- data/lib/docker_engine_api/request_options.rb +78 -0
- data/lib/docker_engine_api/resources/auth.rb +38 -0
- data/lib/docker_engine_api/resources/configs.rb +130 -0
- data/lib/docker_engine_api/resources/containers.rb +854 -0
- data/lib/docker_engine_api/resources/distribution.rb +34 -0
- data/lib/docker_engine_api/resources/exec.rb +91 -0
- data/lib/docker_engine_api/resources/images.rb +676 -0
- data/lib/docker_engine_api/resources/networks.rb +218 -0
- data/lib/docker_engine_api/resources/nodes.rb +113 -0
- data/lib/docker_engine_api/resources/plugins.rb +317 -0
- data/lib/docker_engine_api/resources/secrets.rb +130 -0
- data/lib/docker_engine_api/resources/services.rb +195 -0
- data/lib/docker_engine_api/resources/swarm.rb +183 -0
- data/lib/docker_engine_api/resources/system.rb +155 -0
- data/lib/docker_engine_api/resources/tasks.rb +103 -0
- data/lib/docker_engine_api/resources/volumes.rb +161 -0
- data/lib/docker_engine_api/version.rb +5 -0
- data/lib/docker_engine_api.rb +234 -0
- data/manifest.yaml +17 -0
- data/rbi/docker_engine_api/client.rbi +80 -0
- data/rbi/docker_engine_api/errors.rbi +205 -0
- data/rbi/docker_engine_api/file_part.rbi +37 -0
- data/rbi/docker_engine_api/internal/transport/base_client.rbi +304 -0
- data/rbi/docker_engine_api/internal/transport/pooled_net_requester.rbi +84 -0
- data/rbi/docker_engine_api/internal/type/array_of.rbi +108 -0
- data/rbi/docker_engine_api/internal/type/base_model.rbi +314 -0
- data/rbi/docker_engine_api/internal/type/base_page.rbi +43 -0
- data/rbi/docker_engine_api/internal/type/boolean.rbi +58 -0
- data/rbi/docker_engine_api/internal/type/converter.rbi +225 -0
- data/rbi/docker_engine_api/internal/type/enum.rbi +82 -0
- data/rbi/docker_engine_api/internal/type/file_input.rbi +59 -0
- data/rbi/docker_engine_api/internal/type/hash_of.rbi +108 -0
- data/rbi/docker_engine_api/internal/type/request_parameters.rbi +31 -0
- data/rbi/docker_engine_api/internal/type/union.rbi +134 -0
- data/rbi/docker_engine_api/internal/type/unknown.rbi +58 -0
- data/rbi/docker_engine_api/internal/util.rbi +487 -0
- data/rbi/docker_engine_api/internal.rbi +18 -0
- data/rbi/docker_engine_api/models/auth_login_params.rbi +65 -0
- data/rbi/docker_engine_api/models/auth_response.rbi +42 -0
- data/rbi/docker_engine_api/models/config.rbi +442 -0
- data/rbi/docker_engine_api/models/config_create_params.rbi +64 -0
- data/rbi/docker_engine_api/models/config_create_response.rbi +31 -0
- data/rbi/docker_engine_api/models/config_delete_params.rbi +32 -0
- data/rbi/docker_engine_api/models/config_inspect_params.rbi +32 -0
- data/rbi/docker_engine_api/models/config_list_params.rbi +62 -0
- data/rbi/docker_engine_api/models/config_list_response.rbi +11 -0
- data/rbi/docker_engine_api/models/config_update_params.rbi +45 -0
- data/rbi/docker_engine_api/models/connect_request.rbi +343 -0
- data/rbi/docker_engine_api/models/container.rbi +4645 -0
- data/rbi/docker_engine_api/models/container_archive_params.rbi +43 -0
- data/rbi/docker_engine_api/models/container_attach_params.rbi +120 -0
- data/rbi/docker_engine_api/models/container_changes_params.rbi +32 -0
- data/rbi/docker_engine_api/models/container_changes_response.rbi +13 -0
- data/rbi/docker_engine_api/models/container_create_params.rbi +3301 -0
- data/rbi/docker_engine_api/models/container_delete_params.rbi +71 -0
- data/rbi/docker_engine_api/models/container_exec_params.rbi +162 -0
- data/rbi/docker_engine_api/models/container_exec_response.rbi +31 -0
- data/rbi/docker_engine_api/models/container_export_params.rbi +32 -0
- data/rbi/docker_engine_api/models/container_inspect_params.rbi +46 -0
- data/rbi/docker_engine_api/models/container_kill_params.rbi +46 -0
- data/rbi/docker_engine_api/models/container_list_params.rbi +124 -0
- data/rbi/docker_engine_api/models/container_list_response.rbi +11 -0
- data/rbi/docker_engine_api/models/container_logs_params.rbi +117 -0
- data/rbi/docker_engine_api/models/container_pause_params.rbi +32 -0
- data/rbi/docker_engine_api/models/container_prune_params.rbi +66 -0
- data/rbi/docker_engine_api/models/container_prune_response.rbi +51 -0
- data/rbi/docker_engine_api/models/container_rename_params.rbi +43 -0
- data/rbi/docker_engine_api/models/container_resize_params.rbi +54 -0
- data/rbi/docker_engine_api/models/container_restart_params.rbi +60 -0
- data/rbi/docker_engine_api/models/container_start_params.rbi +53 -0
- data/rbi/docker_engine_api/models/container_stats_params.rbi +64 -0
- data/rbi/docker_engine_api/models/container_stop_params.rbi +60 -0
- data/rbi/docker_engine_api/models/container_top_params.rbi +46 -0
- data/rbi/docker_engine_api/models/container_unpause_params.rbi +32 -0
- data/rbi/docker_engine_api/models/container_update_params.rbi +1121 -0
- data/rbi/docker_engine_api/models/container_wait_params.rbi +101 -0
- data/rbi/docker_engine_api/models/create_request.rbi +708 -0
- data/rbi/docker_engine_api/models/create_response.rbi +39 -0
- data/rbi/docker_engine_api/models/delete_item.rbi +41 -0
- data/rbi/docker_engine_api/models/disconnect_request.rbi +43 -0
- data/rbi/docker_engine_api/models/distribution_inspect_params.rbi +32 -0
- data/rbi/docker_engine_api/models/error.rbi +28 -0
- data/rbi/docker_engine_api/models/exec_inspect_params.rbi +32 -0
- data/rbi/docker_engine_api/models/exec_inspect_response.rbi +135 -0
- data/rbi/docker_engine_api/models/exec_resize_params.rbi +54 -0
- data/rbi/docker_engine_api/models/exec_start_params.rbi +68 -0
- data/rbi/docker_engine_api/models/filesystem_change.rbi +93 -0
- data/rbi/docker_engine_api/models/history_item.rbi +62 -0
- data/rbi/docker_engine_api/models/image.rbi +2353 -0
- data/rbi/docker_engine_api/models/image_build_params.rbi +434 -0
- data/rbi/docker_engine_api/models/image_build_prune_params.rbi +121 -0
- data/rbi/docker_engine_api/models/image_build_prune_response.rbi +49 -0
- data/rbi/docker_engine_api/models/image_commit_params.rbi +115 -0
- data/rbi/docker_engine_api/models/image_commit_response.rbi +31 -0
- data/rbi/docker_engine_api/models/image_delete_params.rbi +75 -0
- data/rbi/docker_engine_api/models/image_delete_response.rbi +11 -0
- data/rbi/docker_engine_api/models/image_get_all_params.rbi +68 -0
- data/rbi/docker_engine_api/models/image_get_params.rbi +57 -0
- data/rbi/docker_engine_api/models/image_history_params.rbi +64 -0
- data/rbi/docker_engine_api/models/image_history_response.rbi +11 -0
- data/rbi/docker_engine_api/models/image_inspect_params.rbi +49 -0
- data/rbi/docker_engine_api/models/image_list_params.rbi +115 -0
- data/rbi/docker_engine_api/models/image_list_response.rbi +11 -0
- data/rbi/docker_engine_api/models/image_load_params.rbi +74 -0
- data/rbi/docker_engine_api/models/image_prune_params.rbi +66 -0
- data/rbi/docker_engine_api/models/image_prune_response.rbi +58 -0
- data/rbi/docker_engine_api/models/image_pull_params.rbi +189 -0
- data/rbi/docker_engine_api/models/image_push_params.rbi +84 -0
- data/rbi/docker_engine_api/models/image_search_params.rbi +76 -0
- data/rbi/docker_engine_api/models/image_search_response.rbi +95 -0
- data/rbi/docker_engine_api/models/image_tag_params.rbi +60 -0
- data/rbi/docker_engine_api/models/info.rbi +2564 -0
- data/rbi/docker_engine_api/models/inspect.rbi +359 -0
- data/rbi/docker_engine_api/models/inspect_response.rbi +77 -0
- data/rbi/docker_engine_api/models/list_response.rbi +55 -0
- data/rbi/docker_engine_api/models/network.rbi +427 -0
- data/rbi/docker_engine_api/models/network_connect_params.rbi +32 -0
- data/rbi/docker_engine_api/models/network_create_params.rbi +373 -0
- data/rbi/docker_engine_api/models/network_delete_params.rbi +32 -0
- data/rbi/docker_engine_api/models/network_disconnect_params.rbi +32 -0
- data/rbi/docker_engine_api/models/network_inspect_params.rbi +60 -0
- data/rbi/docker_engine_api/models/network_inspect_response.rbi +336 -0
- data/rbi/docker_engine_api/models/network_list_params.rbi +76 -0
- data/rbi/docker_engine_api/models/network_list_response.rbi +11 -0
- data/rbi/docker_engine_api/models/network_prune_params.rbi +66 -0
- data/rbi/docker_engine_api/models/network_prune_response.rbi +35 -0
- data/rbi/docker_engine_api/models/node.rbi +909 -0
- data/rbi/docker_engine_api/models/node_delete_params.rbi +49 -0
- data/rbi/docker_engine_api/models/node_inspect_params.rbi +32 -0
- data/rbi/docker_engine_api/models/node_list_params.rbi +64 -0
- data/rbi/docker_engine_api/models/node_list_response.rbi +11 -0
- data/rbi/docker_engine_api/models/node_update_params.rbi +45 -0
- data/rbi/docker_engine_api/models/plugin.rbi +835 -0
- data/rbi/docker_engine_api/models/plugin_create_params.rbi +54 -0
- data/rbi/docker_engine_api/models/plugin_delete_params.rbi +51 -0
- data/rbi/docker_engine_api/models/plugin_disable_params.rbi +49 -0
- data/rbi/docker_engine_api/models/plugin_enable_params.rbi +46 -0
- data/rbi/docker_engine_api/models/plugin_inspect_params.rbi +32 -0
- data/rbi/docker_engine_api/models/plugin_list_params.rbi +58 -0
- data/rbi/docker_engine_api/models/plugin_list_response.rbi +11 -0
- data/rbi/docker_engine_api/models/plugin_privileges_params.rbi +45 -0
- data/rbi/docker_engine_api/models/plugin_privileges_response.rbi +11 -0
- data/rbi/docker_engine_api/models/plugin_pull_params.rbi +83 -0
- data/rbi/docker_engine_api/models/plugin_push_params.rbi +32 -0
- data/rbi/docker_engine_api/models/plugin_set_params.rbi +44 -0
- data/rbi/docker_engine_api/models/plugin_upgrade_params.rbi +68 -0
- data/rbi/docker_engine_api/models/privilege.rbi +49 -0
- data/rbi/docker_engine_api/models/secret.rbi +125 -0
- data/rbi/docker_engine_api/models/secret_create_params.rbi +64 -0
- data/rbi/docker_engine_api/models/secret_create_response.rbi +31 -0
- data/rbi/docker_engine_api/models/secret_delete_params.rbi +32 -0
- data/rbi/docker_engine_api/models/secret_inspect_params.rbi +32 -0
- data/rbi/docker_engine_api/models/secret_list_params.rbi +62 -0
- data/rbi/docker_engine_api/models/secret_list_response.rbi +11 -0
- data/rbi/docker_engine_api/models/secret_update_params.rbi +45 -0
- data/rbi/docker_engine_api/models/service.rbi +1093 -0
- data/rbi/docker_engine_api/models/service_create_params.rbi +79 -0
- data/rbi/docker_engine_api/models/service_delete_params.rbi +32 -0
- data/rbi/docker_engine_api/models/service_inspect_params.rbi +49 -0
- data/rbi/docker_engine_api/models/service_list_params.rbi +76 -0
- data/rbi/docker_engine_api/models/service_list_response.rbi +11 -0
- data/rbi/docker_engine_api/models/service_logs_params.rbi +117 -0
- data/rbi/docker_engine_api/models/service_update_params.rbi +168 -0
- data/rbi/docker_engine_api/models/spec.rbi +1030 -0
- data/rbi/docker_engine_api/models/stats_response.rbi +1772 -0
- data/rbi/docker_engine_api/models/summary.rbi +1332 -0
- data/rbi/docker_engine_api/models/swarm.rbi +315 -0
- data/rbi/docker_engine_api/models/swarm_init_params.rbi +162 -0
- data/rbi/docker_engine_api/models/swarm_init_response.rbi +7 -0
- data/rbi/docker_engine_api/models/swarm_inspect_params.rbi +32 -0
- data/rbi/docker_engine_api/models/swarm_join_params.rbi +119 -0
- data/rbi/docker_engine_api/models/swarm_leave_params.rbi +51 -0
- data/rbi/docker_engine_api/models/swarm_unlock_key_params.rbi +32 -0
- data/rbi/docker_engine_api/models/swarm_unlock_key_response.rbi +33 -0
- data/rbi/docker_engine_api/models/swarm_unlock_params.rbi +49 -0
- data/rbi/docker_engine_api/models/swarm_update_params.rbi +81 -0
- data/rbi/docker_engine_api/models/system_data_usage_params.rbi +111 -0
- data/rbi/docker_engine_api/models/system_data_usage_response.rbi +460 -0
- data/rbi/docker_engine_api/models/system_events_params.rbi +105 -0
- data/rbi/docker_engine_api/models/system_events_response.rbi +286 -0
- data/rbi/docker_engine_api/models/system_info_params.rbi +32 -0
- data/rbi/docker_engine_api/models/system_ping_params.rbi +32 -0
- data/rbi/docker_engine_api/models/system_ping_response.rbi +7 -0
- data/rbi/docker_engine_api/models/system_version_params.rbi +32 -0
- data/rbi/docker_engine_api/models/task.rbi +921 -0
- data/rbi/docker_engine_api/models/task_inspect_params.rbi +32 -0
- data/rbi/docker_engine_api/models/task_list_params.rbi +66 -0
- data/rbi/docker_engine_api/models/task_list_response.rbi +11 -0
- data/rbi/docker_engine_api/models/task_logs_params.rbi +117 -0
- data/rbi/docker_engine_api/models/top_response.rbi +54 -0
- data/rbi/docker_engine_api/models/update_response.rbi +34 -0
- data/rbi/docker_engine_api/models/version.rbi +256 -0
- data/rbi/docker_engine_api/models/volume.rbi +1230 -0
- data/rbi/docker_engine_api/models/volume_create_params.rbi +32 -0
- data/rbi/docker_engine_api/models/volume_delete_params.rbi +49 -0
- data/rbi/docker_engine_api/models/volume_inspect_params.rbi +32 -0
- data/rbi/docker_engine_api/models/volume_list_params.rbi +64 -0
- data/rbi/docker_engine_api/models/volume_prune_params.rbi +62 -0
- data/rbi/docker_engine_api/models/volume_prune_response.rbi +51 -0
- data/rbi/docker_engine_api/models/volume_update_params.rbi +668 -0
- data/rbi/docker_engine_api/models/wait_response.rbi +78 -0
- data/rbi/docker_engine_api/models.rbi +271 -0
- data/rbi/docker_engine_api/request_options.rbi +64 -0
- data/rbi/docker_engine_api/resources/auth.rbi +30 -0
- data/rbi/docker_engine_api/resources/configs.rbi +93 -0
- data/rbi/docker_engine_api/resources/containers.rbi +843 -0
- data/rbi/docker_engine_api/resources/distribution.rbi +26 -0
- data/rbi/docker_engine_api/resources/exec.rbi +72 -0
- data/rbi/docker_engine_api/resources/images.rbi +739 -0
- data/rbi/docker_engine_api/resources/networks.rbi +200 -0
- data/rbi/docker_engine_api/resources/nodes.rbi +87 -0
- data/rbi/docker_engine_api/resources/plugins.rbi +228 -0
- data/rbi/docker_engine_api/resources/secrets.rbi +93 -0
- data/rbi/docker_engine_api/resources/services.rbi +166 -0
- data/rbi/docker_engine_api/resources/swarm.rbi +178 -0
- data/rbi/docker_engine_api/resources/system.rbi +123 -0
- data/rbi/docker_engine_api/resources/tasks.rbi +90 -0
- data/rbi/docker_engine_api/resources/volumes.rbi +123 -0
- data/rbi/docker_engine_api/version.rbi +5 -0
- data/sig/docker_engine_api/client.rbs +49 -0
- data/sig/docker_engine_api/errors.rbs +117 -0
- data/sig/docker_engine_api/file_part.rbs +21 -0
- data/sig/docker_engine_api/internal/transport/base_client.rbs +131 -0
- data/sig/docker_engine_api/internal/transport/pooled_net_requester.rbs +48 -0
- data/sig/docker_engine_api/internal/type/array_of.rbs +48 -0
- data/sig/docker_engine_api/internal/type/base_model.rbs +104 -0
- data/sig/docker_engine_api/internal/type/base_page.rbs +24 -0
- data/sig/docker_engine_api/internal/type/boolean.rbs +26 -0
- data/sig/docker_engine_api/internal/type/converter.rbs +79 -0
- data/sig/docker_engine_api/internal/type/enum.rbs +32 -0
- data/sig/docker_engine_api/internal/type/file_input.rbs +25 -0
- data/sig/docker_engine_api/internal/type/hash_of.rbs +48 -0
- data/sig/docker_engine_api/internal/type/request_parameters.rbs +20 -0
- data/sig/docker_engine_api/internal/type/union.rbs +52 -0
- data/sig/docker_engine_api/internal/type/unknown.rbs +26 -0
- data/sig/docker_engine_api/internal/util.rbs +185 -0
- data/sig/docker_engine_api/internal.rbs +10 -0
- data/sig/docker_engine_api/models/auth_login_params.rbs +38 -0
- data/sig/docker_engine_api/models/auth_response.rbs +17 -0
- data/sig/docker_engine_api/models/config.rbs +225 -0
- data/sig/docker_engine_api/models/config_create_params.rbs +36 -0
- data/sig/docker_engine_api/models/config_create_response.rbs +13 -0
- data/sig/docker_engine_api/models/config_delete_params.rbs +15 -0
- data/sig/docker_engine_api/models/config_inspect_params.rbs +15 -0
- data/sig/docker_engine_api/models/config_list_params.rbs +25 -0
- data/sig/docker_engine_api/models/config_list_response.rbs +7 -0
- data/sig/docker_engine_api/models/config_update_params.rbs +23 -0
- data/sig/docker_engine_api/models/connect_request.rbs +175 -0
- data/sig/docker_engine_api/models/container.rbs +1973 -0
- data/sig/docker_engine_api/models/container_archive_params.rbs +23 -0
- data/sig/docker_engine_api/models/container_attach_params.rbs +63 -0
- data/sig/docker_engine_api/models/container_changes_params.rbs +15 -0
- data/sig/docker_engine_api/models/container_changes_response.rbs +7 -0
- data/sig/docker_engine_api/models/container_create_params.rbs +1352 -0
- data/sig/docker_engine_api/models/container_delete_params.rbs +38 -0
- data/sig/docker_engine_api/models/container_exec_params.rbs +96 -0
- data/sig/docker_engine_api/models/container_exec_response.rbs +13 -0
- data/sig/docker_engine_api/models/container_export_params.rbs +15 -0
- data/sig/docker_engine_api/models/container_inspect_params.rbs +25 -0
- data/sig/docker_engine_api/models/container_kill_params.rbs +25 -0
- data/sig/docker_engine_api/models/container_list_params.rbs +44 -0
- data/sig/docker_engine_api/models/container_list_response.rbs +7 -0
- data/sig/docker_engine_api/models/container_logs_params.rbs +70 -0
- data/sig/docker_engine_api/models/container_pause_params.rbs +15 -0
- data/sig/docker_engine_api/models/container_prune_params.rbs +25 -0
- data/sig/docker_engine_api/models/container_prune_response.rbs +26 -0
- data/sig/docker_engine_api/models/container_rename_params.rbs +23 -0
- data/sig/docker_engine_api/models/container_resize_params.rbs +28 -0
- data/sig/docker_engine_api/models/container_restart_params.rbs +32 -0
- data/sig/docker_engine_api/models/container_start_params.rbs +26 -0
- data/sig/docker_engine_api/models/container_stats_params.rbs +32 -0
- data/sig/docker_engine_api/models/container_stop_params.rbs +32 -0
- data/sig/docker_engine_api/models/container_top_params.rbs +25 -0
- data/sig/docker_engine_api/models/container_unpause_params.rbs +15 -0
- data/sig/docker_engine_api/models/container_update_params.rbs +476 -0
- data/sig/docker_engine_api/models/container_wait_params.rbs +40 -0
- data/sig/docker_engine_api/models/create_request.rbs +255 -0
- data/sig/docker_engine_api/models/create_response.rbs +15 -0
- data/sig/docker_engine_api/models/delete_item.rbs +19 -0
- data/sig/docker_engine_api/models/disconnect_request.rbs +17 -0
- data/sig/docker_engine_api/models/distribution_inspect_params.rbs +15 -0
- data/sig/docker_engine_api/models/error.rbs +13 -0
- data/sig/docker_engine_api/models/exec_inspect_params.rbs +15 -0
- data/sig/docker_engine_api/models/exec_inspect_response.rbs +94 -0
- data/sig/docker_engine_api/models/exec_resize_params.rbs +28 -0
- data/sig/docker_engine_api/models/exec_start_params.rbs +36 -0
- data/sig/docker_engine_api/models/filesystem_change.rbs +34 -0
- data/sig/docker_engine_api/models/history_item.rbs +45 -0
- data/sig/docker_engine_api/models/image.rbs +1042 -0
- data/sig/docker_engine_api/models/image_build_params.rbs +221 -0
- data/sig/docker_engine_api/models/image_build_prune_params.rbs +56 -0
- data/sig/docker_engine_api/models/image_build_prune_response.rbs +26 -0
- data/sig/docker_engine_api/models/image_commit_params.rbs +70 -0
- data/sig/docker_engine_api/models/image_commit_response.rbs +13 -0
- data/sig/docker_engine_api/models/image_delete_params.rbs +38 -0
- data/sig/docker_engine_api/models/image_delete_response.rbs +7 -0
- data/sig/docker_engine_api/models/image_get_all_params.rbs +32 -0
- data/sig/docker_engine_api/models/image_get_params.rbs +26 -0
- data/sig/docker_engine_api/models/image_history_params.rbs +25 -0
- data/sig/docker_engine_api/models/image_history_response.rbs +7 -0
- data/sig/docker_engine_api/models/image_inspect_params.rbs +25 -0
- data/sig/docker_engine_api/models/image_list_params.rbs +56 -0
- data/sig/docker_engine_api/models/image_list_response.rbs +7 -0
- data/sig/docker_engine_api/models/image_load_params.rbs +40 -0
- data/sig/docker_engine_api/models/image_prune_params.rbs +25 -0
- data/sig/docker_engine_api/models/image_prune_response.rbs +31 -0
- data/sig/docker_engine_api/models/image_pull_params.rbs +84 -0
- data/sig/docker_engine_api/models/image_push_params.rbs +36 -0
- data/sig/docker_engine_api/models/image_search_params.rbs +36 -0
- data/sig/docker_engine_api/models/image_search_response.rbs +55 -0
- data/sig/docker_engine_api/models/image_tag_params.rbs +32 -0
- data/sig/docker_engine_api/models/info.rbs +1080 -0
- data/sig/docker_engine_api/models/inspect.rbs +177 -0
- data/sig/docker_engine_api/models/inspect_response.rbs +50 -0
- data/sig/docker_engine_api/models/list_response.rbs +28 -0
- data/sig/docker_engine_api/models/network.rbs +238 -0
- data/sig/docker_engine_api/models/network_connect_params.rbs +15 -0
- data/sig/docker_engine_api/models/network_create_params.rbs +203 -0
- data/sig/docker_engine_api/models/network_delete_params.rbs +15 -0
- data/sig/docker_engine_api/models/network_disconnect_params.rbs +15 -0
- data/sig/docker_engine_api/models/network_inspect_params.rbs +32 -0
- data/sig/docker_engine_api/models/network_inspect_response.rbs +149 -0
- data/sig/docker_engine_api/models/network_list_params.rbs +25 -0
- data/sig/docker_engine_api/models/network_list_response.rbs +7 -0
- data/sig/docker_engine_api/models/network_prune_params.rbs +25 -0
- data/sig/docker_engine_api/models/network_prune_response.rbs +15 -0
- data/sig/docker_engine_api/models/node.rbs +434 -0
- data/sig/docker_engine_api/models/node_delete_params.rbs +25 -0
- data/sig/docker_engine_api/models/node_inspect_params.rbs +15 -0
- data/sig/docker_engine_api/models/node_list_params.rbs +25 -0
- data/sig/docker_engine_api/models/node_list_response.rbs +7 -0
- data/sig/docker_engine_api/models/node_update_params.rbs +23 -0
- data/sig/docker_engine_api/models/plugin.rbs +509 -0
- data/sig/docker_engine_api/models/plugin_create_params.rbs +28 -0
- data/sig/docker_engine_api/models/plugin_delete_params.rbs +25 -0
- data/sig/docker_engine_api/models/plugin_disable_params.rbs +25 -0
- data/sig/docker_engine_api/models/plugin_enable_params.rbs +25 -0
- data/sig/docker_engine_api/models/plugin_inspect_params.rbs +15 -0
- data/sig/docker_engine_api/models/plugin_list_params.rbs +25 -0
- data/sig/docker_engine_api/models/plugin_list_response.rbs +7 -0
- data/sig/docker_engine_api/models/plugin_privileges_params.rbs +23 -0
- data/sig/docker_engine_api/models/plugin_privileges_response.rbs +7 -0
- data/sig/docker_engine_api/models/plugin_pull_params.rbs +49 -0
- data/sig/docker_engine_api/models/plugin_push_params.rbs +15 -0
- data/sig/docker_engine_api/models/plugin_set_params.rbs +26 -0
- data/sig/docker_engine_api/models/plugin_upgrade_params.rbs +42 -0
- data/sig/docker_engine_api/models/privilege.rbs +32 -0
- data/sig/docker_engine_api/models/secret.rbs +64 -0
- data/sig/docker_engine_api/models/secret_create_params.rbs +36 -0
- data/sig/docker_engine_api/models/secret_create_response.rbs +13 -0
- data/sig/docker_engine_api/models/secret_delete_params.rbs +15 -0
- data/sig/docker_engine_api/models/secret_inspect_params.rbs +15 -0
- data/sig/docker_engine_api/models/secret_list_params.rbs +25 -0
- data/sig/docker_engine_api/models/secret_list_response.rbs +7 -0
- data/sig/docker_engine_api/models/secret_update_params.rbs +23 -0
- data/sig/docker_engine_api/models/service.rbs +471 -0
- data/sig/docker_engine_api/models/service_create_params.rbs +41 -0
- data/sig/docker_engine_api/models/service_delete_params.rbs +15 -0
- data/sig/docker_engine_api/models/service_inspect_params.rbs +26 -0
- data/sig/docker_engine_api/models/service_list_params.rbs +32 -0
- data/sig/docker_engine_api/models/service_list_response.rbs +7 -0
- data/sig/docker_engine_api/models/service_logs_params.rbs +70 -0
- data/sig/docker_engine_api/models/service_update_params.rbs +73 -0
- data/sig/docker_engine_api/models/spec.rbs +467 -0
- data/sig/docker_engine_api/models/stats_response.rbs +730 -0
- data/sig/docker_engine_api/models/summary.rbs +634 -0
- data/sig/docker_engine_api/models/swarm.rbs +159 -0
- data/sig/docker_engine_api/models/swarm_init_params.rbs +77 -0
- data/sig/docker_engine_api/models/swarm_init_response.rbs +5 -0
- data/sig/docker_engine_api/models/swarm_inspect_params.rbs +15 -0
- data/sig/docker_engine_api/models/swarm_join_params.rbs +56 -0
- data/sig/docker_engine_api/models/swarm_leave_params.rbs +25 -0
- data/sig/docker_engine_api/models/swarm_unlock_key_params.rbs +15 -0
- data/sig/docker_engine_api/models/swarm_unlock_key_response.rbs +15 -0
- data/sig/docker_engine_api/models/swarm_unlock_params.rbs +26 -0
- data/sig/docker_engine_api/models/swarm_update_params.rbs +47 -0
- data/sig/docker_engine_api/models/system_data_usage_params.rbs +50 -0
- data/sig/docker_engine_api/models/system_data_usage_response.rbs +239 -0
- data/sig/docker_engine_api/models/system_events_params.rbs +38 -0
- data/sig/docker_engine_api/models/system_events_response.rbs +124 -0
- data/sig/docker_engine_api/models/system_info_params.rbs +15 -0
- data/sig/docker_engine_api/models/system_ping_params.rbs +15 -0
- data/sig/docker_engine_api/models/system_ping_response.rbs +5 -0
- data/sig/docker_engine_api/models/system_version_params.rbs +15 -0
- data/sig/docker_engine_api/models/task.rbs +469 -0
- data/sig/docker_engine_api/models/task_inspect_params.rbs +15 -0
- data/sig/docker_engine_api/models/task_list_params.rbs +25 -0
- data/sig/docker_engine_api/models/task_list_response.rbs +7 -0
- data/sig/docker_engine_api/models/task_logs_params.rbs +70 -0
- data/sig/docker_engine_api/models/top_response.rbs +26 -0
- data/sig/docker_engine_api/models/update_response.rbs +15 -0
- data/sig/docker_engine_api/models/version.rbs +127 -0
- data/sig/docker_engine_api/models/volume.rbs +478 -0
- data/sig/docker_engine_api/models/volume_create_params.rbs +15 -0
- data/sig/docker_engine_api/models/volume_delete_params.rbs +25 -0
- data/sig/docker_engine_api/models/volume_inspect_params.rbs +15 -0
- data/sig/docker_engine_api/models/volume_list_params.rbs +25 -0
- data/sig/docker_engine_api/models/volume_prune_params.rbs +25 -0
- data/sig/docker_engine_api/models/volume_prune_response.rbs +26 -0
- data/sig/docker_engine_api/models/volume_update_params.rbs +235 -0
- data/sig/docker_engine_api/models/wait_response.rbs +38 -0
- data/sig/docker_engine_api/models.rbs +269 -0
- data/sig/docker_engine_api/request_options.rbs +36 -0
- data/sig/docker_engine_api/resources/auth.rbs +14 -0
- data/sig/docker_engine_api/resources/configs.rbs +34 -0
- data/sig/docker_engine_api/resources/containers.rbs +200 -0
- data/sig/docker_engine_api/resources/distribution.rbs +12 -0
- data/sig/docker_engine_api/resources/exec.rbs +27 -0
- data/sig/docker_engine_api/resources/images.rbs +170 -0
- data/sig/docker_engine_api/resources/networks.rbs +60 -0
- data/sig/docker_engine_api/resources/nodes.rbs +30 -0
- data/sig/docker_engine_api/resources/plugins.rbs +73 -0
- data/sig/docker_engine_api/resources/secrets.rbs +34 -0
- data/sig/docker_engine_api/resources/services.rbs +52 -0
- data/sig/docker_engine_api/resources/swarm.rbs +55 -0
- data/sig/docker_engine_api/resources/system.rbs +30 -0
- data/sig/docker_engine_api/resources/tasks.rbs +29 -0
- data/sig/docker_engine_api/resources/volumes.rbs +40 -0
- data/sig/docker_engine_api/version.rbs +3 -0
- metadata +679 -0
|
@@ -0,0 +1,1488 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module DockerEngineAPI
|
|
4
|
+
module Models
|
|
5
|
+
# @see DockerEngineAPI::Resources::System#info
|
|
6
|
+
class Info < DockerEngineAPI::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute architecture
|
|
8
|
+
# Hardware architecture of the host, as returned by the operating system. This is
|
|
9
|
+
# equivalent to the output of `uname -m` on Linux.
|
|
10
|
+
#
|
|
11
|
+
# Unlike `Arch` (from `/version`), this reports the machine's native architecture,
|
|
12
|
+
# which can differ from the Go runtime architecture when running a binary compiled
|
|
13
|
+
# for a different architecture (for example, a 32-bit binary running on 64-bit
|
|
14
|
+
# hardware).
|
|
15
|
+
#
|
|
16
|
+
# @return [String, nil]
|
|
17
|
+
optional :architecture, String, api_name: :Architecture
|
|
18
|
+
|
|
19
|
+
# @!attribute cdi_spec_dirs
|
|
20
|
+
# List of directories where (Container Device Interface) CDI specifications are
|
|
21
|
+
# located.
|
|
22
|
+
#
|
|
23
|
+
# These specifications define vendor-specific modifications to an OCI runtime
|
|
24
|
+
# specification for a container being created.
|
|
25
|
+
#
|
|
26
|
+
# An empty list indicates that CDI device injection is disabled.
|
|
27
|
+
#
|
|
28
|
+
# Note that since using CDI device injection requires the daemon to have
|
|
29
|
+
# experimental enabled. For non-experimental daemons an empty list will always be
|
|
30
|
+
# returned.
|
|
31
|
+
#
|
|
32
|
+
# @return [Array<String>, nil]
|
|
33
|
+
optional :cdi_spec_dirs, DockerEngineAPI::Internal::Type::ArrayOf[String], api_name: :CDISpecDirs
|
|
34
|
+
|
|
35
|
+
# @!attribute cgroup_driver
|
|
36
|
+
# The driver to use for managing cgroups.
|
|
37
|
+
#
|
|
38
|
+
# @return [Symbol, DockerEngineAPI::Models::Info::CgroupDriver, nil]
|
|
39
|
+
optional :cgroup_driver, enum: -> { DockerEngineAPI::Info::CgroupDriver }, api_name: :CgroupDriver
|
|
40
|
+
|
|
41
|
+
# @!attribute cgroup_version
|
|
42
|
+
# The version of the cgroup.
|
|
43
|
+
#
|
|
44
|
+
# @return [Symbol, DockerEngineAPI::Models::Info::CgroupVersion, nil]
|
|
45
|
+
optional :cgroup_version, enum: -> { DockerEngineAPI::Info::CgroupVersion }, api_name: :CgroupVersion
|
|
46
|
+
|
|
47
|
+
# @!attribute containerd
|
|
48
|
+
# Information for connecting to the containerd instance that is used by the
|
|
49
|
+
# daemon. This is included for debugging purposes only.
|
|
50
|
+
#
|
|
51
|
+
# @return [DockerEngineAPI::Models::Info::Containerd, nil]
|
|
52
|
+
optional :containerd, -> { DockerEngineAPI::Info::Containerd }, api_name: :Containerd, nil?: true
|
|
53
|
+
|
|
54
|
+
# @!attribute containerd_commit
|
|
55
|
+
# Commit holds the Git-commit (SHA1) that a binary was built from, as reported in
|
|
56
|
+
# the version-string of external tools, such as `containerd`, or `runC`.
|
|
57
|
+
#
|
|
58
|
+
# @return [DockerEngineAPI::Models::Info::ContainerdCommit, nil]
|
|
59
|
+
optional :containerd_commit, -> { DockerEngineAPI::Info::ContainerdCommit }, api_name: :ContainerdCommit
|
|
60
|
+
|
|
61
|
+
# @!attribute containers
|
|
62
|
+
# Total number of containers on the host.
|
|
63
|
+
#
|
|
64
|
+
# @return [Integer, nil]
|
|
65
|
+
optional :containers, Integer, api_name: :Containers
|
|
66
|
+
|
|
67
|
+
# @!attribute containers_paused
|
|
68
|
+
# Number of containers with status `"paused"`.
|
|
69
|
+
#
|
|
70
|
+
# @return [Integer, nil]
|
|
71
|
+
optional :containers_paused, Integer, api_name: :ContainersPaused
|
|
72
|
+
|
|
73
|
+
# @!attribute containers_running
|
|
74
|
+
# Number of containers with status `"running"`.
|
|
75
|
+
#
|
|
76
|
+
# @return [Integer, nil]
|
|
77
|
+
optional :containers_running, Integer, api_name: :ContainersRunning
|
|
78
|
+
|
|
79
|
+
# @!attribute containers_stopped
|
|
80
|
+
# Number of containers with status `"stopped"`.
|
|
81
|
+
#
|
|
82
|
+
# @return [Integer, nil]
|
|
83
|
+
optional :containers_stopped, Integer, api_name: :ContainersStopped
|
|
84
|
+
|
|
85
|
+
# @!attribute cpu_cfs_period
|
|
86
|
+
# Indicates if CPU CFS(Completely Fair Scheduler) period is supported by the host.
|
|
87
|
+
#
|
|
88
|
+
# @return [Boolean, nil]
|
|
89
|
+
optional :cpu_cfs_period, DockerEngineAPI::Internal::Type::Boolean, api_name: :CpuCfsPeriod
|
|
90
|
+
|
|
91
|
+
# @!attribute cpu_cfs_quota
|
|
92
|
+
# Indicates if CPU CFS(Completely Fair Scheduler) quota is supported by the host.
|
|
93
|
+
#
|
|
94
|
+
# @return [Boolean, nil]
|
|
95
|
+
optional :cpu_cfs_quota, DockerEngineAPI::Internal::Type::Boolean, api_name: :CpuCfsQuota
|
|
96
|
+
|
|
97
|
+
# @!attribute cpu_set
|
|
98
|
+
# Indicates if CPUsets (cpuset.cpus, cpuset.mems) are supported by the host.
|
|
99
|
+
#
|
|
100
|
+
# See [cpuset(7)](https://www.kernel.org/doc/Documentation/cgroup-v1/cpusets.txt)
|
|
101
|
+
#
|
|
102
|
+
# @return [Boolean, nil]
|
|
103
|
+
optional :cpu_set, DockerEngineAPI::Internal::Type::Boolean, api_name: :CPUSet
|
|
104
|
+
|
|
105
|
+
# @!attribute cpu_shares
|
|
106
|
+
# Indicates if CPU Shares limiting is supported by the host.
|
|
107
|
+
#
|
|
108
|
+
# @return [Boolean, nil]
|
|
109
|
+
optional :cpu_shares, DockerEngineAPI::Internal::Type::Boolean, api_name: :CPUShares
|
|
110
|
+
|
|
111
|
+
# @!attribute debug
|
|
112
|
+
# Indicates if the daemon is running in debug-mode / with debug-level logging
|
|
113
|
+
# enabled.
|
|
114
|
+
#
|
|
115
|
+
# @return [Boolean, nil]
|
|
116
|
+
optional :debug, DockerEngineAPI::Internal::Type::Boolean, api_name: :Debug
|
|
117
|
+
|
|
118
|
+
# @!attribute default_address_pools
|
|
119
|
+
# List of custom default address pools for local networks, which can be specified
|
|
120
|
+
# in the daemon.json file or dockerd option.
|
|
121
|
+
#
|
|
122
|
+
# Example: a Base "10.10.0.0/16" with Size 24 will define the set of 256
|
|
123
|
+
# 10.10.[0-255].0/24 address pools.
|
|
124
|
+
#
|
|
125
|
+
# @return [Array<DockerEngineAPI::Models::Info::DefaultAddressPool>, nil]
|
|
126
|
+
optional :default_address_pools,
|
|
127
|
+
-> { DockerEngineAPI::Internal::Type::ArrayOf[DockerEngineAPI::Info::DefaultAddressPool] },
|
|
128
|
+
api_name: :DefaultAddressPools
|
|
129
|
+
|
|
130
|
+
# @!attribute default_runtime
|
|
131
|
+
# Name of the default OCI runtime that is used when starting containers.
|
|
132
|
+
#
|
|
133
|
+
# The default can be overridden per-container at create time.
|
|
134
|
+
#
|
|
135
|
+
# @return [String, nil]
|
|
136
|
+
optional :default_runtime, String, api_name: :DefaultRuntime
|
|
137
|
+
|
|
138
|
+
# @!attribute discovered_devices
|
|
139
|
+
# List of devices discovered by device drivers.
|
|
140
|
+
#
|
|
141
|
+
# Each device includes information about its source driver, kind, name, and
|
|
142
|
+
# additional driver-specific attributes.
|
|
143
|
+
#
|
|
144
|
+
# @return [Array<DockerEngineAPI::Models::Info::DiscoveredDevice>, nil]
|
|
145
|
+
optional :discovered_devices,
|
|
146
|
+
-> { DockerEngineAPI::Internal::Type::ArrayOf[DockerEngineAPI::Info::DiscoveredDevice] },
|
|
147
|
+
api_name: :DiscoveredDevices
|
|
148
|
+
|
|
149
|
+
# @!attribute docker_root_dir
|
|
150
|
+
# Root directory of persistent Docker state.
|
|
151
|
+
#
|
|
152
|
+
# Defaults to `/var/lib/docker` on Linux, and `C:\ProgramData\docker` on Windows.
|
|
153
|
+
#
|
|
154
|
+
# @return [String, nil]
|
|
155
|
+
optional :docker_root_dir, String, api_name: :DockerRootDir
|
|
156
|
+
|
|
157
|
+
# @!attribute driver
|
|
158
|
+
# Name of the storage driver in use.
|
|
159
|
+
#
|
|
160
|
+
# @return [String, nil]
|
|
161
|
+
optional :driver, String, api_name: :Driver
|
|
162
|
+
|
|
163
|
+
# @!attribute driver_status
|
|
164
|
+
# Information specific to the storage driver, provided as "label" / "value" pairs.
|
|
165
|
+
#
|
|
166
|
+
# This information is provided by the storage driver, and formatted in a way
|
|
167
|
+
# consistent with the output of `docker info` on the command line.
|
|
168
|
+
#
|
|
169
|
+
# <p><br /></p>
|
|
170
|
+
#
|
|
171
|
+
# > **Note**: The information returned in this field, including the formatting of
|
|
172
|
+
# > values and labels, should not be considered stable, and may change without
|
|
173
|
+
# > notice.
|
|
174
|
+
#
|
|
175
|
+
# @return [Array<Array<String>>, nil]
|
|
176
|
+
optional :driver_status,
|
|
177
|
+
DockerEngineAPI::Internal::Type::ArrayOf[DockerEngineAPI::Internal::Type::ArrayOf[String]],
|
|
178
|
+
api_name: :DriverStatus
|
|
179
|
+
|
|
180
|
+
# @!attribute experimental_build
|
|
181
|
+
# Indicates if experimental features are enabled on the daemon.
|
|
182
|
+
#
|
|
183
|
+
# @return [Boolean, nil]
|
|
184
|
+
optional :experimental_build, DockerEngineAPI::Internal::Type::Boolean, api_name: :ExperimentalBuild
|
|
185
|
+
|
|
186
|
+
# @!attribute firewall_backend
|
|
187
|
+
# Information about the daemon's firewalling configuration.
|
|
188
|
+
#
|
|
189
|
+
# This field is currently only used on Linux, and omitted on other platforms.
|
|
190
|
+
#
|
|
191
|
+
# @return [DockerEngineAPI::Models::Info::FirewallBackend, nil]
|
|
192
|
+
optional :firewall_backend,
|
|
193
|
+
-> { DockerEngineAPI::Info::FirewallBackend },
|
|
194
|
+
api_name: :FirewallBackend,
|
|
195
|
+
nil?: true
|
|
196
|
+
|
|
197
|
+
# @!attribute generic_resources
|
|
198
|
+
# User-defined resources can be either Integer resources (e.g, `SSD=3`) or String
|
|
199
|
+
# resources (e.g, `GPU=UUID1`).
|
|
200
|
+
#
|
|
201
|
+
# @return [Array<DockerEngineAPI::Models::Info::GenericResource>, nil]
|
|
202
|
+
optional :generic_resources,
|
|
203
|
+
-> { DockerEngineAPI::Internal::Type::ArrayOf[DockerEngineAPI::Info::GenericResource] },
|
|
204
|
+
api_name: :GenericResources
|
|
205
|
+
|
|
206
|
+
# @!attribute http_proxy
|
|
207
|
+
# HTTP-proxy configured for the daemon. This value is obtained from the
|
|
208
|
+
# [`HTTP_PROXY`](https://www.gnu.org/software/wget/manual/html_node/Proxies.html)
|
|
209
|
+
# environment variable. Credentials
|
|
210
|
+
# ([user info component](https://tools.ietf.org/html/rfc3986#section-3.2.1)) in
|
|
211
|
+
# the proxy URL are masked in the API response.
|
|
212
|
+
#
|
|
213
|
+
# Containers do not automatically inherit this configuration.
|
|
214
|
+
#
|
|
215
|
+
# @return [String, nil]
|
|
216
|
+
optional :http_proxy, String, api_name: :HttpProxy
|
|
217
|
+
|
|
218
|
+
# @!attribute https_proxy
|
|
219
|
+
# HTTPS-proxy configured for the daemon. This value is obtained from the
|
|
220
|
+
# [`HTTPS_PROXY`](https://www.gnu.org/software/wget/manual/html_node/Proxies.html)
|
|
221
|
+
# environment variable. Credentials
|
|
222
|
+
# ([user info component](https://tools.ietf.org/html/rfc3986#section-3.2.1)) in
|
|
223
|
+
# the proxy URL are masked in the API response.
|
|
224
|
+
#
|
|
225
|
+
# Containers do not automatically inherit this configuration.
|
|
226
|
+
#
|
|
227
|
+
# @return [String, nil]
|
|
228
|
+
optional :https_proxy, String, api_name: :HttpsProxy
|
|
229
|
+
|
|
230
|
+
# @!attribute id
|
|
231
|
+
# Unique identifier of the daemon.
|
|
232
|
+
#
|
|
233
|
+
# <p><br /></p>
|
|
234
|
+
#
|
|
235
|
+
# > **Note**: The format of the ID itself is not part of the API, and should not
|
|
236
|
+
# > be considered stable.
|
|
237
|
+
#
|
|
238
|
+
# @return [String, nil]
|
|
239
|
+
optional :id, String, api_name: :ID
|
|
240
|
+
|
|
241
|
+
# @!attribute images
|
|
242
|
+
# Total number of images on the host.
|
|
243
|
+
#
|
|
244
|
+
# Both _tagged_ and _untagged_ (dangling) images are counted.
|
|
245
|
+
#
|
|
246
|
+
# @return [Integer, nil]
|
|
247
|
+
optional :images, Integer, api_name: :Images
|
|
248
|
+
|
|
249
|
+
# @!attribute index_server_address
|
|
250
|
+
# Address / URL of the index server that is used for image search, and as a
|
|
251
|
+
# default for user authentication for Docker Hub and Docker Cloud.
|
|
252
|
+
#
|
|
253
|
+
# @return [String, nil]
|
|
254
|
+
optional :index_server_address, String, api_name: :IndexServerAddress
|
|
255
|
+
|
|
256
|
+
# @!attribute init_binary
|
|
257
|
+
# Name and, optional, path of the `docker-init` binary.
|
|
258
|
+
#
|
|
259
|
+
# If the path is omitted, the daemon searches the host's `$PATH` for the binary
|
|
260
|
+
# and uses the first result.
|
|
261
|
+
#
|
|
262
|
+
# @return [String, nil]
|
|
263
|
+
optional :init_binary, String, api_name: :InitBinary
|
|
264
|
+
|
|
265
|
+
# @!attribute init_commit
|
|
266
|
+
# Commit holds the Git-commit (SHA1) that a binary was built from, as reported in
|
|
267
|
+
# the version-string of external tools, such as `containerd`, or `runC`.
|
|
268
|
+
#
|
|
269
|
+
# @return [DockerEngineAPI::Models::Info::InitCommit, nil]
|
|
270
|
+
optional :init_commit, -> { DockerEngineAPI::Info::InitCommit }, api_name: :InitCommit
|
|
271
|
+
|
|
272
|
+
# @!attribute i_pv4_forwarding
|
|
273
|
+
# Indicates IPv4 forwarding is enabled.
|
|
274
|
+
#
|
|
275
|
+
# @return [Boolean, nil]
|
|
276
|
+
optional :i_pv4_forwarding, DockerEngineAPI::Internal::Type::Boolean, api_name: :IPv4Forwarding
|
|
277
|
+
|
|
278
|
+
# @!attribute isolation
|
|
279
|
+
# Represents the isolation technology to use as a default for containers. The
|
|
280
|
+
# supported values are platform-specific.
|
|
281
|
+
#
|
|
282
|
+
# If no isolation value is specified on daemon start, on Windows client, the
|
|
283
|
+
# default is `hyperv`, and on Windows server, the default is `process`.
|
|
284
|
+
#
|
|
285
|
+
# This option is currently not used on other platforms.
|
|
286
|
+
#
|
|
287
|
+
# @return [Symbol, DockerEngineAPI::Models::Info::Isolation, nil]
|
|
288
|
+
optional :isolation, enum: -> { DockerEngineAPI::Info::Isolation }, api_name: :Isolation
|
|
289
|
+
|
|
290
|
+
# @!attribute kernel_version
|
|
291
|
+
# Kernel version of the host.
|
|
292
|
+
#
|
|
293
|
+
# On Linux, this information obtained from `uname`. On Windows this information is
|
|
294
|
+
# queried from the <kbd>HKEY*LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows
|
|
295
|
+
# NT\\CurrentVersion\\</kbd> registry value, for example *"10.0 14393
|
|
296
|
+
# (14393.1198.amd64fre.rs1*release_sec.170427-1353)"*.
|
|
297
|
+
#
|
|
298
|
+
# @return [String, nil]
|
|
299
|
+
optional :kernel_version, String, api_name: :KernelVersion
|
|
300
|
+
|
|
301
|
+
# @!attribute labels
|
|
302
|
+
# User-defined labels (key/value metadata) as set on the daemon.
|
|
303
|
+
#
|
|
304
|
+
# <p><br /></p>
|
|
305
|
+
#
|
|
306
|
+
# > **Note**: When part of a Swarm, nodes can both have _daemon_ labels, set
|
|
307
|
+
# > through the daemon configuration, and _node_ labels, set from a manager node
|
|
308
|
+
# > in the Swarm. Node labels are not included in this field. Node labels can be
|
|
309
|
+
# > retrieved using the `/nodes/(id)` endpoint on a manager node in the Swarm.
|
|
310
|
+
#
|
|
311
|
+
# @return [Array<String>, nil]
|
|
312
|
+
optional :labels, DockerEngineAPI::Internal::Type::ArrayOf[String], api_name: :Labels
|
|
313
|
+
|
|
314
|
+
# @!attribute live_restore_enabled
|
|
315
|
+
# Indicates if live restore is enabled.
|
|
316
|
+
#
|
|
317
|
+
# If enabled, containers are kept running when the daemon is shutdown or upon
|
|
318
|
+
# daemon start if running containers are detected.
|
|
319
|
+
#
|
|
320
|
+
# @return [Boolean, nil]
|
|
321
|
+
optional :live_restore_enabled, DockerEngineAPI::Internal::Type::Boolean, api_name: :LiveRestoreEnabled
|
|
322
|
+
|
|
323
|
+
# @!attribute logging_driver
|
|
324
|
+
# The logging driver to use as a default for new containers.
|
|
325
|
+
#
|
|
326
|
+
# @return [String, nil]
|
|
327
|
+
optional :logging_driver, String, api_name: :LoggingDriver
|
|
328
|
+
|
|
329
|
+
# @!attribute memory_limit
|
|
330
|
+
# Indicates if the host has memory limit support enabled.
|
|
331
|
+
#
|
|
332
|
+
# @return [Boolean, nil]
|
|
333
|
+
optional :memory_limit, DockerEngineAPI::Internal::Type::Boolean, api_name: :MemoryLimit
|
|
334
|
+
|
|
335
|
+
# @!attribute mem_total
|
|
336
|
+
# Total amount of physical memory available on the host, in bytes.
|
|
337
|
+
#
|
|
338
|
+
# @return [Integer, nil]
|
|
339
|
+
optional :mem_total, Integer, api_name: :MemTotal
|
|
340
|
+
|
|
341
|
+
# @!attribute name
|
|
342
|
+
# Hostname of the host.
|
|
343
|
+
#
|
|
344
|
+
# @return [String, nil]
|
|
345
|
+
optional :name, String, api_name: :Name
|
|
346
|
+
|
|
347
|
+
# @!attribute ncpu
|
|
348
|
+
# The number of logical CPUs usable by the daemon.
|
|
349
|
+
#
|
|
350
|
+
# The number of available CPUs is checked by querying the operating system when
|
|
351
|
+
# the daemon starts. Changes to operating system CPU allocation after the daemon
|
|
352
|
+
# is started are not reflected.
|
|
353
|
+
#
|
|
354
|
+
# @return [Integer, nil]
|
|
355
|
+
optional :ncpu, Integer, api_name: :NCPU
|
|
356
|
+
|
|
357
|
+
# @!attribute n_events_listener
|
|
358
|
+
# Number of event listeners subscribed.
|
|
359
|
+
#
|
|
360
|
+
# @return [Integer, nil]
|
|
361
|
+
optional :n_events_listener, Integer, api_name: :NEventsListener
|
|
362
|
+
|
|
363
|
+
# @!attribute n_fd
|
|
364
|
+
# The total number of file Descriptors in use by the daemon process.
|
|
365
|
+
#
|
|
366
|
+
# This information is only returned if debug-mode is enabled.
|
|
367
|
+
#
|
|
368
|
+
# @return [Integer, nil]
|
|
369
|
+
optional :n_fd, Integer, api_name: :NFd
|
|
370
|
+
|
|
371
|
+
# @!attribute n_goroutines
|
|
372
|
+
# The number of goroutines that currently exist.
|
|
373
|
+
#
|
|
374
|
+
# This information is only returned if debug-mode is enabled.
|
|
375
|
+
#
|
|
376
|
+
# @return [Integer, nil]
|
|
377
|
+
optional :n_goroutines, Integer, api_name: :NGoroutines
|
|
378
|
+
|
|
379
|
+
# @!attribute no_proxy
|
|
380
|
+
# Comma-separated list of domain extensions for which no proxy should be used.
|
|
381
|
+
# This value is obtained from the
|
|
382
|
+
# [`NO_PROXY`](https://www.gnu.org/software/wget/manual/html_node/Proxies.html)
|
|
383
|
+
# environment variable.
|
|
384
|
+
#
|
|
385
|
+
# Containers do not automatically inherit this configuration.
|
|
386
|
+
#
|
|
387
|
+
# @return [String, nil]
|
|
388
|
+
optional :no_proxy, String, api_name: :NoProxy
|
|
389
|
+
|
|
390
|
+
# @!attribute nri
|
|
391
|
+
# Information about the Node Resource Interface (NRI).
|
|
392
|
+
#
|
|
393
|
+
# This field is only present if NRI is enabled.
|
|
394
|
+
#
|
|
395
|
+
# @return [DockerEngineAPI::Models::Info::Nri, nil]
|
|
396
|
+
optional :nri, -> { DockerEngineAPI::Info::Nri }, api_name: :NRI, nil?: true
|
|
397
|
+
|
|
398
|
+
# @!attribute oom_kill_disable
|
|
399
|
+
# Indicates if OOM killer disable is supported on the host.
|
|
400
|
+
#
|
|
401
|
+
# @return [Boolean, nil]
|
|
402
|
+
optional :oom_kill_disable, DockerEngineAPI::Internal::Type::Boolean, api_name: :OomKillDisable
|
|
403
|
+
|
|
404
|
+
# @!attribute operating_system
|
|
405
|
+
# Name of the host's operating system, for example: "Ubuntu 24.04 LTS" or "Windows
|
|
406
|
+
# Server 2016 Datacenter"
|
|
407
|
+
#
|
|
408
|
+
# @return [String, nil]
|
|
409
|
+
optional :operating_system, String, api_name: :OperatingSystem
|
|
410
|
+
|
|
411
|
+
# @!attribute os_type
|
|
412
|
+
# Generic type of the operating system of the host, as returned by the Go runtime
|
|
413
|
+
# (`GOOS`).
|
|
414
|
+
#
|
|
415
|
+
# Currently returned values are "linux" and "windows". A full list of possible
|
|
416
|
+
# values can be found in the
|
|
417
|
+
# [Go documentation](https://go.dev/doc/install/source#environment).
|
|
418
|
+
#
|
|
419
|
+
# @return [String, nil]
|
|
420
|
+
optional :os_type, String, api_name: :OSType
|
|
421
|
+
|
|
422
|
+
# @!attribute os_version
|
|
423
|
+
# Version of the host's operating system
|
|
424
|
+
#
|
|
425
|
+
# <p><br /></p>
|
|
426
|
+
#
|
|
427
|
+
# > **Note**: The information returned in this field, including its very
|
|
428
|
+
# > existence, and the formatting of values, should not be considered stable, and
|
|
429
|
+
# > may change without notice.
|
|
430
|
+
#
|
|
431
|
+
# @return [String, nil]
|
|
432
|
+
optional :os_version, String, api_name: :OSVersion
|
|
433
|
+
|
|
434
|
+
# @!attribute pids_limit
|
|
435
|
+
# Indicates if the host kernel has PID limit support enabled.
|
|
436
|
+
#
|
|
437
|
+
# @return [Boolean, nil]
|
|
438
|
+
optional :pids_limit, DockerEngineAPI::Internal::Type::Boolean, api_name: :PidsLimit
|
|
439
|
+
|
|
440
|
+
# @!attribute plugins
|
|
441
|
+
# Available plugins per type.
|
|
442
|
+
#
|
|
443
|
+
# <p><br /></p>
|
|
444
|
+
#
|
|
445
|
+
# > **Note**: Only unmanaged (V1) plugins are included in this list. V1 plugins
|
|
446
|
+
# > are "lazily" loaded, and are not returned in this list if there is no resource
|
|
447
|
+
# > using the plugin.
|
|
448
|
+
#
|
|
449
|
+
# @return [DockerEngineAPI::Models::Info::Plugins, nil]
|
|
450
|
+
optional :plugins, -> { DockerEngineAPI::Info::Plugins }, api_name: :Plugins
|
|
451
|
+
|
|
452
|
+
# @!attribute product_license
|
|
453
|
+
# Reports a summary of the product license on the daemon.
|
|
454
|
+
#
|
|
455
|
+
# If a commercial license has been applied to the daemon, information such as
|
|
456
|
+
# number of nodes, and expiration are included.
|
|
457
|
+
#
|
|
458
|
+
# @return [String, nil]
|
|
459
|
+
optional :product_license, String, api_name: :ProductLicense
|
|
460
|
+
|
|
461
|
+
# @!attribute registry_config
|
|
462
|
+
# RegistryServiceConfig stores daemon registry services configuration.
|
|
463
|
+
#
|
|
464
|
+
# @return [DockerEngineAPI::Models::Info::RegistryConfig, nil]
|
|
465
|
+
optional :registry_config,
|
|
466
|
+
-> { DockerEngineAPI::Info::RegistryConfig },
|
|
467
|
+
api_name: :RegistryConfig,
|
|
468
|
+
nil?: true
|
|
469
|
+
|
|
470
|
+
# @!attribute runc_commit
|
|
471
|
+
# Commit holds the Git-commit (SHA1) that a binary was built from, as reported in
|
|
472
|
+
# the version-string of external tools, such as `containerd`, or `runC`.
|
|
473
|
+
#
|
|
474
|
+
# @return [DockerEngineAPI::Models::Info::RuncCommit, nil]
|
|
475
|
+
optional :runc_commit, -> { DockerEngineAPI::Info::RuncCommit }, api_name: :RuncCommit
|
|
476
|
+
|
|
477
|
+
# @!attribute runtimes
|
|
478
|
+
# List of [OCI compliant](https://github.com/opencontainers/runtime-spec) runtimes
|
|
479
|
+
# configured on the daemon. Keys hold the "name" used to reference the runtime.
|
|
480
|
+
#
|
|
481
|
+
# The Docker daemon relies on an OCI compliant runtime (invoked via the
|
|
482
|
+
# `containerd` daemon) as its interface to the Linux kernel namespaces, cgroups,
|
|
483
|
+
# and SELinux.
|
|
484
|
+
#
|
|
485
|
+
# The default runtime is `runc`, and automatically configured. Additional runtimes
|
|
486
|
+
# can be configured by the user and will be listed here.
|
|
487
|
+
#
|
|
488
|
+
# @return [Hash{Symbol=>DockerEngineAPI::Models::Info::Runtime}, nil]
|
|
489
|
+
optional :runtimes,
|
|
490
|
+
-> { DockerEngineAPI::Internal::Type::HashOf[DockerEngineAPI::Info::Runtime] },
|
|
491
|
+
api_name: :Runtimes
|
|
492
|
+
|
|
493
|
+
# @!attribute security_options
|
|
494
|
+
# List of security features that are enabled on the daemon, such as apparmor,
|
|
495
|
+
# seccomp, SELinux, user-namespaces (userns), rootless and no-new-privileges.
|
|
496
|
+
#
|
|
497
|
+
# Additional configuration options for each security feature may be present, and
|
|
498
|
+
# are included as a comma-separated list of key/value pairs.
|
|
499
|
+
#
|
|
500
|
+
# @return [Array<String>, nil]
|
|
501
|
+
optional :security_options, DockerEngineAPI::Internal::Type::ArrayOf[String], api_name: :SecurityOptions
|
|
502
|
+
|
|
503
|
+
# @!attribute server_version
|
|
504
|
+
# Version string of the daemon.
|
|
505
|
+
#
|
|
506
|
+
# @return [String, nil]
|
|
507
|
+
optional :server_version, String, api_name: :ServerVersion
|
|
508
|
+
|
|
509
|
+
# @!attribute swap_limit
|
|
510
|
+
# Indicates if the host has memory swap limit support enabled.
|
|
511
|
+
#
|
|
512
|
+
# @return [Boolean, nil]
|
|
513
|
+
optional :swap_limit, DockerEngineAPI::Internal::Type::Boolean, api_name: :SwapLimit
|
|
514
|
+
|
|
515
|
+
# @!attribute swarm
|
|
516
|
+
# Represents generic information about swarm.
|
|
517
|
+
#
|
|
518
|
+
# @return [DockerEngineAPI::Models::Info::Swarm, nil]
|
|
519
|
+
optional :swarm, -> { DockerEngineAPI::Info::Swarm }, api_name: :Swarm
|
|
520
|
+
|
|
521
|
+
# @!attribute system_time
|
|
522
|
+
# Current system-time in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format
|
|
523
|
+
# with nano-seconds.
|
|
524
|
+
#
|
|
525
|
+
# @return [String, nil]
|
|
526
|
+
optional :system_time, String, api_name: :SystemTime
|
|
527
|
+
|
|
528
|
+
# @!attribute warnings
|
|
529
|
+
# List of warnings / informational messages about missing features, or issues
|
|
530
|
+
# related to the daemon configuration.
|
|
531
|
+
#
|
|
532
|
+
# These messages can be printed by the client as information to the user.
|
|
533
|
+
#
|
|
534
|
+
# @return [Array<String>, nil]
|
|
535
|
+
optional :warnings, DockerEngineAPI::Internal::Type::ArrayOf[String], api_name: :Warnings
|
|
536
|
+
|
|
537
|
+
# @!method initialize(architecture: nil, cdi_spec_dirs: nil, cgroup_driver: nil, cgroup_version: nil, containerd: nil, containerd_commit: nil, containers: nil, containers_paused: nil, containers_running: nil, containers_stopped: nil, cpu_cfs_period: nil, cpu_cfs_quota: nil, cpu_set: nil, cpu_shares: nil, debug: nil, default_address_pools: nil, default_runtime: nil, discovered_devices: nil, docker_root_dir: nil, driver: nil, driver_status: nil, experimental_build: nil, firewall_backend: nil, generic_resources: nil, http_proxy: nil, https_proxy: nil, id: nil, images: nil, index_server_address: nil, init_binary: nil, init_commit: nil, i_pv4_forwarding: nil, isolation: nil, kernel_version: nil, labels: nil, live_restore_enabled: nil, logging_driver: nil, memory_limit: nil, mem_total: nil, name: nil, ncpu: nil, n_events_listener: nil, n_fd: nil, n_goroutines: nil, no_proxy: nil, nri: nil, oom_kill_disable: nil, operating_system: nil, os_type: nil, os_version: nil, pids_limit: nil, plugins: nil, product_license: nil, registry_config: nil, runc_commit: nil, runtimes: nil, security_options: nil, server_version: nil, swap_limit: nil, swarm: nil, system_time: nil, warnings: nil)
|
|
538
|
+
# Some parameter documentations has been truncated, see
|
|
539
|
+
# {DockerEngineAPI::Models::Info} for more details.
|
|
540
|
+
#
|
|
541
|
+
# @param architecture [String] Hardware architecture of the host, as returned by the operating system.
|
|
542
|
+
#
|
|
543
|
+
# @param cdi_spec_dirs [Array<String>] List of directories where (Container Device Interface) CDI
|
|
544
|
+
#
|
|
545
|
+
# @param cgroup_driver [Symbol, DockerEngineAPI::Models::Info::CgroupDriver] The driver to use for managing cgroups.
|
|
546
|
+
#
|
|
547
|
+
# @param cgroup_version [Symbol, DockerEngineAPI::Models::Info::CgroupVersion] The version of the cgroup.
|
|
548
|
+
#
|
|
549
|
+
# @param containerd [DockerEngineAPI::Models::Info::Containerd, nil] Information for connecting to the containerd instance that is used by the daemon
|
|
550
|
+
#
|
|
551
|
+
# @param containerd_commit [DockerEngineAPI::Models::Info::ContainerdCommit] Commit holds the Git-commit (SHA1) that a binary was built from, as
|
|
552
|
+
#
|
|
553
|
+
# @param containers [Integer] Total number of containers on the host.
|
|
554
|
+
#
|
|
555
|
+
# @param containers_paused [Integer] Number of containers with status `"paused"`.
|
|
556
|
+
#
|
|
557
|
+
# @param containers_running [Integer] Number of containers with status `"running"`.
|
|
558
|
+
#
|
|
559
|
+
# @param containers_stopped [Integer] Number of containers with status `"stopped"`.
|
|
560
|
+
#
|
|
561
|
+
# @param cpu_cfs_period [Boolean] Indicates if CPU CFS(Completely Fair Scheduler) period is supported by
|
|
562
|
+
#
|
|
563
|
+
# @param cpu_cfs_quota [Boolean] Indicates if CPU CFS(Completely Fair Scheduler) quota is supported by
|
|
564
|
+
#
|
|
565
|
+
# @param cpu_set [Boolean] Indicates if CPUsets (cpuset.cpus, cpuset.mems) are supported by the host.
|
|
566
|
+
#
|
|
567
|
+
# @param cpu_shares [Boolean] Indicates if CPU Shares limiting is supported by the host.
|
|
568
|
+
#
|
|
569
|
+
# @param debug [Boolean] Indicates if the daemon is running in debug-mode / with debug-level
|
|
570
|
+
#
|
|
571
|
+
# @param default_address_pools [Array<DockerEngineAPI::Models::Info::DefaultAddressPool>] List of custom default address pools for local networks, which can be
|
|
572
|
+
#
|
|
573
|
+
# @param default_runtime [String] Name of the default OCI runtime that is used when starting containers.
|
|
574
|
+
#
|
|
575
|
+
# @param discovered_devices [Array<DockerEngineAPI::Models::Info::DiscoveredDevice>] List of devices discovered by device drivers.
|
|
576
|
+
#
|
|
577
|
+
# @param docker_root_dir [String] Root directory of persistent Docker state.
|
|
578
|
+
#
|
|
579
|
+
# @param driver [String] Name of the storage driver in use.
|
|
580
|
+
#
|
|
581
|
+
# @param driver_status [Array<Array<String>>] Information specific to the storage driver, provided as
|
|
582
|
+
#
|
|
583
|
+
# @param experimental_build [Boolean] Indicates if experimental features are enabled on the daemon.
|
|
584
|
+
#
|
|
585
|
+
# @param firewall_backend [DockerEngineAPI::Models::Info::FirewallBackend, nil] Information about the daemon's firewalling configuration.
|
|
586
|
+
#
|
|
587
|
+
# @param generic_resources [Array<DockerEngineAPI::Models::Info::GenericResource>] User-defined resources can be either Integer resources (e.g, `SSD=3`) or
|
|
588
|
+
#
|
|
589
|
+
# @param http_proxy [String] HTTP-proxy configured for the daemon. This value is obtained from the
|
|
590
|
+
#
|
|
591
|
+
# @param https_proxy [String] HTTPS-proxy configured for the daemon. This value is obtained from the
|
|
592
|
+
#
|
|
593
|
+
# @param id [String] Unique identifier of the daemon.
|
|
594
|
+
#
|
|
595
|
+
# @param images [Integer] Total number of images on the host.
|
|
596
|
+
#
|
|
597
|
+
# @param index_server_address [String] Address / URL of the index server that is used for image search,
|
|
598
|
+
#
|
|
599
|
+
# @param init_binary [String] Name and, optional, path of the `docker-init` binary.
|
|
600
|
+
#
|
|
601
|
+
# @param init_commit [DockerEngineAPI::Models::Info::InitCommit] Commit holds the Git-commit (SHA1) that a binary was built from, as
|
|
602
|
+
#
|
|
603
|
+
# @param i_pv4_forwarding [Boolean] Indicates IPv4 forwarding is enabled.
|
|
604
|
+
#
|
|
605
|
+
# @param isolation [Symbol, DockerEngineAPI::Models::Info::Isolation] Represents the isolation technology to use as a default for containers.
|
|
606
|
+
#
|
|
607
|
+
# @param kernel_version [String] Kernel version of the host.
|
|
608
|
+
#
|
|
609
|
+
# @param labels [Array<String>] User-defined labels (key/value metadata) as set on the daemon.
|
|
610
|
+
#
|
|
611
|
+
# @param live_restore_enabled [Boolean] Indicates if live restore is enabled.
|
|
612
|
+
#
|
|
613
|
+
# @param logging_driver [String] The logging driver to use as a default for new containers.
|
|
614
|
+
#
|
|
615
|
+
# @param memory_limit [Boolean] Indicates if the host has memory limit support enabled.
|
|
616
|
+
#
|
|
617
|
+
# @param mem_total [Integer] Total amount of physical memory available on the host, in bytes.
|
|
618
|
+
#
|
|
619
|
+
# @param name [String] Hostname of the host.
|
|
620
|
+
#
|
|
621
|
+
# @param ncpu [Integer] The number of logical CPUs usable by the daemon.
|
|
622
|
+
#
|
|
623
|
+
# @param n_events_listener [Integer] Number of event listeners subscribed.
|
|
624
|
+
#
|
|
625
|
+
# @param n_fd [Integer] The total number of file Descriptors in use by the daemon process.
|
|
626
|
+
#
|
|
627
|
+
# @param n_goroutines [Integer] The number of goroutines that currently exist.
|
|
628
|
+
#
|
|
629
|
+
# @param no_proxy [String] Comma-separated list of domain extensions for which no proxy should be
|
|
630
|
+
#
|
|
631
|
+
# @param nri [DockerEngineAPI::Models::Info::Nri, nil] Information about the Node Resource Interface (NRI).
|
|
632
|
+
#
|
|
633
|
+
# @param oom_kill_disable [Boolean] Indicates if OOM killer disable is supported on the host.
|
|
634
|
+
#
|
|
635
|
+
# @param operating_system [String] Name of the host's operating system, for example: "Ubuntu 24.04 LTS"
|
|
636
|
+
#
|
|
637
|
+
# @param os_type [String] Generic type of the operating system of the host, as returned by the
|
|
638
|
+
#
|
|
639
|
+
# @param os_version [String] Version of the host's operating system
|
|
640
|
+
#
|
|
641
|
+
# @param pids_limit [Boolean] Indicates if the host kernel has PID limit support enabled.
|
|
642
|
+
#
|
|
643
|
+
# @param plugins [DockerEngineAPI::Models::Info::Plugins] Available plugins per type.
|
|
644
|
+
#
|
|
645
|
+
# @param product_license [String] Reports a summary of the product license on the daemon.
|
|
646
|
+
#
|
|
647
|
+
# @param registry_config [DockerEngineAPI::Models::Info::RegistryConfig, nil] RegistryServiceConfig stores daemon registry services configuration.
|
|
648
|
+
#
|
|
649
|
+
# @param runc_commit [DockerEngineAPI::Models::Info::RuncCommit] Commit holds the Git-commit (SHA1) that a binary was built from, as
|
|
650
|
+
#
|
|
651
|
+
# @param runtimes [Hash{Symbol=>DockerEngineAPI::Models::Info::Runtime}] List of [OCI compliant](https://github.com/opencontainers/runtime-spec)
|
|
652
|
+
#
|
|
653
|
+
# @param security_options [Array<String>] List of security features that are enabled on the daemon, such as
|
|
654
|
+
#
|
|
655
|
+
# @param server_version [String] Version string of the daemon.
|
|
656
|
+
#
|
|
657
|
+
# @param swap_limit [Boolean] Indicates if the host has memory swap limit support enabled.
|
|
658
|
+
#
|
|
659
|
+
# @param swarm [DockerEngineAPI::Models::Info::Swarm] Represents generic information about swarm.
|
|
660
|
+
#
|
|
661
|
+
# @param system_time [String] Current system-time in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt)
|
|
662
|
+
#
|
|
663
|
+
# @param warnings [Array<String>] List of warnings / informational messages about missing features, or
|
|
664
|
+
|
|
665
|
+
# The driver to use for managing cgroups.
|
|
666
|
+
#
|
|
667
|
+
# @see DockerEngineAPI::Models::Info#cgroup_driver
|
|
668
|
+
module CgroupDriver
|
|
669
|
+
extend DockerEngineAPI::Internal::Type::Enum
|
|
670
|
+
|
|
671
|
+
CGROUPFS = :cgroupfs
|
|
672
|
+
SYSTEMD = :systemd
|
|
673
|
+
NONE = :none
|
|
674
|
+
|
|
675
|
+
# @!method self.values
|
|
676
|
+
# @return [Array<Symbol>]
|
|
677
|
+
end
|
|
678
|
+
|
|
679
|
+
# The version of the cgroup.
|
|
680
|
+
#
|
|
681
|
+
# @see DockerEngineAPI::Models::Info#cgroup_version
|
|
682
|
+
module CgroupVersion
|
|
683
|
+
extend DockerEngineAPI::Internal::Type::Enum
|
|
684
|
+
|
|
685
|
+
CGROUP_VERSION_1 = :"1"
|
|
686
|
+
CGROUP_VERSION_2 = :"2"
|
|
687
|
+
|
|
688
|
+
# @!method self.values
|
|
689
|
+
# @return [Array<Symbol>]
|
|
690
|
+
end
|
|
691
|
+
|
|
692
|
+
# @see DockerEngineAPI::Models::Info#containerd
|
|
693
|
+
class Containerd < DockerEngineAPI::Internal::Type::BaseModel
|
|
694
|
+
# @!attribute address
|
|
695
|
+
# The address of the containerd socket.
|
|
696
|
+
#
|
|
697
|
+
# @return [String, nil]
|
|
698
|
+
optional :address, String, api_name: :Address
|
|
699
|
+
|
|
700
|
+
# @!attribute namespaces
|
|
701
|
+
# The namespaces that the daemon uses for running containers and plugins in
|
|
702
|
+
# containerd. These namespaces can be configured in the daemon configuration, and
|
|
703
|
+
# are considered to be used exclusively by the daemon, Tampering with the
|
|
704
|
+
# containerd instance may cause unexpected behavior.
|
|
705
|
+
#
|
|
706
|
+
# As these namespaces are considered to be exclusively accessed by the daemon, it
|
|
707
|
+
# is not recommended to change these values, or to change them to a value that is
|
|
708
|
+
# used by other systems, such as cri-containerd.
|
|
709
|
+
#
|
|
710
|
+
# @return [DockerEngineAPI::Models::Info::Containerd::Namespaces, nil]
|
|
711
|
+
optional :namespaces, -> { DockerEngineAPI::Info::Containerd::Namespaces }, api_name: :Namespaces
|
|
712
|
+
|
|
713
|
+
# @!method initialize(address: nil, namespaces: nil)
|
|
714
|
+
# Some parameter documentations has been truncated, see
|
|
715
|
+
# {DockerEngineAPI::Models::Info::Containerd} for more details.
|
|
716
|
+
#
|
|
717
|
+
# Information for connecting to the containerd instance that is used by the
|
|
718
|
+
# daemon. This is included for debugging purposes only.
|
|
719
|
+
#
|
|
720
|
+
# @param address [String] The address of the containerd socket.
|
|
721
|
+
#
|
|
722
|
+
# @param namespaces [DockerEngineAPI::Models::Info::Containerd::Namespaces] The namespaces that the daemon uses for running containers and
|
|
723
|
+
|
|
724
|
+
# @see DockerEngineAPI::Models::Info::Containerd#namespaces
|
|
725
|
+
class Namespaces < DockerEngineAPI::Internal::Type::BaseModel
|
|
726
|
+
# @!attribute containers
|
|
727
|
+
# The default containerd namespace used for containers managed by the daemon.
|
|
728
|
+
#
|
|
729
|
+
# The default namespace for containers is "moby", but will be suffixed with the
|
|
730
|
+
# `<uid>.<gid>` of the remapped `root` if user-namespaces are enabled and the
|
|
731
|
+
# containerd image-store is used.
|
|
732
|
+
#
|
|
733
|
+
# @return [String, nil]
|
|
734
|
+
optional :containers, String, api_name: :Containers
|
|
735
|
+
|
|
736
|
+
# @!attribute plugins
|
|
737
|
+
# The default containerd namespace used for plugins managed by the daemon.
|
|
738
|
+
#
|
|
739
|
+
# The default namespace for plugins is "plugins.moby", but will be suffixed with
|
|
740
|
+
# the `<uid>.<gid>` of the remapped `root` if user-namespaces are enabled and the
|
|
741
|
+
# containerd image-store is used.
|
|
742
|
+
#
|
|
743
|
+
# @return [String, nil]
|
|
744
|
+
optional :plugins, String, api_name: :Plugins
|
|
745
|
+
|
|
746
|
+
# @!method initialize(containers: nil, plugins: nil)
|
|
747
|
+
# Some parameter documentations has been truncated, see
|
|
748
|
+
# {DockerEngineAPI::Models::Info::Containerd::Namespaces} for more details.
|
|
749
|
+
#
|
|
750
|
+
# The namespaces that the daemon uses for running containers and plugins in
|
|
751
|
+
# containerd. These namespaces can be configured in the daemon configuration, and
|
|
752
|
+
# are considered to be used exclusively by the daemon, Tampering with the
|
|
753
|
+
# containerd instance may cause unexpected behavior.
|
|
754
|
+
#
|
|
755
|
+
# As these namespaces are considered to be exclusively accessed by the daemon, it
|
|
756
|
+
# is not recommended to change these values, or to change them to a value that is
|
|
757
|
+
# used by other systems, such as cri-containerd.
|
|
758
|
+
#
|
|
759
|
+
# @param containers [String] The default containerd namespace used for containers managed
|
|
760
|
+
#
|
|
761
|
+
# @param plugins [String] The default containerd namespace used for plugins managed by
|
|
762
|
+
end
|
|
763
|
+
end
|
|
764
|
+
|
|
765
|
+
# @see DockerEngineAPI::Models::Info#containerd_commit
|
|
766
|
+
class ContainerdCommit < DockerEngineAPI::Internal::Type::BaseModel
|
|
767
|
+
# @!attribute id
|
|
768
|
+
# Actual commit ID of external tool.
|
|
769
|
+
#
|
|
770
|
+
# @return [String, nil]
|
|
771
|
+
optional :id, String, api_name: :ID
|
|
772
|
+
|
|
773
|
+
# @!method initialize(id: nil)
|
|
774
|
+
# Commit holds the Git-commit (SHA1) that a binary was built from, as reported in
|
|
775
|
+
# the version-string of external tools, such as `containerd`, or `runC`.
|
|
776
|
+
#
|
|
777
|
+
# @param id [String] Actual commit ID of external tool.
|
|
778
|
+
end
|
|
779
|
+
|
|
780
|
+
class DefaultAddressPool < DockerEngineAPI::Internal::Type::BaseModel
|
|
781
|
+
# @!attribute base
|
|
782
|
+
# The network address in CIDR format
|
|
783
|
+
#
|
|
784
|
+
# @return [String, nil]
|
|
785
|
+
optional :base, String, api_name: :Base
|
|
786
|
+
|
|
787
|
+
# @!attribute size
|
|
788
|
+
# The network pool size
|
|
789
|
+
#
|
|
790
|
+
# @return [Integer, nil]
|
|
791
|
+
optional :size, Integer, api_name: :Size
|
|
792
|
+
|
|
793
|
+
# @!method initialize(base: nil, size: nil)
|
|
794
|
+
# @param base [String] The network address in CIDR format
|
|
795
|
+
#
|
|
796
|
+
# @param size [Integer] The network pool size
|
|
797
|
+
end
|
|
798
|
+
|
|
799
|
+
class DiscoveredDevice < DockerEngineAPI::Internal::Type::BaseModel
|
|
800
|
+
# @!attribute id
|
|
801
|
+
# The unique identifier for the device within its source driver. For CDI devices,
|
|
802
|
+
# this would be an FQDN like "vendor.com/gpu=0".
|
|
803
|
+
#
|
|
804
|
+
# @return [String, nil]
|
|
805
|
+
optional :id, String, api_name: :ID
|
|
806
|
+
|
|
807
|
+
# @!attribute source
|
|
808
|
+
# The origin device driver.
|
|
809
|
+
#
|
|
810
|
+
# @return [String, nil]
|
|
811
|
+
optional :source, String, api_name: :Source
|
|
812
|
+
|
|
813
|
+
# @!method initialize(id: nil, source: nil)
|
|
814
|
+
# Some parameter documentations has been truncated, see
|
|
815
|
+
# {DockerEngineAPI::Models::Info::DiscoveredDevice} for more details.
|
|
816
|
+
#
|
|
817
|
+
# DeviceInfo represents a device that can be used by a container.
|
|
818
|
+
#
|
|
819
|
+
# @param id [String] The unique identifier for the device within its source driver.
|
|
820
|
+
#
|
|
821
|
+
# @param source [String] The origin device driver.
|
|
822
|
+
end
|
|
823
|
+
|
|
824
|
+
# @see DockerEngineAPI::Models::Info#firewall_backend
|
|
825
|
+
class FirewallBackend < DockerEngineAPI::Internal::Type::BaseModel
|
|
826
|
+
# @!attribute driver
|
|
827
|
+
# The name of the firewall backend driver.
|
|
828
|
+
#
|
|
829
|
+
# @return [String, nil]
|
|
830
|
+
optional :driver, String, api_name: :Driver
|
|
831
|
+
|
|
832
|
+
# @!attribute info
|
|
833
|
+
# Information about the firewall backend, provided as "label" / "value" pairs.
|
|
834
|
+
#
|
|
835
|
+
# <p><br /></p>
|
|
836
|
+
#
|
|
837
|
+
# > **Note**: The information returned in this field, including the formatting of
|
|
838
|
+
# > values and labels, should not be considered stable, and may change without
|
|
839
|
+
# > notice.
|
|
840
|
+
#
|
|
841
|
+
# @return [Array<Array<String>>, nil]
|
|
842
|
+
optional :info,
|
|
843
|
+
DockerEngineAPI::Internal::Type::ArrayOf[DockerEngineAPI::Internal::Type::ArrayOf[String]],
|
|
844
|
+
api_name: :Info
|
|
845
|
+
|
|
846
|
+
# @!method initialize(driver: nil, info: nil)
|
|
847
|
+
# Some parameter documentations has been truncated, see
|
|
848
|
+
# {DockerEngineAPI::Models::Info::FirewallBackend} for more details.
|
|
849
|
+
#
|
|
850
|
+
# Information about the daemon's firewalling configuration.
|
|
851
|
+
#
|
|
852
|
+
# This field is currently only used on Linux, and omitted on other platforms.
|
|
853
|
+
#
|
|
854
|
+
# @param driver [String] The name of the firewall backend driver.
|
|
855
|
+
#
|
|
856
|
+
# @param info [Array<Array<String>>] Information about the firewall backend, provided as
|
|
857
|
+
end
|
|
858
|
+
|
|
859
|
+
class GenericResource < DockerEngineAPI::Internal::Type::BaseModel
|
|
860
|
+
# @!attribute discrete_resource_spec
|
|
861
|
+
#
|
|
862
|
+
# @return [DockerEngineAPI::Models::Info::GenericResource::DiscreteResourceSpec, nil]
|
|
863
|
+
optional :discrete_resource_spec,
|
|
864
|
+
-> { DockerEngineAPI::Info::GenericResource::DiscreteResourceSpec },
|
|
865
|
+
api_name: :DiscreteResourceSpec
|
|
866
|
+
|
|
867
|
+
# @!attribute named_resource_spec
|
|
868
|
+
#
|
|
869
|
+
# @return [DockerEngineAPI::Models::Info::GenericResource::NamedResourceSpec, nil]
|
|
870
|
+
optional :named_resource_spec,
|
|
871
|
+
-> { DockerEngineAPI::Info::GenericResource::NamedResourceSpec },
|
|
872
|
+
api_name: :NamedResourceSpec
|
|
873
|
+
|
|
874
|
+
# @!method initialize(discrete_resource_spec: nil, named_resource_spec: nil)
|
|
875
|
+
# @param discrete_resource_spec [DockerEngineAPI::Models::Info::GenericResource::DiscreteResourceSpec]
|
|
876
|
+
# @param named_resource_spec [DockerEngineAPI::Models::Info::GenericResource::NamedResourceSpec]
|
|
877
|
+
|
|
878
|
+
# @see DockerEngineAPI::Models::Info::GenericResource#discrete_resource_spec
|
|
879
|
+
class DiscreteResourceSpec < DockerEngineAPI::Internal::Type::BaseModel
|
|
880
|
+
# @!attribute kind
|
|
881
|
+
#
|
|
882
|
+
# @return [String, nil]
|
|
883
|
+
optional :kind, String, api_name: :Kind
|
|
884
|
+
|
|
885
|
+
# @!attribute value
|
|
886
|
+
#
|
|
887
|
+
# @return [Integer, nil]
|
|
888
|
+
optional :value, Integer, api_name: :Value
|
|
889
|
+
|
|
890
|
+
# @!method initialize(kind: nil, value: nil)
|
|
891
|
+
# @param kind [String]
|
|
892
|
+
# @param value [Integer]
|
|
893
|
+
end
|
|
894
|
+
|
|
895
|
+
# @see DockerEngineAPI::Models::Info::GenericResource#named_resource_spec
|
|
896
|
+
class NamedResourceSpec < DockerEngineAPI::Internal::Type::BaseModel
|
|
897
|
+
# @!attribute kind
|
|
898
|
+
#
|
|
899
|
+
# @return [String, nil]
|
|
900
|
+
optional :kind, String, api_name: :Kind
|
|
901
|
+
|
|
902
|
+
# @!attribute value
|
|
903
|
+
#
|
|
904
|
+
# @return [String, nil]
|
|
905
|
+
optional :value, String, api_name: :Value
|
|
906
|
+
|
|
907
|
+
# @!method initialize(kind: nil, value: nil)
|
|
908
|
+
# @param kind [String]
|
|
909
|
+
# @param value [String]
|
|
910
|
+
end
|
|
911
|
+
end
|
|
912
|
+
|
|
913
|
+
# @see DockerEngineAPI::Models::Info#init_commit
|
|
914
|
+
class InitCommit < DockerEngineAPI::Internal::Type::BaseModel
|
|
915
|
+
# @!attribute id
|
|
916
|
+
# Actual commit ID of external tool.
|
|
917
|
+
#
|
|
918
|
+
# @return [String, nil]
|
|
919
|
+
optional :id, String, api_name: :ID
|
|
920
|
+
|
|
921
|
+
# @!method initialize(id: nil)
|
|
922
|
+
# Commit holds the Git-commit (SHA1) that a binary was built from, as reported in
|
|
923
|
+
# the version-string of external tools, such as `containerd`, or `runC`.
|
|
924
|
+
#
|
|
925
|
+
# @param id [String] Actual commit ID of external tool.
|
|
926
|
+
end
|
|
927
|
+
|
|
928
|
+
# Represents the isolation technology to use as a default for containers. The
|
|
929
|
+
# supported values are platform-specific.
|
|
930
|
+
#
|
|
931
|
+
# If no isolation value is specified on daemon start, on Windows client, the
|
|
932
|
+
# default is `hyperv`, and on Windows server, the default is `process`.
|
|
933
|
+
#
|
|
934
|
+
# This option is currently not used on other platforms.
|
|
935
|
+
#
|
|
936
|
+
# @see DockerEngineAPI::Models::Info#isolation
|
|
937
|
+
module Isolation
|
|
938
|
+
extend DockerEngineAPI::Internal::Type::Enum
|
|
939
|
+
|
|
940
|
+
DEFAULT = :default
|
|
941
|
+
HYPERV = :hyperv
|
|
942
|
+
PROCESS = :process
|
|
943
|
+
EMPTY = :""
|
|
944
|
+
|
|
945
|
+
# @!method self.values
|
|
946
|
+
# @return [Array<Symbol>]
|
|
947
|
+
end
|
|
948
|
+
|
|
949
|
+
# @see DockerEngineAPI::Models::Info#nri
|
|
950
|
+
class Nri < DockerEngineAPI::Internal::Type::BaseModel
|
|
951
|
+
# @!attribute info
|
|
952
|
+
# Information about NRI, provided as "label" / "value" pairs.
|
|
953
|
+
#
|
|
954
|
+
# <p><br /></p>
|
|
955
|
+
#
|
|
956
|
+
# > **Note**: The information returned in this field, including the formatting of
|
|
957
|
+
# > values and labels, should not be considered stable, and may change without
|
|
958
|
+
# > notice.
|
|
959
|
+
#
|
|
960
|
+
# @return [Array<Array<String>>, nil]
|
|
961
|
+
optional :info,
|
|
962
|
+
DockerEngineAPI::Internal::Type::ArrayOf[DockerEngineAPI::Internal::Type::ArrayOf[String]],
|
|
963
|
+
api_name: :Info
|
|
964
|
+
|
|
965
|
+
# @!method initialize(info: nil)
|
|
966
|
+
# Some parameter documentations has been truncated, see
|
|
967
|
+
# {DockerEngineAPI::Models::Info::Nri} for more details.
|
|
968
|
+
#
|
|
969
|
+
# Information about the Node Resource Interface (NRI).
|
|
970
|
+
#
|
|
971
|
+
# This field is only present if NRI is enabled.
|
|
972
|
+
#
|
|
973
|
+
# @param info [Array<Array<String>>] Information about NRI, provided as "label" / "value" pairs.
|
|
974
|
+
end
|
|
975
|
+
|
|
976
|
+
# @see DockerEngineAPI::Models::Info#plugins
|
|
977
|
+
class Plugins < DockerEngineAPI::Internal::Type::BaseModel
|
|
978
|
+
# @!attribute authorization
|
|
979
|
+
# Names of available authorization plugins.
|
|
980
|
+
#
|
|
981
|
+
# @return [Array<String>, nil]
|
|
982
|
+
optional :authorization, DockerEngineAPI::Internal::Type::ArrayOf[String], api_name: :Authorization
|
|
983
|
+
|
|
984
|
+
# @!attribute log
|
|
985
|
+
# Names of available logging-drivers, and logging-driver plugins.
|
|
986
|
+
#
|
|
987
|
+
# @return [Array<String>, nil]
|
|
988
|
+
optional :log, DockerEngineAPI::Internal::Type::ArrayOf[String], api_name: :Log
|
|
989
|
+
|
|
990
|
+
# @!attribute network
|
|
991
|
+
# Names of available network-drivers, and network-driver plugins.
|
|
992
|
+
#
|
|
993
|
+
# @return [Array<String>, nil]
|
|
994
|
+
optional :network, DockerEngineAPI::Internal::Type::ArrayOf[String], api_name: :Network
|
|
995
|
+
|
|
996
|
+
# @!attribute volume
|
|
997
|
+
# Names of available volume-drivers, and network-driver plugins.
|
|
998
|
+
#
|
|
999
|
+
# @return [Array<String>, nil]
|
|
1000
|
+
optional :volume, DockerEngineAPI::Internal::Type::ArrayOf[String], api_name: :Volume
|
|
1001
|
+
|
|
1002
|
+
# @!method initialize(authorization: nil, log: nil, network: nil, volume: nil)
|
|
1003
|
+
# Available plugins per type.
|
|
1004
|
+
#
|
|
1005
|
+
# <p><br /></p>
|
|
1006
|
+
#
|
|
1007
|
+
# > **Note**: Only unmanaged (V1) plugins are included in this list. V1 plugins
|
|
1008
|
+
# > are "lazily" loaded, and are not returned in this list if there is no resource
|
|
1009
|
+
# > using the plugin.
|
|
1010
|
+
#
|
|
1011
|
+
# @param authorization [Array<String>] Names of available authorization plugins.
|
|
1012
|
+
#
|
|
1013
|
+
# @param log [Array<String>] Names of available logging-drivers, and logging-driver plugins.
|
|
1014
|
+
#
|
|
1015
|
+
# @param network [Array<String>] Names of available network-drivers, and network-driver plugins.
|
|
1016
|
+
#
|
|
1017
|
+
# @param volume [Array<String>] Names of available volume-drivers, and network-driver plugins.
|
|
1018
|
+
end
|
|
1019
|
+
|
|
1020
|
+
# @see DockerEngineAPI::Models::Info#registry_config
|
|
1021
|
+
class RegistryConfig < DockerEngineAPI::Internal::Type::BaseModel
|
|
1022
|
+
# @!attribute index_configs
|
|
1023
|
+
#
|
|
1024
|
+
# @return [Hash{Symbol=>DockerEngineAPI::Models::Info::RegistryConfig::IndexConfig, nil}, nil]
|
|
1025
|
+
optional :index_configs,
|
|
1026
|
+
-> {
|
|
1027
|
+
DockerEngineAPI::Internal::Type::HashOf[DockerEngineAPI::Info::RegistryConfig::IndexConfig,
|
|
1028
|
+
nil?: true]
|
|
1029
|
+
},
|
|
1030
|
+
api_name: :IndexConfigs
|
|
1031
|
+
|
|
1032
|
+
# @!attribute insecure_registry_cid_rs
|
|
1033
|
+
# List of IP ranges of insecure registries, using the CIDR syntax
|
|
1034
|
+
# ([RFC 4632](https://tools.ietf.org/html/4632)). Insecure registries accept
|
|
1035
|
+
# un-encrypted (HTTP) and/or untrusted (HTTPS with certificates from unknown CAs)
|
|
1036
|
+
# communication.
|
|
1037
|
+
#
|
|
1038
|
+
# By default, local registries (`::1/128` and `127.0.0.0/8`) are configured as
|
|
1039
|
+
# insecure. All other registries are secure. Communicating with an insecure
|
|
1040
|
+
# registry is not possible if the daemon assumes that registry is secure.
|
|
1041
|
+
#
|
|
1042
|
+
# This configuration override this behavior, insecure communication with
|
|
1043
|
+
# registries whose resolved IP address is within the subnet described by the CIDR
|
|
1044
|
+
# syntax.
|
|
1045
|
+
#
|
|
1046
|
+
# Registries can also be marked insecure by hostname. Those registries are listed
|
|
1047
|
+
# under `IndexConfigs` and have their `Secure` field set to `false`.
|
|
1048
|
+
#
|
|
1049
|
+
# > **Warning**: Using this option can be useful when running a local registry,
|
|
1050
|
+
# > but introduces security vulnerabilities. This option should therefore ONLY be
|
|
1051
|
+
# > used for testing purposes. For increased security, users should add their CA
|
|
1052
|
+
# > to their system's list of trusted CAs instead of enabling this option.
|
|
1053
|
+
#
|
|
1054
|
+
# @return [Array<String>, nil]
|
|
1055
|
+
optional :insecure_registry_cid_rs,
|
|
1056
|
+
DockerEngineAPI::Internal::Type::ArrayOf[String],
|
|
1057
|
+
api_name: :InsecureRegistryCIDRs
|
|
1058
|
+
|
|
1059
|
+
# @!attribute mirrors
|
|
1060
|
+
# List of registry URLs that act as a mirror for the official (`docker.io`)
|
|
1061
|
+
# registry.
|
|
1062
|
+
#
|
|
1063
|
+
# @return [Array<String>, nil]
|
|
1064
|
+
optional :mirrors, DockerEngineAPI::Internal::Type::ArrayOf[String], api_name: :Mirrors
|
|
1065
|
+
|
|
1066
|
+
# @!method initialize(index_configs: nil, insecure_registry_cid_rs: nil, mirrors: nil)
|
|
1067
|
+
# Some parameter documentations has been truncated, see
|
|
1068
|
+
# {DockerEngineAPI::Models::Info::RegistryConfig} for more details.
|
|
1069
|
+
#
|
|
1070
|
+
# RegistryServiceConfig stores daemon registry services configuration.
|
|
1071
|
+
#
|
|
1072
|
+
# @param index_configs [Hash{Symbol=>DockerEngineAPI::Models::Info::RegistryConfig::IndexConfig, nil}]
|
|
1073
|
+
#
|
|
1074
|
+
# @param insecure_registry_cid_rs [Array<String>] List of IP ranges of insecure registries, using the CIDR syntax
|
|
1075
|
+
#
|
|
1076
|
+
# @param mirrors [Array<String>] List of registry URLs that act as a mirror for the official
|
|
1077
|
+
|
|
1078
|
+
class IndexConfig < DockerEngineAPI::Internal::Type::BaseModel
|
|
1079
|
+
# @!attribute mirrors
|
|
1080
|
+
# List of mirrors, expressed as URIs.
|
|
1081
|
+
#
|
|
1082
|
+
# @return [Array<String>, nil]
|
|
1083
|
+
optional :mirrors, DockerEngineAPI::Internal::Type::ArrayOf[String], api_name: :Mirrors
|
|
1084
|
+
|
|
1085
|
+
# @!attribute name
|
|
1086
|
+
# Name of the registry, such as "docker.io".
|
|
1087
|
+
#
|
|
1088
|
+
# @return [String, nil]
|
|
1089
|
+
optional :name, String, api_name: :Name
|
|
1090
|
+
|
|
1091
|
+
# @!attribute official
|
|
1092
|
+
# Indicates whether this is an official registry (i.e., Docker Hub / docker.io)
|
|
1093
|
+
#
|
|
1094
|
+
# @return [Boolean, nil]
|
|
1095
|
+
optional :official, DockerEngineAPI::Internal::Type::Boolean, api_name: :Official
|
|
1096
|
+
|
|
1097
|
+
# @!attribute secure
|
|
1098
|
+
# Indicates if the registry is part of the list of insecure registries.
|
|
1099
|
+
#
|
|
1100
|
+
# If `false`, the registry is insecure. Insecure registries accept un-encrypted
|
|
1101
|
+
# (HTTP) and/or untrusted (HTTPS with certificates from unknown CAs)
|
|
1102
|
+
# communication.
|
|
1103
|
+
#
|
|
1104
|
+
# > **Warning**: Insecure registries can be useful when running a local registry.
|
|
1105
|
+
# > However, because its use creates security vulnerabilities it should ONLY be
|
|
1106
|
+
# > enabled for testing purposes. For increased security, users should add their
|
|
1107
|
+
# > CA to their system's list of trusted CAs instead of enabling this option.
|
|
1108
|
+
#
|
|
1109
|
+
# @return [Boolean, nil]
|
|
1110
|
+
optional :secure, DockerEngineAPI::Internal::Type::Boolean, api_name: :Secure
|
|
1111
|
+
|
|
1112
|
+
# @!method initialize(mirrors: nil, name: nil, official: nil, secure: nil)
|
|
1113
|
+
# Some parameter documentations has been truncated, see
|
|
1114
|
+
# {DockerEngineAPI::Models::Info::RegistryConfig::IndexConfig} for more details.
|
|
1115
|
+
#
|
|
1116
|
+
# IndexInfo contains information about a registry.
|
|
1117
|
+
#
|
|
1118
|
+
# @param mirrors [Array<String>] List of mirrors, expressed as URIs.
|
|
1119
|
+
#
|
|
1120
|
+
# @param name [String] Name of the registry, such as "docker.io".
|
|
1121
|
+
#
|
|
1122
|
+
# @param official [Boolean] Indicates whether this is an official registry (i.e., Docker Hub / docker.io)
|
|
1123
|
+
#
|
|
1124
|
+
# @param secure [Boolean] Indicates if the registry is part of the list of insecure
|
|
1125
|
+
end
|
|
1126
|
+
end
|
|
1127
|
+
|
|
1128
|
+
# @see DockerEngineAPI::Models::Info#runc_commit
|
|
1129
|
+
class RuncCommit < DockerEngineAPI::Internal::Type::BaseModel
|
|
1130
|
+
# @!attribute id
|
|
1131
|
+
# Actual commit ID of external tool.
|
|
1132
|
+
#
|
|
1133
|
+
# @return [String, nil]
|
|
1134
|
+
optional :id, String, api_name: :ID
|
|
1135
|
+
|
|
1136
|
+
# @!method initialize(id: nil)
|
|
1137
|
+
# Commit holds the Git-commit (SHA1) that a binary was built from, as reported in
|
|
1138
|
+
# the version-string of external tools, such as `containerd`, or `runC`.
|
|
1139
|
+
#
|
|
1140
|
+
# @param id [String] Actual commit ID of external tool.
|
|
1141
|
+
end
|
|
1142
|
+
|
|
1143
|
+
class Runtime < DockerEngineAPI::Internal::Type::BaseModel
|
|
1144
|
+
# @!attribute path
|
|
1145
|
+
# Name and, optional, path, of the OCI executable binary.
|
|
1146
|
+
#
|
|
1147
|
+
# If the path is omitted, the daemon searches the host's `$PATH` for the binary
|
|
1148
|
+
# and uses the first result.
|
|
1149
|
+
#
|
|
1150
|
+
# @return [String, nil]
|
|
1151
|
+
optional :path, String
|
|
1152
|
+
|
|
1153
|
+
# @!attribute runtime_args
|
|
1154
|
+
# List of command-line arguments to pass to the runtime when invoked.
|
|
1155
|
+
#
|
|
1156
|
+
# @return [Array<String>, nil]
|
|
1157
|
+
optional :runtime_args,
|
|
1158
|
+
DockerEngineAPI::Internal::Type::ArrayOf[String],
|
|
1159
|
+
api_name: :runtimeArgs,
|
|
1160
|
+
nil?: true
|
|
1161
|
+
|
|
1162
|
+
# @!attribute status
|
|
1163
|
+
# Information specific to the runtime.
|
|
1164
|
+
#
|
|
1165
|
+
# While this API specification does not define data provided by runtimes, the
|
|
1166
|
+
# following well-known properties may be provided by runtimes:
|
|
1167
|
+
#
|
|
1168
|
+
# `org.opencontainers.runtime-spec.features`: features structure as defined in the
|
|
1169
|
+
# [OCI Runtime Specification](https://github.com/opencontainers/runtime-spec/blob/main/features.md),
|
|
1170
|
+
# in a JSON string representation.
|
|
1171
|
+
#
|
|
1172
|
+
# <p><br /></p>
|
|
1173
|
+
#
|
|
1174
|
+
# > **Note**: The information returned in this field, including the formatting of
|
|
1175
|
+
# > values and labels, should not be considered stable, and may change without
|
|
1176
|
+
# > notice.
|
|
1177
|
+
#
|
|
1178
|
+
# @return [Hash{Symbol=>String}, nil]
|
|
1179
|
+
optional :status, DockerEngineAPI::Internal::Type::HashOf[String], nil?: true
|
|
1180
|
+
|
|
1181
|
+
# @!method initialize(path: nil, runtime_args: nil, status: nil)
|
|
1182
|
+
# Some parameter documentations has been truncated, see
|
|
1183
|
+
# {DockerEngineAPI::Models::Info::Runtime} for more details.
|
|
1184
|
+
#
|
|
1185
|
+
# Runtime describes an
|
|
1186
|
+
# [OCI compliant](https://github.com/opencontainers/runtime-spec) runtime.
|
|
1187
|
+
#
|
|
1188
|
+
# The runtime is invoked by the daemon via the `containerd` daemon. OCI runtimes
|
|
1189
|
+
# act as an interface to the Linux kernel namespaces, cgroups, and SELinux.
|
|
1190
|
+
#
|
|
1191
|
+
# @param path [String] Name and, optional, path, of the OCI executable binary.
|
|
1192
|
+
#
|
|
1193
|
+
# @param runtime_args [Array<String>, nil] List of command-line arguments to pass to the runtime when invoked.
|
|
1194
|
+
#
|
|
1195
|
+
# @param status [Hash{Symbol=>String}, nil] Information specific to the runtime.
|
|
1196
|
+
end
|
|
1197
|
+
|
|
1198
|
+
# @see DockerEngineAPI::Models::Info#swarm
|
|
1199
|
+
class Swarm < DockerEngineAPI::Internal::Type::BaseModel
|
|
1200
|
+
# @!attribute cluster
|
|
1201
|
+
# ClusterInfo represents information about the swarm as is returned by the "/info"
|
|
1202
|
+
# endpoint. Join-tokens are not included.
|
|
1203
|
+
#
|
|
1204
|
+
# @return [DockerEngineAPI::Models::Info::Swarm::Cluster, nil]
|
|
1205
|
+
optional :cluster, -> { DockerEngineAPI::Info::Swarm::Cluster }, api_name: :Cluster, nil?: true
|
|
1206
|
+
|
|
1207
|
+
# @!attribute control_available
|
|
1208
|
+
#
|
|
1209
|
+
# @return [Boolean, nil]
|
|
1210
|
+
optional :control_available, DockerEngineAPI::Internal::Type::Boolean, api_name: :ControlAvailable
|
|
1211
|
+
|
|
1212
|
+
# @!attribute error
|
|
1213
|
+
#
|
|
1214
|
+
# @return [String, nil]
|
|
1215
|
+
optional :error, String, api_name: :Error
|
|
1216
|
+
|
|
1217
|
+
# @!attribute local_node_state
|
|
1218
|
+
# Current local status of this node.
|
|
1219
|
+
#
|
|
1220
|
+
# @return [Symbol, DockerEngineAPI::Models::Info::Swarm::LocalNodeState, nil]
|
|
1221
|
+
optional :local_node_state,
|
|
1222
|
+
enum: -> { DockerEngineAPI::Info::Swarm::LocalNodeState },
|
|
1223
|
+
api_name: :LocalNodeState
|
|
1224
|
+
|
|
1225
|
+
# @!attribute managers
|
|
1226
|
+
# Total number of managers in the swarm.
|
|
1227
|
+
#
|
|
1228
|
+
# @return [Integer, nil]
|
|
1229
|
+
optional :managers, Integer, api_name: :Managers, nil?: true
|
|
1230
|
+
|
|
1231
|
+
# @!attribute node_addr
|
|
1232
|
+
# IP address at which this node can be reached by other nodes in the swarm.
|
|
1233
|
+
#
|
|
1234
|
+
# @return [String, nil]
|
|
1235
|
+
optional :node_addr, String, api_name: :NodeAddr
|
|
1236
|
+
|
|
1237
|
+
# @!attribute node_id
|
|
1238
|
+
# Unique identifier of for this node in the swarm.
|
|
1239
|
+
#
|
|
1240
|
+
# @return [String, nil]
|
|
1241
|
+
optional :node_id, String, api_name: :NodeID
|
|
1242
|
+
|
|
1243
|
+
# @!attribute nodes
|
|
1244
|
+
# Total number of nodes in the swarm.
|
|
1245
|
+
#
|
|
1246
|
+
# @return [Integer, nil]
|
|
1247
|
+
optional :nodes, Integer, api_name: :Nodes, nil?: true
|
|
1248
|
+
|
|
1249
|
+
# @!attribute remote_managers
|
|
1250
|
+
# List of ID's and addresses of other managers in the swarm.
|
|
1251
|
+
#
|
|
1252
|
+
# @return [Array<DockerEngineAPI::Models::Info::Swarm::RemoteManager>, nil]
|
|
1253
|
+
optional :remote_managers,
|
|
1254
|
+
-> { DockerEngineAPI::Internal::Type::ArrayOf[DockerEngineAPI::Info::Swarm::RemoteManager] },
|
|
1255
|
+
api_name: :RemoteManagers,
|
|
1256
|
+
nil?: true
|
|
1257
|
+
|
|
1258
|
+
# @!method initialize(cluster: nil, control_available: nil, error: nil, local_node_state: nil, managers: nil, node_addr: nil, node_id: nil, nodes: nil, remote_managers: nil)
|
|
1259
|
+
# Some parameter documentations has been truncated, see
|
|
1260
|
+
# {DockerEngineAPI::Models::Info::Swarm} for more details.
|
|
1261
|
+
#
|
|
1262
|
+
# Represents generic information about swarm.
|
|
1263
|
+
#
|
|
1264
|
+
# @param cluster [DockerEngineAPI::Models::Info::Swarm::Cluster, nil] ClusterInfo represents information about the swarm as is returned by the
|
|
1265
|
+
#
|
|
1266
|
+
# @param control_available [Boolean]
|
|
1267
|
+
#
|
|
1268
|
+
# @param error [String]
|
|
1269
|
+
#
|
|
1270
|
+
# @param local_node_state [Symbol, DockerEngineAPI::Models::Info::Swarm::LocalNodeState] Current local status of this node.
|
|
1271
|
+
#
|
|
1272
|
+
# @param managers [Integer, nil] Total number of managers in the swarm.
|
|
1273
|
+
#
|
|
1274
|
+
# @param node_addr [String] IP address at which this node can be reached by other nodes in the
|
|
1275
|
+
#
|
|
1276
|
+
# @param node_id [String] Unique identifier of for this node in the swarm.
|
|
1277
|
+
#
|
|
1278
|
+
# @param nodes [Integer, nil] Total number of nodes in the swarm.
|
|
1279
|
+
#
|
|
1280
|
+
# @param remote_managers [Array<DockerEngineAPI::Models::Info::Swarm::RemoteManager>, nil] List of ID's and addresses of other managers in the swarm.
|
|
1281
|
+
|
|
1282
|
+
# @see DockerEngineAPI::Models::Info::Swarm#cluster
|
|
1283
|
+
class Cluster < DockerEngineAPI::Internal::Type::BaseModel
|
|
1284
|
+
# @!attribute created_at
|
|
1285
|
+
# Date and time at which the swarm was initialised in
|
|
1286
|
+
# [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
|
|
1287
|
+
#
|
|
1288
|
+
# @return [String, nil]
|
|
1289
|
+
optional :created_at, String, api_name: :CreatedAt
|
|
1290
|
+
|
|
1291
|
+
# @!attribute data_path_port
|
|
1292
|
+
# DataPathPort specifies the data path port number for data traffic. Acceptable
|
|
1293
|
+
# port range is 1024 to 49151. If no port is set or is set to 0, the default port
|
|
1294
|
+
# (4789) is used.
|
|
1295
|
+
#
|
|
1296
|
+
# @return [Integer, nil]
|
|
1297
|
+
optional :data_path_port, Integer, api_name: :DataPathPort
|
|
1298
|
+
|
|
1299
|
+
# @!attribute default_addr_pool
|
|
1300
|
+
# Default Address Pool specifies default subnet pools for global scope networks.
|
|
1301
|
+
#
|
|
1302
|
+
# @return [Array<String>, nil]
|
|
1303
|
+
optional :default_addr_pool,
|
|
1304
|
+
DockerEngineAPI::Internal::Type::ArrayOf[String],
|
|
1305
|
+
api_name: :DefaultAddrPool
|
|
1306
|
+
|
|
1307
|
+
# @!attribute id
|
|
1308
|
+
# The ID of the swarm.
|
|
1309
|
+
#
|
|
1310
|
+
# @return [String, nil]
|
|
1311
|
+
optional :id, String, api_name: :ID
|
|
1312
|
+
|
|
1313
|
+
# @!attribute root_rotation_in_progress
|
|
1314
|
+
# Whether there is currently a root CA rotation in progress for the swarm
|
|
1315
|
+
#
|
|
1316
|
+
# @return [Boolean, nil]
|
|
1317
|
+
optional :root_rotation_in_progress,
|
|
1318
|
+
DockerEngineAPI::Internal::Type::Boolean,
|
|
1319
|
+
api_name: :RootRotationInProgress
|
|
1320
|
+
|
|
1321
|
+
# @!attribute spec
|
|
1322
|
+
# User modifiable swarm configuration.
|
|
1323
|
+
#
|
|
1324
|
+
# @return [DockerEngineAPI::Models::Spec, nil]
|
|
1325
|
+
optional :spec, -> { DockerEngineAPI::Spec }, api_name: :Spec
|
|
1326
|
+
|
|
1327
|
+
# @!attribute subnet_size
|
|
1328
|
+
# SubnetSize specifies the subnet size of the networks created from the default
|
|
1329
|
+
# subnet pool.
|
|
1330
|
+
#
|
|
1331
|
+
# @return [Integer, nil]
|
|
1332
|
+
optional :subnet_size, Integer, api_name: :SubnetSize
|
|
1333
|
+
|
|
1334
|
+
# @!attribute tls_info
|
|
1335
|
+
# Information about the issuer of leaf TLS certificates and the trusted root CA
|
|
1336
|
+
# certificate.
|
|
1337
|
+
#
|
|
1338
|
+
# @return [DockerEngineAPI::Models::Info::Swarm::Cluster::TlsInfo, nil]
|
|
1339
|
+
optional :tls_info, -> { DockerEngineAPI::Info::Swarm::Cluster::TlsInfo }, api_name: :TLSInfo
|
|
1340
|
+
|
|
1341
|
+
# @!attribute updated_at
|
|
1342
|
+
# Date and time at which the swarm was last updated in
|
|
1343
|
+
# [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
|
|
1344
|
+
#
|
|
1345
|
+
# @return [String, nil]
|
|
1346
|
+
optional :updated_at, String, api_name: :UpdatedAt
|
|
1347
|
+
|
|
1348
|
+
# @!attribute version
|
|
1349
|
+
# The version number of the object such as node, service, etc. This is needed to
|
|
1350
|
+
# avoid conflicting writes. The client must send the version number along with the
|
|
1351
|
+
# modified specification when updating these objects.
|
|
1352
|
+
#
|
|
1353
|
+
# This approach ensures safe concurrency and determinism in that the change on the
|
|
1354
|
+
# object may not be applied if the version number has changed from the last read.
|
|
1355
|
+
# In other words, if two update requests specify the same base version, only one
|
|
1356
|
+
# of the requests can succeed. As a result, two separate update requests that
|
|
1357
|
+
# happen at the same time will not unintentionally overwrite each other.
|
|
1358
|
+
#
|
|
1359
|
+
# @return [DockerEngineAPI::Models::Info::Swarm::Cluster::Version, nil]
|
|
1360
|
+
optional :version, -> { DockerEngineAPI::Info::Swarm::Cluster::Version }, api_name: :Version
|
|
1361
|
+
|
|
1362
|
+
# @!method initialize(created_at: nil, data_path_port: nil, default_addr_pool: nil, id: nil, root_rotation_in_progress: nil, spec: nil, subnet_size: nil, tls_info: nil, updated_at: nil, version: nil)
|
|
1363
|
+
# Some parameter documentations has been truncated, see
|
|
1364
|
+
# {DockerEngineAPI::Models::Info::Swarm::Cluster} for more details.
|
|
1365
|
+
#
|
|
1366
|
+
# ClusterInfo represents information about the swarm as is returned by the "/info"
|
|
1367
|
+
# endpoint. Join-tokens are not included.
|
|
1368
|
+
#
|
|
1369
|
+
# @param created_at [String] Date and time at which the swarm was initialised in
|
|
1370
|
+
#
|
|
1371
|
+
# @param data_path_port [Integer] DataPathPort specifies the data path port number for data traffic.
|
|
1372
|
+
#
|
|
1373
|
+
# @param default_addr_pool [Array<String>] Default Address Pool specifies default subnet pools for global scope
|
|
1374
|
+
#
|
|
1375
|
+
# @param id [String] The ID of the swarm.
|
|
1376
|
+
#
|
|
1377
|
+
# @param root_rotation_in_progress [Boolean] Whether there is currently a root CA rotation in progress for the swarm
|
|
1378
|
+
#
|
|
1379
|
+
# @param spec [DockerEngineAPI::Models::Spec] User modifiable swarm configuration.
|
|
1380
|
+
#
|
|
1381
|
+
# @param subnet_size [Integer] SubnetSize specifies the subnet size of the networks created from the
|
|
1382
|
+
#
|
|
1383
|
+
# @param tls_info [DockerEngineAPI::Models::Info::Swarm::Cluster::TlsInfo] Information about the issuer of leaf TLS certificates and the trusted root
|
|
1384
|
+
#
|
|
1385
|
+
# @param updated_at [String] Date and time at which the swarm was last updated in
|
|
1386
|
+
#
|
|
1387
|
+
# @param version [DockerEngineAPI::Models::Info::Swarm::Cluster::Version] The version number of the object such as node, service, etc. This is needed
|
|
1388
|
+
|
|
1389
|
+
# @see DockerEngineAPI::Models::Info::Swarm::Cluster#tls_info
|
|
1390
|
+
class TlsInfo < DockerEngineAPI::Internal::Type::BaseModel
|
|
1391
|
+
# @!attribute cert_issuer_public_key
|
|
1392
|
+
# The base64-url-safe-encoded raw public key bytes of the issuer.
|
|
1393
|
+
#
|
|
1394
|
+
# @return [String, nil]
|
|
1395
|
+
optional :cert_issuer_public_key, String, api_name: :CertIssuerPublicKey
|
|
1396
|
+
|
|
1397
|
+
# @!attribute cert_issuer_subject
|
|
1398
|
+
# The base64-url-safe-encoded raw subject bytes of the issuer.
|
|
1399
|
+
#
|
|
1400
|
+
# @return [String, nil]
|
|
1401
|
+
optional :cert_issuer_subject, String, api_name: :CertIssuerSubject
|
|
1402
|
+
|
|
1403
|
+
# @!attribute trust_root
|
|
1404
|
+
# The root CA certificate(s) that are used to validate leaf TLS certificates.
|
|
1405
|
+
#
|
|
1406
|
+
# @return [String, nil]
|
|
1407
|
+
optional :trust_root, String, api_name: :TrustRoot
|
|
1408
|
+
|
|
1409
|
+
# @!method initialize(cert_issuer_public_key: nil, cert_issuer_subject: nil, trust_root: nil)
|
|
1410
|
+
# Some parameter documentations has been truncated, see
|
|
1411
|
+
# {DockerEngineAPI::Models::Info::Swarm::Cluster::TlsInfo} for more details.
|
|
1412
|
+
#
|
|
1413
|
+
# Information about the issuer of leaf TLS certificates and the trusted root CA
|
|
1414
|
+
# certificate.
|
|
1415
|
+
#
|
|
1416
|
+
# @param cert_issuer_public_key [String] The base64-url-safe-encoded raw public key bytes of the issuer.
|
|
1417
|
+
#
|
|
1418
|
+
# @param cert_issuer_subject [String] The base64-url-safe-encoded raw subject bytes of the issuer.
|
|
1419
|
+
#
|
|
1420
|
+
# @param trust_root [String] The root CA certificate(s) that are used to validate leaf TLS
|
|
1421
|
+
end
|
|
1422
|
+
|
|
1423
|
+
# @see DockerEngineAPI::Models::Info::Swarm::Cluster#version
|
|
1424
|
+
class Version < DockerEngineAPI::Internal::Type::BaseModel
|
|
1425
|
+
# @!attribute index
|
|
1426
|
+
#
|
|
1427
|
+
# @return [Integer, nil]
|
|
1428
|
+
optional :index, Integer, api_name: :Index
|
|
1429
|
+
|
|
1430
|
+
# @!method initialize(index: nil)
|
|
1431
|
+
# The version number of the object such as node, service, etc. This is needed to
|
|
1432
|
+
# avoid conflicting writes. The client must send the version number along with the
|
|
1433
|
+
# modified specification when updating these objects.
|
|
1434
|
+
#
|
|
1435
|
+
# This approach ensures safe concurrency and determinism in that the change on the
|
|
1436
|
+
# object may not be applied if the version number has changed from the last read.
|
|
1437
|
+
# In other words, if two update requests specify the same base version, only one
|
|
1438
|
+
# of the requests can succeed. As a result, two separate update requests that
|
|
1439
|
+
# happen at the same time will not unintentionally overwrite each other.
|
|
1440
|
+
#
|
|
1441
|
+
# @param index [Integer]
|
|
1442
|
+
end
|
|
1443
|
+
end
|
|
1444
|
+
|
|
1445
|
+
# Current local status of this node.
|
|
1446
|
+
#
|
|
1447
|
+
# @see DockerEngineAPI::Models::Info::Swarm#local_node_state
|
|
1448
|
+
module LocalNodeState
|
|
1449
|
+
extend DockerEngineAPI::Internal::Type::Enum
|
|
1450
|
+
|
|
1451
|
+
EMPTY = :""
|
|
1452
|
+
INACTIVE = :inactive
|
|
1453
|
+
PENDING = :pending
|
|
1454
|
+
ACTIVE = :active
|
|
1455
|
+
ERROR = :error
|
|
1456
|
+
LOCKED = :locked
|
|
1457
|
+
|
|
1458
|
+
# @!method self.values
|
|
1459
|
+
# @return [Array<Symbol>]
|
|
1460
|
+
end
|
|
1461
|
+
|
|
1462
|
+
class RemoteManager < DockerEngineAPI::Internal::Type::BaseModel
|
|
1463
|
+
# @!attribute addr
|
|
1464
|
+
# IP address and ports at which this node can be reached.
|
|
1465
|
+
#
|
|
1466
|
+
# @return [String, nil]
|
|
1467
|
+
optional :addr, String, api_name: :Addr
|
|
1468
|
+
|
|
1469
|
+
# @!attribute node_id
|
|
1470
|
+
# Unique identifier of for this node in the swarm.
|
|
1471
|
+
#
|
|
1472
|
+
# @return [String, nil]
|
|
1473
|
+
optional :node_id, String, api_name: :NodeID
|
|
1474
|
+
|
|
1475
|
+
# @!method initialize(addr: nil, node_id: nil)
|
|
1476
|
+
# Some parameter documentations has been truncated, see
|
|
1477
|
+
# {DockerEngineAPI::Models::Info::Swarm::RemoteManager} for more details.
|
|
1478
|
+
#
|
|
1479
|
+
# Represents a peer-node in the swarm
|
|
1480
|
+
#
|
|
1481
|
+
# @param addr [String] IP address and ports at which this node can be reached.
|
|
1482
|
+
#
|
|
1483
|
+
# @param node_id [String] Unique identifier of for this node in the swarm.
|
|
1484
|
+
end
|
|
1485
|
+
end
|
|
1486
|
+
end
|
|
1487
|
+
end
|
|
1488
|
+
end
|