class Docr::Types::ContainerConfig

Included Modules

Direct Known Subclasses

Defined in:

docr/types/container_config.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(hostname : Nil | String = nil, domainname : Nil | String = nil, user : Nil | String = nil, attach_stdin : Bool | Nil = false, attach_stdout : Bool | Nil = true, attach_stderr : Bool | Nil = true, tty : Bool | Nil = false, open_stdin : Bool | Nil = false, stdin_once : Bool | Nil = false, env : Nil | Array(String) = nil, cmd : Nil | Array(String) = nil, healthcheck : Nil | Docr::Types::HealthConfig = nil, args_escaped : Bool | Nil = nil, image : Nil | String = nil, working_dir : Nil | String = nil, entrypoint : Nil | Array(String) = nil, network_disabled : Bool | Nil = nil, mac_address : Nil | String = nil, on_build : Nil | Array(String) = nil, labels : Nil | Hash(String, String) = nil, stop_signal : Nil | String = "SIGTERM", stop_timeout : Int32 | Nil = 10, shell : Nil | Array(String) = nil, exposed_ports : Nil | Hash(String, Hash(String, String)) = nil) #

[View source]

Instance Method Detail

def args_escaped : Bool | Nil #

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

[View source]
def attach_stderr : Bool | Nil #

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

[View source]
def attach_stdin : Bool | Nil #

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

[View source]
def attach_stdout : Bool | Nil #

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

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

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

[View source]
def domainname : String | Nil #

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

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

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

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

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

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

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

[View source]
def healthcheck : Docr::Types::HealthConfig | Nil #

[View source]
def healthcheck=(healthcheck : Docr::Types::HealthConfig | Nil) #

[View source]
def hostname : String | Nil #

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

[View source]
def image : String | Nil #

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

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

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

[View source]
def mac_address : String | Nil #

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

[View source]
def network_disabled : Bool | Nil #

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

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

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

[View source]
def open_stdin : Bool | Nil #

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

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

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

[View source]
def stdin_once : Bool | Nil #

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

[View source]
def stop_signal : String | Nil #

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

[View source]
def stop_timeout : Int32 | Nil #

[View source]
def stop_timeout=(stop_timeout : Int32 | Nil) #

[View source]
def tty : Bool | Nil #

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

[View source]
def user : String | Nil #

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

[View source]
def working_dir : String | Nil #

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

[View source]