Skip to main content
Version: 0.2.0

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.

PageWhat it covers
What a unit arrives withthe five environment variables, what a unit is not given, the order of its first acts, the startup window
The Manifestthe document that speaks for a Plugin before it runs: its keys, its absences, what is refused
Admissionthe gate: four inputs, nine ordered stages, three outcomes, the grant
The Sessionidentity, validity, opening and closing, revocation, the envelope, correlation, validation
The familiesthe eight kinds of message, their direction, acknowledgements, events, health
Capabilitiesthe names three parties share: families, naming rules, how a grant is stored
Streams and transportsactivation, the two tolerances, the frame, shared objects, how a stream ends
The wirethe 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.

PageWhat it covers
What it administerswhat the surface reaches, what sits outside it, the one pair of addresses per instance
The two projectionsthe operator and shell projections, what differs and what does not, correlation and completion
Reaching itthe socket as the whole of the authorisation, the actor, connections, liveness
The operationsthe sixteen operations, what a change answers, how an operation about a unit reaches it
Reads and the logthe six readable subjects, their records, querying and following the log store
Subscriptionswhat a subscription promises here, its filter, the standing subscription
Refusals and the stopthe codes, what is answered while the instance stops, three kinds of news
The wirethe 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.

PageWhat it covers
The envelopethe eight fields, the six subject kinds, the four actor classes, the sequence and cause
Severitythe scale and its anchors, who grades, what severity never decides, the edge of the scale
Level and edgethe two classes, and the rule joining each to a snapshot or to the log store
A subscriptionthe five rules a subscriber is owed, and the confirmed subscription
Names and filteringthe grammar of a type's name, the four filter axes, handling an unknown type
The catalogueevery type as it stands: class, severity, detail, durable counterpart