class

Consul::Service

Inherits Reference / Object

Constructors

new(id : String | Nil = nil, name : String = "", service : String = "", address : String | Nil = nil, tags : Array(String) = [] of String, port : Int32 = 0, tag_override : Bool = false, meta : Hash(String, String) = {} of String => String, check : Hash(String, String) = {} of String => String)
Source

Instance methods

address
Source
address=(address : Nil | String)
Source
check
Source
check=(check : Hash(String, String))
Source
id=(id : Nil | String)
Source
meta
Source
meta=(meta : Hash(String, String))
Source
name
Source
name=(name : String)
Source
port
Source
port=(port : Int32)
Source
service
Source
service=(service : String)
Source
tag_override
Source
tag_override=(tag_override : Bool)
Source
tags
Source
tags=(tags : Array(String))
Source