Documentation ¶
Overview ¶
Package controller implements controller types.
Index ¶
Constants ¶
const (
// ControlPlaneEndpointPort default API server port.
ControlPlaneEndpointPort = 6443
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxmoxClusterReconciler ¶
type ProxmoxClusterReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder ProxmoxClient proxmox.Client }
ProxmoxClusterReconciler reconciles a ProxmoxCluster object.
func (*ProxmoxClusterReconciler) Reconcile ¶
func (r *ProxmoxClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.4/pkg/reconcile
func (*ProxmoxClusterReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type ProxmoxMachineReconciler ¶
type ProxmoxMachineReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder ProxmoxClient proxmox.Client }
ProxmoxMachineReconciler reconciles a ProxmoxMachine object.
func (*ProxmoxMachineReconciler) Reconcile ¶
func (r *ProxmoxMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.4/pkg/reconcile
func (*ProxmoxMachineReconciler) SetupWithManager ¶
func (r *ProxmoxMachineReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.