Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDefaultAST ¶
BuildDefaultAST wraps a raw query string in the AST structure expected by the query API, injecting default values expected by the CLI formatter.
func BuildExternAST ¶
BuildExternAST constructs a Flux AST tree to import and set the profilers option.
See the docs for more info: https://docs.influxdata.com/influxdb/cloud/reference/flux/stdlib/profiler/
func NewFormattingPrinter ¶
func NewFormattingPrinter() *formattingPrinter
Types ¶
type ResultPrinter ¶
type ResultPrinter interface {
PrintQueryResults(resultStream io.ReadCloser, out io.Writer) error
}
var RawResultPrinter ResultPrinter = &rawResultPrinter{}
RawResultPrinter streams query results directly to the output without any parsing or formatting.
Click to show internal directories.
Click to hide internal directories.