Class: DockerEngineRuby::Models::Node::Description::Resources
Overview
Defined Under Namespace
Classes: GenericResource
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
221
|
# File 'sig/docker_engine_ruby/models/node.rbs', line 221
def initialize: (
|
Instance Attribute Details
214
215
216
217
218
|
# File 'lib/docker_engine_ruby/models/node.rb', line 214
optional :generic_resources,
-> {
DockerEngineRuby::Internal::Type::ArrayOf[DockerEngineRuby::Node::Description::Resources::GenericResource]
},
api_name: :GenericResources
|
#memory_bytes ⇒ Integer?
223
|
# File 'lib/docker_engine_ruby/models/node.rb', line 223
optional :memory_bytes, Integer, api_name: :MemoryBytes
|
#nano_cpus ⇒ Integer?
228
|
# File 'lib/docker_engine_ruby/models/node.rb', line 228
optional :nano_cpus, Integer, api_name: :NanoCPUs
|
Instance Method Details
#to_hash ⇒ {
227
|
# File 'sig/docker_engine_ruby/models/node.rbs', line 227
def to_hash: -> {
|