Documentation ¶
Index ¶
Constants ¶
View Source
const ( StartReconciling = "StartReconciling" FinishReconciling = "FinishReconciling" ComponentFailed = "ComponentFailed" ExceedTimeout = "ExceedTimeout" )
Variables ¶
View Source
var DefaultDuration = 30 * time.Second
DefaultDuration is the default throttling duration
Functions ¶
func ActuationStatusToLegacy ¶
func ActuationStatusToLegacy(s v1alpha1.ResourceStatus) v1alpha1.Status
ActuationStatusToLegacy contains the logic/rules to convert from the actuation statuses to the legacy status field. If conversion is not needed, the original status field is returned instead.
func NewRGController ¶
func NewRGController(mgr ctrl.Manager, channel chan event.GenericEvent, logger logr.Logger, resolver *typeresolver.TypeResolver, resMap *resourcemap.ResourceMap, duration time.Duration) error
NewRGController creates a new ResourceGroup controller and registers it with the provided manager.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.