Reference

2 min read

Technical reference for the Inrun runtime, schemas, functions and CLI.

Writing a resource declaration?
See the Resources reference: one page per Kubernetes built-in and custom resource kind, with every field and a worked YAML example.

Schema

PageDescription
ResourcesEvery Kubernetes built-in and custom resource declarable under onCreate / onReconcile / onDelete, one page per kind
E2EA complete e2e.yaml: setup, steps and assertions

The Blueprint’s own blocks are described in The Blueprint.


Functions

Functions are what every {{ }} expression in a Blueprint can call, one page per domain. They come from kel; inrun functions searches them from the CLI.


CLI

Every command documents its flags with --help.

CommandDescription
inrunRun the runtime and gateway against the current cluster (--dev creates a kind cluster)
inrun initScaffold an operator, or copy an example pack (--pack)
inrun validateValidate a Blueprint, Stack, Module, E2E or Simulate file; --full prints the RBAC it needs
inrun simulateReconcile in memory, or against envtest (--envtest)
inrun e2eRun declarative end-to-end tests on kind
inrun templateRender the fully expanded Blueprint the runtime would run
inrun migrateMove stored CRs to a new field path or a new CRD; rollback and clean
inrun patterns, inspect, pull, pushFind, read, fetch and publish patterns in a registry
inrun serve playRun an intent through the gateway’s stages locally
inrun serve viewShow the view a serve target returns
inrun tokenList and check gateway tokens
inrun gateEvaluate admission rules against a CR, with no cluster
inrun generateGenerate RBAC, a ConfigMap, a bundle or the type registry
inrun functionsBrowse and search the template functions
inrun consoleStart the console

Where to go next