Class: DockerEngineRuby::Models::Image::GraphDriver
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DockerEngineRuby::Models::Image::GraphDriver
- Defined in:
- lib/docker_engine_ruby/models/image.rb,
sig/docker_engine_ruby/models/image.rbs
Overview
Instance Attribute Summary collapse
-
#data ⇒ Hash{Symbol=>String}
Low-level storage metadata, provided as key/value pairs.
-
#name ⇒ String
Name of the storage driver.
Instance Method Summary collapse
-
#initialize ⇒ GraphDriver
constructor
A new instance of GraphDriver.
- #to_hash ⇒ { data: ::Hash[Symbol, String], name: String }
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 ⇒ GraphDriver
Returns a new instance of GraphDriver.
395 |
# File 'sig/docker_engine_ruby/models/image.rbs', line 395
def initialize: (data: ::Hash[Symbol, String], name: String) -> void
|
Instance Attribute Details
#data ⇒ Hash{Symbol=>String}
Low-level storage metadata, provided as key/value pairs.
This information is driver-specific, and depends on the storage-driver in use, and should be used for informational purposes only.
543 |
# File 'lib/docker_engine_ruby/models/image.rb', line 543 required :data, DockerEngineRuby::Internal::Type::HashOf[String], api_name: :Data |
#name ⇒ String
Name of the storage driver.
549 |
# File 'lib/docker_engine_ruby/models/image.rb', line 549 required :name, String, api_name: :Name |
Instance Method Details
#to_hash ⇒ { data: ::Hash[Symbol, String], name: String }
397 |
# File 'sig/docker_engine_ruby/models/image.rbs', line 397
def to_hash: -> { data: ::Hash[Symbol, String], name: String }
|