Class: DockerEngineRuby::Models::Node::Description::Engine::Plugin

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

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(engine_version: nil, labels: nil, plugins: nil) ⇒ Object

EngineDescription provides information about an engine.

Parameters:



167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/docker_engine_ruby/models/node.rb', line 167

class Plugin < DockerEngineRuby::Internal::Type::BaseModel
  # @!attribute name
  #
  #   @return [String, nil]
  optional :name, String, api_name: :Name

  # @!attribute type
  #
  #   @return [String, nil]
  optional :type, String, api_name: :Type

  # @!method initialize(name: nil, type: nil)
  #   @param name [String]
  #   @param type [String]
end

Instance Attribute Details

#nameString?

Returns:

  • (String, nil)


171
# File 'lib/docker_engine_ruby/models/node.rb', line 171

optional :name, String, api_name: :Name

#typeString?

Returns:

  • (String, nil)


176
# File 'lib/docker_engine_ruby/models/node.rb', line 176

optional :type, String, api_name: :Type