Reference
What each surface of Yoke is, stated exactly. A page here says what holds and what is refused; it does not teach, and it does not argue.
The plugin surface
The contract between the Core and a Plugin unit — one running copy of a Plugin, the program that holds a part of an application's logic. A unit is launched by the Core, admitted at a gate, and then lives inside one Session.
| Page | What it covers |
|---|---|
| What a unit arrives with | the five environment variables, what a unit is not given, the order of its first acts, the startup window |
| The Manifest | the document that speaks for a Plugin before it runs: its keys, its absences, what is refused |
| Admission | the gate: four inputs, nine ordered stages, three outcomes, the grant |
| The Session | identity, validity, opening and closing, revocation, the envelope, correlation, validation |
| The families | the eight kinds of message, their direction, acknowledgements, events, health |
| Capabilities | the names three parties share: families, naming rules, how a grant is stored |
| Streams and transports | activation, the two tolerances, the frame, shared objects, how a stream ends |
| The wire | the two services, the registration exchange, the envelope, the payloads, the error codes |
The administrative surface
The contract every administrative client speaks — the manager, a command-line tool, a script, a person connected to a running instance. It administers one instance from the inside, in two projections: a call and an answer, or a connection held open.
| Page | What it covers |
|---|---|
| What it administers | what the surface reaches, what sits outside it, the one pair of addresses per instance |
| The two projections | the operator and shell projections, what differs and what does not, correlation and completion |
| Reaching it | the socket as the whole of the authorisation, the actor, connections, liveness |
| The operations | the sixteen operations, what a change answers, how an operation about a unit reaches it |
| Reads and the log | the six readable subjects, their records, querying and following the log store |
| Subscriptions | what a subscription promises here, its filter, the standing subscription |
| Refusals and the stop | the codes, what is answered while the instance stops, three kinds of news |
| The wire | the two services over one union, the frame, ordering, the version |
Events
What the Core publishes about a deployment, on either surface: one envelope, one severity scale, and a set of types that grows as producers appear.
| Page | What it covers |
|---|---|
| The envelope | the eight fields, the six subject kinds, the four actor classes, the sequence and cause |
| Severity | the scale and its anchors, who grades, what severity never decides, the edge of the scale |
| Level and edge | the two classes, and the rule joining each to a snapshot or to the log store |
| A subscription | the five rules a subscriber is owed, and the confirmed subscription |
| Names and filtering | the grammar of a type's name, the four filter axes, handling an unknown type |
| The catalogue | every type as it stands: class, severity, detail, durable counterpart |
The interface surface
The contract an application is used through — a panel on an instrument, a browser, a remote operator's tool. A deployment declares its channels; a client attaches to one and commands units, follows what the deployment is doing, and receives streams.
| Page | What it covers |
|---|---|
| Channels | the declaration, managed and attached, where a channel is bound, the two traffic shapes |
| The projections | local and http+ws, the two axes, what every projection carries |
| Attaching | cardinality, who the client is, the opening picture, what ends an attachment, confirmation |
| The operations | the eleven operations, what is opaque, what authorises one, the order of refusals |
| What a channel sees | observed and addressed, the subscription, what a suspended channel keeps |
| Arbitration | holding, the computation, the two grades, how a suspension ends, the local reclaim |
| Streams to clients | starting and subscribing, the three delivery paths, what is preserved, what ends a delivery |
| The wire | the typed service and its frame, the browser paths, ordering, the version, the error codes |
Containerised units
A unit may run in a container instead of on the host, when it needs what the host does not have. The unit is the same unit; what changes is how it is started and isolated.
| Page | What it covers |
|---|---|
| What changes in a container | what stays the same, declaring an image, the channel across the boundary, no network by default |
| Identity and needs | who the process runs as, per engine and mode; what each declared need expands into |
| The engine | reaching it, what is asked of it, a quiet engine and its return, a managed interface in a container |
Retention
How the log store is kept from growing without bound: three limits, per unit.
| Page | What it covers |
|---|---|
| Retention | the three limits, the group, a group's policy, when the cleaner runs, the worst case |
The package
How an application travels to a host and is installed there: one file, checked before it is opened, expanded into a tree nothing at runtime writes.
| Page | What it covers |
|---|---|
| The file | the payload and the footer, its fields, the three checks and the order a host performs them, sealing |
| Trust and sealing | packages.conf, rotating a key, what removing one reaches, the credential that opens a sealed package |
| Installing | the eleven steps, obtaining images, what is reported, what a failure leaves |
| The install root | the shared tree, who owns what, the install record, what is read rather than written |
The manager
yoke, the one command: lifecycle verbs on what is declared, client verbs on what is running.
| Page | What it covers |
|---|---|
| The command line | the two halves, the namespaces, every lifecycle verb and where it goes, the exit statuses |
| Configuration | manager.conf, its four keys and their defaults, what is checked of the install root, what it may never say |
| Instances | creating and naming one, the values a site supplies, a run with no record, copying state, reading one |
| Updating and removal | an update as four operations, rolling back, the three removals, the one reclaiming verb |
The guardian
The one process per account that brings declared instances to their desired state, and makes an instance that loses its Core lose everything in it.
| Page | What it covers |
|---|---|
| The instance record | where a record sits, its fields, an ephemeral record, who writes it and how |
| The guardian and its channel | its two duties, how it starts and exits, what it never acquires, the four messages, the why |
| Reconciling | what wakes it, what it derives, starting and stopping, a refused start, a failed one, the control group |
| Watching a Core | the liveness signal, the bounded escalation on a silence, coming back |
Secrets
| Page | What it covers |
|---|---|
| Secrets | declared, supplied without being displayed, delivered as a file, refused when missing, never copied across |