Class: DockerEngineRuby::Models::Image::RootFs

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/docker_engine_ruby/models/image.rb

Overview

See Also:

Instance Attribute Summary collapse

Instance Method Summary collapse

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(type:, layers: nil) ⇒ Object

Information about the image’s RootFS, including the layer IDs.

Parameters:

  • type (String)
  • layers (Array<String>) (defaults to: nil)


# File 'lib/docker_engine_ruby/models/image.rb', line 1352


Instance Attribute Details

#layersArray<String>?

Returns:

  • (Array<String>, nil)


1350
# File 'lib/docker_engine_ruby/models/image.rb', line 1350

optional :layers, DockerEngineRuby::Internal::Type::ArrayOf[String], api_name: :Layers

#typeString

Returns:

  • (String)


1345
# File 'lib/docker_engine_ruby/models/image.rb', line 1345

required :type, String, api_name: :Type