Documentation ¶
Index ¶
- Constants
- type K8sReconciler
- func (r *K8sReconciler) Reconcile(ctx context.Context, hcp *v1alpha1.ControlPlane) (ctrl.Result, error)
- func (r *K8sReconciler) ReconcileAPIServerDeployment(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane, isOCP bool) error
- func (r *K8sReconciler) ReconcileAPIServerService(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) error
- func (r *K8sReconciler) ReconcileCMDeployment(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) error
- func (r *K8sReconciler) ReconcileCertsSecret(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane, ...) (*certs.Certs, error)
- func (r *K8sReconciler) ReconcileKubeconfigSecret(ctx context.Context, crts *certs.Certs, conf *certs.ConfigGen, ...) error
Constants ¶
View Source
const KubeVersion = "v1.29.9"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sReconciler ¶
type K8sReconciler struct {
*shared.BaseReconciler
}
K8sReconciler reconciles a k8s ControlPlane
func New ¶
func New(cl client.Client, scheme *runtime.Scheme, version string, clientSet *kubernetes.Clientset, dynamicClient *dynamic.DynamicClient) *K8sReconciler
func (*K8sReconciler) Reconcile ¶
func (r *K8sReconciler) Reconcile(ctx context.Context, hcp *v1alpha1.ControlPlane) (ctrl.Result, error)
func (*K8sReconciler) ReconcileAPIServerDeployment ¶
func (r *K8sReconciler) ReconcileAPIServerDeployment(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane, isOCP bool) error
func (*K8sReconciler) ReconcileAPIServerService ¶
func (r *K8sReconciler) ReconcileAPIServerService(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) error
func (*K8sReconciler) ReconcileCMDeployment ¶
func (r *K8sReconciler) ReconcileCMDeployment(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) error
func (*K8sReconciler) ReconcileCertsSecret ¶
func (r *K8sReconciler) ReconcileCertsSecret(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane, cfg *shared.SharedConfig, extraDNSName string) (*certs.Certs, error)
func (*K8sReconciler) ReconcileKubeconfigSecret ¶
func (r *K8sReconciler) ReconcileKubeconfigSecret(ctx context.Context, crts *certs.Certs, conf *certs.ConfigGen, hcp *tenancyv1alpha1.ControlPlane) error
Click to show internal directories.
Click to hide internal directories.