Anchorage API reference
Documentation
GitHub
Preparing search index...
@proofoftech/fleet-control
index
FleetStateStore
Interface FleetStateStore
interface
FleetStateStore
{
get
(
tenantTag
:
string
,
environment
:
string
,
)
:
Promise
<
FleetRecord
|
undefined
>
;
list
()
:
Promise
<
readonly
FleetRecord
[]
>
;
withDeploymentLease
<
T
>
(
tenantTag
:
string
,
environment
:
string
,
operation
:
(
lease
:
FleetStateLease
)
=>
Promise
<
T
>
,
)
:
Promise
<
T
>
;
}
Implemented by
D1FleetStateStore
Index
Methods
get
list
with
Deployment
Lease
Methods
get
get
(
tenantTag
:
string
,
environment
:
string
)
:
Promise
<
FleetRecord
|
undefined
>
Parameters
tenantTag
:
string
environment
:
string
Returns
Promise
<
FleetRecord
|
undefined
>
list
list
()
:
Promise
<
readonly
FleetRecord
[]
>
Returns
Promise
<
readonly
FleetRecord
[]
>
with
Deployment
Lease
withDeploymentLease
<
T
>
(
tenantTag
:
string
,
environment
:
string
,
operation
:
(
lease
:
FleetStateLease
)
=>
Promise
<
T
>
,
)
:
Promise
<
T
>
Type Parameters
T
Parameters
tenantTag
:
string
environment
:
string
operation
:
(
lease
:
FleetStateLease
)
=>
Promise
<
T
>
Returns
Promise
<
T
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
get
list
with
Deployment
Lease
Documentation
GitHub
Anchorage API reference
Loading...