Expand description
Sync DTOs.
Wire types for the sync CRUD + diff/apply endpoints. A sync resource
points at a directory within a project’s git checkout that contains
ZLayer resource YAMLs. The diff endpoint scans the directory and
reports what would change; the apply endpoint actually reconciles.
Structs§
- Create
Sync Request - Body for
POST /api/v1/syncs. - Sync
Apply Response - Response for a real apply. Reports per-resource outcomes, the current commit SHA the sync was applied at (when known), and a short human-readable summary for CLI display.
- Sync
Diff Response - JSON-friendly wrapper around the sync diff output.
- Sync
Resource Response - A single resource in the diff output.
- Sync
Resource Result - Result of reconciling a single resource during apply.