gracefuleviction

package
v1.9.0-preview1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const CRBGracefulEvictionControllerName = "cluster-resource-binding-graceful-eviction-controller"

CRBGracefulEvictionControllerName is the controller name that will be used when reporting events.

View Source
const RBGracefulEvictionControllerName = "resource-binding-graceful-eviction-controller"

RBGracefulEvictionControllerName is the controller name that will be used when reporting events.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRBGracefulEvictionController

type CRBGracefulEvictionController struct {
	client.Client
	EventRecorder           record.EventRecorder
	RateLimiterOptions      ratelimiterflag.Options
	GracefulEvictionTimeout time.Duration
}

CRBGracefulEvictionController is to sync ClusterResourceBinding.spec.gracefulEvictionTasks.

func (*CRBGracefulEvictionController) Reconcile

Reconcile performs a full reconciliation for the object referred to by the Request. The Controller will requeue the Request to be processed again if an error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*CRBGracefulEvictionController) SetupWithManager

SetupWithManager creates a controller and register to controller manager.

type RBGracefulEvictionController

type RBGracefulEvictionController struct {
	client.Client
	EventRecorder           record.EventRecorder
	RateLimiterOptions      ratelimiterflag.Options
	GracefulEvictionTimeout time.Duration
}

RBGracefulEvictionController is to sync ResourceBinding.spec.gracefulEvictionTasks.

func (*RBGracefulEvictionController) Reconcile

Reconcile performs a full reconciliation for the object referred to by the Request. The Controller will requeue the Request to be processed again if an error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*RBGracefulEvictionController) SetupWithManager

SetupWithManager creates a controller and register to controller manager.

Jump to

Keyboard shortcuts

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