codegen

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(s *schema.Schema, outDir string) error

Generate runs all code generation from a schema.

func GenerateGo

func GenerateGo(s *schema.Schema, outPath string) error

GenerateGo generates Go interfaces and structs from a schema.

func GenerateOTLPJSON

func GenerateOTLPJSON(s *schema.Schema, outPath string) error

GenerateOTLPJSON generates a JSON Schema for validating OTLP log records.

func GenerateOTLPYAML

func GenerateOTLPYAML(s *schema.Schema, outPath string) error

GenerateOTLPYAML generates a human-readable OTLP schema contract.

Types

This section is empty.

Jump to

Keyboard shortcuts

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