iya-sts
    Preparing search index...

    The Reverse proxy tab's Visual sub-tab: a remote PEP, its listeners and its routes as a tree by path, drawn as SVG from the PEP page's answer.

    Index
    ACTIONS: any = ACTIONS
    • Answers the lines that say who may reach a route.

      Parameters

      • t: any

        the page's translator

      • route: any

        the route, as the proxy document holds it

      Returns any[][]

      lines, each a list of { text, href?, colour, bold? }

    • Answers who may reach a route, as text.

      Parameters

      • t: any

        the page's translator

      • route: any

        the route

      Returns string

      the text

    • Draws one PEP: its hexagon, its listeners and its routes' tree.

      Parameters

      • t: any

        the page's translator

      • row: any

        the PEP's row of GET /admin-api/xacml/peps?pep=<name>

      • links: Links

        the pages a box opens; null draws no link

      • Optionalstacked: boolean

        one column, for a narrow screen: the PEP, its listeners below it and the routes below them, the proxy's lines in a gutter on the right

      Returns any

      the SVG, its size and what it counted

    • Shortens a string to a drawn width.

      Parameters

      • text: string

        the text

      • size: number

        its font size

      • max: number

        the widest it may be drawn

      Returns string

      the text, or a prefix of it and an ellipsis

    • Draws the picture's key.

      Parameters

      • t: any

        the page's translator

      Returns string

      the HTML

    • Draws the Visual sub-tab: a lead, the picture in the console's .diagram box (which scrolls sideways itself, never the page), its key and its text alternative.

      Parameters

      • t: any

        the page's translator

      • row: any

        the PEP's row of GET /admin-api/xacml/peps?pep=<name>

      • links: Links

        the pages a box opens

      Returns string

      the HTML

    • Answers a listener's purpose: api, proxy or crl.

      Parameters

      • one: any

        a row of listenerRows

      Returns string

      the purpose

    • Flattens the trie into the picture's rows, depth first: the proxy's box first, then each node's routes (or its chip) and its children below them, one step in. A child's line comes from its node's LAST row, so a line never runs under a sibling's box.

      Parameters

      • root: PathNode

        tree()'s answer

      Returns Row[]

      the rows

    • Answers a listener's state for the picture.

      Parameters

      • t: any

        the page's translator

      • one: any

        a row of listenerRows

      Returns { alert: boolean; known: boolean; off: boolean; word: string }

      the word, and whether it is off and whether it is reported

    • Draws the picture as nested lists.

      Parameters

      • t: any

        the page's translator

      • row: any

        the PEP's row

      • links: Links

        the pages a box opens

      Returns string

      the HTML

    • Builds the path trie of a proxy's routes.

      Parameters

      • routes: any[]

        the proxy document's routes, in order

      Returns PathNode

      the root, /

    • Answers a listener's address and port.

      Parameters

      • one: any

        a row of listenerRows

      Returns string

      address:port, or '' when nothing says

    • Wraps a string onto lines of a drawn width.

      Parameters

      • text: string

        the text

      • size: number

        its font size

      • max: number

        the widest a line may be drawn

      • Optionalbold: boolean

        whether it is drawn bold

      Returns string[]

      the lines, at least one