Cotal TypeScript packages
    Preparing search index...

    Type Alias LivenessProbe

    LivenessProbe: (pid: number) => "alive" | "dead" | "unknown"

    The liveness probe as a DEPENDENCY. unknown is only producible by kernel policy (a seccomp SECCOMP_RET_ERRNO filter, an LSM answering security_task_kill), so no test input can reach it and the branch that handles it would otherwise be guarded by nothing executable. Callers take this so that branch can be driven directly. Production passes nothing and gets the real one.

    Type Declaration

      • (pid: number): "alive" | "dead" | "unknown"
      • Parameters

        • pid: number

        Returns "alive" | "dead" | "unknown"