kcl

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const KusionKclPathEnv = "KUSION_KCL_PATH"

Variables

This section is empty.

Functions

This section is empty.

Types

type CompileResult

type CompileResult struct {
	Documents     []kcl.KCLResult
	RawYAMLResult string
}

CompileResult is the result of a KCL compilation

func NewCompileResult

func NewCompileResult(k *kcl.KCLResultList) *CompileResult

NewCompileResult news a CompileResult by KCLResultList

func NewCompileResultByMapList

func NewCompileResultByMapList(mapList []map[string]interface{}) *CompileResult

NewCompileResultByMapList news a CompileResult by map array

func (*CompileResult) RawYAML

func (c *CompileResult) RawYAML() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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