class Consul::Check

Defined in:

consul/models/check.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String = "", id : String | Nil = nil, interval : String | Nil = nil, notes : String | Nil = nil, deregister_critial_service_after : String | Nil = nil, args : Array(String) | Nil = nil, alias_node : String | Nil = nil, alias_service : String | Nil = nil, docker_container_id : String | Nil = nil, grpc : String | Nil = nil, grpc_use_tls : Bool = false, http : String | Nil = nil, method : String | Nil = nil, header : Hash(String, Array(String)) | Nil = nil, timeout : String = "10s", tls_skip_verify : Bool = false, tcp : String | Nil = nil, ttl : String | Nil = nil, service_id : String | Nil = nil, status : String | Nil = nil) #

[View source]

Instance Method Detail

def alias_node : String? #

[View source]
def alias_node=(alias_node : Nil | String) #

[View source]
def alias_service : String? #

[View source]
def alias_service=(alias_service : Nil | String) #

[View source]
def args : Array(String)? #

[View source]
def args=(args : Nil | Array(String)) #

[View source]
def deregister_critial_service_after : String? #

[View source]
def deregister_critial_service_after=(deregister_critial_service_after : Nil | String) #

[View source]
def docker_container_id : String? #

[View source]
def docker_container_id=(docker_container_id : Nil | String) #

[View source]
def grpc : String? #

[View source]
def grpc=(grpc : Nil | String) #

[View source]
def grpc_use_tls : Bool #

[View source]
def grpc_use_tls=(grpc_use_tls : Bool) #

[View source]
def header : Hash(String, Array(String))? #

[View source]
def header=(header : Nil | Hash(String, Array(String))) #

[View source]
def http : String? #

[View source]
def http=(http : Nil | String) #

[View source]
def id : String? #

[View source]
def id=(id : Nil | String) #

[View source]
def interval : String? #

[View source]
def interval=(interval : Nil | String) #

[View source]
def method : String? #

[View source]
def method=(method : Nil | String) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def notes : String? #

[View source]
def notes=(notes : Nil | String) #

[View source]
def service_id : String? #

[View source]
def service_id=(service_id : Nil | String) #

[View source]
def status : String? #

[View source]
def status=(status : Nil | String) #

[View source]
def tcp : String? #

[View source]
def tcp=(tcp : Nil | String) #

[View source]
def timeout : String #

[View source]
def timeout=(timeout : String) #

[View source]
def tls_skip_verify : Bool #

[View source]
def tls_skip_verify=(tls_skip_verify : Bool) #

[View source]
def ttl : String? #

[View source]
def ttl=(ttl : Nil | String) #

[View source]