pub fn compile_vrl(
source: &str,
fns: &[Box<dyn Function>],
state: &TypeState,
config: CompileConfig,
) -> Result<CompilationResult, DiagnosticList>
Expand description
Compiles a VRL program Vector metadata is set to read-only to prevent it from being mutated
ยงErrors
If the program fails to compile, a DiagnosticList
of errors is returned