greentic-deploy-spec 0.1.27231730823

Greentic deployment object-model schemas (Environment, Revision, TrafficSplit, BundleDeployment, Credentials, PackConfig, RuntimeConfig)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# greentic-deploy-spec

Schema crate for Greentic's deployment object model. Defines:

- `Environment` (§5.1) + `EnvironmentHostConfig` + `EnvPackBinding` + `CapabilitySlot` + `PackDescriptor`
- `EnvironmentRuntime` (§5.1a)
- `Revision` (§5.2) + `RevisionLifecycle` + transition predicate
- `TrafficSplit` (§5.3) + basis-points validator
- `BundleDeployment` (§5.4) + revenue-share validator
- `Credentials` (§5.5)
- `PackConfig` (§5.6) — `non_secret` + `secret_refs` + `runtime_refs`
- `RuntimeConfig` (§5.7) + `RevisionRuntimeBlock`

This crate is the single owner of these schemas. Other crates depend on it; nothing in this crate
depends on operational/runtime code. JSON-schema generation is gated behind the `schemars` feature
and a thin `gen-schemas` binary.

See `plans/next-gen-deployment.md` §5 for the design rationale.