Class: Kumonos::Envoy::Admin

Inherits:
Struct
  • Object
show all
Defined in:
lib/kumonos/envoy.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#access_log_pathObject

Returns the value of attribute access_log_path

Returns:

  • (Object)

    the current value of access_log_path



221
222
223
# File 'lib/kumonos/envoy.rb', line 221

def access_log_path
  @access_log_path
end

#addressObject

Returns the value of attribute address

Returns:

  • (Object)

    the current value of address



221
222
223
# File 'lib/kumonos/envoy.rb', line 221

def address
  @address
end

Class Method Details

.build(h) ⇒ Object



223
224
225
226
# File 'lib/kumonos/envoy.rb', line 223

def build(h)
  address = AddressParser.call(h.fetch('address'))
  new(address, h.fetch('access_log_path'))
end