ast

package
v0.0.0-...-f53b987 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRangeToVariable

func AddRangeToVariable(v, from, to interface{}) (*oproto.StreamVariable, error)

func AddVariableListToQuery

func AddVariableListToQuery(a, v interface{}) (*oproto.Query, error)

func AppendStringToList

func AppendStringToList(l, s interface{}) ([]string, error)

func NewAggregation

func NewAggregation(aggType, by, q interface{}) (*oproto.StreamAggregation, error)

func NewDuration

func NewDuration(digit interface{}) (time.Duration, error)

func NewInt64

func NewInt64(digits interface{}) (int64, error)

func NewLabelList

func NewLabelList(s interface{}) ([]string, error)

func NewMutation

func NewMutation(t, d, q interface{}) (*oproto.StreamMutation, error)

func NewQuery

func NewQuery(input interface{}) (*oproto.Query, error)

Query parsing

func NewVariable

func NewVariable(name, labels interface{}) (*oproto.StreamVariable, error)

Types

type Percentile

type Percentile struct {
	// contains filtered or unexported fields
}

func NewPercentile

func NewPercentile(i interface{}) (Percentile, error)

type VariableLabel

type VariableLabel struct {
	// contains filtered or unexported fields
}

Variable parsing

func NewKeyValue

func NewKeyValue(key, value interface{}) (*VariableLabel, error)

type VariableLabelList

type VariableLabelList struct {
	// contains filtered or unexported fields
}

func AppendKeyValueList

func AppendKeyValueList(l, vl interface{}) (*VariableLabelList, error)

func NewKeyValueList

func NewKeyValueList(vl interface{}) (*VariableLabelList, error)

type VariableList

type VariableList []*oproto.StreamVariable

Variable List

func AddVariableToVariableList

func AddVariableToVariableList(list, v interface{}) (VariableList, error)

func NewVariableList

func NewVariableList(v interface{}) (VariableList, error)

Jump to

Keyboard shortcuts

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