Module: DockerEngineRuby::Models::ImageBuildParams::Version

Extended by:
Internal::Type::Enum
Defined in:
lib/docker_engine_ruby/models/image_build_params.rb

Constant Summary collapse

VERSION_1 =
:"1"
VERSION_2 =
:"2"

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

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/docker_engine_ruby/models/image_build_params.rb', line 181


Instance Method Details

#initialize(body:, buildargs: nil, cachefrom: nil, cpuperiod: nil, cpuquota: nil, cpusetcpus: nil, cpushares: nil, dockerfile: nil, extrahosts: nil, forcerm: nil, labels: nil, memory: nil, memswap: nil, networkmode: nil, nocache: nil, outputs: nil, platform: nil, pull: nil, q: nil, remote: nil, rm: nil, shmsize: nil, squash: nil, t: nil, target: nil, version: nil, x_registry_config: nil, request_options: {}) ⇒ Object

Parameters:

  • body (Pathname, StringIO, IO, String, DockerEngineRuby::FilePart)
  • buildargs (String) (defaults to: nil)
  • cachefrom (String) (defaults to: nil)
  • cpuperiod (Integer) (defaults to: nil)
  • cpuquota (Integer) (defaults to: nil)
  • cpusetcpus (String) (defaults to: nil)
  • cpushares (Integer) (defaults to: nil)
  • dockerfile (String) (defaults to: nil)
  • extrahosts (String) (defaults to: nil)
  • forcerm (Boolean) (defaults to: nil)
  • labels (String) (defaults to: nil)
  • memory (Integer) (defaults to: nil)
  • memswap (Integer) (defaults to: nil)
  • networkmode (String) (defaults to: nil)
  • nocache (Boolean) (defaults to: nil)
  • outputs (String) (defaults to: nil)
  • platform (String) (defaults to: nil)
  • pull (String) (defaults to: nil)
  • q (Boolean) (defaults to: nil)
  • remote (String) (defaults to: nil)
  • rm (Boolean) (defaults to: nil)
  • shmsize (Integer) (defaults to: nil)
  • squash (Boolean) (defaults to: nil)
  • t (String) (defaults to: nil)
  • target (String) (defaults to: nil)
  • version (Symbol, DockerEngineRuby::Models::ImageBuildParams::Version) (defaults to: nil)
  • x_registry_config (String) (defaults to: nil)
  • request_options (DockerEngineRuby::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


175
176
177
178
179
180
181
182
183
# File 'lib/docker_engine_ruby/models/image_build_params.rb', line 175

module Version
  extend DockerEngineRuby::Internal::Type::Enum

  VERSION_1 = :"1"
  VERSION_2 = :"2"

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