Skip to content

ExprTypeReduceResultAssertionsBuilder🔗

Constructor🔗

func NewExprTypeReduceResultAssertionsBuilder() *ExprTypeReduceResultAssertionsBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *ExprTypeReduceResultAssertionsBuilder) Build() (ExprTypeReduceResultAssertions, error)

MaxFrames🔗

Maximum frame count

func (builder *ExprTypeReduceResultAssertionsBuilder) MaxFrames(maxFrames int64) *ExprTypeReduceResultAssertionsBuilder

Type🔗

Type asserts that the frame matches a known type structure.

Possible enum values:

  • ""

  • "timeseries-wide"

  • "timeseries-long"

  • "timeseries-many"

  • "timeseries-multi"

  • "directory-listing"

  • "table"

  • "numeric-wide"

  • "numeric-multi"

  • "numeric-long"

  • "log-lines"

func (builder *ExprTypeReduceResultAssertionsBuilder) Type(typeArg expr.TypeReduceType) *ExprTypeReduceResultAssertionsBuilder

TypeVersion🔗

TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane

contract documentation https://grafana.github.io/dataplane/contract/.

func (builder *ExprTypeReduceResultAssertionsBuilder) TypeVersion(typeVersion []int64) *ExprTypeReduceResultAssertionsBuilder

See also🔗