taskvalidator

package
v1.2.9-prerelease2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package taskvalidator provides a Work in Progress service for workflow validations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker interface {
	WorkflowCheckforValidation(ctx context.Context, workflowID string, domainID string, domainName string, runID string) error
}

Checker interface for initiating the validation process.

func NewWfChecker

func NewWfChecker(logger *zap.Logger, metrics metrics.Client, domainCache cache.DomainCache, executionManager persistence.ExecutionManager, historymanager persistence.HistoryManager) (Checker, error)

NewWfChecker creates a new instance of a workflow validation checker. It requires a logger, metrics client, domain cache, persistence retryer, and a stale checker implementation to function.

Jump to

Keyboard shortcuts

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