regioncontroller

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 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