Class: DockerEngineRuby::Models::ContainerExecParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/docker_engine_ruby/models/container_exec_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(attach_stderr: nil, attach_stdin: nil, attach_stdout: nil, cmd: nil, console_size: nil, detach_keys: nil, env: nil, privileged: nil, tty: nil, user: nil, working_dir: nil, request_options: {}) ⇒ Object

Parameters:

  • attach_stderr (Boolean) (defaults to: nil)
  • attach_stdin (Boolean) (defaults to: nil)
  • attach_stdout (Boolean) (defaults to: nil)
  • cmd (Array<String>) (defaults to: nil)
  • console_size (Array<Integer>, nil) (defaults to: nil)
  • detach_keys (String) (defaults to: nil)
  • env (Array<String>) (defaults to: nil)
  • privileged (Boolean) (defaults to: nil)
  • tty (Boolean) (defaults to: nil)
  • user (String) (defaults to: nil)
  • working_dir (String) (defaults to: nil)
  • request_options (DockerEngineRuby::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/docker_engine_ruby/models/container_exec_params.rb', line 68

Instance Attribute Details

#attach_stderrBoolean?

Returns:

  • (Boolean, nil)


13
# File 'lib/docker_engine_ruby/models/container_exec_params.rb', line 13

optional :attach_stderr, DockerEngineRuby::Internal::Type::Boolean, api_name: :AttachStderr

#attach_stdinBoolean?

Returns:

  • (Boolean, nil)


18
# File 'lib/docker_engine_ruby/models/container_exec_params.rb', line 18

optional :attach_stdin, DockerEngineRuby::Internal::Type::Boolean, api_name: :AttachStdin

#attach_stdoutBoolean?

Returns:

  • (Boolean, nil)


23
# File 'lib/docker_engine_ruby/models/container_exec_params.rb', line 23

optional :attach_stdout, DockerEngineRuby::Internal::Type::Boolean, api_name: :AttachStdout

#cmdArray<String>?

Returns:

  • (Array<String>, nil)


28
# File 'lib/docker_engine_ruby/models/container_exec_params.rb', line 28

optional :cmd, DockerEngineRuby::Internal::Type::ArrayOf[String], api_name: :Cmd

#console_sizeArray<Integer>?

Returns:

  • (Array<Integer>, nil)


33
34
35
36
# File 'lib/docker_engine_ruby/models/container_exec_params.rb', line 33

optional :console_size,
DockerEngineRuby::Internal::Type::ArrayOf[Integer],
api_name: :ConsoleSize,
nil?: true

#detach_keysString?

Returns:

  • (String, nil)


41
# File 'lib/docker_engine_ruby/models/container_exec_params.rb', line 41

optional :detach_keys, String, api_name: :DetachKeys

#envArray<String>?

Returns:

  • (Array<String>, nil)


46
# File 'lib/docker_engine_ruby/models/container_exec_params.rb', line 46

optional :env, DockerEngineRuby::Internal::Type::ArrayOf[String], api_name: :Env

#privilegedBoolean?

Returns:

  • (Boolean, nil)


51
# File 'lib/docker_engine_ruby/models/container_exec_params.rb', line 51

optional :privileged, DockerEngineRuby::Internal::Type::Boolean, api_name: :Privileged

#ttyBoolean?

Returns:

  • (Boolean, nil)


56
# File 'lib/docker_engine_ruby/models/container_exec_params.rb', line 56

optional :tty, DockerEngineRuby::Internal::Type::Boolean, api_name: :Tty

#userString?

Returns:

  • (String, nil)


61
# File 'lib/docker_engine_ruby/models/container_exec_params.rb', line 61

optional :user, String, api_name: :User

#working_dirString?

Returns:

  • (String, nil)


66
# File 'lib/docker_engine_ruby/models/container_exec_params.rb', line 66

optional :working_dir, String, api_name: :WorkingDir