regioncontroller

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegionReconciler

type RegionReconciler struct {
	NodeLister   listerv1.NodeLister
	RegionLister listerv1.RegionLister

	RegionWriter cluster.RegionWriter
}

func (*RegionReconciler) Reconcile

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

Reconcile implements controller.Reconciler. create region when node is created,delete region when all node in region is deleted.

func (*RegionReconciler) SetupWithManager

func (r *RegionReconciler) SetupWithManager(mgr manager.Manager, cache informers.InformerCache) error

Jump to

Keyboard shortcuts

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