offloadingstatuscontroller

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package offloadingstatuscontroller contains OffloadingStatus Controller logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OffloadingStatusReconciler

type OffloadingStatusReconciler struct {
	client.Client
	Scheme      *runtime.Scheme
	RequeueTime time.Duration
}

OffloadingStatusReconciler checks the status of all remote namespaces associated with this namespaceOffloading Resource, and sets the global offloading status in according to the feedbacks received from all remote clusters.

func (*OffloadingStatusReconciler) Reconcile

Reconcile sets the NamespaceOffloading Status checking the actual status of all remote Namespace. This reconcile is performed every RequeueTime.

func (*OffloadingStatusReconciler) SetupWithManager

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

SetupWithManager reconciles when a new NamespaceOffloading is created.

Jump to

Keyboard shortcuts

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