assertion

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assertion

type Assertion interface {
	Assert(t *trace.Trace) (bool, error)
}

func NewAssertion

func NewAssertion(dto *parser.AssertionDTO) (Assertion, error)

func NewAssertions

func NewAssertions(dtos []*parser.AssertionDTO) ([]Assertion, error)

type CelAssertion

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

func NewCelAssertion

func NewCelAssertion(dto *parser.AssertionDTO) (*CelAssertion, error)

func (*CelAssertion) Assert

func (a *CelAssertion) Assert(t *trace.Trace) (bool, error)

Jump to

Keyboard shortcuts

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