podtransitionrule

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUnAvailableFunc

func AddUnAvailableFunc(f func(pod *corev1.Pod) (bool, *int64))

func NewWebhookGenericEventChannel added in v0.2.0

func NewWebhookGenericEventChannel() <-chan event.GenericEvent

Types

type EventHandler

type EventHandler struct {
	// contains filtered or unexported fields
}

func (*EventHandler) Create

func (*EventHandler) Delete

func (*EventHandler) Generic

func (*EventHandler) InjectClient

func (p *EventHandler) InjectClient(c client.Client) error

func (*EventHandler) InjectLogger

func (p *EventHandler) InjectLogger(l logr.Logger) error

func (*EventHandler) Update

type ManagerInterface

type ManagerInterface interface {

	// Register used to register podTransitionRule stages and conditions before starting controller
	register.Register

	// Checker is used to check rule state after starting controller
	checker.Checker

	// SetupPodTransitionRuleController add a new PodTransitionRuleController to manager
	SetupPodTransitionRuleController(manager.Manager) error
}

ManagerInterface is podtransitionrule manager interface to init and setup one podtransitionrule controller

func PodTransitionRuleManager

func PodTransitionRuleManager() ManagerInterface

type PodTransitionRuleEventHandler

type PodTransitionRuleEventHandler struct {
}

func (*PodTransitionRuleEventHandler) Create

func (*PodTransitionRuleEventHandler) Delete

func (*PodTransitionRuleEventHandler) Generic

func (*PodTransitionRuleEventHandler) Update

type PodTransitionRuleReconciler

type PodTransitionRuleReconciler struct {
	*mixin.ReconcilerMixin
	register.Policy
}

PodTransitionRuleReconciler reconciles a PodTransitionRule object

func (*PodTransitionRuleReconciler) Reconcile

func (r *PodTransitionRuleReconciler) Reconcile(ctx context.Context, request reconcile.Request) (result reconcile.Result, reconcileErr error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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