kclshim

package module
v0.0.0-...-3e49949 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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