foreignclusteroperator

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: Apache-2.0 Imports: 45 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

This section is empty.

Types

type ForeignClusterReconciler

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

	LiqoNamespace string

	ResyncPeriod               time.Duration
	HomeCluster                discoveryv1alpha1.ClusterIdentity
	AuthServiceAddressOverride string
	AuthServicePortOverride    string
	AutoJoin                   bool

	NamespaceManager tenantnamespace.Manager
	IdentityManager  identitymanager.IdentityManager

	PeeringPermission peeringRoles.PeeringPermission

	InsecureTransport *http.Transport
	SecureTransport   *http.Transport
	// The map associates the local tenant namespaces (keys) to the related foreignclusters (values).
	ForeignClusters sync.Map
}

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, workers uint) 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