Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterConditionReconciler ¶
type ClusterConditionReconciler interface {
Reconcile(ctx context.Context, cluster *infrav3.Cluster) error
}
ClusterConditionReconciler is the interface for reconciling cluster conditions
func NewClusterConditionReconciler ¶
func NewClusterConditionReconciler(cs service.ClusterService) ClusterConditionReconciler
NewClusterConditionReconciler returns cluster condition reconciler
type ClusterEventHandler ¶
type ClusterEventHandler interface { // ClusterHook should be registred in cluster service to listen on // Cluster create/update/delete ClusterHook() event.Handler // ClusterWorkloadHook should be registered in cluster service to listen on // Task/Namespace/Workload ready events ClusterWorkloadHook() event.Handler // AntiEntropyHook should be used to handle anti entropy for // cluster AntiEntropyHook() event.Handler // Handle runs the placement event handler Handle(stop <-chan struct{}) }
ClusterEventHandler is the interface for handling cluster events
func NewClusterEventHandler ¶
func NewClusterEventHandler(cs service.ClusterService, db *bun.DB, bs service.BootstrapService, pf cryptoutil.PasswordFunc) ClusterEventHandler
NewClusterEventHandler returns new cluster event handler
type ClusterReconciler ¶
ClusterReconciler reconciles cluster state
func NewClusterReconciler ¶
func NewClusterReconciler(cs service.ClusterService, db *bun.DB, bs service.BootstrapService, pf cryptoutil.PasswordFunc) ClusterReconciler
NewClusterReconciler returns new cluster reconciler
Click to show internal directories.
Click to hide internal directories.