Expand description
Binding values, implicit search/foundry bindings, and the
per-environment resolution cache.
Binding (a dependencies entry from rigg.yaml) and BindingType
live here; workspace re-exports them so existing workspace::Binding
paths keep compiling. EnvBindings is the read-only view combining an
environment’s declared dependencies with its implicit search/
foundry targets, optionally enriched with cached resolution results.
Structs§
- Binding
- A named reference to a supporting Azure resource outside rigg’s own
kinds, e.g.
docs-storage: { storage: mklabstorageacc }. Serialized as a one-key map{ "<type>": "<value>" }. - Binding
Cache - Per-environment cache of
ResolvedBindings, persisted at.rigg/<env>/bindings.json. - Binding
Entry - One entry in an
EnvBindingstable. - EnvBindings
- One environment’s binding table: declared
dependenciesplus implicitsearch/foundryentries, optionally enriched from aBindingCache. - Resolved
Binding - A binding resolved against Azure, cached so later runs don’t have to
re-discover it. Written by
rigg env resolve(a later task); read by anything that needs a physical name, ARM id, or endpoint for a binding.
Enums§
- Binding
Kind - How a
BindingEntrycame to exist in anEnvBindingstable. - Binding
Type - The kind of supporting resource a
Bindingpoints at. - Binding
Value - The parsed shape of a
Binding’s value string. - Target
Kind - What a
ResolvedBindingresolved against Azure: a declareddependenciesentry’sBindingType, or one of an environment’s implicit targets (itssearchservice /foundryaccount), which are not dependency types and so deliberately stay out ofBindingType. - Wanted
- What
EnvBindings::find_physicalis looking for.
Constants§
- RESERVED_
BINDING_ NAMES - Reserved dependency binding names — these name the
search/foundrytargets, notdependenciesentries.
Functions§
- arm_
resource_ group - The
{resourceGroup}segment of.../resourceGroups/{resourceGroup}/.... - arm_
resource_ name - The last path segment of an ARM resource id — the resource’s own name.
- arm_
subscription - The
{subscription}segment of/subscriptions/{subscription}/.... - validate_
binding_ name - Validate a
dependenciesbinding name: lowercase kebab-case, not reserved, not empty.