Class: Fluent::Plugin::ServiceDiscovery::Service
- Inherits:
-
Struct
- Object
- Struct
- Fluent::Plugin::ServiceDiscovery::Service
- Defined in:
- lib/fluent/plugin/service_discovery.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#name ⇒ Object
Returns the value of attribute name.
-
#password ⇒ Object
Returns the value of attribute password.
-
#plugin_name ⇒ Object
Returns the value of attribute plugin_name.
-
#port ⇒ Object
Returns the value of attribute port.
-
#shared_key ⇒ Object
Returns the value of attribute shared_key.
-
#standby ⇒ Object
Returns the value of attribute standby.
-
#username ⇒ Object
Returns the value of attribute username.
-
#weight ⇒ Object
Returns the value of attribute weight.
Instance Method Summary collapse
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host
49 50 51 |
# File 'lib/fluent/plugin/service_discovery.rb', line 49 def host @host end |
#name ⇒ Object
Returns the value of attribute name
49 50 51 |
# File 'lib/fluent/plugin/service_discovery.rb', line 49 def name @name end |
#password ⇒ Object
Returns the value of attribute password
49 50 51 |
# File 'lib/fluent/plugin/service_discovery.rb', line 49 def password @password end |
#plugin_name ⇒ Object
Returns the value of attribute plugin_name
49 50 51 |
# File 'lib/fluent/plugin/service_discovery.rb', line 49 def plugin_name @plugin_name end |
#port ⇒ Object
Returns the value of attribute port
49 50 51 |
# File 'lib/fluent/plugin/service_discovery.rb', line 49 def port @port end |
#shared_key ⇒ Object
Returns the value of attribute shared_key
49 50 51 |
# File 'lib/fluent/plugin/service_discovery.rb', line 49 def shared_key @shared_key end |
#standby ⇒ Object
Returns the value of attribute standby
49 50 51 |
# File 'lib/fluent/plugin/service_discovery.rb', line 49 def standby @standby end |
#username ⇒ Object
Returns the value of attribute username
49 50 51 |
# File 'lib/fluent/plugin/service_discovery.rb', line 49 def username @username end |
#weight ⇒ Object
Returns the value of attribute weight
49 50 51 |
# File 'lib/fluent/plugin/service_discovery.rb', line 49 def weight @weight end |
Instance Method Details
#discovery_id ⇒ Object
50 51 52 |
# File 'lib/fluent/plugin/service_discovery.rb', line 50 def discovery_id @discovery_id ||= Base64.encode64(to_h.to_s) end |