-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return in each switch case. Make function for patching status. Reorganize where some conditions were being set. Replace !errors.IsNotFound with ctrlclient.IgnoreNotFound in order to improve readability. Signed-off-by: Jacob Weinstock <[email protected]>
- Loading branch information
1 parent
7084d48
commit ff45778
Showing
3 changed files
with
89 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# The Workflow custom resource | ||
|
||
This doc provides details for different parts of the Workflow custom resource. | ||
|
||
## Spec | ||
|
||
### BootOptions | ||
|
||
The `spec.bootOptions` object contains optional functionality that will run before a Workflow and triggers handling of different Hardware booting capabilities. | ||
|
||
## Status | ||
|
||
### State | ||
|
||
There are several states that a Workflow can be in: | ||
|
||
`STATE_WAITING` - | ||
`STATE_PENDING` - | ||
`STATE_RUNNING` - | ||
`STATE_SUCCESS` - | ||
`STATE_FAILED` - | ||
`STATE_TIMEOUT` - | ||
|
||
### OneTimeNetboot | ||
|
||
### TemplateRendering | ||
|
||
### Conditions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters