offloadingstatuscontroller

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: 13 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