Anchorage API reference
    Preparing search index...

    Function assertExecutionFenceState

    • Validate a state name from a control-plane request. Exported because the admin route validates the WIRE shape and the package validates nothing else about a transition: which transitions are legal is host policy, and this package only enforces the state vocabulary, the CAS, and the proof-only key requirement.

      Parameters

      • value: unknown
      • field: string

      Returns "open" | "migration-locked" | "draining" | "proof-only"