Anchorage API reference
Documentation
GitHub
Preparing search index...
@proofoftech/fleet-control
index
WorkersForPlatformsBackendSwitchProviderOptions
Interface WorkersForPlatformsBackendSwitchProviderOptions
interface
WorkersForPlatformsBackendSwitchProviderOptions
{
assertServing
:
(
hostname
:
string
,
expectedScriptName
:
string
,
)
=>
Promise
<
void
>
;
backend
:
WorkersForPlatformsBackend
;
client
:
BackendSwitchApi
;
drainCandidate
:
(
candidate
:
ExternalReleaseSnapshot
)
=>
Promise
<
void
>
;
hostRoutingKvId
:
string
;
platformProfileFor
:
(
spec
:
DeploymentSpec
)
=>
ExternalPlatformProfile
;
sharedOutboundWorkerName
:
string
;
stateEgressRootSecret
:
string
;
}
Index
Properties
assert
Serving
backend
client
drain
Candidate
host
Routing
Kv
Id
platform
Profile
For
shared
Outbound
Worker
Name
state
Egress
Root
Secret
Properties
Readonly
assert
Serving
assertServing
:
(
hostname
:
string
,
expectedScriptName
:
string
)
=>
Promise
<
void
>
Readonly
backend
backend
:
WorkersForPlatformsBackend
Readonly
client
client
:
BackendSwitchApi
Readonly
drain
Candidate
drainCandidate
:
(
candidate
:
ExternalReleaseSnapshot
)
=>
Promise
<
void
>
Readonly
host
Routing
Kv
Id
hostRoutingKvId
:
string
Readonly
platform
Profile
For
platformProfileFor
:
(
spec
:
DeploymentSpec
)
=>
ExternalPlatformProfile
Readonly
shared
Outbound
Worker
Name
sharedOutboundWorkerName
:
string
Readonly
state
Egress
Root
Secret
stateEgressRootSecret
:
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
assert
Serving
backend
client
drain
Candidate
host
Routing
Kv
Id
platform
Profile
For
shared
Outbound
Worker
Name
state
Egress
Root
Secret
Documentation
GitHub
Anchorage API reference
Loading...