Documentation ¶
Index ¶
- type EtcdadmConfigReconciler
- func (r *EtcdadmConfigReconciler) ClusterToEtcdadmConfigs(o handler.MapObject) []ctrl.Request
- func (r *EtcdadmConfigReconciler) MachineToBootstrapMapFunc(o handler.MapObject) []ctrl.Request
- func (r *EtcdadmConfigReconciler) Reconcile(req ctrl.Request) (_ ctrl.Result, rerr error)
- func (r *EtcdadmConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
- type InitLocker
- type Scope
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdadmConfigReconciler ¶
type EtcdadmConfigReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme EtcdadmInitLock InitLocker }
EtcdadmConfigReconciler reconciles a EtcdadmConfig object
func (*EtcdadmConfigReconciler) ClusterToEtcdadmConfigs ¶
func (r *EtcdadmConfigReconciler) ClusterToEtcdadmConfigs(o handler.MapObject) []ctrl.Request
ClusterToEtcdadmConfigs is a handler.ToRequestsFunc to be used to enqeue requests for reconciliation of EtcdadmConfigs.
func (*EtcdadmConfigReconciler) MachineToBootstrapMapFunc ¶
func (r *EtcdadmConfigReconciler) MachineToBootstrapMapFunc(o handler.MapObject) []ctrl.Request
MachineToBootstrapMapFunc is a handler.ToRequestsFunc to be used to enqueue requests for reconciliation of EtcdadmConfig.
func (*EtcdadmConfigReconciler) SetupWithManager ¶
func (r *EtcdadmConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
type InitLocker ¶
type InitLocker interface { Lock(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) bool Unlock(ctx context.Context, cluster *clusterv1.Cluster) bool }
InitLocker is a lock that is used around etcdadm init
type Scope ¶
type Scope struct { logr.Logger Config *bootstrapv1alpha3.EtcdadmConfig Cluster *clusterv1.Cluster Machine *clusterv1.Machine }
Click to show internal directories.
Click to hide internal directories.