cuex

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigCompiler = singleton.NewSingleton[*cuex.Compiler](func() *cuex.Compiler {
	compiler := cuex.NewCompilerWithInternalPackages(
		config.Package,
	)
	return compiler
})

ConfigCompiler ...

View Source
var WorkloadCompiler = singleton.NewSingleton[*cuex.Compiler](func() *cuex.Compiler {
	compiler := cuex.NewCompilerWithInternalPackages(
		config.Package,
		helm.Package,
		base64.Package,
		http.Package,
		kube.Package,
		cueext.Package,
	)
	if cuex.EnableExternalPackageForDefaultCompiler {
		if err := compiler.LoadExternalPackages(context.Background()); err != nil {
			klog.Errorf("failed to load external packages for workload compiler: %v", err.Error())
		}
	}
	return compiler
})

WorkloadCompiler is the compiler for workload/component definitions

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
providers

Jump to

Keyboard shortcuts

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