Class: DockerEngineRuby::Models::NetworkSummary::Peer
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DockerEngineRuby::Models::NetworkSummary::Peer
- Defined in:
- lib/docker_engine_ruby/models/network_summary.rb
Instance Attribute Summary collapse
-
#ip ⇒ String?
IP-address of the peer-node in the Swarm cluster.
-
#name ⇒ String?
ID of the peer-node in the Swarm cluster.
Instance Method Summary collapse
-
#initialize(ip: nil, name: nil) ⇒ Object
constructor
represents one peer of an overlay network.
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(ip: nil, name: nil) ⇒ Object
represents one peer of an overlay network.
|
|
# File 'lib/docker_engine_ruby/models/network_summary.rb', line 251
|
Instance Attribute Details
#ip ⇒ String?
IP-address of the peer-node in the Swarm cluster.
243 |
# File 'lib/docker_engine_ruby/models/network_summary.rb', line 243 optional :ip, String, api_name: :IP |
#name ⇒ String?
ID of the peer-node in the Swarm cluster.
249 |
# File 'lib/docker_engine_ruby/models/network_summary.rb', line 249 optional :name, String, api_name: :Name |