k8s

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL