Module: DockerEngineRuby::Models::ContainerWaitParams::Condition

Extended by:
Internal::Type::Enum
Defined in:
lib/docker_engine_ruby/models/container_wait_params.rb,
sig/docker_engine_ruby/models/container_wait_params.rbs

Constant Summary collapse

NOT_RUNNING =

Returns:

  • (:"not-running")
:"not-running"
NEXT_EXIT =

Returns:

  • (:"next-exit")
:"next-exit"
REMOVED =

Returns:

  • (:removed)
:removed

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

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

Methods included from Internal::Type::Converter

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

Class Method Details

.values ⇒ Array<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/docker_engine_ruby/models/container_wait_params.rb', line 32


Instance Method Details

#initialize(id:, condition: nil, request_options: {}) ⇒ Object

Parameters:



25
26
27
28
29
30
31
32
33
34
# File 'lib/docker_engine_ruby/models/container_wait_params.rb', line 25

module Condition
  extend DockerEngineRuby::Internal::Type::Enum

  NOT_RUNNING = :"not-running"
  NEXT_EXIT = :"next-exit"
  REMOVED = :removed

  # @!method self.values
  #   @return [Array<Symbol>]
end

#self?.values ⇒ ::Array[DockerEngineRuby::Models::ContainerWaitParams::condition]

Returns:

  • (::Array[DockerEngineRuby::Models::ContainerWaitParams::condition])


43
# File 'sig/docker_engine_ruby/models/container_wait_params.rbs', line 43

def self?.values: -> ::Array[DockerEngineRuby::Models::ContainerWaitParams::condition]