Documentation ¶
Overview ¶
Package reconciler contains the host agent controller's reconcile implementation that watches for ByoHost CRD
Index ¶
Constants ¶
View Source
const (
// KubeadmResetCommand is the command to run to force reset/remove nodes' local file system of the files created by kubeadm
KubeadmResetCommand = "kubeadm reset --force"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostReconciler ¶
type HostReconciler struct { Client client.Client CmdRunner cloudinit.ICmdRunner FileWriter cloudinit.IFileWriter TemplateParser cloudinit.ITemplateParser Recorder record.EventRecorder SkipK8sInstallation bool DownloadPath string }
HostReconciler encapsulates the data/logic needed to reconcile a ByoHost
func (*HostReconciler) Reconcile ¶
func (r *HostReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile handles events for the ByoHost that is registered by this agent process
func (*HostReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the manager
Click to show internal directories.
Click to hide internal directories.