Skip to main content

Module candidate

Module candidate 

Source
Expand description

The candidate this binary renders for one target.

One pure function owns every byte a landing would write. It reads the sources compiled into this binary and the evidence the caller gathered from the target, and it returns an ordered list of destinations plus the record that describes them. It reads no filesystem, no environment, no clock, and no network, so the same input renders the same bytes whether a stage asked or a production landing did.

What the caller observes about the target is a value in Evidence. Observation is the caller’s job, because a projection that looked at the world itself could not be replayed and could not be staged.

Structs§

Candidate
The complete candidate for one target.
Destination
One destination of the candidate, and the bytes that would go there.
Evidence
What the caller observed about the target before projecting.
Input
What a landing was asked to render.

Enums§

Ownership
Who owns a destination’s bytes after the landing.
Placement
How much of the destination the candidate carries.

Functions§

docs_root_of
The documentation root one profile of this release lands into.
project
Render the candidate this binary carries for one target.
source_bytes
The bytes one payload source carries, from this binary’s own sources.