@valon-technologies/gestalt
Preparing search index...
services/runtime
ProviderLifecycle
Class ProviderLifecycle
ProviderLifecycle is the common lifecycle protocol shared by every provider kind.
Index
Constructors
constructor
Methods
get
Provider
Identity
configure
Provider
configure
Provider
Raw
health
Check
start
Provider
start
Provider
Raw
Constructors
constructor
new
ProviderLifecycle
(
transport
:
Transport
,
options
?:
{
timeoutMs
?:
number
}
,
)
:
ProviderLifecycle
Parameters
transport
:
Transport
Optional
options
:
{
timeoutMs
?:
number
}
Returns
ProviderLifecycle
Methods
get
Provider
Identity
getProviderIdentity
()
:
Promise
<
ProviderIdentity
>
Returns
Promise
<
ProviderIdentity
>
configure
Provider
configureProvider
(
name
:
string
,
protocolVersion
:
number
,
config
?:
JsonObject
,
)
:
Promise
<
number
>
Parameters
name
:
string
protocolVersion
:
number
Optional
config
:
JsonObject
Returns
Promise
<
number
>
configure
Provider
Raw
configureProviderRaw
(
request
:
{
name
?:
string
;
config
?:
{
[
key
:
string
]:
|
string
|
number
|
boolean
|
(
{ [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null)[] | null; }
)
|
(
string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
)
[]
|
null
;
}
;
protocolVersion
?:
number
;
}
,
)
:
Promise
<
ConfigureProviderResponse
>
Parameters
request
:
{
name
?:
string
;
config
?:
{
[
key
:
string
]:
|
string
|
number
|
boolean
|
(
{ [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null)[] | null; }
)
|
(
string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
)
[]
|
null
;
}
;
protocolVersion
?:
number
;
}
Returns
Promise
<
ConfigureProviderResponse
>
health
Check
healthCheck
()
:
Promise
<
HealthCheckResponse
>
Returns
Promise
<
HealthCheckResponse
>
start
Provider
startProvider
()
:
Promise
<
number
>
Returns
Promise
<
number
>
start
Provider
Raw
startProviderRaw
()
:
Promise
<
StartRuntimeProviderResponse
>
Returns
Promise
<
StartRuntimeProviderResponse
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Provider
Identity
configure
Provider
configure
Provider
Raw
health
Check
start
Provider
start
Provider
Raw
@valon-technologies/gestalt
Loading...
ProviderLifecycle is the common lifecycle protocol shared by every provider kind.