jsonschema

command
v0.17.0-alpha.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Command jsonschema generates a JSON Schema for the fleet.yaml file from the FleetYAML Go struct. It is wired into `go generate` (see generate.go) so the schema is regenerated alongside the CRDs and stays in sync with the structs.

It must be run from the repository root (as `go generate` and `go run ./cmd/codegen/jsonschema` both are), because it reads Go source comments from ./pkg/apis and writes the schema under ./schemas.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL