etcd3 API - v2.0.0
GitHub
npm
Preparing search index...
ICallable
Interface ICallable<T>
interface
ICallable
<
T
>
{
callOptionsFactory
:
CallOptionsFactory
|
undefined
;
exec
<
T
>
(
service
:
"KV"
|
"Watch"
|
"Lease"
|
"Cluster"
|
"Maintenance"
|
"Auth"
,
method
:
string
,
params
:
unknown
,
options
?:
CallOptions
,
)
:
Promise
<
T
>
;
markFailed
(
resource
:
T
,
error
:
Error
)
:
void
;
withConnection
<
R
>
(
service
:
"KV"
|
"Watch"
|
"Lease"
|
"Cluster"
|
"Maintenance"
|
"Auth"
,
fn
:
(
args
:
{
client
:
Client
;
metadata
:
Metadata
;
resource
:
T
}
,
)
=>
R
|
Promise
<
R
>
,
)
:
Promise
<
R
>
;
}
Type Parameters
T
Index
Properties
call
Options
Factory
Methods
exec
mark
Failed
with
Connection
Properties
Readonly
call
Options
Factory
callOptionsFactory
:
CallOptionsFactory
|
undefined
Methods
exec
exec
<
T
>
(
service
:
"KV"
|
"Watch"
|
"Lease"
|
"Cluster"
|
"Maintenance"
|
"Auth"
,
method
:
string
,
params
:
unknown
,
options
?:
CallOptions
,
)
:
Promise
<
T
>
Type Parameters
T
Parameters
service
:
"KV"
|
"Watch"
|
"Lease"
|
"Cluster"
|
"Maintenance"
|
"Auth"
method
:
string
params
:
unknown
Optional
options
:
CallOptions
Returns
Promise
<
T
>
mark
Failed
markFailed
(
resource
:
T
,
error
:
Error
)
:
void
Parameters
resource
:
T
error
:
Error
Returns
void
with
Connection
withConnection
<
R
>
(
service
:
"KV"
|
"Watch"
|
"Lease"
|
"Cluster"
|
"Maintenance"
|
"Auth"
,
fn
:
(
args
:
{
client
:
Client
;
metadata
:
Metadata
;
resource
:
T
}
,
)
=>
R
|
Promise
<
R
>
,
)
:
Promise
<
R
>
Type Parameters
R
Parameters
service
:
"KV"
|
"Watch"
|
"Lease"
|
"Cluster"
|
"Maintenance"
|
"Auth"
fn
:
(
args
:
{
client
:
Client
;
metadata
:
Metadata
;
resource
:
T
}
)
=>
R
|
Promise
<
R
>
Returns
Promise
<
R
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
call
Options
Factory
Methods
exec
mark
Failed
with
Connection
GitHub
npm
etcd3 API - v2.0.0
Loading...