class Docr::Types::HostConfig
- Docr::Types::HostConfig
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
docr/types/host_config.crConstructors
- .new(pull : JSON::PullParser)
- .new(binds : Nil | Array(String) = nil, container_id_file : Nil | String = nil, log_config : Nil | Docr::Types::LogConfig = nil, network_mode : Nil | String = nil, port_bindings : Nil | Hash(String, Array(Docr::Types::PortBinding)) = nil, restart_policy : Nil | Docr::Types::RestartPolicy = nil, auto_remove : Bool | Nil = nil, volume_driver : Nil | String = nil, volumes_from : Nil | Array(String) = nil, mounts : Nil | Array(Docr::Types::Mount) = nil, cap_add : Nil | Array(String) = nil, cap_drop : Nil | Array(String) = nil, cgroupns_mode : Nil | String = nil, dns : Nil | Array(String) = nil, dns_options : Nil | Array(String) = nil, dns_search : Nil | Array(String) = nil, extra_hosts : Nil | Array(String) = nil, group_add : Nil | Array(String) = nil, ipc_mode : Nil | String = nil, cgroup : Nil | String = nil, links : Nil | Array(String) = nil, oom_score_adj : Int64 | Nil = nil, pid_mode : Nil | String = nil, privileged : Bool | Nil = nil, publish_all_ports : Bool | Nil = nil, readonly_rootfs : Bool | Nil = nil, security_opt : Nil | Array(String) = nil, storage_opt : Nil | Hash(String, String) = nil, uts_mode : Nil | String = nil, userns_mode : Nil | String = nil, shm_size : UInt64 | Nil = nil, sysctls : Nil | Hash(String, String) = nil, runtime : Nil | String = nil, console_size : Nil | Array(Int64) = nil, isolation : Nil | String = nil, masked_paths : Nil | Array(String) = nil, readonly_paths : Nil | Array(String) = nil)
Instance Method Summary
- #auto_remove : Bool | Nil
- #auto_remove=(auto_remove : Bool | Nil)
- #binds : Array(String) | Nil
- #binds=(binds : Array(String) | Nil)
- #cap_add : Array(String) | Nil
- #cap_add=(cap_add : Array(String) | Nil)
- #cap_drop : Array(String) | Nil
- #cap_drop=(cap_drop : Array(String) | Nil)
- #cgroup : String | Nil
- #cgroup=(cgroup : String | Nil)
- #cgroupns_mode : String | Nil
- #cgroupns_mode=(cgroupns_mode : String | Nil)
- #console_size : Array(Int64) | Nil
- #console_size=(console_size : Array(Int64) | Nil)
- #container_id_file : String | Nil
- #container_id_file=(container_id_file : String | Nil)
- #dns : Array(String) | Nil
- #dns=(dns : Array(String) | Nil)
- #dns_options : Array(String) | Nil
- #dns_options=(dns_options : Array(String) | Nil)
- #dns_search : Array(String) | Nil
- #dns_search=(dns_search : Array(String) | Nil)
- #extra_hosts : Array(String) | Nil
- #extra_hosts=(extra_hosts : Array(String) | Nil)
- #group_add : Array(String) | Nil
- #group_add=(group_add : Array(String) | Nil)
- #ipc_mode : String | Nil
- #ipc_mode=(ipc_mode : String | Nil)
- #isolation : String | Nil
- #isolation=(isolation : String | Nil)
- #links : Array(String) | Nil
- #links=(links : Array(String) | Nil)
- #log_config : Docr::Types::LogConfig | Nil
- #log_config=(log_config : Docr::Types::LogConfig | Nil)
- #masked_paths : Array(String) | Nil
- #masked_paths=(masked_paths : Array(String) | Nil)
- #mounts : Array(Docr::Types::Mount) | Nil
- #mounts=(mounts : Array(Docr::Types::Mount) | Nil)
- #network_mode : String | Nil
- #network_mode=(network_mode : String | Nil)
- #oom_score_adj : Int64 | Nil
- #oom_score_adj=(oom_score_adj : Int64 | Nil)
- #pid_mode : String | Nil
- #pid_mode=(pid_mode : String | Nil)
- #port_bindings : Hash(String, Array(Docr::Types::PortBinding)) | Nil
- #port_bindings=(port_bindings : Hash(String, Array(Docr::Types::PortBinding)) | Nil)
- #privileged : Bool | Nil
- #privileged=(privileged : Bool | Nil)
- #publish_all_ports : Bool | Nil
- #publish_all_ports=(publish_all_ports : Bool | Nil)
- #readonly_paths : Array(String) | Nil
- #readonly_paths=(readonly_paths : Array(String) | Nil)
- #readonly_rootfs : Bool | Nil
- #readonly_rootfs=(readonly_rootfs : Bool | Nil)
- #restart_policy : Docr::Types::RestartPolicy | Nil
- #restart_policy=(restart_policy : Docr::Types::RestartPolicy | Nil)
- #runtime : String | Nil
- #runtime=(runtime : String | Nil)
- #security_opt : Array(String) | Nil
- #security_opt=(security_opt : Array(String) | Nil)
- #shm_size : UInt64 | Nil
- #shm_size=(shm_size : UInt64 | Nil)
- #storage_opt : Hash(String, String) | Nil
- #storage_opt=(storage_opt : Hash(String, String) | Nil)
- #sysctls : Hash(String, String) | Nil
- #sysctls=(sysctls : Hash(String, String) | Nil)
- #userns_mode : String | Nil
- #userns_mode=(userns_mode : String | Nil)
- #uts_mode : String | Nil
- #uts_mode=(uts_mode : String | Nil)
- #volume_driver : String | Nil
- #volume_driver=(volume_driver : String | Nil)
- #volumes_from : Array(String) | Nil
- #volumes_from=(volumes_from : Array(String) | Nil)
Constructor Detail
def self.new(binds : Nil | Array(String) = nil, container_id_file : Nil | String = nil, log_config : Nil | Docr::Types::LogConfig = nil, network_mode : Nil | String = nil, port_bindings : Nil | Hash(String, Array(Docr::Types::PortBinding)) = nil, restart_policy : Nil | Docr::Types::RestartPolicy = nil, auto_remove : Bool | Nil = nil, volume_driver : Nil | String = nil, volumes_from : Nil | Array(String) = nil, mounts : Nil | Array(Docr::Types::Mount) = nil, cap_add : Nil | Array(String) = nil, cap_drop : Nil | Array(String) = nil, cgroupns_mode : Nil | String = nil, dns : Nil | Array(String) = nil, dns_options : Nil | Array(String) = nil, dns_search : Nil | Array(String) = nil, extra_hosts : Nil | Array(String) = nil, group_add : Nil | Array(String) = nil, ipc_mode : Nil | String = nil, cgroup : Nil | String = nil, links : Nil | Array(String) = nil, oom_score_adj : Int64 | Nil = nil, pid_mode : Nil | String = nil, privileged : Bool | Nil = nil, publish_all_ports : Bool | Nil = nil, readonly_rootfs : Bool | Nil = nil, security_opt : Nil | Array(String) = nil, storage_opt : Nil | Hash(String, String) = nil, uts_mode : Nil | String = nil, userns_mode : Nil | String = nil, shm_size : UInt64 | Nil = nil, sysctls : Nil | Hash(String, String) = nil, runtime : Nil | String = nil, console_size : Nil | Array(Int64) = nil, isolation : Nil | String = nil, masked_paths : Nil | Array(String) = nil, readonly_paths : Nil | Array(String) = nil)
#
Instance Method Detail
def port_bindings=(port_bindings : Hash(String, Array(Docr::Types::PortBinding)) | Nil)
#