Cotal TypeScript packages
    Preparing search index...

    Function preflightOrThrow

    • Confirm the resolved mesh is up and accepts these creds — replaces the raw NATS "Authorization Violation" trace with one sentence. A readOnly caller never prunes the entry on a mismatch. The probe + classify + render live beside this file; this wrapper owns the operator I/O — it acts on the prune decision, colours, and exits. Probes with probeCreds when given (the caller's --creds/minted creds); otherwise a throwaway identity is minted from the target's own trust material.

      Parameters

      • target: MeshTarget
      • OptionalprobeCreds: string
      • readOnly: boolean = false

      Returns Promise<void>