package
2.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb-operator.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
Complete means complete the current task and run the next one.
Fail means fail the current task and skip all next tasks.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
There are four status of tasks - Complete: means this task is complete and all is expected - Failed: means an err occurred - Retry: means this task need to wait an interval and retry - Wait: means this task will wait for next event trigger And three results of reconiling 1.
Retry means continue all next tasks and retry after dur.
No description provided by the author
Wait means continue all next tasks and wait until next event triggers task run.

# Constants

task is complete and will not be requeue.
task is unexpectedly failed, runner will be interrupted.
retry tasks after specified duration.
some preconditions are not met, wait update events to trigger next run.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
Result defines the result of a task.
Syncer defines an action to sync actual states to desired.
Task is a Syncer wrapper, which can be orchestrated using control structures such as if and break for conditional logic and flow control.
No description provided by the author
TaskRunner is an executor to run a series of tasks sequentially.
WithMessage defines an interface to set message into task result.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author