Class: HAProxy::Listener
- Inherits:
-
Struct
- Object
- Struct
- HAProxy::Listener
- Includes:
- ServerList
- Defined in:
- lib/haproxy/config.rb,
lib/haproxy/config.rb
Overview
Represents a listener configuration block.
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#host ⇒ Object
Returns the value of attribute host.
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
-
#port ⇒ Object
Returns the value of attribute port.
-
#servers ⇒ Object
Returns the value of attribute servers.
Method Summary
Methods included from ServerList
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config
6 7 8 |
# File 'lib/haproxy/config.rb', line 6 def config @config end |
#host ⇒ Object
Returns the value of attribute host
6 7 8 |
# File 'lib/haproxy/config.rb', line 6 def host @host end |
#name ⇒ Object
Returns the value of attribute name
6 7 8 |
# File 'lib/haproxy/config.rb', line 6 def name @name end |
#options ⇒ Object
Returns the value of attribute options
6 7 8 |
# File 'lib/haproxy/config.rb', line 6 def end |
#port ⇒ Object
Returns the value of attribute port
6 7 8 |
# File 'lib/haproxy/config.rb', line 6 def port @port end |
#servers ⇒ Object
Returns the value of attribute servers
6 7 8 |
# File 'lib/haproxy/config.rb', line 6 def servers @servers end |