Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidRef = errors.New("invalid reference") ErrFailedUnlock = errors.New("failed to unlock the init lock") )
Functions ¶
This section is empty.
Types ¶
type CK8sConfigReconciler ¶
type CK8sConfigReconciler struct {
client.Client
Log logr.Logger
CK8sInitLock InitLocker
Scheme *runtime.Scheme
K8sdDialTimeout time.Duration
// contains filtered or unexported fields
}
CK8sConfigReconciler reconciles a CK8sConfig object.
func (*CK8sConfigReconciler) SetupWithManager ¶
func (r *CK8sConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
type CertificatesReconciler ¶ added in v0.2.0
type CertificatesReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
K8sdDialTimeout time.Duration
// contains filtered or unexported fields
}
CertificatesReconciler reconciles a Machine's certificates.
func (*CertificatesReconciler) SetupWithManager ¶ added in v0.2.0
func (r *CertificatesReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type CertificatesScope ¶ added in v0.2.0
type InPlaceUpgradeReconciler ¶ added in v0.2.0
type InPlaceUpgradeReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
K8sdDialTimeout time.Duration
// contains filtered or unexported fields
}
InPlaceUpgradeReconciler reconciles machines and performs in-place upgrades based on annotations.
func (*InPlaceUpgradeReconciler) SetupWithManager ¶ added in v0.2.0
func (r *InPlaceUpgradeReconciler) 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 control plane init.
type OrchestratedInPlaceUpgradeController ¶ added in v0.3.0
type OrchestratedInPlaceUpgradeController struct {
client.Client
Log logr.Logger
// contains filtered or unexported fields
}
OrchestratedInPlaceUpgradeController reconciles a MachineDeployment object and manages the in-place upgrades.
func (*OrchestratedInPlaceUpgradeController) Reconcile ¶ added in v0.3.0
func (r *OrchestratedInPlaceUpgradeController) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile handles the reconciliation of a MachineDeployment object.
func (*OrchestratedInPlaceUpgradeController) SetupWithManager ¶ added in v0.3.0
func (r *OrchestratedInPlaceUpgradeController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type Scope ¶
type Scope struct {
logr.Logger
Config *bootstrapv1.CK8sConfig
ConfigOwner *bsutil.ConfigOwner
Cluster *clusterv1.Cluster
}
Click to show internal directories.
Click to hide internal directories.