CheckOptions

Options used to register checks in Consul.

package

Default

Methods

CheckOptions constructor

__construct( $checkOptions = null) 

Arguments

$checkOptions

mixed | null

getDeregisterAfter

getDeregisterAfter() : string

Response

string

getGrpc

getGrpc() : string

Response

string

getHttp

getHttp() : string

Response

string

getId

getId() : string

Response

string

getInterval

getInterval() : string

Response

string

getName

getName() : string

Response

string

getNotes

getNotes() : string

Response

string

getScriptArgs

getScriptArgs() : array

Response

array

getServiceId

getServiceId() : string

Response

string

getStatus

getStatus() : string

Response

string

getTcp

getTcp() : string

Response

string

getTtl

getTtl() : string

Response

string

isGrpcTls

isGrpcTls() : boolean

Response

boolean

isTlsSkipVerify

isTlsSkipVerify() : boolean

Response

boolean

setDeregisterAfter

setDeregisterAfter( $deregisterAfter) : $this

Arguments

$deregisterAfter

string

Response

$this

setGrpc

setGrpc( $grpc) : $this

Arguments

$grpc

string

Response

$this

setGrpcTls

setGrpcTls( $grpcTls) : $this

Arguments

$grpcTls

boolean

Response

$this

setHttp

setHttp( $http) : $this

Arguments

$http

string

Response

$this

setId

setId( $id) : $this

Arguments

$id

string

Response

$this

setInterval

setInterval( $interval) : $this

Arguments

$interval

string

Response

$this

setName

setName( $name) : $this

Arguments

$name

string

Response

$this

setNotes

setNotes( $notes) : $this

Arguments

$notes

string

Response

$this

setScriptArgs

setScriptArgs( $scriptArgs) : $this

Arguments

$scriptArgs

string

Response

$this

setServiceId

setServiceId( $serviceId) : $this

Arguments

$serviceId

string

Response

$this

setStatus

setStatus( $status) : $this

Arguments

$status

string

Response

$this

setTcp

setTcp( $tcp) : $this

Arguments

$tcp

string

Response

$this

setTlsSkipVerify

setTlsSkipVerify( $tlsSkipVerify) : $this

Arguments

$tlsSkipVerify

boolean

Response

$this

setTtl

setTtl( $ttl) : $this

Arguments

$ttl

string

Response

$this