Skip to content

ResultAssertionsBuilder🔗

Constructor🔗

func NewResultAssertionsBuilder() *ResultAssertionsBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *ResultAssertionsBuilder) Build() (ResultAssertions, error)

MaxFrames🔗

Maximum frame count

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

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 *ResultAssertionsBuilder) Type(typeArg testdata.ResultAssertionsType) *ResultAssertionsBuilder

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

See also🔗