class Docr::Types::HostConfig

Included Modules

Defined in:

docr/types/host_config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
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) #

[View source]

Instance Method Detail

def auto_remove : Bool | Nil #

[View source]
def auto_remove=(auto_remove : Bool | Nil) #

[View source]
def binds : Array(String) | Nil #

[View source]
def binds=(binds : Array(String) | Nil) #

[View source]
def cap_add : Array(String) | Nil #

[View source]
def cap_add=(cap_add : Array(String) | Nil) #

[View source]
def cap_drop : Array(String) | Nil #

[View source]
def cap_drop=(cap_drop : Array(String) | Nil) #

[View source]
def cgroup : String | Nil #

[View source]
def cgroup=(cgroup : String | Nil) #

[View source]
def cgroupns_mode : String | Nil #

[View source]
def cgroupns_mode=(cgroupns_mode : String | Nil) #

[View source]
def console_size : Array(Int64) | Nil #

[View source]
def console_size=(console_size : Array(Int64) | Nil) #

[View source]
def container_id_file : String | Nil #

[View source]
def container_id_file=(container_id_file : String | Nil) #

[View source]
def dns : Array(String) | Nil #

[View source]
def dns=(dns : Array(String) | Nil) #

[View source]
def dns_options : Array(String) | Nil #

[View source]
def dns_options=(dns_options : Array(String) | Nil) #

[View source]
def dns_search : Array(String) | Nil #

[View source]
def dns_search=(dns_search : Array(String) | Nil) #

[View source]
def extra_hosts : Array(String) | Nil #

[View source]
def extra_hosts=(extra_hosts : Array(String) | Nil) #

[View source]
def group_add : Array(String) | Nil #

[View source]
def group_add=(group_add : Array(String) | Nil) #

[View source]
def ipc_mode : String | Nil #

[View source]
def ipc_mode=(ipc_mode : String | Nil) #

[View source]
def isolation : String | Nil #

[View source]
def isolation=(isolation : String | Nil) #

[View source]
def links : Array(String) | Nil #

[View source]
def links=(links : Array(String) | Nil) #

[View source]
def log_config : Docr::Types::LogConfig | Nil #

[View source]
def log_config=(log_config : Docr::Types::LogConfig | Nil) #

[View source]
def masked_paths : Array(String) | Nil #

[View source]
def masked_paths=(masked_paths : Array(String) | Nil) #

[View source]
def mounts : Array(Docr::Types::Mount) | Nil #

[View source]
def mounts=(mounts : Array(Docr::Types::Mount) | Nil) #

[View source]
def network_mode : String | Nil #

[View source]
def network_mode=(network_mode : String | Nil) #

[View source]
def oom_score_adj : Int64 | Nil #

[View source]
def oom_score_adj=(oom_score_adj : Int64 | Nil) #

[View source]
def pid_mode : String | Nil #

[View source]
def pid_mode=(pid_mode : String | Nil) #

[View source]
def port_bindings : Hash(String, Array(Docr::Types::PortBinding)) | Nil #

[View source]
def port_bindings=(port_bindings : Hash(String, Array(Docr::Types::PortBinding)) | Nil) #

[View source]
def privileged : Bool | Nil #

[View source]
def privileged=(privileged : Bool | Nil) #

[View source]
def publish_all_ports : Bool | Nil #

[View source]
def publish_all_ports=(publish_all_ports : Bool | Nil) #

[View source]
def readonly_paths : Array(String) | Nil #

[View source]
def readonly_paths=(readonly_paths : Array(String) | Nil) #

[View source]
def readonly_rootfs : Bool | Nil #

[View source]
def readonly_rootfs=(readonly_rootfs : Bool | Nil) #

[View source]
def restart_policy : Docr::Types::RestartPolicy | Nil #

[View source]
def restart_policy=(restart_policy : Docr::Types::RestartPolicy | Nil) #

[View source]
def runtime : String | Nil #

[View source]
def runtime=(runtime : String | Nil) #

[View source]
def security_opt : Array(String) | Nil #

[View source]
def security_opt=(security_opt : Array(String) | Nil) #

[View source]
def shm_size : UInt64 | Nil #

[View source]
def shm_size=(shm_size : UInt64 | Nil) #

[View source]
def storage_opt : Hash(String, String) | Nil #

[View source]
def storage_opt=(storage_opt : Hash(String, String) | Nil) #

[View source]
def sysctls : Hash(String, String) | Nil #

[View source]
def sysctls=(sysctls : Hash(String, String) | Nil) #

[View source]
def userns_mode : String | Nil #

[View source]
def userns_mode=(userns_mode : String | Nil) #

[View source]
def uts_mode : String | Nil #

[View source]
def uts_mode=(uts_mode : String | Nil) #

[View source]
def volume_driver : String | Nil #

[View source]
def volume_driver=(volume_driver : String | Nil) #

[View source]
def volumes_from : Array(String) | Nil #

[View source]
def volumes_from=(volumes_from : Array(String) | Nil) #

[View source]