Skip to content

Internals

Each page maps one mechanism to the code that carries it out. Each opens with a link to the How chalkos works page that explains the mechanism, and covers only the code.

  • The node API in code


    The proto files, how chalkd serves them and where each method's permission lives.

    Read

  • Layer plugins


    A layer's plugins in chalkd, chalkctl, the console and the status view, and their hooks.

    Read

  • Config redaction in code


    How the type config.Redacted keeps secret values away from programs.

    Read

  • chalkd's sandbox


    What the systemd sandbox of chalkd.service keeps and leaves out.

    Read

  • The install in code


    The steps of an install in place and from the installer.

    Read

  • Staging, activation and trials in code


    How chalkd stages and activates an image and writes the staged image's config slot.

    Read

  • Storage partition matching


    Where the repart definitions of VAR and the volumes are rendered and applied.

    Read