Documentation
¶
Overview ¶
Package status contains all the function needed to interact properly with the resources status
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPhase ¶
func RegisterPhase( ctx context.Context, cli client.Client, cluster *apiv1.Cluster, phase string, reason string, ) error
RegisterPhase update phase in the status cluster with the proper reason
func RegisterPhaseWithOrigCluster ¶
func RegisterPhaseWithOrigCluster( ctx context.Context, cli client.Client, modifiedCluster *apiv1.Cluster, origCluster *apiv1.Cluster, phase string, reason string, ) error
RegisterPhaseWithOrigCluster update phase in the status cluster with the proper reason, it also receives an origCluster to preserve other modifications done to the status
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.