Documentation ¶
Index ¶
Constants ¶
View Source
const ( // LegacyProviderName is the name of legacy provider LegacyProviderName = "op" // QLProviderName is the name of ql provider QLProviderName = "ql" )
Variables ¶
View Source
var ( // EnableExternalPackageForDefaultCompiler . EnableExternalPackageForDefaultCompiler = true // EnableExternalPackageWatchForDefaultCompiler . EnableExternalPackageWatchForDefaultCompiler = false )
View Source
var DefaultCompiler = singleton.NewSingleton[*cuex.Compiler](func() *cuex.Compiler { c := compiler.Get() if EnableExternalPackageForDefaultCompiler { if err := c.LoadExternalPackages(context.Background()); err != nil { klog.Errorf("failed to load external packages for cuex default compiler: ", err.Error()) } } if EnableExternalPackageWatchForDefaultCompiler { go c.ListenExternalPackages(nil) } return c })
DefaultCompiler compiler for cuex to compile
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.