Documentation ¶
Index ¶
Constants ¶
View Source
const ( FluxCompilerType = "flux" SpecCompilerType = "spec" )
Variables ¶
This section is empty.
Functions ¶
func AddCompilerMappings ¶
func AddCompilerMappings(mappings flux.CompilerMappings) error
AddCompilerMappings adds the Flux specific compiler mappings.
Types ¶
type FluxCompiler ¶
type FluxCompiler struct {
Query string `json:"query"`
}
FluxCompiler compiles a Flux script into a spec.
func (FluxCompiler) CompilerType ¶
func (c FluxCompiler) CompilerType() flux.CompilerType
type SpecCompiler ¶
SpecCompiler implements Compiler by returning a known spec.
func (SpecCompiler) CompilerType ¶
func (c SpecCompiler) CompilerType() flux.CompilerType
Click to show internal directories.
Click to hide internal directories.