cascade

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: UPL-1.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitController

func InitController(modConfig IntegrationControllerConfig) error

InitController start the controller

Types

type IntegrationControllerConfig

type IntegrationControllerConfig struct {
	ControllerManager ctrlruntime.Manager
	ModuleHandlerInfo handlerspi.ModuleHandlerInfo
}

type Reconciler

func (Reconciler) GetReconcileObject

func (r Reconciler) GetReconcileObject() client.Object

GetReconcileObject returns the kind of object being reconciled

func (Reconciler) HandlePredicateEvent

func (r Reconciler) HandlePredicateEvent(cli client.Client, object client.Object) bool

func (Reconciler) Reconcile

Reconcile reconciles the IntegrateCascadeRequestEvent (in the form of a configmap). Cascaded means that a lifecycle event for certain modules, such as prometheus-operator, require that all integration charts for other modules be installed/upgraded. This controller finds such modules and creates events that will cause the integration chart for each one to be applied.

Jump to

Keyboard shortcuts

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