Class: DockerEngineRuby::Models::Node::Status
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DockerEngineRuby::Models::Node::Status
- Defined in:
- lib/docker_engine_ruby/models/node.rb
Overview
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#addr ⇒ String?
IP address of the node.
- #message ⇒ String?
-
#state ⇒ Symbol, ...
NodeState represents the state of a node.
Instance Method Summary collapse
-
#initialize(addr: nil, message: nil, state: nil) ⇒ Object
constructor
NodeStatus represents the status of a node.
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(addr: nil, message: nil, state: nil) ⇒ Object
NodeStatus represents the status of a node.
It provides the current status of the node, as seen by the manager.
|
|
# File 'lib/docker_engine_ruby/models/node.rb', line 399
|
Instance Attribute Details
#addr ⇒ String?
IP address of the node.
386 |
# File 'lib/docker_engine_ruby/models/node.rb', line 386 optional :addr, String, api_name: :Addr |
#message ⇒ String?
391 |
# File 'lib/docker_engine_ruby/models/node.rb', line 391 optional :message, String, api_name: :Message |
#state ⇒ Symbol, ...
NodeState represents the state of a node.
397 |
# File 'lib/docker_engine_ruby/models/node.rb', line 397 optional :state, enum: -> { DockerEngineRuby::Node::Status::State }, api_name: :State |