kclshim

package module
v0.0.0-...-26cfb86 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package kclshim allows you to create Eno Synthesizers with KCL (https://www.kcl-lang.io/docs/reference/lang/tour).

Here is how to use KCL shim.

1. Create a folder and write your KCLs. Take "./fixtures/example_synthesizer/main.k" as an example.

2. Write a main.go and call "Synthesize(workingDir, input)", defined below.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Synthesize

func Synthesize(workingDir string, input any) ([]client.Object, error)

Synthesize runs a KCL program in the given directory with JSON-serializable structured input. It returns the synthesized Kubernetes objects or an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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