delonix explain
Referência de campos de um Kind, gerada do próprio código — `kubectl explain` style.
Field reference for a Kind, generated from the code — `kubectl explain` style.
Lê da MESMA fonte que o manifest schema (ADR-0007) — um schema
escrito à mão diverge do motor, e este repositório já pagou essa divergência três vezes — para
responder no terminal o que um editor apontado ao schema mostra em linha. O schema é
estável dentro do 0.x: um campo nunca é removido nem muda de tipo ou
de significado — ver a
promessa
de estabilidade. Para saber o que mudou entre duas versões há
scripts/schema-diff.sh, que compara campo a campo e sai 1 com diferenças.
Reads from the SAME source as manifest schema (ADR-0007) — a
hand-written schema drifts from the engine, and this repository has paid for that drift three
times — so the terminal answers what an editor pointed at the schema shows inline. The schema is
stable within 0.x: a field is never removed and never changes type or
meaning — see the
stability
promise. To see what changed between two versions there is
scripts/schema-diff.sh, which compares field by field and exits 1 on differences.
📄 Implementação real em Rust: cmd/schema.rs
Usage: delonix explain [OPTIONS] <PATH>
Arguments:
<PATH>
`<Kind>[.field[.field…]]`, a code (`DX-4501`), or `codes`
Options:
--json
With a code or `codes`: print JSON, in the chosen language
--l18n <en|pt>
Output language: `en` (default) or `pt` (Portuguese, pt_AO). Also settable via `$DELONIX_L18N`. Global — works before any subcommand
-h, --help
Print help (see a summary with '-h')
EXAMPLES:
# every field of a Kind, `kubectl explain` style, straight from the
# generated schema
delonix explain Container
# drill into one field instead of reading the whole Kind
delonix explain Container.ports
# a nested field of a pod member
delonix explain Pod.containers.image
# what a numbered code in an error means, and what to do about it
delonix explain DX-4501
# the whole dictionary of codes
delonix explain codes
SEE ALSO:
delonix manifest schema · delonix stack validate · delonix stack apply
delonix › explainExemplosExamples
delonix explain Containerdelonix explain Container.portsdelonix explain Pod.containers.image