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



307
308
309
# File 'lib/minke/config/config.rb', line 307

def address
  @address
end

#pathObject

path for the server default /



323
324
325
# File 'lib/minke/config/config.rb', line 323

def path
  @path
end

#portObject

port which the server is running on default 80



312
313
314
# File 'lib/minke/config/config.rb', line 312

def port
  @port
end

#protocolObject

protocol for the server

  • http [default]

  • https



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

def protocol
  @protocol
end

#typeObject

type of the URL

  • public

  • private used for linked containers



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

def type
  @type
end