foreignclustercontroller

package
v1.0.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Overview

Package foreignclustercontroller implements the logic of the ForeignCluster controller

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIServerCheckers

type APIServerCheckers struct {
	// contains filtered or unexported fields
}

APIServerCheckers manage the foreign API server checker functions.

func NewAPIServerCheckers

func NewAPIServerCheckers(idManager identitymanager.IdentityManager, pingInterval, pingTimeout time.Duration) APIServerCheckers

NewAPIServerCheckers returns a new APIServerCheckers struct.

type ForeignClusterReconciler

type ForeignClusterReconciler struct {
	client.Client
	Scheme       *runtime.Scheme
	ResyncPeriod time.Duration

	NetworkingEnabled     bool
	AuthenticationEnabled bool
	OffloadingEnabled     bool

	// Handle concurrent access to the map containing the cancel context functions of the API server checkers.
	APIServerCheckers
}

ForeignClusterReconciler reconciles a ForeignCluster object.

func (*ForeignClusterReconciler) Reconcile

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

Reconcile reconciles ForeignCluster resources.

func (*ForeignClusterReconciler) SetupWithManager

func (r *ForeignClusterReconciler) SetupWithManager(mgr ctrl.Manager, workers int) 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