amalgam-0.4.1 is not a library.
Visit the last successful build:
amalgam-0.6.4
amalgam
Type-safe configuration generator for Nickel from various schema sources.
Overview
amalgam is a command-line tool that generates type-safe Nickel configurations from Kubernetes CRDs, OpenAPI specifications, Go types, and other schema sources.
Installation
Or with Nix:
Usage
Import Kubernetes CRDs
# Import from live cluster
# Import specific CRD
# Import from file
Convert OpenAPI to Nickel
Generate Go structs from Nickel
Watch mode
# Watch for changes and regenerate
Features
- Multi-format Support: OpenAPI, Kubernetes CRDs, JSON Schema, Go AST
- Bidirectional: Import to Nickel, export from Nickel
- Type Safety: Generates contracts and validation
- Dependency Resolution: Automatic import management
- Incremental: Only regenerates changed schemas
Configuration
Create an amalgam.toml file:
[]
= ["./schemas", "./crds"]
= true
[]
= "./generated"
= "nickel"
[]
= true
= "default"
= ["default", "kube-system"]
Examples
See the examples directory for sample configurations and generated types.