package testing

import "github.com/influxdata/flux/stdlib/testing"

Index

Constants

const AssertEmptyKind = "assertEmpty"
const AssertEqualsKind = "assertEquals"

Types

type AssertEmptyOpSpec

type AssertEmptyOpSpec struct{}

func (*AssertEmptyOpSpec) Kind

type AssertEmptyProcedureSpec

type AssertEmptyProcedureSpec struct {
	plan.DefaultCost
}

func (*AssertEmptyProcedureSpec) Copy

func (*AssertEmptyProcedureSpec) Kind

type AssertEmptyTransformation

type AssertEmptyTransformation struct {
	execute.ExecutionNode
	// contains filtered or unexported fields
}

func NewAssertEmptyTransformation

func NewAssertEmptyTransformation(d execute.Dataset, cache execute.TableBuilderCache) *AssertEmptyTransformation

func (*AssertEmptyTransformation) Finish

func (t *AssertEmptyTransformation) Finish(id execute.DatasetID, err error)

func (*AssertEmptyTransformation) Process

func (*AssertEmptyTransformation) RetractTable

func (t *AssertEmptyTransformation) RetractTable(id execute.DatasetID, key flux.GroupKey) error

func (*AssertEmptyTransformation) UpdateProcessingTime

func (t *AssertEmptyTransformation) UpdateProcessingTime(id execute.DatasetID, mark execute.Time) error

func (*AssertEmptyTransformation) UpdateWatermark

func (t *AssertEmptyTransformation) UpdateWatermark(id execute.DatasetID, mark execute.Time) error

type AssertEqualsError

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

func (*AssertEqualsError) Assertion

func (e *AssertEqualsError) Assertion() bool

func (*AssertEqualsError) Error

func (e *AssertEqualsError) Error() string

type AssertEqualsOpSpec

type AssertEqualsOpSpec struct {
	Name string `json:"name"`
}

func (*AssertEqualsOpSpec) Kind

type AssertEqualsProcedureSpec

type AssertEqualsProcedureSpec struct {
	plan.DefaultCost
	Name string
}

func (*AssertEqualsProcedureSpec) Copy

func (*AssertEqualsProcedureSpec) Kind

type AssertEqualsTransformation

type AssertEqualsTransformation struct {
	execute.ExecutionNode
	// contains filtered or unexported fields
}

func NewAssertEqualsTransformation

func NewAssertEqualsTransformation(d execute.Dataset, cache execute.TableBuilderCache, spec *AssertEqualsProcedureSpec, gotID, wantID execute.DatasetID, a memory.Allocator) *AssertEqualsTransformation

func (*AssertEqualsTransformation) Finish

func (*AssertEqualsTransformation) Process

func (*AssertEqualsTransformation) RetractTable

func (*AssertEqualsTransformation) UpdateProcessingTime

func (t *AssertEqualsTransformation) UpdateProcessingTime(id execute.DatasetID, pt execute.Time) error

func (*AssertEqualsTransformation) UpdateWatermark

func (t *AssertEqualsTransformation) UpdateWatermark(id execute.DatasetID, mark execute.Time) error

Source Files

assert_empty.go assert_equals.go

Directories

PathSynopsis
stdlib/testing/basics
stdlib/testing/chronograf
stdlib/testing/expect
stdlib/testing/influxql
stdlib/testing/kapacitor
stdlib/testing/pandas
stdlib/testing/prometheus
stdlib/testing/promql
stdlib/testing/usage
Version
v0.196.1 (latest)
Published
Feb 19, 2025
Platform
linux/amd64
Imports
9 packages
Last checked
1 day ago

Tools for package owners.