transpile

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodletRunner

type PodletRunner struct {
	PodletPath string
	TempDir    string
}

PodletRunner handles the execution of the podlet command

func NewPodletRunner

func NewPodletRunner(tempDir string) (*PodletRunner, error)

NewPodletRunner creates a new runner. It resolves the podlet binary in PATH immediately so callers get a clear error before the pipeline starts rather than a confusing failure deep in Transpile.

func (*PodletRunner) Transpile

func (r *PodletRunner) Transpile(input []byte) error

Transpile takes the processed YAML and runs podlet against it

Jump to

Keyboard shortcuts

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