Directories
¶
| Path | Synopsis |
|---|---|
|
Package codegen orchestrates the offline device-management code generator: it loads the committed spec snapshots, clears previously generated output (identified by the DO-NOT-EDIT header), builds view models (build), renders them through the template firewall (render) and assembles files (fileasm).
|
Package codegen orchestrates the offline device-management code generator: it loads the committed spec snapshots, clears previously generated output (identified by the DO-NOT-EDIT header), builds view models (build), renders them through the template firewall (render) and assembles files (fileasm). |
|
build
Package build flattens parsed specs into fully-resolved view models.
|
Package build flattens parsed specs into fully-resolved view models. |
|
fileasm
Package fileasm is the single choke-point for generated-file scaffolding: the DO-NOT-EDIT header, package clause, grouped imports and gofmt.
|
Package fileasm is the single choke-point for generated-file scaffolding: the DO-NOT-EDIT header, package clause, grouped imports and gofmt. |
|
naming
Package naming holds the spec-to-Go identifier rules shared by every emitter.
|
Package naming holds the spec-to-Go identifier rules shared by every emitter. |
|
render
Package render is the firewall between view models and Go source: view models go in, source fragments come out, and the only mechanism is text/template execution over the embedded .tmpl files.
|
Package render is the firewall between view models and Go source: view models go in, source fragments come out, and the only mechanism is text/template execution over the embedded .tmpl files. |
|
view
Package view defines the pure-data models the templates render.
|
Package view defines the pure-data models the templates render. |
|
Package plistenc is a deterministic XML property-list encoder for the device-management SDK.
|
Package plistenc is a deterministic XML property-list encoder for the device-management SDK. |
|
Package spec models Apple's device-management schema files (the YAML specs in github.com/apple/device-management) and parses them into the normalized form committed as JSON snapshots under metadata/specs.
|
Package spec models Apple's device-management schema files (the YAML specs in github.com/apple/device-management) and parses them into the normalized form committed as JSON snapshots under metadata/specs. |
Click to show internal directories.
Click to hide internal directories.