historyrequire

package
v1.25.0-114.2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistoryRequire

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

func New

func (HistoryRequire) EqualHistory

func (h HistoryRequire) EqualHistory(expectedHistory string, actualHistory *historypb.History)

func (HistoryRequire) EqualHistoryEvents

func (h HistoryRequire) EqualHistoryEvents(expectedHistory string, actualHistoryEvents []*historypb.HistoryEvent)

func (HistoryRequire) EqualHistoryEventsAndVersions

func (h HistoryRequire) EqualHistoryEventsAndVersions(expectedHistory string, expectedVersions []int, actualHistory []*historypb.HistoryEvent)

EqualHistoryEventsAndVersions makes an assertion about the events in history and their failover versions. TODO(dan) instead of passing versions slice, support an optional version field after eventId in the event format? E.g. `3 2 WorkflowExecutionSignaled`

func (HistoryRequire) PrintHistory

func (h HistoryRequire) PrintHistory(history *historypb.History)

func (HistoryRequire) PrintHistoryCompact

func (h HistoryRequire) PrintHistoryCompact(history *historypb.History)

func (HistoryRequire) PrintHistoryEvents

func (h HistoryRequire) PrintHistoryEvents(events []*historypb.HistoryEvent)

func (HistoryRequire) PrintHistoryEventsCompact

func (h HistoryRequire) PrintHistoryEventsCompact(events []*historypb.HistoryEvent)

Jump to

Keyboard shortcuts

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