foreignclusteroperator

package
v0.3.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Overview

Package foreignclusteroperator implements the logic of the ForeignCluster Operator

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartOperator

func StartOperator(
	mgr manager.Manager, namespacedClient client.Client, clientset kubernetes.Interface,
	requeueAfter time.Duration, discoveryCtrl *discovery.Controller, localClusterID clusterid.ClusterID)

StartOperator setups the ForeignCluster operator.

Types

type ForeignClusterReconciler

type ForeignClusterReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	LiqoNamespacedClient client.Client

	RequeueAfter time.Duration

	ConfigProvider     discovery.ConfigProvider
	AuthConfigProvider auth.ConfigProvider
	// contains filtered or unexported fields
}

ForeignClusterReconciler reconciles a ForeignCluster object.

func (*ForeignClusterReconciler) Reconcile

func (r *ForeignClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)

Reconcile reconciles ForeignCluster resources.

func (*ForeignClusterReconciler) SetupWithManager

func (r *ForeignClusterReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager assigns the operator to a manager.

Jump to

Keyboard shortcuts

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