mise API - v0.0.0
    Preparing search index...

    Function identity_normalise

    • Normalises a <user>@<url> identity lexically — no DNS, no network.

      The URL scheme and host are lowercased; the trailing slash CUBE requires is preserved; the port and the user's case are kept exactly. Host aliases (a short hostname versus its FQDN) are deliberately not merged: that is DNS resolution, not string rewriting, and a key that depends on DNS breaks under load balancers and split-horizon resolution. The rule is "same string, same daemon" — operators adopt one canonical URL per CUBE by convention.

      Parameters

      • user: string

        The CUBE username, used with exact case.

      • cubeUrl: string

        The CUBE API URL as the user typed it (scheme included).

      Returns string

      The normalised identity string used as the berth key input.