run

package
v0.12.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeRunner

type CodeRunner interface {
	Run(workingDir string, arguments map[string]string) ([]byte, error)
}

CodeRunner compiles and runs the target DSL based configuration code and returns configuration data in plain format.

type KPMRunner

type KPMRunner struct{}

KPMRunner implements the CodeRunner interface.

func (*KPMRunner) Run

func (r *KPMRunner) Run(workDir string, arguments map[string]string) (res []byte, err error)

Run calls KPM api to compile and run KCL based configuration code.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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