host

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: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_KUBE_APISERVER_ENDPOINT = "https://kubernetes.default.svc"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HostReconciler

type HostReconciler struct {
	*shared.BaseReconciler
}

HostReconciler reconciles a Host ControlPlane that exposed the hosting cluster with the ControlPlane abstraction

func New

func New(cl client.Client, scheme *runtime.Scheme, version string, clientSet *kubernetes.Clientset, dynamicClient *dynamic.DynamicClient) *HostReconciler

func (*HostReconciler) Reconcile

func (*HostReconciler) ReconcileClusterRoleBinding

func (r *HostReconciler) ReconcileClusterRoleBinding(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) error

func (*HostReconciler) ReconcileKubeconfigSecret

func (r *HostReconciler) ReconcileKubeconfigSecret(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) error

func (*HostReconciler) ReconcileServiceAccount

func (r *HostReconciler) ReconcileServiceAccount(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) error

func (*HostReconciler) ReconcileServiceAccountSecret

func (r *HostReconciler) ReconcileServiceAccountSecret(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) error

Jump to

Keyboard shortcuts

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