Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/states/workflows/RetryFlow

Pure (WORKFLOW-001: no react import): the sample error's retry flow on the /states reference page.

Cockpit client (features), next. Source: ui/client/features/states/workflows/RetryFlow.ts.

Type Aliases#

RetryAction#

RetryAction = { type: "RETRY_STARTED"; } | { type: "RETRY_FINISHED"; }

Defined in: ui/client/features/states/workflows/RetryFlow.ts:5


RetryState#

RetryState = object

Defined in: ui/client/features/states/workflows/RetryFlow.ts:3

Properties#

retries

retries: number

Defined in: ui/client/features/states/workflows/RetryFlow.ts:3

retrying

retrying: boolean

Defined in: ui/client/features/states/workflows/RetryFlow.ts:3

Variables#

initialRetryState#

const initialRetryState: RetryState

Defined in: ui/client/features/states/workflows/RetryFlow.ts:7

Functions#

retryReducer()#

retryReducer(state, action): RetryState

Defined in: ui/client/features/states/workflows/RetryFlow.ts:9

Parameters#

state

RetryState

action

RetryAction

Returns#

RetryState