package
0.0.0-20241031110843-18bcf604ca83
Repository: https://github.com/openshift-kni/lifecycle-agent.git
Documentation: pkg.go.dev

# Functions

ClearInvalidTransitionStatusConditions clears any invalid transitions if exist.
GetCompletedCondition returns the completed condition based on the stage.
GetCompletedConditionType returns the completed condition type based on the stage.
GetInProgressCondition returns the in progress condition based on the stage.
GetInProgressConditionType returns the in progress condition type based on the stage.
GetInProgressStage returns the stage that is currently in progress.
IsStageCompleted checks if the completed condition status for the stage is true.
IsStageCompletedOrFailed checks if the completed condition for the stage is present.
IsStageFailed checks if the completed condition status for the stage is false.
IsStageInProgress checks if ibu is working on the stage.
ResetHistory reset the .status.history by setting the list to empty.
ResetStatusConditions remove all other conditions and sets idle to true.
SetIdleStatusInProgress updates the Idle status to in progress with message.
SetPrepStatusCompleted updates the prep status to completed.
SetPrepStatusFailed updates the prep status to failed with message.
SetPrepStatusInProgress updates the prep status to in progress with message.
SetUpgradeStatusCompleted updates the Rollback status to completed.
SetRollbackStatusFailed updates the Rollback status to failed with message.
SetRollbackStatusInProgress updates the Rollback status to in progress with message.
SetStatusCondition is a convenience wrapper for meta.SetStatusCondition that takes in the types defined here and converts them to strings.
SetStatusInvalidTransition updates the given stage status to invalid transition with message.
SetUpgradeStatusCompleted updates the upgrade status to completed.
SetUpgradeStatusFailed updates the upgrade status to failed with message.
SetUpgradeStatusInProgress updates the upgrade status to in progress with message.
SetUpgradeStatusRollbackRequested updates the upgrade status to failed with rollback requested message.
StartPhase This can be called after StartStageHistory to allow for a more granular view of the important phases that are performed when moving a desired Stage.
StartStageHistory this is called before a stage handler is called for the first time, which starts a timer know how long a stage took to complete.
StopPhase call when a phase completes successfully.
StopStageHistory call when a stage completes successfully.
No description provided by the author

# Constants

Common condition messages Note: This is not a complete list and does not include the custom messages.
Common condition messages Note: This is not a complete list and does not include the custom messages.
No description provided by the author
IBUName defines the valid name of the CR for the controller to reconcile.
No description provided by the author
Common condition messages Note: This is not a complete list and does not include the custom messages.
No description provided by the author
Common condition messages Note: This is not a complete list and does not include the custom messages.
Common condition messages Note: This is not a complete list and does not include the custom messages.
Common condition messages Note: This is not a complete list and does not include the custom messages.
Common condition messages Note: This is not a complete list and does not include the custom messages.
Common condition messages Note: This is not a complete list and does not include the custom messages.
SeedGenName defines the valid name of the CR for the controller to reconcile.
No description provided by the author
The LCAConfigDir folder is excluded from the var.tgz backup in seed image creation.
No description provided by the author
Common condition messages Note: This is not a complete list and does not include the custom messages.
Common condition messages Note: This is not a complete list and does not include the custom messages.

# Variables

ConditionReasons define the different reasons that conditions will be set for.
ConditionTypes define the different types of conditions that will be set.
FinalConditionTypes defines the valid conditions for transitioning back to idle.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

ConditionReason is a string representing the condition's reason.
ConditionType is a string representing the condition's type.