Documentation
¶
Overview ¶
Package api is the root of the getpumi.dev/pumi/api module, which holds the protobuf schema, the generated Connect code and the schemas for event types and facts. Adapters in other repositories import this module without the rest of the core.
Import rule: the api module imports the standard library and its own third-party dependencies only. It never imports anything from the core module getpumi.dev/pumi.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Output ¶
func Output(name string) (protoreflect.MessageType, string, error)
Output returns the type of the top-level message of the api module with the full name name, which an invocation document names as its output schema, and the JSON Schema that make generate wrote for it, for harnesses that take JSON Schema (decision 0160).
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package events names Pumi's v1 event types and builds and checks their CloudEvents envelopes (decisions 0132 to 0135).
|
Package events names Pumi's v1 event types and builds and checks their CloudEvents envelopes (decisions 0132 to 0135). |
|
Package facts reads Pumi's v1 fact catalog from the schema in getpumi.dev/pumi/api/gen/pumi/facts/v1 (decisions 0136 and 0137).
|
Package facts reads Pumi's v1 fact catalog from the schema in getpumi.dev/pumi/api/gen/pumi/facts/v1 (decisions 0136 and 0137). |
|
gen
|
|
|
pumi/controlplane/v1/controlplanev1connect
The control-plane API (decisions 0006 and 0152 to 0156): the four verbs with which every component writes and reads the event log and asks for decisions.
|
The control-plane API (decisions 0006 and 0152 to 0156): the four verbs with which every component writes and reads the event log and asks for decisions. |
|
pumi/runner/v1/runnerv1connect
The runner protocol (decisions 0024, 0035 and 0152): runners pull invocations under leases, renew them with heartbeats and report results, which the control plane appends as events.
|
The runner protocol (decisions 0024, 0035 and 0152): runners pull invocations under leases, renew them with heartbeats and report results, which the control plane appends as events. |
|
Package policy holds Pumi's Cedar schema (decision 0141): one Pumi namespace whose actions declare in their context the facts of the catalog in getpumi.dev/pumi/api/facts and the profile settings their gates read, the core invariants (decision 0142), the forbid policies that no lower policy set can loosen, and the core policies of the workflow actions (decisions 0169 to 0171).
|
Package policy holds Pumi's Cedar schema (decision 0141): one Pumi namespace whose actions declare in their context the facts of the catalog in getpumi.dev/pumi/api/facts and the profile settings their gates read, the core invariants (decision 0142), the forbid policies that no lower policy set can loosen, and the core policies of the workflow actions (decisions 0169 to 0171). |