Methods
agentInfo
agentInfo( ) : PromiseLike < {} >
agentInfo( resultHandler: ( ( res: AsyncResult < {} > ) => void ) | Handler < AsyncResult < {} > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:73
Returns PromiseLike < {} >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:78
Parameters
resultHandler: ( ( res: AsyncResult < {} > ) => void ) | Handler < AsyncResult < {} > >
catalogDatacenters
catalogDatacenters( ) : PromiseLike < string >
catalogDatacenters( resultHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:401
Returns PromiseLike < string >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:406
Parameters
resultHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > >
catalogNodeServices
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:517
Parameters
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:522
Parameters
catalogNodeServicesWithOptions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:528
Parameters
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:534
Parameters
catalogNodes
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:411
Returns PromiseLike < NodeList >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:416
Parameters
resultHandler: ( ( res: AsyncResult < NodeList > ) => void ) | Handler < AsyncResult < NodeList > >
catalogNodesWithOptions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:421
Parameters
Returns PromiseLike < NodeList >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:426
Parameters
resultHandler: ( ( res: AsyncResult < NodeList > ) => void ) | Handler < AsyncResult < NodeList > >
catalogServiceNodes
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:381
Parameters
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:386
Parameters
catalogServiceNodesWithOptions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:391
Parameters
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:396
Parameters
catalogServices
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:495
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:500
Parameters
catalogServicesWithOptions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:506
Parameters
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:512
Parameters
cloneAclToken
cloneAclToken( id: string ) : PromiseLike < string >
cloneAclToken( id: string , idHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:255
Parameters
Returns PromiseLike < string >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:260
Parameters
id: string
idHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > >
close
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:877
Returns void
coordinateDatacenters
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:105
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:110
Parameters
coordinateNodes
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:83
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:88
Parameters
coordinateNodesWithOptions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:94
Parameters
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:100
Parameters
createAclToken
createAclToken( token: AclToken ) : PromiseLike < string >
createAclToken( token: AclToken , idHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:235
Parameters
Returns PromiseLike < string >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:240
Parameters
idHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > >
createPreparedQuery
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:790
Parameters
Returns PromiseLike < string >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:794
Parameters
resultHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > >
createSession
createSession( ) : PromiseLike < string >
createSession( idHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:685
Returns PromiseLike < string >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:690
Parameters
idHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > >
createSessionWithOptions
createSessionWithOptions( options: SessionOptions ) : PromiseLike < string >
createSessionWithOptions( options: SessionOptions , idHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:695
Parameters
Returns PromiseLike < string >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:700
Parameters
idHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > >
deletePreparedQuery
deletePreparedQuery( id: string ) : PromiseLike < void >
deletePreparedQuery( id: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:827
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:832
Parameters
id: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
deleteValue
deleteValue( key: string ) : PromiseLike < void >
deleteValue( key: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:161
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:166
Parameters
key: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
deleteValues
deleteValues( keyPrefix: string ) : PromiseLike < void >
deleteValues( keyPrefix: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:197
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:202
Parameters
keyPrefix: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
deregisterCatalogService
deregisterCatalogService( nodeId: string , serviceId: string ) : PromiseLike < void >
deregisterCatalogService( nodeId: string , serviceId: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:867
Parameters
nodeId: string
serviceId: string
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:872
Parameters
nodeId: string
serviceId: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
deregisterCheck
deregisterCheck( checkId: string ) : PromiseLike < void >
deregisterCheck( checkId: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:571
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:576
Parameters
checkId: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
deregisterService
deregisterService( id: string ) : PromiseLike < void >
deregisterService( id: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:370
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:376
Parameters
id: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
destroyAclToken
destroyAclToken( id: string ) : PromiseLike < void >
destroyAclToken( id: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:285
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:290
Parameters
id: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
destroySession
destroySession( id: string ) : PromiseLike < void >
destroySession( id: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:781
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:786
Parameters
id: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
executePreparedQuery
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:837
Parameters
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:842
Parameters
executePreparedQueryWithOptions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:847
Parameters
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:852
Parameters
failCheck
failCheck( checkId: string ) : PromiseLike < void >
failCheck( checkId: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:621
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:626
Parameters
checkId: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
failCheckWithNote
failCheckWithNote( checkId: string , note: string ) : PromiseLike < void >
failCheckWithNote( checkId: string , note: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:631
Parameters
checkId: string
note: string
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:636
Parameters
checkId: string
note: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
fireEvent
fireEvent( name: string ) : PromiseLike < Event >
fireEvent( name: string , resultHandler: ( ( res: AsyncResult < Event > ) => void ) | Handler < AsyncResult < Event > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:295
Parameters
Returns PromiseLike < Event >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:300
Parameters
name: string
resultHandler: ( ( res: AsyncResult < Event > ) => void ) | Handler < AsyncResult < Event > >
fireEventWithOptions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:305
Parameters
Returns PromiseLike < Event >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:310
Parameters
name: string
resultHandler: ( ( res: AsyncResult < Event > ) => void ) | Handler < AsyncResult < Event > >
getAllPreparedQueries
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:809
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:814
Parameters
getKeys
getKeys( keyPrefix: string ) : PromiseLike < string >
getKeys( keyPrefix: string , resultHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:115
Parameters
Returns PromiseLike < string >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:120
Parameters
keyPrefix: string
resultHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > >
getKeysWithOptions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:125
Parameters
Returns PromiseLike < string >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:130
Parameters
keyPrefix: string
resultHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > >
getPreparedQuery
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:799
Parameters
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:804
Parameters
getValue
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:136
Parameters
Returns PromiseLike < KeyValue >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:142
Parameters
key: string
resultHandler: ( ( res: AsyncResult < KeyValue > ) => void ) | Handler < AsyncResult < KeyValue > >
getValueWithOptions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:149
Parameters
Returns PromiseLike < KeyValue >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:156
Parameters
key: string
resultHandler: ( ( res: AsyncResult < KeyValue > ) => void ) | Handler < AsyncResult < KeyValue > >
getValues
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:172
Parameters
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:178
Parameters
getValuesWithOptions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:185
Parameters
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:192
Parameters
healthChecks
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:431
Parameters
Returns PromiseLike < CheckList >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:436
Parameters
service: string
resultHandler: ( ( res: AsyncResult < CheckList > ) => void ) | Handler < AsyncResult < CheckList > >
healthChecksWithOptions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:441
Parameters
Returns PromiseLike < CheckList >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:446
Parameters
service: string
resultHandler: ( ( res: AsyncResult < CheckList > ) => void ) | Handler < AsyncResult < CheckList > >
healthServiceNodes
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:472
Parameters
service: string
passing: boolean
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:478
Parameters
healthServiceNodesWithOptions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:484
Parameters
service: string
passing: boolean
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:490
Parameters
healthState
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:451
Parameters
Returns PromiseLike < CheckList >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:456
Parameters
healthStateWithOptions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:461
Parameters
Returns PromiseLike < CheckList >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:466
Parameters
infoAclToken
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:275
Parameters
Returns PromiseLike < AclToken >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:280
Parameters
id: string
tokenHandler: ( ( res: AsyncResult < AclToken > ) => void ) | Handler < AsyncResult < AclToken > >
infoSession
infoSession( id: string ) : PromiseLike < Session >
infoSession( id: string , resultHandler: ( ( res: AsyncResult < Session > ) => void ) | Handler < AsyncResult < Session > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:705
Parameters
Returns PromiseLike < Session >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:710
Parameters
id: string
resultHandler: ( ( res: AsyncResult < Session > ) => void ) | Handler < AsyncResult < Session > >
infoSessionWithOptions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:716
Parameters
Returns PromiseLike < Session >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:722
Parameters
id: string
resultHandler: ( ( res: AsyncResult < Session > ) => void ) | Handler < AsyncResult < Session > >
leaderStatus
leaderStatus( ) : PromiseLike < string >
leaderStatus( resultHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:662
Returns PromiseLike < string >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:668
Parameters
resultHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > >
listAclTokens
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:265
Returns PromiseLike < AclToken >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:270
Parameters
resultHandler: ( ( res: AsyncResult < AclToken > ) => void ) | Handler < AsyncResult < AclToken > >
listEvents
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:315
Returns PromiseLike < EventList >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:320
Parameters
listEventsWithOptions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:332
Parameters
Returns PromiseLike < EventList >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:344
Parameters
listNodeSessions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:759
Parameters
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:764
Parameters
listNodeSessionsWithOptions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:770
Parameters
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:776
Parameters
listSessions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:737
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:742
Parameters
listSessionsWithOptions
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:748
Parameters
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:754
Parameters
localChecks
localChecks( ) : PromiseLike < Check >
localChecks( resultHandler: ( ( res: AsyncResult < Check > ) => void ) | Handler < AsyncResult < Check > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:549
Returns PromiseLike < Check >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:554
Parameters
resultHandler: ( ( res: AsyncResult < Check > ) => void ) | Handler < AsyncResult < Check > >
localServices
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:539
Returns PromiseLike < Service >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:544
Parameters
resultHandler: ( ( res: AsyncResult < Service > ) => void ) | Handler < AsyncResult < Service > >
maintenanceService
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:359
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:364
Parameters
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
passCheck
passCheck( checkId: string ) : PromiseLike < void >
passCheck( checkId: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:581
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:586
Parameters
checkId: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
passCheckWithNote
passCheckWithNote( checkId: string , note: string ) : PromiseLike < void >
passCheckWithNote( checkId: string , note: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:591
Parameters
checkId: string
note: string
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:596
Parameters
checkId: string
note: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
peersStatus
peersStatus( ) : PromiseLike < string >
peersStatus( resultHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:674
Returns PromiseLike < string >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:680
Parameters
resultHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > >
putValue
putValue( key: string , value: string ) : PromiseLike < boolean >
putValue( key: string , value: string , resultHandler: ( ( res: AsyncResult < boolean > ) => void ) | Handler < AsyncResult < boolean > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:207
Parameters
key: string
value: string
Returns PromiseLike < boolean >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:212
Parameters
key: string
value: string
resultHandler: ( ( res: AsyncResult < boolean > ) => void ) | Handler < AsyncResult < boolean > >
putValueWithOptions
putValueWithOptions( key: string , value: string , options: KeyValueOptions ) : PromiseLike < boolean >
putValueWithOptions( key: string , value: string , options: KeyValueOptions , resultHandler: ( ( res: AsyncResult < boolean > ) => void ) | Handler < AsyncResult < boolean > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:216
Parameters
key: string
value: string
Returns PromiseLike < boolean >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:220
Parameters
key: string
value: string
resultHandler: ( ( res: AsyncResult < boolean > ) => void ) | Handler < AsyncResult < boolean > >
registerCatalogService
registerCatalogService( nodeOptions: Node , serviceOptions: ServiceOptions ) : PromiseLike < void >
registerCatalogService( nodeOptions: Node , serviceOptions: ServiceOptions , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:857
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:862
Parameters
nodeOptions: Node
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
registerCheck
registerCheck( checkOptions: CheckOptions ) : PromiseLike < void >
registerCheck( checkOptions: CheckOptions , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:560
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:566
Parameters
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
registerService
registerService( serviceOptions: ServiceOptions ) : PromiseLike < void >
registerService( serviceOptions: ServiceOptions , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:349
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:354
Parameters
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
renewSession
renewSession( id: string ) : PromiseLike < Session >
renewSession( id: string , resultHandler: ( ( res: AsyncResult < Session > ) => void ) | Handler < AsyncResult < Session > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:727
Parameters
Returns PromiseLike < Session >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:732
Parameters
id: string
resultHandler: ( ( res: AsyncResult < Session > ) => void ) | Handler < AsyncResult < Session > >
transaction
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:225
Parameters
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:230
Parameters
updateAclToken
updateAclToken( token: AclToken ) : PromiseLike < string >
updateAclToken( token: AclToken , idHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:245
Parameters
Returns PromiseLike < string >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:250
Parameters
idHandler: ( ( res: AsyncResult < string > ) => void ) | Handler < AsyncResult < string > >
updateCheck
updateCheck( checkId: string , status: CheckStatus ) : PromiseLike < void >
updateCheck( checkId: string , status: CheckStatus , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:641
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:646
Parameters
checkId: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
updateCheckWithNote
updateCheckWithNote( checkId: string , status: CheckStatus , note: string ) : PromiseLike < void >
updateCheckWithNote( checkId: string , status: CheckStatus , note: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:651
Parameters
checkId: string
note: string
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:656
Parameters
checkId: string
note: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
updatePreparedQuery
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:818
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:822
Parameters
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
warnCheck
warnCheck( checkId: string ) : PromiseLike < void >
warnCheck( checkId: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:601
Parameters
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:606
Parameters
checkId: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
warnCheckWithNote
warnCheckWithNote( checkId: string , note: string ) : PromiseLike < void >
warnCheckWithNote( checkId: string , note: string , resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > > ) : ConsulClient
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:611
Parameters
checkId: string
note: string
Returns PromiseLike < void >
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:616
Parameters
checkId: string
note: string
resultHandler: ( ( res: AsyncResult < void > ) => void ) | Handler < AsyncResult < void > >
Static create
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:63
Parameters
Defined in io.vertx/vertx-consul-client/target/npm/index.d.ts:68
Parameters
A Vert.x service used to interact with Consul.