Documentation ¶
Index ¶
- func Failed(atype api.ActionType, actions []api.ClusterAction) bool
- func Finished(atype api.ActionType, actions []api.ClusterAction) bool
- func InitOperatorActionsIfNeeded(status *api.CrdbClusterStatus, now metav1.Time)
- func ResetActionType(atype api.ActionType, status *api.CrdbClusterStatus)
- func SetActionFailed(atype api.ActionType, message string, status *api.CrdbClusterStatus)
- func SetActionFinished(atype api.ActionType, status *api.CrdbClusterStatus)
- func SetActionUnknown(atype api.ActionType, status *api.CrdbClusterStatus)
- func SetClusterStatus(status *api.CrdbClusterStatus)
- func SetClusterStatusOnFirstReconcile(status *api.CrdbClusterStatus)
- func Unknown(atype api.ActionType, actions []api.ClusterAction) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Failed ¶
func Failed(atype api.ActionType, actions []api.ClusterAction) bool
func Finished ¶
func Finished(atype api.ActionType, actions []api.ClusterAction) bool
func InitOperatorActionsIfNeeded ¶
func InitOperatorActionsIfNeeded(status *api.CrdbClusterStatus, now metav1.Time)
func ResetActionType ¶
func ResetActionType(atype api.ActionType, status *api.CrdbClusterStatus)
ResetActionType will delete the actiontype from the slice of operation action this is used to reset if previously an error was thrown and now the action is ok TO DO: each action has it's own states to follow on status
func SetActionFailed ¶
func SetActionFailed(atype api.ActionType, message string, status *api.CrdbClusterStatus)
func SetActionFinished ¶
func SetActionFinished(atype api.ActionType, status *api.CrdbClusterStatus)
func SetActionUnknown ¶
func SetActionUnknown(atype api.ActionType, status *api.CrdbClusterStatus)
func SetClusterStatus ¶
func SetClusterStatus(status *api.CrdbClusterStatus)
func SetClusterStatusOnFirstReconcile ¶
func SetClusterStatusOnFirstReconcile(status *api.CrdbClusterStatus)
SetClusterStatusOnFirstReconcile will set Status of teh cluster with value Running on first rin Very important: this is used on OpenShift CI to pass the tests, if not set it will timeout
func Unknown ¶
func Unknown(atype api.ActionType, actions []api.ClusterAction) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.