fetcher

package
v1.2.15-prerelease04 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConcreteExecution

func ConcreteExecution(
	ctx context.Context,
	retryer persistence.Retryer,
	request ExecutionRequest,
) (entity.Entity, error)

ConcreteExecution returns a single ConcreteExecution from persistence

func ConcreteExecutionIterator

func ConcreteExecutionIterator(
	ctx context.Context,
	retryer persistence.Retryer,
	pageSize int,
) pagination.Iterator

ConcreteExecutionIterator is used to retrieve Concrete executions.

func CurrentExecution

func CurrentExecution(
	ctx context.Context,
	retryer persistence.Retryer,
	request ExecutionRequest,
) (entity.Entity, error)

CurrentExecution returns a single execution

func CurrentExecutionIterator

func CurrentExecutionIterator(
	ctx context.Context,
	retryer persistence.Retryer,
	pageSize int,
) pagination.Iterator

CurrentExecutionIterator is used to retrieve Concrete executions.

func TimerIterator added in v0.18.0

func TimerIterator(
	ctx context.Context,
	retryer persistence.Retryer,
	minTimestamp time.Time,
	maxTimestamp time.Time,
	pageSize int,
) pagination.Iterator

TimerIterator is used to retrieve Concrete executions.

Types

type ExecutionRequest

type ExecutionRequest struct {
	DomainID   string
	WorkflowID string
	RunID      string
	DomainName string
}

ExecutionRequest is used to fetch execution from persistence

Jump to

Keyboard shortcuts

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