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



301
302
303
# File 'lib/minke/config/config.rb', line 301

def address
  @address
end

#pathObject

path for the server default /



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

def path
  @path
end

#portObject

port which the server is running on default 80



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

def port
  @port
end

#protocolObject

protocol for the server

  • http [default]

  • https



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

def protocol
  @protocol
end

#typeObject

type of the URL

  • public

  • private used for linked containers



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

def type
  @type
end