Skip to content

ExprTypeThresholdResultAssertionsBuilder🔗

Constructor🔗

func NewExprTypeThresholdResultAssertionsBuilder() *ExprTypeThresholdResultAssertionsBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *ExprTypeThresholdResultAssertionsBuilder) Build() (ExprTypeThresholdResultAssertions, error)

MaxFrames🔗

Maximum frame count

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

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 *ExprTypeThresholdResultAssertionsBuilder) Type(typeArg expr.TypeThresholdType) *ExprTypeThresholdResultAssertionsBuilder

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 *ExprTypeThresholdResultAssertionsBuilder) TypeVersion(typeVersion []int64) *ExprTypeThresholdResultAssertionsBuilder

See also🔗