Anchorage API reference
    Preparing search index...

    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

    assertServing: (hostname: string, expectedScriptName: string) => Promise<void>
    drainCandidate: (candidate: ExternalReleaseSnapshot) => Promise<void>
    hostRoutingKvId: string
    platformProfileFor: (spec: DeploymentSpec) => ExternalPlatformProfile
    sharedOutboundWorkerName: string
    stateEgressRootSecret: string