Anchorage API reference
Documentation
GitHub
Preparing search index...
@proofoftech/fleet-control
index
D1FleetStateStore
Class D1FleetStateStore
Implements
FleetStateStore
PlatformPlaneStateStore
Index
Constructors
constructor
Methods
get
list
with
Deployment
Lease
with
Platform
Plane
Lease
Constructors
constructor
new
D1FleetStateStore
(
db
:
FleetStateDatabase
,
options
:
D1FleetStateStoreOptions
,
)
:
D1FleetStateStore
Parameters
db
:
FleetStateDatabase
options
:
D1FleetStateStoreOptions
Returns
D1FleetStateStore
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
>
with
Platform
Plane
Lease
withPlatformPlaneLease
<
T
>
(
resourceSet
:
PlatformPlaneResourceSet
,
platformPlaneIdentity
:
string
,
operation
:
(
lease
:
PlatformPlaneLease
)
=>
Promise
<
T
>
,
)
:
Promise
<
T
>
Type Parameters
T
Parameters
resourceSet
:
PlatformPlaneResourceSet
platformPlaneIdentity
:
string
operation
:
(
lease
:
PlatformPlaneLease
)
=>
Promise
<
T
>
Returns
Promise
<
T
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
list
with
Deployment
Lease
with
Platform
Plane
Lease
Documentation
GitHub
Anchorage API reference
Loading...