Public beta — not for production use. Data may be wiped at any time. Questions? Contact us.
Documentation menu

axiom instance

Create Instances from a Generic node (type-bind, no build, no deploy)

View as Markdown
<!-- GENERATED by docs/scripts/gen-cli-reference — DO NOT EDIT. Source of truth: the cobra command definitions in cmd/axiom/cmd/. Regenerate from the repo root with: go run ./docs/scripts/gen-cli-reference -->

axiom instance

Create Instances from a Generic node (type-bind, no build, no deploy)

Create an Instance: a Generic node's generalized port(s) mapped onto a real, specific type via a field mapping.

An Instance carries no code of its own — it shares the Generic node's already-built, already-deployed image, so creating one is a pure type binding: no git commit, no build, no Knative deploy.

axiom instance create your-handle/orders-query \
  --generic-package acme/postgres-query --generic-node "Postgres Query" \
  --output-message OrderSummary --output-field id=int64 --output-field total=double

A facade field can also be a nested (not-yet-real) message, recursively, via --output-fields-file/--input-fields-file; "axiom instance preview" previews such a mapping's output before you commit to a shape.

Requires a prior "axiom login".

Usage

axiom instance [flags]
axiom instance [command]

Flags

FlagShorthandTypeDefaultDescription
--help-hboolhelp for instance

Subcommands

CommandDescription
axiom instance createCreate a new Instance from a Generic node
axiom instance previewPreview the exact output a mapping produces, including not-yet-real (drafted) messages

See also