retry

package
v1.2.15-prerelease09 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssueType

type IssueType string
const (
	RetryPolicyValidationMaxAttempts IssueType = "MaximumAttempts set to 1 will not retry since maximum attempts includes the first attempt."
	RetryPolicyValidationExpInterval IssueType = "ExpirationIntervalInSeconds less than  InitialIntervalInSeconds  will not retry."
)

func (IssueType) String

func (i IssueType) String() string

type Params

type Params struct {
	WorkflowExecutionHistory *types.GetWorkflowExecutionHistoryResponse
}

type Retry

type Retry invariant.Invariant

Retry is an invariant that will be used to identify the issues regarding retries in the workflow execution history

func NewInvariant

func NewInvariant(p Params) Retry

type RetryMetadata

type RetryMetadata struct {
	RetryPolicy *types.RetryPolicy
}

type RetryType

type RetryType string
const (
	WorkflowRetryInfo  RetryType = "Workflow Retry configured and applied"
	WorkflowRetryIssue RetryType = "Workflow Retry configured but invalid"
	ActivityRetryIssue RetryType = "Activity Retry configured but invalid"
)

func (RetryType) String

func (r RetryType) String() string

Jump to

Keyboard shortcuts

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