Class: Minke::Config::URL

Inherits:
Object
  • Object
show all
Defined in:
lib/minke/config/config.rb

Overview

URL represents a url object which is used for health_check and consul_loader locations

Instance Attribute Summary collapse

Instance Attribute Details

#addressObject

address of the server i.e 127.0.0.1 or the docker name consul



314
315
316
# File 'lib/minke/config/config.rb', line 314

def address
  @address
end

#pathObject

path for the server default /



330
331
332
# File 'lib/minke/config/config.rb', line 330

def path
  @path
end

#portObject

port which the server is running on default 80



319
320
321
# File 'lib/minke/config/config.rb', line 319

def port
  @port
end

#protocolObject

protocol for the server

  • http [default]

  • https



325
326
327
# File 'lib/minke/config/config.rb', line 325

def protocol
  @protocol
end

#typeObject

type of the URL

  • public

  • private used for linked containers



336
337
338
# File 'lib/minke/config/config.rb', line 336

def type
  @type
end