Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ReconcileWaitResult = reconcile.Result{RequeueAfter: reconcileTimeOut}
Functions ¶
This section is empty.
Types ¶
type ClusterConditionUpdater ¶
type ClusterConditionUpdater interface {
Update(cluster *v1alpha1.NebulaCluster)
}
func NewClusterConditionUpdater ¶
func NewClusterConditionUpdater() ClusterConditionUpdater
type ClusterReconciler ¶
type ClusterReconciler struct { Control ControlInterface client.Client Log logr.Logger Scheme *runtime.Scheme }
ClusterReconciler reconciles a NebulaCluster object
func NewClusterReconciler ¶
func NewClusterReconciler(mgr ctrl.Manager) (*ClusterReconciler, error)
func (*ClusterReconciler) SetupWithManager ¶
func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager, opts controller.Options) error
SetupWithManager sets up the controller with the Manager.
type ControlInterface ¶
type ControlInterface interface {
UpdateNebulaCluster(cluster *v1alpha1.NebulaCluster) error
}
func NewDefaultNebulaClusterControl ¶
func NewDefaultNebulaClusterControl( nebulaClient kube.NebulaCluster, graphdCluster component.ReconcileManager, metadCluster component.ReconcileManager, storagedCluster component.ReconcileManager, metaReconciler component.ReconcileManager, pvcReclaimer reclaimer.PVCReclaimer, conditionUpdater ClusterConditionUpdater) ControlInterface
type FakeClusterControl ¶
type FakeClusterControl struct {
// contains filtered or unexported fields
}
func NewFakeClusterControl ¶
func NewFakeClusterControl() *FakeClusterControl
func (*FakeClusterControl) SetUpdateNebulaClusterError ¶
func (f *FakeClusterControl) SetUpdateNebulaClusterError(err error)
func (*FakeClusterControl) UpdateNebulaCluster ¶
func (f *FakeClusterControl) UpdateNebulaCluster(_ *v1alpha1.NebulaCluster) error
Click to show internal directories.
Click to hide internal directories.